the name of the form is the name of the form-bean it uses.

Nico.


----- Original Message ----- 
From: "jagadeesh kumar movva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 14, 2003 11:59 AM
Subject: why is there no attribute "name" for <html:form> in struts???


> Hi,
>
> I want to submit a form from a frame, while the button
> I click to submit is in another frame. I am able to do
> this easily using the following code in Model 1
> architecture :
>
> if((parent.frames["frame3"].document.forms["roadinfo"].name)
> == ("roadinfo")){
>
>
parent.frames["frame3"].document.forms["roadinfo"].action="http://localhost:8080/examples/jsp/mppp_license/Licenses/road
infoHandler.jsp";
> //
> parent.frames["frame3"].document.forms["roadinfo"].target="_blank";
>
> parent.frames["frame3"].document.forms["roadinfo"].buttonType.value
> = buttonType;
>
> parent.frames["frame3"].document.forms["roadinfo"].submit();
> }
> }
>
> But, I find that in struts, there is no attribute
> called 'name' for <form>. Then how can I identify the
> form which is in the first frame, from the frame in
> which the submit button is present?
>
> Please let me know if there is a way to do this in
> struts.
>
> Thanks
> Jag
>
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your partner online.
> Go to http://yahoo.shaadi.com
>
> ---------------------------------------------------------------------
> 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]

Reply via email to