Terry McBride wrote: > > Stephane Bailliez wrote: > > > > > Just curious, > > > > > > How do you store the path for your 'navigation' ? > > > I mean in order to have: '> Home > Computers > > > Internet ' > > > I believe it is dynamic right ? is that based on > > the 'parent' variable ? > > > What is > > > > > > > --- Skondras Panagiotis > > As you can see the link is different with some ids > > inside > > These links depends on the object that is in the > > context > > If only board object exists then only the first link > > is shown > > if board and topic object exists then both links > > exist is that simple > > > > > > > > > > I'm looking for some design patterns of how to > > handle such things as well as > > > a transactional process where there is a need to > > do some sort of context > > > chaining that allows to go back. For example: > > > > > > 1 --> 2 --> 3 > > > > > > > If you want to gather data from page to page until > > reaching the end and > > then commit your data > > you can have an object initialized at the first page > > the fields that are in this > > page are set inside this object > > and so on until you reach the last page and commit > > your object in the db (e.g) > > In order to have your object in all the pages you > > have to put it in the session > > each time after setting some fields in the page > > and if you want to go back and forth and be able to > > show the values the user > > has set > > you also have to put it in the context and show the > > right values per page. > > Would it be possible to store the values in a > singleton Hashmap whose key is the session id and > value is the object containing user entered data? > ..Instead of using session vars. > Yes that can also be a solution. But If you want only one obj in the session,if you want more obj in the session you have to make some sort of a collecion of obj and put them in the hashmap and then how easy it is to find these objects? > > What would be the pros/cons/considerations? > > I guess when the session expires you need to expire > the object. Would it be a huge use of resources? > If the session expires the object is also deleted from the session you don't have to expire it explicity. > > Might it be considered for secure data with users not > accepting cookies? or is it time for SSL at this > point? > ? > > Just trying to learn. > > Thx, > Terry > > > > > Is that covers you > > > > > > > > If the user reach 3, go back to 1 because she > > changed her mind, repost some > > > data, possibly screen 2 will show her as a default > > the data that she entered > > > previously, etc...until screen 3 where everything > > is committed. So I'm > > > looking for a clean solution to do something like > > this as well. > > > > > > Thanks again for sharing your experience. > > > > > > -- > > > Stephane Bailliez > > > Software Engineer, Paris - France > > > iMediation - http://www.imediation.com > > > Disclaimer: All the opinions expressed above are > > mine and not those from my > > > company. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > begin:vcard > > n:Skondras;Panagiotis > > tel;cell:0932707562 > > tel;work:6872953 > > x-mozilla-html:FALSE > > url:http://users.aias.gr/pskon > > org:ACN SA;Developer > > adr:;;;Athens;ATTIKI;;Greece > > version:2.1 > > email;internet:[EMAIL PROTECTED] > > title:Software Developer > > note:ICQ =117160052 > > end:vcard > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ > Do You Yahoo!? > Make international calls for as low as $.04/minute with Yahoo! Messenger > http://phonecard.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
begin:vcard n:Skondras;Panagiotis tel;cell:0932707562 tel;work:6872953 x-mozilla-html:FALSE url:http://users.aias.gr/pskon org:ACN SA;Developer adr:;;;Athens;ATTIKI;;Greece version:2.1 email;internet:[EMAIL PROTECTED] title:Software Developer note:ICQ =117160052 end:vcard
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
