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
- 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
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
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:
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:
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
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]
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
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
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.
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
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,
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
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
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
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
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
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
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
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
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
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]
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..
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:
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
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
26 matches
Mail list logo