Ok, so currently I have omitted the inline component annotation from the
java file and moved it back to the Login.page file
<!DOCTYPE page-specification PUBLIC "-//Apache Software Foundation//Tapestry
Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<page-specification class="proto.Login">
<description>Tapestry Proto 1.0</description>
<component id="emailAddress" type="TextField">
<binding name="value" value="ognl:person.emailAddress"/>
<binding name="validators" value="validators:required"/>
<binding name="displayName" value="message:label.emailAddress"/>
</component>
<component id="password" type="TextField">
<binding name="hidden" value="true"/>
<binding name="value" value="ognl:person.password"/>
<binding name="validators" value="validators:required,minLength=6"/>
<binding name="displayName" value="message:label.password"/>
</component>
<component id="rememberMe" type="Checkbox">
<binding name="value" value="ognl:rememberMe"/>
<binding name="displayName" value="message:label.rememberMe"/>
</component>
</page-specification>
But now I am receiving this...
[ +/- ] Exception: Component emailAddress conflicts with a prior declaration
in the specification (at context:/WEB-INF/Login.page, line 5, column 51).
org.apache.hivemind.ApplicationRuntimeException
Component emailAddress conflicts with a prior declaration in the
specification (at context:/WEB-INF/Login.page, line 5, column 51).
component: [EMAIL PROTECTED]
location: context:/Login.html, line 17
12 <tr>
13 <td>
14 <span jwcid="@Insert"
value="message:label.emailAddress">EmailAddress:</span>
15 </td>
16
17 <td><input jwcid="[EMAIL PROTECTED]"
value="ognl:person.emailAddress"
18 validators="validators:required" displayName="message:label.emailAddress"
size="40" /></td>
Thanks in advance
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]