I'm experiencing a weird bug in my frameset. When I reload, there is about a
30% chance that the frames will load their neighbors URL. I suspect it has
something to do with the way I'm managing navigation in general, and
specifically a threadsafe problem. However, I'm not sure, and therefore
sharing the likely suspects with everyone here.  First, the frameset:

<FRAMESET rows="0, 8%, *">
<FRAME name="invisible" border="0">
<FRAME name="ControlFrame"
SRC="browse.action?template=ControlFrame&id=<ww:property
value="model.id"/>">
<FRAMESET name="ContentFrameset" cols="15%, 0%, *, 0%">
<FRAME name="NavFrame" SRC="browse.action?template=NavFrame&id=<ww:property
value="model.id"/>" border="1">
<FRAME name="EditFrameFormView"
SRC="browse.action?template=EditFrameFormView&id=<ww:property
value="model.id"/>" border="0">
<FRAME name="EditFrameLayoutView"
SRC="browse.action?template=EditFrameLayoutView&id=<ww:property
value="model.id"/>" border="0">
<FRAME name="PreviewFrame"
SRC="browse.action?template=PreviewFrame&id=<ww:property value="model.id"/>"
border="0">
</FRAMESET>
</FRAMESET>

browse.action receives template and id as parameters. It looks up a data
object based on id, and looks up a jsp file based on template.
Browse.success = forwarder.jsp, which has one line: <jsp:forward page='<%=
(String) session.getAttribute(TEMPLATE_PATH) %>' /> (I've recently detailed
this in another thread, excuse the redundancy)

The page always loads correctly the first time. Only F5 creates problems.
There are five SRCs in the frameset. That leads to five requests. It appears
that request 1 is getting request 2's forward etc. Furthermore, the actual
result of the bug is unpredictable. Requests 2, 3 and 4 can all get 5's URL
and so forth. Any ideas?

-Robert Douglass



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to