Re: [OS-webwork] Novice question about Resource Bundles.

2002-12-22 Thread Robert Nicholson
Hi Mike, yes what I hadn't appreciated at this point was how the text tag will use the ValueStack to look up the text using a text(name) method call which eventually finds the base class's inherited getText method from ActionSupport. --- Thi

Re: [OS-webwork] PropertyEditor cache

2002-12-22 Thread Patrick Lightbody
Yes, the plan is to use Ognl. It had just as good of performance and it does better type conversion for both setters and getters. Examples are in CVS already at sandbox/xwork, and a working system will be in place in a couple days. -Pat - Original Message - From: "Blake Day" <[EMAIL PROTE

Re: [OS-webwork] Novice question about Resource Bundles.

2002-12-22 Thread Mike Cannon-Brookes
I believe ActionSupport looks for a resource bundled based on the action name (ie Shop.java -> Shop.properties). Look at ActionSupport.getText() -mike On 23/12/02 4:59 AM, "Robert Nicholson" ([EMAIL PROTECTED]) penned the words: > In the CD shop example how does webwork know to go looking for th

Re: [OS-webwork] Novice question about Resource Bundles.

2002-12-22 Thread Robert Nicholson
Ok it's starting to make some sense... I haven't seen where the action instance gets put on the value stack but I can see that the text(name) syntax that WebWorkTagSupport uses means that it will invoke the getText method on the action in the value stack. How does it know to only look for the a

Re: [OS-webwork] Novice question about Resource Bundles.

2002-12-22 Thread Robert Nicholson
Ok it's starting to make some sense... I haven't seen where the action instance gets put on the value stack but I can see that the text(name) syntax that WebWorkTagSupport uses means that it will invoke the getText method on the action in the value stack. How does it know to only look for the a

[OS-webwork] Novice question about Resource Bundles.

2002-12-22 Thread Robert Nicholson
In the CD shop example how does webwork know to go looking for the Shop.properties (depending on Locale) resource bundle? I cannot find any uses of the I18n tag anywhere in the jsp. So how else does this Resource Bundle get put on the value stack? -

Re: [OS-webwork] PropertyEditor cache

2002-12-22 Thread Blake Day
I agree that the API is terrible. Is anyone coming up with a better idea for Xwork? Blake - Original Message - From: "Rickard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 21, 2002 4:39 AM Subject: Re: [OS-webwork] PropertyEditor cache > Heng Sin Low wrote: > >