For #4, I too am looking for a good way to propagate information through the action chain.
I'm using the model driven interceptor, so combined with the parameter interceptor, it's a great system for populating my models and it's a short save() away from persisting via Hibernate. I was trying break out my actions into different pieces of a chain so I could reuse it, but it seems that the ActionContext.getContext().getParameters() map is unmodifiable. So if i create an ID higher up the chain, I cannot retrieve it down the chain ( without using explicit notation in the valuestack ). That causes problems since it limits reuse and reordering, a key part of why I want to use WebWork2 and it's ActionChains The only way that I have come across is to create a request scoped HashMap component that would allow something higher up the chain to set a value and something lower down that chain to retrieve it. This isn't a showstopper by design, because with careful use of the PrepareInterceptor, I can still retain a high degree of decoupling and reusability, but I am curious to know if there is another ( read better ) way I should be approaching this. -a by the way, I think I have enough familiarity with the system to help with documentation, which seems to be in great need. where do i sign up? On Tue, 2003-11-11 at 04:22, Grzegorz Mucha wrote: > Hi all! > > A couple of quick questions: > > 1. Is the current notation for label/name tag attrbutes here to stay? > (ie. do I have to quote the literal values for those attributes)? > > 2. I've a problem with integer conversion - a dropdown select has a list > of values, most of them are integers save for the headerKey (it's an > empty string). When I don't select anything in the dropdown and submit > the form, I get an exception in the CompoundRootAccessor class). Isn't > the conversion supposed to convert null/empty string/meaningles data > simply to zero? > > 3. Could you give an example of using checkbox tag? From what I've > observed, there's no way of changing the value attribute of the HTML tag > (or simply I've found none). > > 4. I believe at some time there was a hack in ActionChainResult that > copied the properties from one action to another - the current code only > pushes the preceding action to the VS (and in case I want to use the > customerId property from the previous action, I've to use something like > valueStack.findValue("[1].customerId") - is there any shortcut for that? > > TIA, > Greg > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork