webtier@glassfish.java.net

Re: Problems accessing embbeded ejb from JSF

From: <webtier_at_javadesktop.org>
Date: Sat, 16 Jan 2010 22:48:06 PST

Sorry!

There was a misstake by the JSF-Tags.
The correct code is:

    <h:outputLabel value="#{bundle.AddressPanel_city}" for="city" />
    <h:inputText id="city" value="#{personController.selected.address.city}" title="#bundle.AddressPanel_city}" />

The error messages in the log:

WARNUNG: /common/person/Create.xhtml @31,138 value="#{personController.selected.address.city}": Target Unreachable, 'null' returned null
javax.el.PropertyNotFoundException: /common/person/Create.xhtml @31,138 value="#{personController.selected.address.city}": Target Unreachable, 'null' returned null
        at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:93)
        at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
        at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1008)
[Message sent by forum member 'hpollak' (harald.pollak_at_docpilot.org)]

http://forums.java.net/jive/thread.jspa?messageID=381400