I plug a @Hidden component in the html page and it exactly produce the <input
type="hidden" ...> html tag. Now how can I get hidden value in Java code.
The way how I do it is
html:
<input jwcid="reportPage@Hidden" value="true"/>
java:
public abstract String getReportPage();
This doesn't work. I use System.out.println() the value of getReportPage to
the console. It always shows 'null' value. What should I do if I want to get
the hidden value in html?
Thank you.
James Carman wrote:
>
> It's not an annotation. It's a component. He's talking about using
> anonymous components:
>
>
>
>
>> Hi Ted,
>>
>> unfortunately I can't help you with your problem but I have
>> a question myself:
>>
>> | in pageB
>> | i have a @Hidden with foo as value. I have this because I want the
>> | various things in Foo to not be lost while doing stuff in page B.
>> | Now, the set in the foo is used in a @For, and each element in foo is
>> | mapped to a @TextField
>>
>> What is this @Hidden annotation used for/where can I find it?
>> It doesn't seem to belong to Tapestry, does it?
>>
>> Thanks!
>> Andreas
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
tapestry-user-unsubscribe@jaka...
>> For additional commands, e-mail:
tapestry-user-help@jaka...
>>
>
>
> James Carman, President
> Carman Consulting, Inc.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
tapestry-user-unsubscribe@jaka...
> For additional commands, e-mail:
tapestry-user-help@jaka...
>
>
>
--
View this message in context:
http://www.nabble.com/For%2C-Hidden-fields%2C-squeezers%2C-etc%21-How-do-I-use-them--tf1476828.html#a13993459
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@tape...
For additional commands, e-mail:
users-help@tape...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.