Re: bean:write value print in html:text

2009-08-21 Thread Sekhar Babu
But for the following code option value='bean:write name=idname property=propertyname/' i am getting the values, Only incase of the html:text i am not getting the values what's the diff.. mthalis wrote: Using ${userId} i did my work. :-) Thank You. -- View this message in context:

Problem with result returning from interceptor

2009-08-21 Thread ManiKanta G
Hi, In my application actions are distributed into several namespaces using Conventions plugin. When a request come for an action in a namespace (other than default one, say, myapp/admin/action-name), and when there is no user session found, I m returning 'login', which is configured as

RE: Hibernate3+Spring2.5+Struts2

2009-08-21 Thread Zied Bejaoui
Hi, I have changed the code and used the imp class methods but still having the same exception, here is my code and hop you can help me: LoginAction: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package action; import

Re: Struts2 with Authentication Security

2009-08-21 Thread Paweł Wielgus
Hi all, a few years ago means also that this solution still works. But from my point of view, inteceptor might be better if You are in a situation where You are not the only programmer or You are laizy and have bad memory - just like me. If so read this:

RE: Struts2 with Authentication Security

2009-08-21 Thread Zied Bejaoui
HI GUYS, Another problem is showing up before trying to login here is the stack track: SEVERE: Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter at

RE: [struts2] s:checkbox / problem

2009-08-21 Thread Security Management
-Original Message- From: Tommy Pham [mailto:tommy...@yahoo.com] Sent: Tuesday, August 18, 2009 6:05 PM To: Struts Users Mailing List Subject: Re: [struts2] s:checkbox / problem - Original Message From: Paweł Wielgus poulw...@gmail.com To: Struts Users Mailing List

RE: Struts2 with Authentication Security

2009-08-21 Thread Kofford, C Todd
I know that Spring Security (ACEGI) gets a lot of publicity, but there are other alternatives out there too. Last year I implemented a struts2 based system using Apache Shiro (formerly jsecurity), and found it very easy to learn an implement. On their website, http://cwiki.apache.org/SHIRO/

Migrating struts2 version code from 2.0.6 to 2.1.6

2009-08-21 Thread Raghuveer.V
Could you please let me know what are the necessary steps to be followed in migrating a struts2 application from 2.0.6 to 2.1.6? I get following errors during migration. It is found following errors were shown in server console: WARNING: Could not find property [actionErrors] Aug 21,

Migrating struts2 - Could not find property errors

2009-08-21 Thread Raghuveer.V
I use following jars in my struts2 application. It is found following errors were shown in server console, Any other jar files missing? commons-fileupload-1.2.1 commons-io-1.3.2 commons-logging-1.1 freemarker-2.3.13 junit-3.8.1 ognl-2.6.11 spring-test-2.5.6 struts2-core-2.1.6

Re: Problem with result returning from interceptor

2009-08-21 Thread Wes Wannemacher
The conventions plugin reads a property called - struts.convention.default.parent.package Are you setting this property to the package that declares the global-result? -Wes On Fri, Aug 21, 2009 at 3:36 AM, ManiKanta Ggo4m...@gmail.com wrote: Hi, In my application actions are distributed

Re: Hibernate3+Spring2.5+Struts2

2009-08-21 Thread ZiedBejaoui
hi wes, I have changed the code but still have the same exception, would you min if I send you my whole code maybe you can find out the problem? cheers, -- From: Wes Wannemacher w...@wantii.com Sent: Thursday, August 20, 2009 7:44 PM To:

Re: Hibernate3+Spring2.5+Struts2

2009-08-21 Thread Wes Wannemacher
sure, zip it up and email it to me -Wes On Fri, Aug 21, 2009 at 10:00 AM, ZiedBejaouibejaouiz...@hotmail.com wrote: hi wes, I have changed the code but still have the same exception, would you min if I send you my whole code maybe you can find out the problem? cheers,

Re: Problem with result returning from interceptor

2009-08-21 Thread musomesa
Check it out with the config-browser -- you should see on the results tab if your login result is really there. Chris -Original Message- From: ManiKanta G go4m...@gmail.com To: Struts-User user@struts.apache.org Sent: Fri, Aug 21, 2009 3:36 am Subject: Problem with result

Re: Migrating struts2 - Could not find property errors

2009-08-21 Thread Struts Two
Read the following link: http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html --- On Fri, 8/21/09, Raghuveer.V raghuve...@infotechsw.com wrote: From: Raghuveer.V raghuve...@infotechsw.com Subject: Migrating struts2 - Could not find property errors To:

RE: Hibernate3+Spring2.5+Struts2

2009-08-21 Thread Martin Gainty
no problem FYI: most email agents have a 10mb attach limit so send only java,xml and properties in compressed zip or gzip.tar Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist

Re: Hibernate3+Spring2.5+Struts2

2009-08-21 Thread ZiedBejaoui
I will split it into 3 war files. Cheers -- From: Martin Gainty mgai...@hotmail.com Sent: Friday, August 21, 2009 3:35 PM To: Struts Users Mailing List user@struts.apache.org Subject: RE: Hibernate3+Spring2.5+Struts2 no problem FYI: most email

RE: Struts2 with Authentication Security

