I tried your codes and it's loading the frame fine.
However, it's not really what I intend to do :(
My app does not load the frame immediately after user login. As I
mentioned before that my current app goes through some pages
to collect data from user and from database before loading the frame(The
final html/jsp page loads the frame).
Actually, I have a portlet named PortletA that loads a html page after user
logs in. After finished entering information, user clicks on a button
,which the PortletA is called again. Then PortletA goes to database to
update and does some computations. If everything is ok, it will load a
frame.
My frame looks something like below:
<frameset rows="60%,*">
<frame name="svgmain" target="boto"
src="{{sub_prefix}}/portal/user/turbine?page=default.psml&url=drawboard&js_p
eid=P-f15f007837-10005&profile_layer_id_list={{profile_layer_id_list}}&image
_id={{image_id}}&image_name_from_storedproc={{image_name}}&problem_name_from
_storedProc={{problem_name}}&layer_name_from_storedProc={{layer_name}}"
scrolling="auto">
<frame name="boto"
src="{{sub_prefix}}/portal/user/turbine?page=default.psml&js_peid=P-f15f0078
37-10005&url=hiddenpage">
</frameset>
I am not sure using /portal/user/turbine..... is right thing to do.
If there is no other way to accomplish this, I gess I have to modify my
current app to adapt what you pointed out.
Thanks alot.
Danh
----- Original Message -----
From: "Aurelien Pernoud" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 9:37 AM
Subject: RE: Using Frame in JetSpeed
Finally found a way to have a frame at start :
Open web.xml in Jetspeed/WEB-INF, and change following lines :
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.wml</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
to
<welcome-file-list>
<welcome-file>portal.jsp</welcome-file>
<welcome-file>index.wml</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
An portal.jsp is the frameset, with one frame pointing to index.jsp.
This works and doesn't create multiple frames imbricated on every action...
Aurelien
> -----Message d'origine-----
> De : Aurelien Pernoud [mailto:apernoud@;sopragroup.com]
> Envoy� : mardi 12 novembre 2002 16:54
> � : 'Jetspeed Users List'
> Objet : RE: Using Frame in JetSpeed
>
>
>
> I've tried it for my need but your solution has trouble :
> After an action on a portlet, the index.jsp is called (every link to
> '/jetspeed/') and then you get more and more imbricated frames :)
>
> So I suggest to never put a frameset inside the index.jsp, or
> you'll have to
> modify many classes/templates to never do a redirect to
> '/jetspeed' but to
> '/jetspeed/portal'...
>
> Other solution (the one I used for the moment) :
> make a portal.jsp that you must call in your browser at first
> and that has
> the frameset to point to index.jp in one frame.
>
> > -----Message d'origine-----
> > De : Luta, Raphael (VUN) [mailto:Raphael.Luta@;groupvu.Com]
> > Envoy� : mardi 12 novembre 2002 16:28
> > � : 'Jetspeed Users List'
> > Objet : RE: Using Frame in JetSpeed
> >
> >
> > Are you sure you need Jetspeed to handle frames ?
> > Maybe what you want is simply to invoke your portal
> > within a frame of a standard frameset ?
> >
> > In this case:
> > - set in JetspeedResources.properties
> > leftnav.enable=false
> > bottomnav.enable=false
> > topnav.enable=false
> > - change the index.jsp file to load your frameset
> >
> > index.jsp:
> > <frameset cols="50,*">
> > <frame src="<whatever you want>">
> > <frame src="/jetspeed/portal">
> > </frameset>
> >
> > Isn't that enough ?
>
>
> --
> To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>