[OS-webwork] XWork and WebWork2 committers

2003-12-02 Thread Jason Carreira
Title: Message Hey guys,   Anyone who has commit access or open issues in Jira for XWork 1.0 or WebWork2 2.0, please take some time to get your fixes / patches in... I'd like to see us release final versions before the end of the year...   Thanks to everyone for all your hard work!   Jason

RE: [OS-webwork] [XWork] Howto use validation framework with plain JavaBeans (no Actions)

2003-12-02 Thread Jason Carreira
Oops, my bad. I thought you meant two *different* Action classes with the same action name in different namespaces... Do you really think this is an issue? If you don't want the same validation for the 2 in different namespaces, then name them differently. On the other hand, if you wanted to have

Re: [OS-webwork] [XWork] Howto use validation framework with plain JavaBeans (no Actions)

2003-12-02 Thread Tim Dwelle
Jason, Either you misunderstood me... or I'm being incredibly thick (I'm leaning towards the latter)... But if 2 actions are 1) of the same class 2) and have the same action name 3) but reside in 2 different namespaces then they'd *have to* have the same validation. I don't see why you say the

RE: [OS-webwork] ParameterInterceptor trouble

2003-12-02 Thread Jason Carreira
ParameterInterceptor is only there to set properties from the Parameter map (in WW2 this is the parameters from the HttpRequest). If you're chaining and want to set the properties from one action to the next, you want the ChainingInterceptor. > -Original Message- > From: Gordon Smith [m

RE: [OS-webwork] [XWork] Howto use validation framework with plain JavaBeans (no Actions)

2003-12-02 Thread Jason Carreira
No, because the validation files are named ClassName-validationContext-validation.xml Therefore the context is just a further specifier on top of the class name. All of the validations are class specific, with class defaults in ClassName-validation.xml And have more specific validations which a

Re: [OS-webwork] [XWork] Howto use validation framework with plain JavaBeans (no Actions)

2003-12-02 Thread Tim Dwelle
In the code snippet below, the context string = the action name. Doesn't that mean that if 2 actions (of the same class) have the same name, but live in different namespaces, that they have to use the same validation? Wouldn't it be better if the context string contained the namespace as well?

RE: [OS-webwork] Referencing default stack from a package?

2003-12-02 Thread Patrick Lightbody
Hey Robert, I am so sorry, my head wasn't working quite right. I see now what you are saying (or at least, I see it much clearer than I did before): In packages, you define stacks with but you set the default stack with . In actions you set the default (only 1 can exist) stack with . Why aren

Re: [OS-webwork] Products Based Upon OpenSymphony

2003-12-02 Thread Bruce Ritchie
http://wiki.opensymphony.com/space/WebWork lists some applications that are using WebWork 1.x. Regards, Bruce Ritchie Matthew E. Porter wrote: Is there a page anywhere that lists the commercial and open-source products based upon OpenSymphony components, especially WebWork 1 & ? I looked for

[OS-webwork] Products Based Upon OpenSymphony

2003-12-02 Thread Matthew E . Porter
Is there a page anywhere that lists the commercial and open-source products based upon OpenSymphony components, especially WebWork 1 & ? I looked for it and could not find one. Cheers, matthew --- This SF.net email is sponsored by: SF.net

Re: [OS-webwork] creating custom URIs

2003-12-02 Thread Michael Blake Day
I actually thought this was a joke at first until I looked it up... Strange name for a class =). Thanks for pointing me in the right direction! Blake - Original Message - From: "Cuong Tran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 02, 2003 7:32 PM Subject: Re

[OS-webwork] ParameterInterceptor trouble

2003-12-02 Thread Gordon Smith
I have a question about ParameterInterceptor. Is it expected behaviour to limit the parameters that are to be chained from one action to another to those in the HTTP request and to not allow updates to the parameter values outside of the HTTP request, say, from an action prior to a chain? The i

Re: [OS-webwork] creating custom URIs

2003-12-02 Thread Cuong Tran
Use the CoolUriServletDispatcher instead of the default WebWorkServletDispatcher (in web.xml). Isn't that a cool feature? --- Michael Blake Day <[EMAIL PROTECTED]> wrote: > Hi everyone! > > What's the best method to avoid using a QUERY_STRING in URIs? > > For example, I'd like to use the foll

