Guys,

All I am trying to do is operate a model object Person.getEmailAddress() from html to java.


Whats the deal with this notation...

@Component(type = "TextField", id = "emailAddress", bindings = {
        "value = ognl:person.emailAddress",
        "displayName = message:label.emailAddress", "validators = required" })
public abstract TextField getEmailAddressComponent();
public abstract String getEmailAddress();

I cannot get past it. it keeps yeilding

[ +/- ] Exception: Component emailAddress conflicts with a prior declaration in the specification (at Annotation @org.apache.tapestry.annotations.Component(inheritInformalParameters=false, type=TextField, bindings=[value = ognl:person.emailAddress, displayName = message:label.emailAddress, validators = required], id=emailAddress) of public abstract org.apache.tapestry.form.TextField proto.Login.getEmailAddress()).

All I want to do is use

<td>
   <input jwcid="[EMAIL PROTECTED]" value="ognl:person.emailAddress"
validators="validators:required" displayName="message:label.emailAddress" />
</td>

If I swap or omit any of the accessor methods it keeps complaining.

Is tap-4.1.1 usable?

Thanks in advance



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to