try something like this:
<span jwcid="@PageLink" href="#" page="verify" >
<span jwcid="@Insert" value="ognl:emailAddress"/>
</span>
Anjali Abraham wrote:
It didn't work. It throwing an error saying <input> tag cannt have 2 jwcid.
Well can you tell me how to pass parameters through @PageLink.
My html page is:
<a href="#" jwcid="@PageLink" page="verify"></a>
I am using Tapestry 4.0v.
Regards,
Anjali
-----Original Message-----
From: Rudolf Baloun [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 30, 2005 4:37 PM
To: Tapestry users
Subject: Re: Need help on how to pre-populate a value in text field
hi,
you need:
in .java:
public String getEmailAddress(){ ..}
public void setEmailAddress(String email){..}
in .page:
nothing
in .html:
<td><input type="text" jwcid="emailAddress"
jwcid="@Insert"value="ognl:emailAddress" size="30" /></td>
Anjali Abraham wrote:
Hi All,
I have a scenario wherein I need to pre-populate an email value
which is being coming from my previous page into an text field.
My .html code is like this:
<td><input type="text" jwcid="emailAddress" jwcid="@Insert"
value="ognl:emailAddress" size="30" /></td>
Is it right or what else I need to change in my .html, .page and java code.
Regards,
Anjali
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]