RE: [OS-webwork] ww:select listKey

2004-02-19 Thread kvui
Would try that next week Strange -- if you can provide a simple test that replicates this behavior I'll be sure to get a bug fix in for 2.0.1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 8:54

Re: [OS-webwork] Rendering java.sql.Timestamp?

2004-02-19 Thread Dick Zetterberg
- Original Message - From: Larsson, Jonas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:41 AM Subject: [OS-webwork] Rendering java.sql.Timestamp? Can someone please give me a pointer to how to customize the formatter for rendering date objects (and it's

RE: [OS-webwork] HttpHeaderResult

2004-02-19 Thread Samuel Mota
Hi Jason, In fact the ServletDispatcherResult can handle this. The action doExecute methos does only the following: ServletResponse response = ServletActionContext.getResponse(); response.setContentType(application/x-java-jnlp-file); and flush: response.flush(); So the ServletDispatcherResult

Re: [OS-webwork] Unit-testing actions in WW1.3

2004-02-19 Thread Jed Prentice
You don't need to even bother with Cactus if you aren't using anything HTTP-specific, e.g., javax.servlet.HttpSession, which makes things even easier. You can just use JUnit as always. As long as webwork is in the classpath for your tests you are set. Jed - Original Message - From:

RE: [OS-webwork] Newbie question - how to change the tags

2004-02-19 Thread Alex Radka
That's what I was looking for, thanks. Where do I put the template dir? Do I need to rebuild webwork.jar or can I put it in my war somewhere? I tried the basedir and under /WEB-INF/classes but I get Fatal exception caught in com.opensymphony.webwork.views.jsp.ui.SelectTag tag class, doEndTag:

[OS-webwork] Dynamic View Mapping

2004-02-19 Thread Frank Febbraro
Using WW 1.4 I am trying to setup a dynamic view mapping as specified here: (this redirects to a section of the app that is legacy) action . command name="selectLicensingYear" alias="deal!selectLicensingYear" view name="success"redirect.action?url=""> /command /action My action

RE: [OS-webwork] Newbie question - how to change the tags

2004-02-19 Thread Alex Radka
Answered my own question. I put it in a directory called rubicon, in the basedir of my war. From your comments I would have expected it to be in template/rubicon, so I'm not sure it works the way you expected... but it works. Thanks, Alex -Original Message- From: [EMAIL PROTECTED]

RE: [OS-webwork] Newbie question - how to change the tags

2004-02-19 Thread Paul Knepper
See. http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-431 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francisco Hernandez Sent: Wednesday, February 18, 2004 8:51 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Newbie question - how to change

Re: [OS-webwork] Dynamic View Mapping

2004-02-19 Thread Hani Suleiman
Did you try just using instead of amp;? If that doesn't work, then file a bug (I vaguely remember having problems with this previously too) On Feb 19, 2004, at 10:25 AM, Frank Febbraro wrote: Using WW 1.4   I am trying to setup a dynamic view mapping as specified here: (this redirects to a

Re: [OS-webwork] Dynamic View Mapping

2004-02-19 Thread Frank Febbraro
If you use it causes a parsing exception in the actions.xml file. I also determined that it has nothing to do with dynamic mappings, even if both parameters are hardcoded the second one still gets left off. Will do some investiagtion, and possibly hack a workaround if I can't find the bug.

Re: [OS-webwork] Dynamic View Mapping

2004-02-19 Thread Frank Febbraro
Ok I see what is going wrong. the view result is: redirect.action?url=somthing?param1=value1param2=value2 What is happening is that it interprets redirect.action as having 2 parameters 1) url=somthing?param1=value1 2) param2=value2 not sure how to fix it yet...any ideas... The only workaround

RE: [OS-webwork] Rendering java.sql.Timestamp?