[OS-webwork] creating custom URIs

2003-12-02 Thread Michael Blake Day
Hi everyone! What's the best method to avoid using a QUERY_STRING in URIs? For example, I'd like to use the following: http://www.mydomain.com/cart/add-item/1/ Instead of: http://www.mydomain.com/cart/add-item.do?itemId=1 If it matters, I'd like to use Orion as my application server. Also, in

Re: [OS-webwork] Tomcat forward

2003-12-02 Thread John Patterson
Thanks for the suggestions but I think that the Filter approach is simpler and more search engine friendly. The question was actually asking for a method of doing an internal 'forward' (dispatcher.forward()), rather than a 'redirect' (response.sendRedirect() or html refresh). This means one less

RE: [OS-webwork] [XWork] Howto use validation framework with plain JavaBeans (no Actions)

2003-12-02 Thread Jason Carreira
Yep... Here's the before() method from the ValidationInterceptor: protected void before(ActionInvocation invocation) throws Exception { Action action = invocation.getAction(); String context = invocation.getProxy().getActionName(); if (log.isDebugEnabled()) {

[OS-webwork] [XWork] Howto use validation framework with plain JavaBeans (no Actions)

2003-12-02 Thread Torsten Juergeleit
Is XWork's validation framework usable with non-actions (e.g. POJOs or JavaBeans) too? If yes, where can I find sample code? Cheers, Torsten __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ --

[OS-webwork] US STOCK MARKET - HTDS Medical Research---CANCER Trials.....jonathon

2003-12-02 Thread Dee Jolly
US Stock Market - Stock Profile of the Week Symbol: HTDS Market: PK Sector: MEDICAL RESEARCH BARCHART Rates HTDS an 80% BUY - http://quotes.barchart.com/texpert.asp?sym=HTDS Before we begin our profile we have very exciting, breaking news... Tubercin Passes Toxicity Trials - Ready To Proceed

RE: [OS-webwork] Conversion Bug

2003-12-02 Thread Fred Lamuette
Done. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Jason Carreira Envoye : mardi 2 decembre 2003 20:18 A : [EMAIL PROTECTED] Objet : RE: [OS-webwork] Conversion Bug Great catch! Can you open a few Jira issues for these? Thanks! > -Original Message-

RE: [OS-webwork] Conversion Bug

