opensubscriber
   Find in this group all groups
 
Unknown more information…

u : users@tapestry.apache.org 28 November 2007 • 11:35PM -0500

Re: For, Hidden fields, squeezers, etc! How do I use them?
by Richard Kirby

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi Neo,

What you want is:

<input jwcid="@Hidden" value="prop:reportPage" />

Cheers

Richard

neo anderson wrote:
> 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...
>>
>>
>>
>>    
>
>  


--

Richard Kirby
Email: rbk@capd...

Phone:  0131 477 8629
Fax: 0131 477 8621
Email: enquiries@capd...
Website: www.capdm.com
CAPDM Limited     Registered in Scotland: SC168970   VAT: 682 846 983
Registered address: 22 Forth Street, Edinburgh, EH1 3LH, UK
===========================================


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tape...
For additional commands, e-mail: users-help@tape...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.