In the HTML page, in the form tag you can put the target, so you must select
before the action the target:

<form .... target="_top" >

the target can be always the same or change with JavaScript, scriptlets,
etc.



-----Mensaje original-----
De: Joe Latty [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 06 de septiembre de 2002 10:03
Para: Struts Users Mailing List
Asunto: [IFRAMES] Changing target on forward.

I am using a master detail setup where there is a selection grid on the
page
with an IFrame loaded with the details of the selected grid record.

This all works fine, however if I add a new record I need to update the
grid
on the (_top) window. This can be achieved by all sorts of JavaScript
hocus
pocus, but what would be neat would be the ability to change the target
of
the form e.g.

return mapping.findForward("success", "target now =_top");

Has anyone come up against this using frames/iframes?

Joe



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

Reply via email to