You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by deeps <de...@gmail.com> on 2011/08/30 10:38:40 UTC
picking up values from popup
i have following code...
<html:form>
.............
..............
//this is a popup window....
<div>
<form name="web">
<text field id= 'abc"...>
</form>
</div>
</html:form>
now how i can pick up value for "abc", if i am trying the bodyform.java, its
nt setting or getting the value, then how to get these in bodyaction?
--
View this message in context: http://struts.1045723.n5.nabble.com/picking-up-values-from-popup-tp4749337p4749337.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: picking up values from popup
Posted by James Jithin <ja...@gmail.com>.
The text field's id will be available only in the HTML DOM, the client side
browser. To submit it along with the form, use name attribute instead of id.
James Jithin
On Tue, Aug 30, 2011 at 2:08 PM, deeps <de...@gmail.com> wrote:
> i have following code...
>
> <html:form>
> .............
> ..............
> //this is a popup window....
>
> <div>
> <form name="web">
> <text field id= 'abc"...>
> </form>
>
> </div>
> </html:form>
>
> now how i can pick up value for "abc", if i am trying the bodyform.java,
> its
> nt setting or getting the value, then how to get these in bodyaction?
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/picking-up-values-from-popup-tp4749337p4749337.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>