Hi all,

My problem is that every view in my app needs to be bookmarkable and
emailable.  I figure that means the url needs to uniquely identify where you
are in the app, and that the way to do that is with parameters (ie
example.com/page.jsp?thing1=1&thing2=2 etc).  I'm open to other suggestions,
but here's the problem with this way, as I see it:

I need every click to change it's own parameter to reflect where the click
came from, so if we have a page where we've navigated down to where we're
looking at male population aged 40-65 for our city, then we can click on the
Bar Graph link and we switch from our current text table to the graphical
view.  I'm imagining that as a link that changes the View param from value
Table to value Bar, while leaving the others (ie Data=census, Nbhd=city,
etc) alone.

I think this could be done by using the forward of <html:link> and having
some kind of fancy ActionForward to keep track of where the click came from,
and the state of the rest of the params (maybe by using another bean).  I
could be way off, and in either case I could really use some help.  Is this
the best way to handle param based navigation, or more generally, this
problem?

Thanks very much,
Oliver

ps there will be forms involved as well, using get (I imagine) to identify
what choices the user made, so the param line will have to be shared by both
the links and the forms

********************
Oliver Meyn
[EMAIL PROTECTED]
(416) 524-2240
"Things should be made as simple as possible, but no simpler." - Albert
Einstein


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

Reply via email to