The below should be a simple working example.
Please check it yourselves, but i think it should be ok. I hope the
quickstart guide will be updated.
changes at Quickstart guide
add a components.xml file to the WEB-INF\Classes directory (should go
under src directory in eclipse to be copied ever
There are a few options (Drew and Jason are both correct). Another
option is to use the so-called "HTTP 204 trick":
Using the HttpHeaderResult (included in WebWork, but not yet in
webwork-default.xml), you can respond with a 204 code which tells the
browser to submit the form but then not change t
That’s very strange. Are you at all
using the tag in your JSP as well?
-Original Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of remigijus
Sent: Wednesday, December 10, 2003
2:17 AM
To:
[EMAIL PROTECTED]
Subject: [OS-webwork] Problems
with Applet.
Title: RE: [OS-webwork] Empty string property now "" instead of null?
Well, other objects (like int, Long, etc)
will get null, but in the case of “” it is actually a valid
conversion. Is the request to (in WebWork, not XWork) treat “” as essentially
_null_? Anyone have any thoughts
on this
Unfortunately, this is one of the problems with the
"use-JSP-tags-in-velocity" deal: in order to _really_ get it to work,
you essentially have to write half a JSP container. Since supporting any
arbitrary tag isn't the goal of WebWork (it's a nice side effect, but
it's not a high priority at all),
I managed to get this going by putting a one pixel transparent gif
image in /images/px : note that "px" is the filename, no extension..
strange, but this is what the URL's link to.
Cameron
Manyuan Jin wrote:
Hi,
Can anybody tell me how to use
JasperReportViewServlet with HTM
Hi,
Can anybody tell me how to use
JasperReportViewServlet with HTML file. There is no problem with the
px image since I put it in my images folder. I cannot get the
generated images (e.g. $V{ChartImage}) displayed in HTML file. But it works for
PDF file.
Thanks.
You can use an expression there, like this:
${currentPage}
Which will evaluate currentPage against the value stack
> -Original Message-
> From: Jan-Peter Hagenmüller [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 10, 2003 6:19 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] po
If it's a String property type, why would it think to convert [""] to
null?
> -Original Message-
> From: BOGAERT Mathias [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 10, 2003 7:16 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Empty string property now "" instead of null?
>
In WW2 you can use the ww:set tag
> -Original Message-
> From: Dick Zetterberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 10, 2003 5:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Setting session value in jsp ( webwork1 )
>
>
>
> - Original Message -
> Fro
> -Original Message-
> From: Dick Zetterberg [mailto:[EMAIL PROTECTED]
>
>
> I am planning to add concatenation support for WW1.4.1. Then
> you would be able to write:
> name="'prefix1[' + @status + '].someName'" which is what you want I
> believe.
>
Which works in WW2
Jason
I've had success with that using a "Referrer" result, adopted from ww1.x. It
looks something like this. The key is to get the previous location from the
"referer" attribute of the request (REFERER_KEY = "referer"), which contains
the previous result. My version does a little extra, making sure that
- Original Message -
From: "Eric Mckenna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 9:53 PM
Subject: [OS-webwork] Can I concatenate text in the name attribute?
> I have a form that creates some child objects, so the form has repeated
form
> values. I'm
Hi,
any form at any page can call any actions - but how can i point the calling page
with a result desciption like below?
"current page"
with no http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-331)
thanks for hints!
jp
That would work, but then I could not use webwork's validation.
- Original Message -
From: "Cuong Tran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: December 10, 2003 3:49 PM
Subject: Re: [OS-webwork] Can I concatenate text in the name attribute?
>
> You can try:
>
>
> ]" valu
You can use the Xwork version of that interceptor which will not filter
out any conversion messages. What else would you suggest?
I'm sorry, I don't understand what you're saying about the conversion
error message being overridden... Can you give me an example so my slow
brain can figure it out? :
We are at a stable state... We're just fixing some bugs. We expect the
WW2 release around the end of the month.
> -Original Message-
> From: Leonidas Papadakis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 10, 2003 3:51 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Webwork2 s
- Original Message -
From: "Leonidas Papadakis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 8:14 PM
Subject: [OS-webwork] Setting session value in jsp ( webwork1 )
> Can anybody tell me how can i set a value passed by an action, to the
> session at the
You can try:
]" value="..."/>
--- Eric Mckenna <[EMAIL PROTECTED]> wrote:
> >
> > Here's basically what im trying to achieve,
> >
> >
> > I started with using the status tag on iterator:
> >
> > > value="someValue/>
> >
> >
> >
> > name="[EMAIL PROTECTED]"
> > value="someValue
Can anybody tell me how can i set a value passed by an action, to the
session at the jsp file ?
Which webwork tag do i have to use? Otherwise how can i access the value
from jsp code ?
I am using webwork 1.4.
Thanks in advance.
L
Fred Lamuette wrote:
The new beta2 displaytag library is releas
I'm using webwork 1.4 and @status should be @status/index, typo on my part.
I'm using the IteratorStatus to get an index for the current item.
- Original Message -
From: "Patrick Lightbody" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: December 09, 2003 10:19 PM
Subject: RE: [OS-webw
Title: RE: [OS-webwork] Empty string property now "" instead of null?
I fully agree with ... Mathias :) if "" then null would be preferred to get. But I guess there is something stopping that. or?
/Mathias.
-Original Message-
From: BOGAERT Mathias [mailto:[EMAIL PROTECTED]]
Sent: de
Hi,
When a form field (single textfield) is not filled, the request param is an
empty string, which translates to an empty string array
(ParametersInterceptor), but my property setter is called with an empty
string. Should't that be null?
Cheers,
Mathias
Hello
Today I tryed to add an applet to my site for
management purposes, but wen I'm
calling to the page with Applet in it I'm getting an error.
I am using webwork with sitemesh2 and evrything was
working without any problems, util I'm calling to an page with
applet.
If somebody ha
Cool just what i was looking for thanks..
Is the order in the array the order the page is printed, so i can trust
that the first text field is the string[0] ?
Regards David
On Tue, 2003-12-09 at 16:57, Patrick Lightbody wrote:
> David,
> In WebWork 1.x and 2.0, you can provide a get/set meth
The new beta2 displaytag library is released, and I've understood the value
property is not supported, so the existing integration example in WW2 can no
more work :
#bodytag( Table "name=list" )
#tag( Column "property=key" )
#tag( Column "property=value" )
#tag( Column "title=static value" "
Ok, thanks, I'll go with that.
I think this behaviour should be mentioned next to the documentation of
the ModelDrivenInterceptor (there is some documentation about
interceptors.. right? ;-)
Jonas
Fred Lamuette wrote:
Jonas, I resolved your problem by pushing the new model on the stack. It's
t
Greetings,
I have recently got stack with webwork1 and investigated webwork2 that
seams to fit the needs of the project that i am working on. There is one
concern though being raised in the company that i work, that webwork2 is
at beta2 . We tracked down an article stating that webwork2 has no
Ok, as far as I am concerned I've validated the new process in XWork of
handling the conversion errors. I just disagree with the special interceptor
that prevents some conversions, the rest is ok for me. I think you have to
choose an easy and basic approach for handling error conversions, clarity
a
Jonas, I resolved your problem by pushing the new model on the stack. It's
the only clean solution, and it works well. Dont forget, when you push the
new model, to set also the model reference in the action, thus you can
reference it afterwards if needed.
Hope it can help.
Richard HALLIER
Chef de
30 matches
Mail list logo