Hi

I have to use the aliasBean for my page and I get this error:
Caused by: javax.faces.el.PropertyNotFoundException: /pages/test.xhtml
@11,46 value="#{aliasB['text']}": Bean: java.lang.String, property: text
   at com.sun.facelets.el.LegacyValueBinding.getValue(
LegacyValueBinding.java:58)
   at javax.faces.component.UIOutput.getValue(UIOutput.java:80)
   at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.getStringValue(
RendererUtils.java:223)

The page code is this:
<t:aliasBean alias="#{aliasB}" value="#{test}">
    <t:outputText value="#{aliasB.text}" />
</t:aliasBean>

The backing bean code is:
public class Test {
   private String text = "TEXT";

   public String getText() {
       return text;
   }

   public void setText(String text) {
       this.text = text;
   }
}

Can anybody help?

--
Best regards,
Laurentiu

Reply via email to