2004-02-19 Thread Larsson, Jonas
I saw this last night when browsing the list archive. Where is this use of the text tag documented? I've looked in the wiki, the API docs and the Cookbook but I can't seem to find it... /Jonas -Original Message- From: Cuong Tran [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19,

AW: [OS-webwork] Dynamic View Mapping

2004-02-19 Thread Patrick Holzmann
What about adding the encoded value for the '' character? Using something like url?value=test%26best should give you testbest cheers p -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Frank Febbraro Gesendet: Donnerstag, 19. Februar 2004 17:50

Re: [OS-webwork] Dynamic View Mapping

2004-02-19 Thread Frank Febbraro
Closer but url=servlet?param1=value1%26param2=value2 in servlet, param1 now equals value1param2=value2 For now I think I am going to handle the redirect by hand via: ActionContext.getResponse().sendRedirect() and return NONE from my Action. That is simplest, and I can't think of any other

Re: [OS-webwork] Dynamic View Mapping

2004-02-19 Thread Hani Suleiman
Hm, there should be some way of being able to do this, and some escaping rules I think. On Feb 19, 2004, at 12:29 PM, Frank Febbraro wrote: Closer but url=servlet?param1=value1%26param2=value2 in servlet, param1 now equals value1param2=value2 For now I think I am going to handle the redirect

[OS-webwork] WebWork2 Problems.

2004-02-19 Thread Rick Salsa
I seem to be having a really wierd problem that I can't seem to figure out. I've got an Action class which is making calls on an domain object. The snippet in the action class: public Order getOrder() { return order; } and the input field in the form: input type=text name=order/lastName

Re: [OS-webwork] WebWork2 Problems.

2004-02-19 Thread Francisco Hernandez
you need to use . instead of /, so it should be order.lastName see: http://wiki.opensymphony.com/space/OGNL Rick Salsa wrote: I seem to be having a really wierd problem that I can't seem to figure out. I've got an Action class which is making calls on an domain object. The snippet in the

[OS-webwork] Action Parameters

2004-02-19 Thread Samuel Mota
Hi, I'm trying to configure my action with parameters at xwork.xml ... But how can I get it back on my action? ActionContext.getContext().getParameters() contains only the parameter passed on the querystring. action class=apps.menu.actions.Launch name=launch param

[OS-webwork] Webwork2 tags not working on velocity

2004-02-19 Thread Vtor Souza
Hi, I'm getting an error from Velocity when I try to use Webwork UI tags in a VM template. If I write this (which was taken from Using+WebWork+2+Tags+from+Velocity in the wiki) in the script: #tag( TextField label=Username name=username ) I get this error: Invalid arg #0 in

RE: [OS-webwork] Rendering java.sql.Timestamp?

2004-02-19 Thread Larsson, Jonas
Worked like a charm! And as a side effect I am half way to localizing my app :) Thanks for the superfast reply. /Jonas -Original Message- From: Hani Suleiman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 10:52 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Rendering

RE: [OS-webwork] xwork and components and NullPointerExceptions

2004-02-19 Thread Patrick Lightbody
There are two things you need to do: 1) Make sure that component interceptor is in your stack. You need to do this using WebWork or just XWork no matter what. 2) If you aren't using WebWork, take a look at the LifecycleListener classes in WebWork to get an idea how the three scopes are

RE: [OS-webwork] WebWork2 Problems.

2004-02-19 Thread Jason Carreira
The others answered your expression language issue... Can you check if the order object is not null? Also check if the lastName property is not empy... -Original Message- From: Rick Salsa [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 12:39 PM To: [EMAIL PROTECTED]

RE: [OS-webwork] Action Parameters

2004-02-19 Thread Jason Carreira
Do you just want to set the params on your Action, or get access to the Map of params from the config? If you want to just set the properties, then use the static params interceptor. If you want to get the Map, you can get it from the ActionConfig object which you can get from the ActionProxy..

RE: [OS-webwork] xwork and components and NullPointerExceptions

2004-02-19 Thread Jason Carreira
Title: Message Do you have the ServletContextListener and other lifecycle listeners which set up the containers configured? -Original Message-From: Gilbert, Jeffrey [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 3:11 PMTo: [EMAIL PROTECTED]Subject:

[OS-webwork] [Fwd: WebWork2 Problems.] Resend

2004-02-19 Thread Rick Salsa
Sorry, but my home account's mail server has been down all day, so I don't know if it got through. So hear it is again. If someone answered earlier, could you please forward me that email? Thanks! I seem to be having a really wierd problem that I can't seem to figure out. I've got an Action

[OS-webwork] docs are important

2004-02-19 Thread Bill Lynch
All, Ouch: http://www.depeupleur.com/blog/TT_blog/archives/19.html We got zinged there -- Jason, thanks for the good followup. Let's use this as impetus to improve the docs! I recently started working on the WW2 docs and I'd be happy to help out with XWork if someone could give me cvs