I tried to have the most descriptive subject..that was my best shot

Here is what happened. I by mistake, declared a select input field in a page
template and tied it to a component declared in the page's java file using
the component type TextField. And so the input field showed up as a text
field which drove me crazy for around 20 mins not knowing whats wrong (I
really needed to sleep then !)

Here is in example of what I mean:

*Index.tml*
<t:select model="literal:a,b,c" value="select" t:id="select"/>

*Index.page*
@Property
private String select;

@Component(id="select")
private *TextField* select


Again, it's obviously a tapestry user mistake, but should this raise an
exception to point out what's wrong ?
If this is a feature offered, I just can't see how I use it !

Thank you all :)

-- 
Regards,
Muhammad Gelbana
Java Developer

Reply via email to