I am facing the same problem
When i use struts2 SNAPSHOT version i get error as
No converter defined
And i fails to compile
Ikya wrote:
>
> Thanks. It worked.
>
> Regards,
> Sreekanth
>
> On Wed, May 20, 2009 at 11:22 AM, Wes Wannemacher wrote:
>
>> It might be easier to grab the most rece
FIXED. If you're trying to sell a product in US dollars and you're selling
internationally, use something similar to this in your resource file. I hope
this helps someone, because it drove me crazy for a day!!
format.money = $ {0,number,#.00}
--- In str..
an easier way, is to install the maven plugin for eclipse, and then
checkout the struts 2 code, and import apps/blank/pom.xml as a maven
project. Then you can run and debug it from eclipse without having to
download any code.
musachy
On Wed, Jul 22, 2009 at 6:23 PM, Dimitrios
Christodoulakis wrot
Thanks Dave and Martin. I learn something new every time!
I was able to attach the source to struts2-core-2.1.6.jar and
xwork-2.1.2.jar by first downloading the source code and pointing to
the it from within eclipse.
project->right click->properties->Java build path->Libraries->select
jar->Source
unless someone redesigned Eclipse breakpoint wont be able to see a class
packaged in the jar *at least with ganymede*
stick with debug algorithm's mentioned earlier
(main focus would be to debug action initialisation as dave mentioned)
...
Martin
__
V
Dimitrios Christodoulakis wrote:
Dave Newton wrote:
Won't help track action invocation initialization, methinks.
Is there a particular way you would recommend to go about doing it
actually? I am using eclipse for my ide, but I am not sure if
breakpoints can trace through the compiled classes
Dave Newton wrote:
>
> Won't help track action invocation initialization, methinks.
>
Is there a particular way you would recommend to go about doing it
actually? I am using eclipse for my ide, but I am not sure if
breakpoints can trace through the compiled classes in the jars.
Much appreciate th
Martin Gainty wrote:
does vi have breakpoints.. am i missing something?
In this case you actually saw something nobody else did--a vi reference.
or debug
before craig and ted left (i wished they both stayed but thats another topic)
a DebuggingInterceptor was coded and is activated by
st
does vi have breakpoints.. am i missing something?
if you need to run this outside of an ide either use Logger.debug(variable);
http://www.oracle.com/technology/products/jdev/tips/mills/Struts-logging.html
or debug
before craig and ted left (i wished they both stayed but thats another topic)
a D
i'm running xwork-2.1.4
private static final Map messageFormats = new
HashMap();
private static MessageFormat buildMessageFormat(String pattern, Locale locale)
{
MessageFormatKey key = new MessageFormatKey(pattern, locale);
MessageFormat format = null;
synchronized (mes
Thanks for the input, guys. It appears to work fine on my development
box. I'm re-running my automated build/test cycle to see what happens
when it gets deployed to Tomcat.
Much appreciated!
Dave
Musachy Barroso wrote:
> On Wed, Jul 22, 2009 at 3:20 PM, Martin Uhlir wrote:
>
>> struts.action.
On Wed, Jul 22, 2009 at 3:20 PM, Martin Uhlir wrote:
> struts.action.extension=,,
> in struts.properties which suppress generating of the suffix for your
> actions.
I wrote like 2 paragraphs just to say that :), good thing I didn't send it.
musachy
--
"Hey you! Would you help me to carry the st
Hi David,
try to set following property
struts.action.extension=,,
in struts.properties which suppress generating of the suffix for your
actions.
Martin
David C. Hicks wrote:
Hi folks,
I'm having some issues with the ".action" suffix with respect to my
integration testing. When we are in
Hi folks,
I'm having some issues with the ".action" suffix with respect to my
integration testing. When we are in development, we typically run our
application using the Maven Jetty plugin. It works great for us. In
this environment, there are no ".action" suffixes on our action
mappings. Howe
Yes, I figured doing a trace and see how things happen would answer a
lot of questions. So, I'll try that.
>From looking at the DefaultActionProxy constructor, it does make sense
to start with the actionproxy. The proxy gets an action invocation as
a constructor parameter. So the invocation instan
The best way to find out all these things is to put breakpoints in the
constructor and/or the setter methods.
musachy
On Wed, Jul 22, 2009 at 2:05 PM, Dimitrios
Christodoulakis wrote:
> Hello,
>
> According to the XWork feature description,
> http://www.opensymphony.com/xwork/wikidocs/XWork%20Fea
Sam Wun wrote:
I got the followiong error when I tried to compile it with Ant:
# ant
Buildfile: build.xml
compile:
[javac] Compiling 2 source files to
/usr/liferay-portal-5.2.3/dev/portlets/sample-datagrid/docroot/WEB-INF/classes
[javac]
/usr/liferay-portal-5.2.3/dev/portlets/sample-d
Hello,
According to the XWork feature description,
http://www.opensymphony.com/xwork/wikidocs/XWork%20Features.html, the
ActionInvocation represents the execution state of an action holding
the action instance and the interceptors.
I have been looking at
http://struts.apache.org/2.1.6/struts2-cor
I'd still suggest making your changes to the 2.0.5 source, since it most
likely has other bug fixes that you just haven't needed yet.
(*Chris*)
On Wed, Jul 22, 2009 at 1:21 PM, Hoying, Ken wrote:
> I checked and it was not. Thank you though. It only seems to appear in
> the 2.1.x versions.
>
I checked and it was not. Thank you though. It only seems to appear in the
2.1.x versions.
-Original Message-
From: Chris Pratt [mailto:thechrispr...@gmail.com]
Sent: Wednesday, July 22, 2009 4:08 PM
To: Struts Users Mailing List
Subject: Re: Upgrading xWork??
If I remember correctly
If I remember correctly there was a 2.0.5 that was probably compatible with
the 2.0.x versions of Struts 2, but I have no idea if that fix is in that
version.
(*Chris*)
On Wed, Jul 22, 2009 at 9:47 AM, Hoying, Ken wrote:
> We are running with Struts 2.0.1.1 (which uses xWork 2.0.4) and are
> n
There are lots of settings...
http://struts.apache.org/2.x/docs/spring-plugin.html
First off, are you configuring your actions as beans? Are you using
spring's autowiring? Do you see any diagnostic messages in the logs
when your app starts up?
-Wes
On Tue, Jul 21, 2009 at 11:44 AM, Ginn, Timoth
I'm using S2 for an eCommerce application (with resource files in different
languages) and I'd like to display the currency in US only. The problem, when
someone using the 'fr' locale comes to the site, the price is displayed as
89,99 instead of 89.99. Is there a way to force it to display as '8
UNCLASSIFIED
I have a portlet that is currently working other than the Spring Beans
are not injected.
I have the struts2-spring-plugin in the project. I have the spring
listener in my web.xml
Is there a setting that I am missing?
Timothy D. Ginn, Contractor
Web Developer
United States
Thanks, Wes.
That is our fallback plan and most likely the route we will take.
Thanks,
Ken
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: Wednesday, July 22, 2009 1:33 PM
To: Struts Users Mailing List
Subject: Re: Upgrading xWork??
I would say that you're bett
Thank you, Haroon.
I looked through the forum originally but may have missed the post. I will
take another look.
Thank you,
Ken
-Original Message-
From: Haroon Rafique [mailto:haroon.rafi...@utoronto.ca]
Sent: Wednesday, July 22, 2009 1:25 PM
To: Struts Users Mailing List
Subject: RE
I would say that you're better off grabbing the source for the version
you are using and adding that fix you found and building your own
copy. It's not great, but if you don't want to upgrade to struts
2.1.x, then patching is your best bet.
-Wes
On Wed, Jul 22, 2009 at 1:25 PM, Haroon
Rafique wro
On Today at 1:04pm, HK=>Hoying, Ken wrote:
HK> [..snip..]
HK>
HK> Does anyone have experience using an xWork version 2.1.x with Struts
2.0.11.1?
HK>
I say this, based on no evidence other than remembering it from a thread
earlier, that xwork 2.1.x is incompatiple with struts 2.0.x because of
I mis-typed to Struts version we are using. It is 2.0.11.1.
I looked at the code history and interestingly enough, this fix does not appear
to be in any 2.0.x release, including the latest 2.0.7 from 11/15/08.
However, the fix is included in release 2.1.0 from 10/15/07.
Does anyone have experi
We are running with Struts 2.0.1.1 (which uses xWork 2.0.4) and are noticing
that we are getting hung threads sometimes on a HashMap call from
com.opensymphony.xwork2.util.LocalizedTextUtil.
It looks like the xWork code is question needs to be synchronized and is
causing the threads to lock due
Since this deals with struts and uportal I have copied the uportal user
group in this response too.
I had a similar problem. See email thread below:
http://www.mail-archive.com/user@struts.apache.org/msg87615.html
I was simply using the session (map) object from a SessionAware action
class and n
I think you can set the constant - struts.action.excludePattern to a
pattern that will match your servlet, then the dispatcher filter in
use should ignore it. You can specify a comma-separated list of
patterns for the dispatcher to ignore.
-Wes
On Tue, Jul 21, 2009 at 11:53 PM, Kavita Mehta wrote
Validation works fine for me... From looking at the exception, I would
guess that your validation file has unparseable XML. Can you post some
more information? We'll help you sort it out.
-Wes
On Wed, Jul 22, 2009 at 1:55 AM, gwen harold
autencio wrote:
> Hi
>
>
>
> Any workaround on validation o
Hi,
I got the followiong error when I tried to compile it with Ant:
# ant
Buildfile: build.xml
compile:
[javac] Compiling 2 source files to
/usr/liferay-portal-5.2.3/dev/portlets/sample-datagrid/docroot/WEB-INF/classes
[javac]
/usr/liferay-portal-5.2.3/dev/portlets/sample-datagrid/docr
2009/7/18 mathias-ewald :
> float average =
> (Float)ActionContext.getContext().getValueStack().findValue("#average");
This can be an issue - autoboxing ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Ted Turner - "Sports is like a war without the
2009/7/17 :
>
> Name nl
> price
>
What type has "price" in action class?
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Charles de Gaulle - "The better I get to know men, the more I find
myself loving dogs." -
http://www.brainyquote.com/quotes/authors/c/charles_
36 matches
Mail list logo