2009/1/30 san-ho-zay :
> I have a Struts2 action with a double property called "amount". No validation
> rules on the action as yet.
Use big Double instead.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail:
created: https://issues.apache.org/struts/browse/WW-2971
On Thu, Jan 29, 2009 at 8:04 PM, Musachy Barroso wrote:
> a ticket would be better. thanks
>
> musachy
>
> On Thu, Jan 29, 2009 at 8:51 PM, Allen Lee wrote:
>> Ok, I just figured out the problem I think - it occurs when OGNL tries
>> to pa
newton.dave wrote:
>
> Srikanth Goud wrote:
>> I am presently working on struts 2.0.
>> Whenever i use strutsUI tags(with theme="ajax") nothing is rendered on
>> page.
>> I have done like this:-
>> In web.xml
>>
>>
>> struts-cleanup
>>
>> org.apache.struts2.dispat
Hi All,
I'm new to Struts and am using an indexedFieldProperty in my project. When I access the bean it returns me the object that is inside the vector "vecItem" instead of the vector "vecLocation".
My validation.xml is as follows:
depends="requiredCurrRateDate1" >
Did you try with the new filters?
musachy
On Thu, Jan 29, 2009 at 7:44 PM, Markus Doring wrote:
>
> Hi,
> I am trying Struts 2.1.6 with Freemarker Sitemesh decorators. I am getting a
> NPE in the PageFilter HeadTag class. When debugging it seems the getPage()
> call in the class returns Null. Th
you can put the whole " view?resourceId=${resource.id}" in the params.
On Thu, Jan 29, 2009 at 8:57 PM, Allen Lee wrote:
> Hi there,
>
> After saving a persistent resource I'd like to redirect after the post
> to a view page that views the resource. I'm trying to do something
> along the lines o
a ticket would be better. thanks
musachy
On Thu, Jan 29, 2009 at 8:51 PM, Allen Lee wrote:
> Ok, I just figured out the problem I think - it occurs when OGNL tries
> to parse a negative double. I've been able to reproduce it in a small
> test app that you can unpack and run via mvn jetty:run at
Hi there,
After saving a persistent resource I'd like to redirect after the post
to a view page that views the resource. I'm trying to do something
along the lines of:
@Action(value="save",
results={
@Result(name="success", type="redirect", location="view",
params={"resou
Ok, I just figured out the problem I think - it occurs when OGNL tries
to parse a negative double. I've been able to reproduce it in a small
test app that you can unpack and run via mvn jetty:run at
http://libai.la.asu.edu/src/tdartest.tar.bz2 -- it looks like any
negative numbers fails to get par
> Hi,
>
> I'm very new to JSP, Java and struts. How to instantiate LoginAction
> class without using a form. I've an "action" to do in the jsp file and
> defined what to do in the strut-config.xml file. Earlier in
> our application, the LoginAction gets instantiated automatically once
> the logi
On Thursday 29 January 2009 19:49:39 Andy Sykes wrote:
> Hi all,
>
> I've written an interceptor with a PreResultListener that gets the
> action with ActionInvocation.getAction(), then casts it to an
> interface ("Parseable", in this case). This lets me call a particular
> method on the action just
Hi all,
I've written an interceptor with a PreResultListener that gets the
action with ActionInvocation.getAction(), then casts it to an
interface ("Parseable", in this case). This lets me call a particular
method on the action just prior to the result being rendered.
The action implement
Hi,
I am trying Struts 2.1.6 with Freemarker Sitemesh decorators. I am getting a
NPE in the PageFilter HeadTag class. When debugging it seems the getPage()
call in the class returns Null. This only happens for the decorator:head and
not for the body or title (If I remove the <@decorator.head/> fro
Nope I haven't, I started by looking at showcase and dropping your
classes there. I will give em a try if you don't see anything wrong in
showcase.
musachy
On Thu, Jan 29, 2009 at 6:15 PM, wrote:
> Musachy,
>
> In the bug report, under Test 1 instructions it's shows it working against
> 2.1.2
Why don't you use dojo famework directly? I am using dojo 1.2.3 with struts 2.
You have much much more control and freedom in doing what you want to do.
It may only take you a week or two of learining curve if you already do not
know about the framework.
--- On Thu, 1/29/09, jwl wrote:
> Fro
Hi
If I have formA.java and formB.java with its corresponding actionA and
actionB classes, and inside formA I have a variable x = 10; and I would like
to transfer that to formB when actionA forwards to actionB
what's the best way to do it besides using http session ?
would this be considered as
We use Eclipse, but there's no IDE setup necessary and no special IDE
plugins. The beauty of GWT is it's all Java, so you just drop in the GWT
JARs and start using the APIs. Naturally there's a bit of a learning
curve to understand the server-side components, how GWT handles
asynchronous calls i
Musachy,
In the bug report, under Test 1 instructions it's shows it working against
2.1.2 In the second set of instructions (accidentally also called Test 1)
it details how to make it not work by swapping over to 2.1.6.
Did you by any chance run this test case standalone, using the second set
of
I'm guilty of pawning this task off to someone else. I'll have him take a
look at showcase and our example and get back to the group.
Thanks for checking this out so quickly. Maybe it's us. :)
-B
Musachy
Ok, let me try to clarify this, if the result of some action, lets
call it "firstAction" contains:
while the result of "secondAction" is executed, "secondAction" will be
on top of the stack, and it is not available by name in the stack.
Inside the tag content, "firstAction" is on top of the
I have a Struts2 action with a double property called "amount". No validation
rules on the action as yet.
When I enter "0.0" into the amount on the JSP page, it displays an "Invalid
field value for field "amount"" error.
If I blank the amount it gets through the conversion and 0.0 gets stored in
I am out of the office until 09.02.2009.
Falls ihr Thema vorher behandelt werden soll bitte ich Sie den UAG-IT
Helpdesk zu kontaktieren um eine schnellstmögliche Bearbeitung ihrer
Anfragen zu gewährleisten. (DW Helpdesk: 2100).
Mit freundlichen Grüßen
Ronni Bjelosevic
If your subject should be
what does prints in the action result?
musachy
On Thu, Jan 29, 2009 at 5:53 PM, Wolfgang Knauf wrote:
> Musachy Barroso wrote:
>>
>> Yes, during the result of the invoked action, the invoked action will
>> be on the top of the stack, but it is available "by name" in the
>> stack, only outside t
Musachy Barroso wrote:
Yes, during the result of the invoked action, the invoked action will
be on the top of the stack, but it is available "by name" in the
stack, only outside the "action" tag.
I cannot confirm the first half of this (see my sample). A action called
by "s:action" seems to b
I dropped your classes into showcase, and I am getting this:
Action1.execute()
Action1.execute() : getPageName() = null
Action1.execute() : getPageName() = PageNameFromAction1
Action2.execute()
Action2.execute() : getPageName() = PageNameFromAction1
which seems ok.
musachy
On Thu, Jan 29, 2009
Thanks for the testcase. I am looking at it, and there is a very
similar case in showcase, but it seems fine.
http://localhost:8080/struts2-showcase/actionchaining/actionChain1!input
the output is:
Action Chain 1 Property 1: Property Set In Action Chain 1
Action Chain 2 Property 1: Property Set
What IDE setup are you using to run Struts2 and GWT out of curiosity? Is
there any IDE that does both really well together? Plugins?
On 1/29/09,
Becky.L.O'sulli...@healthnet.com<
Becky.L.O'sulli...@healthnet.com >
wrote:
>
> We've been using GWT and Musachy's Struts 2 GWT plugin, and other than
I hear that guy is pretty lazy :). Drop me an email and I will give
you commit rights.
musachy
On Thu, Jan 29, 2009 at 5:07 PM, wrote:
> We've been using GWT and Musachy's Struts 2 GWT plugin, and other than a
> few "gotchas" it works well. It hasn't been updated in a looong time
> though (hin
Thanks, bug WW-2970 was submitted along with a test case.
-B
Musachy Barroso
To
We've been using GWT and Musachy's Struts 2 GWT plugin, and other than a
few "gotchas" it works well. It hasn't been updated in a looong time
though (hint hint - got a couple of open bugs :) ).
GWT has met all of our expectations and, for Java developers, is far easier
to work with than Dojo.
-
Any suggestion for the alternative AJAX framework for Struts2 after they
deprecate Dojo PlugIn? I know there are many out there, but what's the best
one to integrate with Struts2? Any suggestion or analysis is highly
appreciated!
--
View this message in context:
http://www.nabble.com/What%27
Oops, sent before I completed a sentence fragment. "Then any ." should be
Then any actions that require authentication specify
@ParentPackage("secured") to signify that they want the
AuthenticationInterceptor in place.
I just tried it using only the defaultStack as well but still no
luck... I'l
Hi Wes,
I have an AuthenticationInterceptor that checks for a Spring-injected
session scoped bean for authentication information (though I'm not
sure if this is actually thread-safe, I should probably check on
that... if Interceptors in Struts are singletons then it'd need to be
a ThreadLocal, bu
We were using JSP EL expression to evaluate parameter value passed from
a custom tag to struts tag. After we upgraded Struts from 2.0.9 to
2.0.14, we had to modify struts tag defined in our tag file since JSP EL
expression is not allowed any more in struts tag because of changes from
WW-2107.
One
We were using JSP EL expression to evaluate parameter value passed from a
custom tag to struts tag defined in that custom tag file. After we upgraded
Struts from 2.0.9 to 2.0.14, we had to modifed struts tag defined in our tag
file since JSP EL expression is allowed any more in struts tag because
mleneveut wrote:
What I can't understand is why it works in some environments, and no others.
The war is the same.
Probably because there were known bugs in 2.1.0 (both struts and xwork).
As such, it was never intended for general use. The first GA (General
Availability) 2.1.x was 2.1.6. U
Thanks. That did it.
On Wed, Jan 28, 2009 at 10:53 PM, Jeromy Evans
wrote:
> Try turning off the loading text.
>
> It's a guess, but it sounds similar to the loadingText bug due to Dojo in
> IE. If the target div contains the source form and loadingText enabled, the
> loadingText overwrites the
Hi,
Thanks for your reply.
What I can't understand is why it works in some environments, and no others.
The war is the same.
And why do you say that the "generic type of the idsCommerciaux list
is not available at runtime" ? I defined it as a List in the Action.
So Struts should know that it ha
Emi Lu wrote:
Good morning,
With struts2.1.6, In package.properties:
empty.error={0} cannot be empty.
Setup field error as:
this.addFieldError("username.empty", getText("empty.error"));
But is there a way, I can replace {0} with "username"?
Answering specifically: use one of the other getTe
Srikanth Goud wrote:
I am presently working on struts 2.0.
Whenever i use strutsUI tags(with theme="ajax") nothing is rendered on
page.
I have done like this:-
In web.xml
struts-cleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
sitemesh
Good morning,
With struts2.1.6, In package.properties:
empty.error={0} cannot be empty.
Setup field error as:
this.addFieldError("username.empty", getText("empty.error"));
But is there a way, I can replace {0} with "username"?
Thanks a lot!
--
Lu Ying
---
> Hi,
I am using struts2.0.11 for my project. I am using struts xml
validation.
I need to validate a date field(I am not using struts date picker) in
dd/MM/ format, but struts is validating against MM/dd/
format. Is that possible to validate against dd/MM/ format? If
On 29/01/2009, at 6:36 PM, Srikanth Goud wrote:
Hi,
I am presently working on struts 2.0.
Whenever i use strutsUI tags(with theme="ajax") nothing is rendered on
page.
Have a look at the source of the page to see what's rendered. Is it
the page you expected and does it contain javascript
Hi,
On Thu, Jan 29, 2009 at 10:06 AM, mleneveut wrote:
>
> Hi all,
>
> I have a very strange thing. I have a multiple select in my JSP, and a
> List of ids in my Action. When I submit the form, I iterate on that
> List of Long, and I have this error :
>
> java.lang.ClassCastException: java.lang.S
Hi all,
I have a very strange thing. I have a multiple select in my JSP, and a
List of ids in my Action. When I submit the form, I iterate on that
List of Long, and I have this error :
java.lang.ClassCastException: java.lang.String
Struts has String in the List instead of Long. The strange thin
45 matches
Mail list logo