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="[EMAIL PROTECTED]" 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

James Carman, President
Carman Consulting, Inc.


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






--

Richard Kirby
Email: [EMAIL PROTECTED]

Phone:  0131 477 8629
Fax: 0131 477 8621
Email: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to