(I use Struts 2.1.2)
I am not sure if the following behaviour of is documented.
(I have not read any comment about it.)
will yield the message from the
resource bundle whose key is "resource.bundle.key", provided that key
exists. Otherwise, normally, you would get the name of the key
printed a
I think page 24 says it all when it has "The results may not be
reflective of real world implementations"?
Beyond that;
- There is no comparison of functionality provided by the frameworks.
- Did the benchmarked follow the performance tuning guidelines?
- Did they upgrade to freemarker 2.3.1
Hi,
I have the below scenario in our application.
Consider we have two radio buttons for two types of bank accounts, say Savings
and Current, and based on the selection of each radio button we are
enabling/disabling some fields for user input, which in turn, the properties of
an ActionForm.
> using Strust 2.0 you have to use var instead.
should be "id instead" ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
As Dave mentioned, var should be used with Struts 2.1, and if you are
using Strust 2.0 you have to use var instead.
Regarding your struts.xml, I don't know exactly what your updateUser
do, but you should follow below sequence:
list.action -> success:list.jsp -> edit.action -> success:edit.jsp ->
u
We are evaluating and prototyping and evaluating struts 2. We really like it.
It is easy to use and powerful. It is just good. Performance is our only
concern. Are you aware of any very high traffic web apps or sites using
Struts 2 ( not struts 1)
also found this, any updates on this,
OGNL p
> |-/libs/struts.jar
> |-WAR
> |
>|-/index.jsp
> |
> |-EJB.jar
/libs/ is for general libraries used by your application (logging comes to
mind, StringUtils or just about anything that is used among your modules).
The struts.jar has to go into the WAR. Under /WEB-
I am sorry, but I will have to quote a movie on this one:
Kevin Lomax: In the Bible you lose. We're destined to lose dad.
John Milton: Well consider the source son.
The Devil's Advocate ;)
musachy
On Tue, Jul 22, 2008 at 9:36 PM, neerashish <[EMAIL PROTECTED]> wrote:
>
> http://sujoebose.com/res
http://download.dojotoolkit.org/release-0.4.0/
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: Pranav [mailto:[EMAIL PROTECTED]
Sent
Kinda hard to comment without being able to see the application used
for the benchmark. As I think it has been frequently noted, you can
build a very fast Struts 2 app or a really slow one - our challenge is
to make it easier to build the faster variety.
Don
On Wed, Jul 23, 2008 at 11:36 AM, neer
http://sujoebose.com/resources/javaone08.ppt
any response from struts2 people?
--
View this message in context:
http://www.nabble.com/Struts-2-perfromance-among-the-worsttp18602242p18602242.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
S2.0.11 uses Dojo 0.4.3.
Dave
--- On Tue, 7/22/08, Pranav <[EMAIL PROTECTED]> wrote:
> From: Pranav <[EMAIL PROTECTED]>
> Subject: Re: Dojo javascript errors with ajax theme. please help
> To: "Struts Users Mailing List"
> Date: Tuesday, July 22, 2008, 6:58 PM
> Hi Jerome,
>
> I tried this but
Forgive my ignorance, but I'm trying to understand J2EE, and my understanding
of an EAR file is as follows:
Top level contains libraries, a WAR, and JARs for your EJBs, correct? And
there's a separate classloader for the EAR, the WAR, and for each JAR, with
the JAR and WAR classloaders being chil
Hi Jerome,
I tried this but unfortunately their dojo's svn does not have the release 0.4.0
anymore. I could only get the source code for release 0.4.3 from their download
section. Do you think that will work? If not, can you tell me the exact svn
location from where I can get the release 0.4.0
--- On Tue, 7/22/08, hisameer <[EMAIL PROTECTED]> wrote:
> userList.jsp(47,2) Attribute var invalid for tag url according to TLD
The {{id}} attribute is deprecated in Struts 2.1.x, and has been replaced by
the {{var}} attribute. So if you're using S2.0.x use "id".
Dave
Thanks for your help Lukasz!
The code you gave me was really really helpful and I was able to popup the
usr list. But I got some error when I added the update and delete link into
the same page.
Here is the snapshot of my userList.jsp:
> Yes, that it's how it's supposed to be I guess. What exactly is the
> problem? Is it that the webapp won't reload when you edit classes or
> resources when you edit them in your IDE? Is your IDE set up with
> correct output build paths? Does it help to touch the web.xml file?
That's the point, I
Yes, that it's how it's supposed to be I guess. What exactly is the
problem? Is it that the webapp won't reload when you edit classes or
resources when you edit them in your IDE? Is your IDE set up with
correct output build paths? Does it help to touch the web.xml file?
Nils-H
On Tue, Jul 22, 200
Hi,
Seeing the file form-close-validate.ftl (in xhtml theme) I see that
there is no javascript code for the date validator.
Seems like a straightforward addition.
Or is there some error condition or limitation that I'm not aware of?
Regards,
Gabriel
--
Hi,
2008/7/22 Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>:
> Are you asking how to set up reloading of the webapp with the maven
> jetty plugin? Did you check out the maven-jetty-plugin docs [1] and
> the "scanIntervalSeconds" configuration element [2]?
>
> Nils-H
>
> [1] - http://docs.codehaus.or
Can i do this with tomcat as well. I think it's called hot-deploy or
something. Someone got it working with netbeans 6.1+ and maven2 project?
regards
--
Markus Stauffer
On Tuesday 22 July 2008 22.36:51 Nils-Helge Garli Hegvik wrote:
> Are you asking how to set up reloading of the webapp with th
Thanks a lot Jermoy! This fixed my issue with ff3.
I created a custom dojo build andd disabled
struts.widget.StrutsTimePicker. I don't use the DateTimePickers.
The svn repo is here: http://svn.dojotoolkit.org/src/tags/release-0.4.0/
regards
--
Markus Stauffer
On Tuesday 22 July 2008 17.57:15
Are you asking how to set up reloading of the webapp with the maven
jetty plugin? Did you check out the maven-jetty-plugin docs [1] and
the "scanIntervalSeconds" configuration element [2]?
Nils-H
[1] - http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin
[2] -
http://jetty.mortbay.org/jetty
I had the same problem. I solved it by creating a custom type conversion
for bigdecimal fields.
Take a look http://struts.apache.org/2.0.11.2/docs/type-conversion.html#TypeConversion-ApplyingaTypeConverterforanapplication";>here
By creating your own converter you can have fields were the user wri
HttpServletRequest.getRequestURI() [1] should meet your requirements
[1]
http://java.sun.com/webservices/docs/1.5/api/javax/servlet/http/HttpServletRequest.html#getPathInfo()
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To u
Hi,
I'm using Maven2 to develop my Struts2 application, as I discovered,
it's possible to configure Maven2 to recompile modified classes and
also update resource files, but I don't know how to setup that. I'm
also using Jetty plugin with Maven2 and IntelliJ IDEA 7. Can someone
help me?
Regards
-
I am using a tile controller class to render the tile on the page. Say
if my main action rendering the page is called myAction.do and when I
send the request like https://.../myWeb/myAction.do, myAction.do
will do something and then forward to the page containing the tile.(then
the tile control
http://cwiki.apache.org/WW/ajax-validation.html
On the validate part, do put Regular expression to make to accept the
pattern you want.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSI
--- On Tue, 7/22/08, Gabriel Belingueres <[EMAIL PROTECTED]> wrote:
> But then again, eliminating the "conversionError"
> interceptor from the stack would prevent conversion
> errors to appear as fieldErrors in the input form,
> but this would force to use the conversion validator
> everywhere a
But then again, eliminating the "conversionError" interceptor from the
stack would prevent conversion errors to appear as fieldErrors in the
input form, but this would force to use the conversion validator
everywhere a non String object is setted by the ParametersInterceptor
to show the error?
Is
Hello all,
I have to create a JSP which gets a list of questions from the database with
the possible answers. The number of questions may vary from time to time.
The questions might request the user to select 1 answer or some times it can
be more than 1 selection.
My problem is, how to capture th
Hi,
I need to format input in textfields that user can enter value like this:
204,05, but now it is like this 204.05.
I have defined this formatting for output already. How can I change this ?
--
Thx, Milan
--
View this message in context:
http://www.nabble.com/-s2--Formatting-input-textfields
Thanks for the catch Dave.
Isn't it funny that they provide two examples of parameter passing in [1]?
Don't expect to be able to access those using struts tags within the
included file, ha!
I (hacked | worked around | fixed) it by using JSTL to place those
params into the page context (and there
--- On Tue, 7/22/08, Brian Daddino wrote:
> Instead of making my join in the query, I am just querying
> out my contacts and using 2 iterators...
>
>
>
>
>
> ...
>
> This works fairly well, but loses my outer join (if there
> is no contact method, the contact's name is not even
I spoke too soon.
Thanks you're your help...
If anyone else needs the answer what I did was
fill space
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent
Thanks for the link. I did find a method that somewhat works in
there...
Instead of making my join in the query, I am just querying out my
contacts and using 2 iterators...
...
This works fairly well, but loses my outer join (if t
Those files doesn't exist in the original Dojo source, because dojo
looks the files acording to your language preferences, but the en and
the en-us are the default. It's normal to have errors with those
encodings.
Si quieres ser más positivo, pierde un electrón
Miguel Ruiz Velasco S.
On Tue, Jul
--- On Tue, 7/22/08, Brian Daddino <[EMAIL PROTECTED]> wrote:
> I did look, but I could not find it. Do you have a link?
http://struts.apache.org/2.x/docs/home.html
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
I did look, but I could not find it. Do you have a link?
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 11:34 AM
To: Struts Users Mailing List
Subject: [SPAM] - Re: Using the iterator to list results from a
hibernate join - Email has different
Hi Jerome,
You're a lifesaver. Thanks for your tips. I will try them out today. I fixed my
issue temporarily yesterday by extracting the jar file, and manually creating
copies of gregorian.js and gregorianExtras.js etc to appropriate locations and
the problem did go away but I will surely put i
--- On Tue, 7/22/08, Brian Daddino <[EMAIL PROTECTED]> wrote:
> I'm new to Struts 2. I have searched the web but can
> not find anything on my issue.
Did you look at the S2 documentation wiki? It answers these questions.
> What do I put in the value field of my property tag?
Here's some pseudo
Hi,
I'm new to Struts 2. I have searched the web but can not find anything
on my issue.
Basically I have a many to 1 relationship between 2 objects, Contact and
contactmethod (contact being the 1).
Contacts objects contain a person's name and contact method is basically
just a name value
OK
--
-
Tomas Jurman
Czech Republic
--
View this message in context:
http://www.nabble.com/%3Cs%3Aproperty%3E-and-%
Hi,
I think 'sort' value is available from action class. If yes, when it is
directly available from action, you do not need to use . U can
use the value from action itself.
ManiKanta
Kibo wrote:
Hi ManiKanta G
Thank for you replay. It help me.
But, the problem was in wrong return dateTyp
Hi ManiKanta G
Thank for you replay. It help me.
But, the problem was in wrong return dateType.
The code below work correct.
---
OK
Pranav wrote:
Hi,
I am using in my jsp files. I have included everything as per struts2 docs. But when I launch the page in FireFox, they show me 404 errors for several javascript files.
Example are:
../struts/dojo/src/i18n/calendar/nls/en-us/gregorian.js
../struts/dojo/src/i18n/calendar/nls/
is like out.println(). It is useful for printing
(outputs) some value, but not to store a value.
To store a value in to the value stack (coz this is S2), you may use
where the name attribute indicates the name
of the variable and the value indicates the value to be store. You may
use anothe
Hi konference
I am already helpless.
How can I test the property in
OK
--
Thanks a lot.
-
Tomas Jurman
Czech Republic
When I disable my transaction manager...the setters suddenly work again.
That's a good point to start digging.
Thanks and dziekuje :)
Original-Nachricht
> Datum: Tue, 22 Jul 2008 10:43:36 +0200
> Von: "Lukasz Lenart" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List"
> Betref
Hi,
Everything looks ok, try to configure also your actions with Spring
[1], I had some simmliary problem when I enabled transaction handling
with Spring, Spring could not inject dependencies because of multiple
class names or something.
[1] http://struts.apache.org/2.1.2/docs/spring-plugin.html
Burak Doğruöz wrote:
I don't think that it can be done with an ajax approach. With ajax or not,
concurrent requests for the same action name returns first action's result.
I tried this simple scenario with an action which outputs its query
parameter. I also added a thread.sleep in execute method
Ok, never name your attachments error.txt. Lesson learnt. (Sorry for the spam)
Here inline:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
java.lang.NullPointerException
forgot the file .
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
Also wanted to add, that my action gets properly called (execute()). but my
debugger shows me none of the setter methods is ever called, which results than
in a NPE on the userService.
See file.
Original-Nachricht
> Datum: Tue, 22 Jul 2008 09:26:36 +0200
> Von: "Lukasz Lenart
I copied the most relevant pieces into the attached file.
Thanks for your time,
Andreas!
Original-Nachricht
> Datum: Tue, 22 Jul 2008 09:26:36 +0200
> Von: "Lukasz Lenart" <[EMAIL PROTECTED]>
> An: "Struts Users Mailing List"
> Betreff: Re: Setters not working
> Hi,
>
> Could
Hi ,
maybe try to use tiles for this kind of job.
Did work for me.
Best greetings,
Paweł Wielgus.
On 22/07/2008, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Mon, 7/21/08, wrote:
> > Feels like I missed something obvious
>
>
> The note on [1] where it says that params aren't available
I have a question, please see code of my action:
public class PrepareLawDraftAction extends ActionSupport{
private LawDraft lawDraft; //has method getDateIntro(), which returns Date
private Date loadDate;
public String execute(){
//...
}
@TypeConversion(converter = "struts2.action.admin.convert
Hi,
Could you paste here some examples of your code and config?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I've set up tomcat 6 with spring 2.5.5, struts 2.0.11 and openJPA. I
successfully load the struts spring plugin according to the logs, but for some
reasons the setters in my Action classes are all broken.
Basically neither beans get injected nor posted paramaters, nor additional
params set
59 matches
Mail list logo