Hi,
i'm getting this error:
ERROR ParametersInterceptor.error:24 | ParametersInterceptor -
[setParameters]: Unexpected Exception caught setting '{5543}_traineeNights'
on 'class
com.company.client.project.integrationstage.action.IntegrationStageOfAction:
Error setting expression '{5543} _traineeN
Is there a right way to do it?
(*Chris*)
On Tue, Jan 6, 2009 at 5:24 PM, Musachy Barroso wrote:
> I wouldn't advise you to use UrlHelper, given that Struts 2 doesn't
> have an API, that class can change without warning (it does from time
> to time)
>
> musachy
>
> On Tue, Jan 6, 2009 at 7:56 P
No I am not using Tiles
Regards
Anshuman Nanda
EXW Technology Pvt. Ltd.
76A - Udyog Vihar Phase IV
Office: (Direct) 0124-4722302
WebSite : http://www.eximware.com
-Original Message-
From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com]
Sent: Tuesday, January 06, 2009 11:41
I have the same problem using Sun Java System Application Server 9.1_02
Any suggestion to solve this problem?
Torsten Krah wrote:
>
> Am Mittwoch, 13. August 2008 09:47:07 schrieb Nils-Helge Garli Hegvik:
>> Which server are you running?
>
> This does happen on JBoss 4.0.5 with Tomcat 5.5.20
sorry, look at it wrongly. The is not within
So it roll back to my first question, why I can't get config info from
portlet.xml, and which place shall I put it in portlet.xml if it is
not
On Wed, Jan 7, 2009 at 11:02 AM, Daoyue Ming wrote:
> found it is quite stupid to put inside the ini-para
found it is quite stupid to put inside the ini-param in
Jsr168Dispatcher portlet-class tag.
let's say if I need some config for the portlet, where shall I put it
in? Is portlet-preference tag a better place to put in?
On Wed, Jan 7, 2009 at 9:56 AM, Daoyue Ming wrote:
> Here is my code:
> [port
Here is my code:
[portlet.xml]
sample
sample
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher
viewNamespace
/view
defaultViewAction
linkCategories
categoryId
2
text/html
I wouldn't advise you to use UrlHelper, given that Struts 2 doesn't
have an API, that class can change without warning (it does from time
to time)
musachy
On Tue, Jan 6, 2009 at 7:56 PM, Chris Pratt wrote:
> I'm trying to turn an action name into an URL from within another action.
> I've tried:
I'm trying to turn an action name into an URL from within another action.
I've tried:
UrlHelper.buildUrl("action-name",request,response,null)
Which seems to just return "action-name". And I've tried:
UrlHelper.buildUrl("/action-name",request,response,null)
Which returns "/context/action-name",
Perhaps take a look at the OSGi plugin as well... It's in beta, but
provides functionality such as deploying bundles of actions during
runtime.
http://cwiki.apache.org/S2PLUGINS/osgi-plugin.html
-Wes
On Tue, 2009-01-06 at 16:24 -0800, Dan Daly wrote:
> Hello,
>
> I am working on an applicatio
Hello,
I am working on an application that needs different sets of functionality based
on where it is installed. The Struts 2 plugin mechanism looks like a perfect
solution as it would all us to write sets of plugins that we could install as
needed.
The upper bound on the number of plug-ins
This test sounds about as straightforward as parallel parking a freight
train on a one lane road.
I would be interested in seeing new benchmark results if anyone happens to
generate some. Might want to avoid database-based tests due to caching.
> Date: Tue, 6 Jan 2009 16:19:36 -0500> From: pierre.thibaud...@gmail.com> To:
> user@struts.apache.org> Subject: Re: Performance issue> > Yes the
Timothy Orme wrote:
But no value was displayed. This is because I should have written:
As that was the bean property in my action. It's a simple fix, but,
this took me a bit to find it. What I'm wondering is if theres a way to
have Struts 2 tags throw errors [...]
This ha
Yes the model is *exactly* the same in the two cases. In fact, both
S1 and S2 exist concurrently in the same Tomcat application.
Each test is run using JMeter, with 10 users who randomly try to
access one of 42 different pages involving 10 different types of
results (that is, roughly speaking, 10
Hello All,
Maybe a silly question, but I've recently noticed that using struts 2
tags can be very problematic when it comes to debugging. For instance, I
recently wrote something like:
But no value was displayed. This is because I should have written:
As t
Hi Romain,
Possible workaround can be to put both the action, indexAction and your
myAction in different java packages. by default, struts2 annotation
processor keeps all the action within one java package to unique struts
action package. one 2 one mapping. and all the @parentPackage are used to
Can you show us some code and configurations?
Nils-H
On Tue, Jan 6, 2009 at 11:20 AM, Daoyue Ming wrote:
> I have a problem to get the configuration inside portlet.xml in
> action, what I do is inside the portlet.xml, I add some config like
> the way struts2 did for defaultViewAction. Then in m
Is is the same model behind the MVC?
fr/
- Message d'origine
De : Pierre Thibaudeau
À : Struts Users Mailing List
Envoyé le : Mardi, 6 Janvier 2009, 13h09mn 39s
Objet : Re: Performance issue
That's what I was wondering. I couldn't make the connection between the
value attribute and the actual HTML.
Thank you for the explanation.
Derrick
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Tuesday, January 06, 2009 1:06 PM
To: Struts Users Mailing List
60 times slower? I am expecting S2 to be slower that S1 but 60 times
sounds weird to me. The other thing that sounds weird is the huge
difference between 30 and 60 times.
musachy
On Tue, Jan 6, 2009 at 1:09 PM, Pierre Thibaudeau
wrote:
> From the comparison I made on my own system, S2 is overall
2009/1/6 Richa Pandharikar
> Are you using Tiles?
>
> For me with Tiles it never got rendered properly, hence I could not test
> the submit functionality. I switched to YUI calendar control.
>
>
> -Original Message-
> From: Anshuman Nanda [mailto:ana...@eximware.com]
> Sent: Tuesday, Janu
Are you using Tiles?
For me with Tiles it never got rendered properly, hence I could not test the
submit functionality. I switched to YUI calendar control.
-Original Message-
From: Anshuman Nanda [mailto:ana...@eximware.com]
Sent: Tuesday, January 06, 2009 10:50 AM
To: Struts Users Mai
>From the comparison I made on my own system, S2 is overall about 30 to
60 times slower than S1. This is based on comparing a number of pages
(repeatedly, testing with JMeter, etc.); the pages being compared
are, admittedly not 100% identical, but abstracting from the specific
differences, the pe
Derrick Koes wrote:
There is a value attribute on the file tag from which you can preset the
value according to docs.
http://struts.apache.org/2.0.14/docs/file.html
It seems like the value could be "updated" from the user input, if the
input data is available.
File input values cannot be prel
There is a value attribute on the file tag from which you can preset the
value according to docs.
http://struts.apache.org/2.0.14/docs/file.html
It seems like the value could be "updated" from the user input, if the
input data is available.
Derrick
-Original Message-
From: Dave Newton [
Derrick Koes wrote:
Understood. However, if the value used to populate the field is on the
value stack, the input will be populated with the value on validation
failure, except in this case it seems as the data necessary to
repopulate is not available.
I think we're talking past each other--fi
Understood. However, if the value used to populate the field is on the
value stack, the input will be populated with the value on validation
failure, except in this case it seems as the data necessary to
repopulate is not available.
Derrick
-Original Message-
From: Dave Newton [mailto:n
Derrick Koes wrote:
Using the demo app (struts2-showcase-2.0.14/fileupload) and entering an
empty file, for example, will correctly cause validation to fail.
However, the file location disappears from the input.
Is this as designed?
Do you mean in the file input field? If so, that's normal bro
Greetings Everyone
I have facing a very unusual issue with Struts Datetimepicker. I have
developed a sample application to check the functionality, where it works
perfectly fine in all the browsers including IE, FF3, Opera, Safari
When I try to use the same thing in my applicat
Using the demo app (struts2-showcase-2.0.14/fileupload) and entering an
empty file, for example, will correctly cause validation to fail.
However, the file location disappears from the input.
Is this as designed?
Thanks,
Derrick
a sample hibernate.cfg.xml I acquired about a year ago
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
org.hsqldb.jdbcDriver
jdbc:mysql://localhost:3306/jboss
sa
password
1
org.hibern
elyes sallem wrote:
any one know how get back hibernate configuration information from
hibernate.cfg.xml, like the bd server, schema ...
You might have better luck asking in a Hibernate-related list (this is
actually a Struts list).
Dave
-
srinivasa_v . wrote:
Iam unable to upload a txt file using fileupload ,
image/jpeg,image/gif,image/pjpeg,image/bmp,text/html,text/plain,text/css,text/txt
That's not much information to go on.
Dave
-
To unsubscribe, e-mail
Hello,
it is an out uncommon question
any one know how get back hibernate configuration information from
hibernate.cfg.xml, like the bd server, schema ...
Regards
Elyes.
Hi All,
Iam unable to upload a txt file using fileupload ,
image/jpeg,image/gif,image/pjpeg,image/bmp,text/html,text/plain,text/css,text/txt
regards
I have a problem to get the configuration inside portlet.xml in
action, what I do is inside the portlet.xml, I add some config like
the way struts2 did for defaultViewAction. Then in my struts2 action,
I implements PortletContextAware, and try to get the config by using
portletContext.getInitParam
37 matches
Mail list logo