2009-08-21 Thread Martin Gainty
i had a devil of a time coaxing mvn package to build proper jars until i renamed the failing tests e.g: ren $SHIRO_HOME/trunk/core/src/test/java/org/apache/shiro/session/mgt/DefaultSessionManagerTest.java

Re: Migrating struts2 version code from 2.0.6 to 2.1.6

2009-08-21 Thread Tommy Pham
- Original Message From: Raghuveer.V raghuve...@infotechsw.com To: user@struts.apache.org Sent: Friday, August 21, 2009 6:22:18 AM Subject: Migrating struts2 version code from 2.0.6 to 2.1.6 Could you please let me know what are the necessary steps to be followed in migrating a

RE: Struts2 with Authentication Security

2009-08-21 Thread Kofford, C Todd
Martin, did you let the shiro guys know about the problems you had building the jars? I haven't built the core package since it was still jsecurity. I know that they've been doing lots of work on their svn repo, since they renamed the project. Les Hazlewood and the other shiro guys are

RE: Struts2 with Authentication Security

2009-08-21 Thread Martin Gainty
sure thing..I'll ping the shiro guys and report back thanks for the link, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein,

Struts 2 Velocity Text tag

2009-08-21 Thread Dan Slack
Hi, I'm at a little bit of a loss here. I am attempting to use the #stext() user directive provide by Struts 2 to output I18N messages. However, I need to pass in additional arguments. In tag libs, all I'd have to do is: s:text name=sample s:paramParam 1/s:param /s:text However,

s:actionmessage issue after upgrade to 2.1.6 (possible bug)

2009-08-21 Thread Struts Two
Before I migrate my struts application from 2.0.12 to 2.1.6 The following s:actionmessage cssClass=alert-go/ would generate: ul li span class=alert-stop You can not change your role to Agent. /span /li /ul which would display the message in the appropriate color

Re: s:actionmessage issue after upgrade to 2.1.6 (possible bug)

2009-08-21 Thread Wes Wannemacher
Just add a selector so that your class applies to the span who's parent LI's parent UL has the class alert-go (or whatever class name you're specifying). -Wes On Fri, Aug 21, 2009 at 3:23 PM, Struts Twostruts...@yahoo.ca wrote: Before I migrate my struts application from 2.0.12 to 2.1.6 The

Re: s:actionmessage issue after upgrade to 2.1.6 (possible bug)

2009-08-21 Thread Musachy Barroso
that was an enhancement, it does has a jira ticket somewhere. musachy On Fri, Aug 21, 2009 at 12:23 PM, Struts Twostruts...@yahoo.ca wrote: Before I migrate my struts application from 2.0.12 to 2.1.6 The following s:actionmessage cssClass=alert-go/ would generate: ul   li      span

Re: s:actionmessage issue after upgrade to 2.1.6 (possible bug)

2009-08-21 Thread Struts Two
Thanks for the advice Wes. However; in this case I am bound to corporate provided style-sheet classes that I can not change. Based on your suggestion, I have to write a few lines of css to define my own classes and then go through every single page the uses s:actionmessage ... and

Re: s:actionmessage issue after upgrade to 2.1.6 (possible bug)

2009-08-21 Thread Wes Wannemacher
You could just override the template for this tag. Just grab a copy of the current template for the theme you are using and copy to your app (outside of the struts jar), then update it to your heart's content. I'm sure there are a few tutorials out there that give a better step-by-step for

Re: s:actionmessage issue after upgrade to 2.1.6 (possible bug)

2009-08-21 Thread Musachy Barroso
you can update the ftl template On Fri, Aug 21, 2009 at 1:07 PM, Struts Twostruts...@yahoo.ca wrote: Thanks for the advice Wes. However; in this case I am bound to corporate provided style-sheet classes that I can not change. Based on your suggestion, I have to write a few lines of css to

RE: s:actionmessage issue after upgrade to 2.1.6 (possible bug)

2009-08-21 Thread Security Management
-Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Friday, August 21, 2009 4:17 PM To: Struts Users Mailing List Subject: Re: s:actionmessage issue after upgrade to 2.1.6 (possible bug) You could just override the template for this tag. Just grab a copy of the current

Struts 2 + Spring + JPA + AJAX tutorial

2009-08-21 Thread Tommy Pham
Hi, I think the tutorial http://struts.apache.org/2.1.6/docs/struts-2-spring-2-jpa-ajax.html is misleading(?). In the PersonServiceImpl class, the method: public void save(Person person) { if (person.getId() == null) { em.persist(person); } else { em.merge(person);

Re: Struts 2 + Spring + JPA + AJAX tutorial

2009-08-21 Thread Juan Alberto V.
hum, but in Person class, his Id is an Integer type Juan On Fri, Aug 21, 2009 at 7:12 PM, Tommy Phamtommy...@yahoo.com wrote: Hi, I think the tutorial http://struts.apache.org/2.1.6/docs/struts-2-spring-2-jpa-ajax.html is misleading(?).  In the PersonServiceImpl class, the method:

How to register an ActionEventListener

2009-08-21 Thread Karan Malhi
I want to post process an action instance after it is created. I could create an ActionEventListener implementation. How would I register this class with struts so that it notifies the listener? -- Karan Singh Malhi