2003-12-02 Thread Jason Carreira
Great catch! Can you open a few Jira issues for these? Thanks! > -Original Message- > From: Fred Lamuette [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 02, 2003 1:49 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Conversion Bug > > > > With a CheckboxList returning an array o

[OS-webwork] Conversion Bug

2003-12-02 Thread Fred Lamuette
With a CheckboxList returning an array of strings, if this array has a length of 2 elements or more and the target class is not resolved in XWorkBasicConverter, a StackOverflow error is thrown. As a target class, you can take a TreeSet for instance. The involved code from XWorkBasicConverter, you

RES: [OS-webwork] Tomcat forward

2003-12-02 Thread Carlos Villela
...unbookmarkable pages, but a simple approach :) -Mensagem original- De: Anoop Ranganath [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 2 de dezembro de 2003 15:04 Para: [EMAIL PROTECTED] Assunto: Re: [OS-webwork] Tomcat forward Or just make the page at your domain one big frame, an

Re: [OS-webwork] Tomcat forward

2003-12-02 Thread Anoop Ranganath
Or just make the page at your domain one big frame, and have the frame point to your home page. On Dec 2, 2003, at 11:55 AM, John Patterson wrote: Hi,  I know this is off topic but I was wondering how others handle this issue.   I want my domainwww.domain.co.ukto forward directly to my home pag

[OS-webwork] Select Tag does not support Lists or Longs

2003-12-02 Thread Daniel Pfeifer
Hi, I've got a problem with the select tag. I am declaring the select tag like this: Where affiliateTransport.affiliateCategories represents transport object which has a getter/setter (affiliateCategories) for a List object and valueStore.allCategories a getter for a List which contains all sel

Re: [OS-webwork] Tomcat forward

2003-12-02 Thread Hani Suleiman
You could use sitemesh to decorate a remote url, but really, what you want to do is fairly silly, since you're incurring an extra network trip (from the server to your homepage) for no reason other than to have a slightly prettier url. John Patterson wrote: Hi, I know this is off topic but I

[OS-webwork] Tomcat forward

2003-12-02 Thread John Patterson
Hi,  I know this is off topic but I was wondering how others handle this issue.   I want my domain www.domain.co.uk to forward directly to my home page. That is, I do not want it to *redirect* making the browser's URL change.   Is making a Filter the only cross platform way to do?   Thanks,

RE: [OS-webwork] Unit testing and ActionContext

2003-12-02 Thread Jason Carreira
Well, I don't think we're up for doing a ton of refactoring right now, as we're trying to get 2.0 out the door. For unit testing, you can just directly use ActionProxyFactory to create ActionProxies, which do most of what you're looking for. As far as having multiple dispatchers running at the s

RE: [OS-webwork] Accessing the value stack from jsp 2.0?

2003-12-02 Thread Olaf Bergner
> I have some JSP 2.0 pages that I would like to port over to webwork 2, > and was wondering if there is any way to access the value stack? > It just seems cooler to convert my ${id} statements to ${stack.id}, > rather than > Basically, I am asking if the value stack has been put into the request

[OS-webwork] Unit testing and ActionContext

2003-12-02 Thread Frederick N. Brier
First, let me say I really like Webwork2/XWork. Struts tries to do the job of mbeans, security, and other tasks the container already handles. Webwork's interceptors, IoC, all in one actions, the ActionContext, concise set of tags, support for Velocity are all focused on generating dynamic co

RE: [OS-webwork] Select Tag does not support Lists or Longs??

2003-12-02 Thread Olaf Bergner
> I've got a problem with the select tag. I am declaring the select tag like > this: > > list="valueStore.allCategories" ... /> This usage seems wrong to me. The 'name' attribute will be mapped to the 'name' attribute of the resulting HTML tag (you will get ). What you are looking for ist someth

RE: [OS-webwork] Accessing the value stack from jsp 2.0?

2003-12-02 Thread Peter White
http://wiki.opensymphony.com/space/Using+JSTL+seamlessly+with+WebWork > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sergiy Barlabanov > Sent: Tuesday, December 02, 2003 12:29 AM > To: [EMAIL PROTECTED] > Subject: RE: [OS-webwork] Accessing the

RE: [OS-webwork] Accessing the value stack from jsp 2.0?

2003-12-02 Thread Sergiy Barlabanov
If I need to access the value stack programatically from my JSP I currently use <% OgnlValueStack stack = ActionContext.getContext().getValueStack(); %> If need to access it through tags I use as you already mentioned. Is there any other way? Regards, Sergey -Original Message- From: Ta

RE: [OS-webwork] WebWork and CSS.

2003-12-02 Thread Sergiy Barlabanov
Ok. Thank you all. I've written my own tag extending textfield tag with cssclass attribute. It turned to be quite easy :). Regards, Sergey -Original Message- From: Robert Nicholson [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 6:11 PM To: [EMAIL PROTECTED] Subject: Re: [OS-w

[OS-webwork] Select Tag does not support Lists or Longs??

2003-12-02 Thread Daniel Pfeifer
Hi, I've got a problem with the select tag. I am declaring the select tag like this: Where affiliateTransport.affiliateCategories represents transport object which has a getter/setter (affiliateCategories) for a List object and valueStore.allCategories a getter for a List which contains all sel

[OS-webwork] Accessing the value stack from jsp 2.0?

2003-12-02 Thread Tao Starbow
I have some JSP 2.0 pages that I would like to port over to webwork 2, and was wondering if there is any way to access the value stack? It just seems cooler to convert my ${id} statements to ${stack.id}, rather than Basically, I am asking if the value stack has been put into the request or sessi

RE: [OS-webwork] [OS-xwork] Change to the xwork.dtd

2003-12-02 Thread Jason Carreira
Tell Mike... I made him responsible for shepherding in your changes :-) > -Original Message- > From: Ross Mason [mailto:[EMAIL PROTECTED] > Sent: Monday, December 01, 2003 8:28 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] [OS-xwork] Change to the xwork.dtd > > > Hi guys, > > The