On Tue, 2003-11-11 at 12:28, Jason Carreira wrote:
> I'll fill in what I can...
> 
> > -----Original Message-----
> > From: Grzegorz Mucha [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, November 11, 2003 4:23 AM
> > To: [EMAIL PROTECTED]
> > Subject: [OS-webwork] Conversion, UI tags etc.
> > 
> > 
> > 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)?
> > 
> 
> Yes. This is finalized.
> 
> 
> > 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?
> 
> This is the Ognl bug we're waiting on a fix for....
> 
> > 
> > 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?
> 
> Apply the com.opensymphony.xwork.interceptor.ChainingInterceptor
> interceptor to the Action you're chaining TO and it will copy the
> properties of the previous Action(s) to the new one...
> 

How does this work with a model driven system, where the model is
technically the only exposed property of the previous action on the
stack?

i.e. if both actions are model driven, the only exposed property is the
getModel() interface, so therefore it would try to setModel(), which is
not quite what I want.. 

unless I'm not understanding it all quite yet.

-a


> > 
> > 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



-------------------------------------------------------
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

Reply via email to