table
tr
tds:text name=label.user.id//td
tds:text name=label.user.login//td
tds:text name=label.user.firstname//td
tds:text name=label.user.lastname//td
/tr
s:iterator value=userList
Thanks Jishnu,
i applies ReadOnly , is working fine.
Thanks a lot.
On Mon, Jul 21, 2008 at 4:46 PM, Jishnu Viswanath
[EMAIL PROTECTED] wrote:
If you still want to send the data, make it read only
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll
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
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]
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 =
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, Becky.L.O'[EMAIL PROTECTED] wrote:
Feels like I missed something obvious
The note on [1] where it says that
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 user@struts.apache.org
Betreff: Re: Setters not working
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
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
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
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
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
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
Hi konference
I am already helpless.
How can I test the property in s:if tag?
-
s:iterator id=comp value=%{components}
s:property value=%{sort} /
s:property / 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
s:set name= value= / where the name attribute indicates the name
of the variable and the value indicates the value
Pranav wrote:
Hi,
I am using s:head theme=ajax/ 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
Hi ManiKanta G
Thank for you replay. It help me.
But, the problem was in wrong return dateType.
The code below work correct.
---
s:iterator value=%{page}
s:property value=label /
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 s:set /. 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
s:iterator id=comp value=%{components}
s:set name=sort value=%{sort + ''} /
s:if test=%{#sort eq 'PRODUCT'}
OK
/s:if
/s:iterator
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
--- 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
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 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
--- 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 additional
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,
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...
s:iterator value=contacts status=status
s:iterator value=contactmethodses status=status
tr
I spoke too soon.
Thanks you're your help...
If anyone else needs the answer what I did was
s:iterator value=contacts2 status=status id=test
tr
s:iterator value=test status=status
td class=nowraps:property value=firstName//td
td
--- 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...
s:iterator value=contacts status=status
s:iterator value=contactmethodses status=status
s:property value=firstName/
s:property
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 c:set to place those
params into the page context (and
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:
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
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
--- 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 non
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 ::
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
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
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
I had the same problem. I solved it by creating a custom type conversion
for bigdecimal fields.
Take a look a
href=http://struts.apache.org/2.0.11.2/docs/type-conversion.html#TypeConversion-ApplyingaTypeConverterforanapplication;here/a
By creating your own converter you can have fields were the
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] -
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
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
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
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,
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
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:
table class=userTable
tr
ths:text
--- 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
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
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 user@struts.apache.org
Date: Tuesday, July 22, 2008, 6:58 PM
Hi Jerome,
I
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.
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,
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]
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:
|-/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
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
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 -
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]
56 matches
Mail list logo