[OS-webwork] Accessing the ValueStack

2003-10-01 Thread Adam Fleming
I give up trying to work nicely with the ww:tags and OGNL (Thanks for your help though, Matt Ho :) How can I get the Value Stack within the jsp? I suspect something like: servlet.getContext.getAttribute("secret key word"); Thanks! ---

[OS-webwork] Value Stack Magic

2003-10-01 Thread Adam Fleming
I'm trying to get something on the Value Stack from withing a ww:iterator tag, i use this: ww:property value="[1]" and get something like: [ [EMAIL PROTECTED], [EMAIL PROTECTED] ] What is the OGNL to get theClassIwant? I'm not looking for some property of the class, but the class itself.

Re: [OS-webwork] Type conversion

2003-10-01 Thread Adam Fleming
I have attempted to use a type converter in the perscribed method, and indeed it does work when converting from String to an Object, but it doesn't get invoked when printing the result via ww:property. Is this a common problem? Is there something I need to do to ensure the type conversion is a

Re: [OS-webwork] Validation Framework details

2003-09-29 Thread Adam Fleming
Hi, This is a problem I am having trouble with too (as I am sure many others). How can you get the original input if the field you are validating is not a String? Is this possible now with an expression validator and something like request.getParam(myField) != null && request.getParam()... -

[OS-webwork] Validation Framework details

2003-09-24 Thread Adam Fleming
Hello, I'm new to WebWork and Xwork :) I've been trying to use the validation framework. I want to be able to use the correct type for my Action bean properties, ie: Integer selectedId; I also want to be able to have a message such as "Sorry, -123abcde is not a valid ID". Is this possible?