WTP JSF Tools Tutorial [message #196176] |
Wed, 11 July 2007 19:56 |
Eclipse User |
|
|
|
Originally posted by: Ben.Sisson.ccci.org
I followed the "WTP Tutorial - JavaServer Faces Tools Tutorial" but when I
enter the following code into login.jsp I get an error on the
<h:inputSecret value="#{loginBean.password.convertedID}"> line. The
message under the #{loginBean.password.convertedID} indicates "Expression
is not gettable". I'm not sure what this indicates and how to fix this?
<h:form>
<h:messages layout="table"></h:messages>
<h:panelGrid columns="2">
<h:outputLabel rendered="true" value="#{msg.name}"></h:outputLabel>
<h:inputText value="#{loginBean.name}" tabindex="0"></h:inputText>
<h:outputLabel rendered="true" value="#{msg.password}"></h:outputLabel>
<h:inputSecret value="#{loginBean.password.converetedID}">
<f:converter converterId="javax.faces.Long" />
<f:validator validatorId="com.tutorial.validatePassword" />
</h:inputSecret>
</h:panelGrid>
<h:commandButton action="login" value="#{msg.login}"></h:commandButton>
</h:form>
I'm running Eclipse 3.3, Java 1.5, WTP 2.0, Apache Tomcat 6.0, JavaServer
Faces v1.2 Project. I installed the Commons, JSTL, and SUN-RI JSF Tools
libraries as described in the tutorial.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03702 seconds