RE: [OS-webwork] Can I concatenate text in the name attribute?

2003-12-09 Thread Patrick Lightbody
I'm not sure what @status means... do you mean #status? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Mckenna Sent: Tuesday, December 09, 2003 12:54 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] Can I concatenate text in the name attribute? Greeti

[OS-webwork] Can I concatenate text in the name attribute?

2003-12-09 Thread Eric Mckenna
Greetings, I have a form that creates some child objects, so the form has repeated form values. I'm trying to add some other text (a prefix) in the name tag to distinguish each child's values from one another, hence the status tag and prefix. Here's basically what im trying to achieve, ...

RE: [OS-webwork] WW2: exception when calling #parse() in a velo-template

2003-12-09 Thread Jason Carreira
You should use the velocity result, rather than the dispatcher. That way it can set up the macros for you (and not have to go through a RequestDispatcher) > -Original Message- > From: Hans Prueller [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 09, 2003 12:39 PM > To: [EMAIL PROTECTE

[OS-webwork] WW2: exception when calling #parse() in a velo-template

2003-12-09 Thread Hans Prueller
Hello! In my first WW2 application, I have the following action: /vm/rep/objlist.vm When I try to parse an additional template within the resulting objlist.vm I get the following exception (see below). Is it not allowed to use #parse in templa

Re: [OS-webwork] Desired behaviour in ModelDrivenInterceptor...

2003-12-09 Thread Jonas Eriksson
I'm not following you here... Why isn't a solution like this possible? modelintercept: push action.getModel (other interceptors like the params) execute action push action.getModel (better;replace if that is possible) execute result If the action has not changed the reference given from getModel

RE: [OS-webwork] Desired behaviour in ModelDrivenInterceptor...

2003-12-09 Thread Jason Carreira
Hmm... The problem with this is that the params can't be set... The params need to be set before execution, and they should be set on the Model. You could "pop" the model off the stack, but that's not keeping your actions and interceptors very disconnected... You could return a proxy/decorator obje

[OS-webwork] Desired behaviour in ModelDrivenInterceptor...

2003-12-09 Thread Jonas Eriksson
Currently the ModelDrivenInterceptor pushes the model onto the stack before action invocation and before many other interceptors that rely on the model beeing on the stack. That's ok! What is not ok is the scenario when the action is changing the reference of the "model" and thus the result exe

[OS-webwork] US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....katrina

2003-12-09 Thread Jean Barrett
US Stock Market - Stock Profile of the Week Symbol: MBTT Market: OTC.BB Sector: ELECTRONICS Before we begin our profile we have very exciting, breaking news... Renowned Satellite Industry Expert Dr. Arthur R. Tilford Joins MB Tech BREAKING NEWS - (PRIMEZONE) - MB Tech, Inc. (OTC.BB: MBTT) ann

RE: Re: [OS-webwork] Quickstart guide ? is it missisng something

2003-12-09 Thread Jason Carreira
If someone can nail down what needs to be changed in the quickstart, please let us know... > -Original Message- > From: Wayland Chan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 09, 2003 10:06 AM > To: [EMAIL PROTECTED] > Subject: RE: Re: [OS-webwork] Quickstart guide ? is it > m

RE: [OS-webwork] Request for a new Interceptor maybe?

2003-12-09 Thread Patrick Lightbody
The webwork-extensions project exists on java.net. Currently Matt Ho is the owner of it and I'm sure he'll grant developer requests ASAP. The whole point is to have a low entry barrier... so give it a shot :) -Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: [OS-webwork] WebWorks without velocity how to

2003-12-09 Thread Patrick Lightbody
Remis, In 1.x, yes. In 2.0, no.   -Pat   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of remigijus Sent: Thursday, December 04, 2003 8:23 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] WebWorks without velocity how to   Hi   Ther

RE: [OS-webwork] ResourceBundle and editing it

2003-12-09 Thread Patrick Lightbody
So sad that the bug has been open since 1998 and nothing has been fixed. Amazing. As it is now, you have to write your own resource bundle class OR use reflection to clear the cache internally (which could break if your security settings are incorrect). I plan to get this supported somehow, as it'

RE: [OS-webwork] Dynamic text fields

2003-12-09 Thread Patrick Lightbody
David, In WebWork 1.x and 2.0, you can provide a get/set method for a String[] and then name each textfield the same name. Alternatively, in 2.0, you can name your textfields "foo[i].name" where i goes from 0 to n. This will work if you use the OgnlList, which will be included in to WebWork code s

RE: [OS-webwork] OT: what do I need to use to never have to restart the app server to test changes?

2003-12-09 Thread Patrick Lightbody
Your best bet (as explained in my book ;) is to keep your jars in WEB-INF/lib and classes in WEB-INF/classes, OR use Resin and specify alternative directories for those two locations (such as lib/runtime and build/java). The real gain is for you to use a Hotswap capable IDE, such as Eclipse, Codege

RE: [OS-webwork] Setting hidden value tag from a request scoped variable

2003-12-09 Thread Patrick Lightbody
In the 1.x EL, you’d use “$foo”. In 2.0 you’d use “#parameters.foo” or “#parameters.get(‘foo’)”   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thompson, Christopher C (Kris) Sent: Monday, December 08, 2003 7:13 AM To: [EMAIL PROTECTED] Subject:

RE: Re: [OS-webwork] Quickstart guide ? is it missisng something

2003-12-09 Thread Thompson, Christopher C (Kris)
No. But this is a problem on nearly every framework!! The developers on the project are so close to the code that sometimes we forget to put in the foundation for users to get started. I know because I am at fault on that with the Expresso framework. Megg is a savior for beginners. However a s

Re: [OS-webwork] Off Topic - Webwork and Spring Framework Integration Issue

2003-12-09 Thread Cameron Braid
I think that a good soloution would be to allow the resolvers to be named (like interceptors), configured and parameterized. I have mentioned the reasons for parameterization in a previous post. The configuration I speak about could be information to inform xwork how to handle reloading of reso

RE: Re: [OS-webwork] Quickstart guide ? is it missisng something

2003-12-09 Thread Wayland Chan
Am I the only one who thinks there is something wrong here if a new user needs to go to an external application in order to "Get Started"? > Thanks a lot, i did discover Megg and tried it. It really helped me a lot... > Everything seams to work now.. > Ciao! Wayland Chan email: wchanATtreks

Re: [OS-webwork] Request for a new Interceptor maybe?

2003-12-09 Thread Cameron Braid
It looks like it is up https://webwork-extensions.dev.java.net/ Eric Pugh wrote: RE: [OS-webwork] Request for a new Interceptor maybe? Bruce,   there is supposedly a webwork extensions CVS repo plus project infrastructure set up on Java.net..  However, as far as I know, the pap

RE: [OS-webwork] Request for a new Interceptor maybe?

2003-12-09 Thread Eric Pugh
Title: RE: [OS-webwork] Request for a new Interceptor maybe? Bruce,   there is supposedly a webwork extensions CVS repo plus project infrastructure set up on Java.net..  However, as far as I know, the paperwork hasn't been completed, and the site hasn't been setup, but you could check..   The

Re: [OS-webwork] Quickstart guide ? is it missisng something

2003-12-09 Thread Leonidas Papadakis
Thanks a lot, i did discover Megg and tried it. It really helped me a lot... Everything seams to work now.. Thanks for the reply. L Robert Lerner wrote: Hi, I've just recently started with webwork(2) to examine the framework. I used the megg application mentioned on the wiki to boost up a small

Re: [OS-webwork] Quickstart guide ? is it missisng something

2003-12-09 Thread Robert Lerner
Hi, I've just recently started with webwork(2) to examine the framework.  I used the megg application mentioned on the wiki to boost up a small application for starters. It has worked pretty good for me. Download megg from this url: http://sourceforge.net/projects/megg and run it by java -jar

[OS-webwork] Quickstart guide ? is it missisng something

2003-12-09 Thread Leonidas Papadakis
Greetings , i am trying to set up a very simple application using webwork 2 via eclipse (tomcat sysdeo plugin). I have downloaded and built successfully webwork2 and the examples. I have gone though the quickstart guide on http://wiki.opensymphony.com/space/WebWork2+QuickStart+Guidebut the