You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ch...@bnpparibas.com on 2002/12/02 12:29:41 UTC
RE: Forwards and Frames
Hi,
I take this thread and ask for a different question. I searched all around to find some answers.
What if I don't use a form and call directly an action from a link in my frame. The action, in some case, must display a page
over the frameset (_parent target) or relaunch the frameset (after a logout action for example)...
It seems I can't put a target parameter in a forward in the struts-config.
Have I to use an intermediary page that loads the frameset in a _parent target via Javascript to do that. ?
I know the better way will be to avoid frame based web app... but right now, it's not possible :)
Regards,
Christophe
From: Kristian Duske
Subject: RE: Forwards and Frames
Date: Mon, 25 Nov 2002 10:32:38 -0800
--------------------------------------------------------------------------------
Hi,
> Background information: I have a page split into two frames, top
> and bottom.
> I have a form in the top part, that displays a list of messages. The user
> then selects the messages they want displayed and they press a button and
> the button forwards the information to the bottom form? How do I
> do this in
> the Action Class? Or what should I search under? I have "Mastering Jakarta
> Struts" and "Struts in Action" to look into this, I just don't
> know what it
> is called.
This is more an HTML question than a Struts question. You have to specify
the target-Attribute for the html:form tag, very much like in HTML:
<html:form ... target="bottom">
...
</html:form>
The value of this attribute is the name of the bottom frame, as specified in
your frameset:
<frameset ...>
<frame name="top" ...>
<frame name="bottom" ...>
</frameset>
Regards
Kristian
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
[SURVEY] What is your Struts version ?
Posted by Emmanuel Boudrant <b7...@yahoo.fr>.
Hi,
I want to make a little survey about the Struts version you use and why ... so I really appreciate if you can spend a little time to answer it:
Survey #1 : Struts version > http://sourceforge.net/survey/survey.php?group_id=54542&survey_id=13866
Thanx,
-emmanuel
---------------------------------
Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !