Re: ognl: calling action method inside iterator tag

2010-05-25 Thread Paweł Wielgus
Hi, yes it is possible, struts will look for such a method up the way on stack, so simply s:property value=getMyMethod / should work. Best greetings, Paweł Wielgus. 2010/5/22 Grant Lewis ukchuckt...@gmail.com: Wondering if it's possible (struts 2.1.8.1)? From my testing it doesn't appear

Re: Struts 2 and Spring 3??

2010-05-25 Thread RogerV
Hantsy Bai-2 wrote: 于 2010/5/22 0:29, Burton Rhodes 写道: I think I saw a message a while back that commented about using Spring 3 (and Spring Security 3) with Struts 2.1.8 framework. Is this possible? If so, how? Currently using Spring Plugin 2.1.8 with Spring Security 3 without

PHP in the same folder of struts 1

2010-05-25 Thread abhishek jain
hi friends, I am running struts 1.x and want to place the php code in the same domain as where i am already running struts. I cannt remove either struts or php. How can i do so. I am using apache + Tomcat 5.x thanks -- Thanks and kind Regards, Abhishek jain

Confusing model with controller

2010-05-25 Thread Fabio Perfetti
Hi all, I am wondering if the actions belongs to the model layer or to the controller layer. All the example on the web are simple! Anyone can explain me? (with an example please) Thanks

Re: Confusing model with controller

2010-05-25 Thread Antonio Petrelli
2010/5/25 Fabio Perfetti perfabi...@gmail.com: I am wondering if the actions belongs to the model layer or to the controller layer. Actions are by definition part of the controller. All the example on the web are simple! Anyone can explain me? (with an example please) No example but a

Need Help For Struts2 Debugging

2010-05-25 Thread aum strut
Hi All, I am in process to explore internals of Struts2.Can any one suggest me how can i move ahead. All i need to know how framework internally called its different component and for this i guess i need to download the source code but how and what to do next i am confused.. can any one point me

Struts 2, Jquery and Spring Security 3.0

2010-05-25 Thread RogerV
Has anyone come across this before? Scenario: After logging in, user runs Struts 2 action that displays a .jsp page that uses Struts2-Jquery tags to create a tabbed display that make Ajax calls to access their content from other struts actions. Walk away and let the session expire. Clicking on

Re: Confusing model with controller

2010-05-25 Thread Fabio Perfetti
so? what is the model? the beans? public class Employee{ private String name; private String surname; public setter/getter ... } 2010/5/25 Antonio Petrelli antonio.petre...@gmail.com 2010/5/25 Fabio Perfetti perfabi...@gmail.com: I am wondering if the actions belongs to the model

Upgrade from 1.2 to 1.3x

2010-05-25 Thread Søren Blidorf
Hi. I am upgrading my struts app to 1.3.10 from 1.2 In my web.xml I have configured taglib like this: taglib taglib-uri/WEB-INF/struts-bean.tld/taglib-uri taglib-location/WEB-INF/struts-bean.tld/taglib-location /taglib taglib

Re: Struts 2, Jquery and Spring Security 3.0

2010-05-25 Thread Robert Taylor
Your AJAX request to load the tab is getting redirected to the login content instead of the tab content due to the session time out and the spring security authentication. Therefore your tab is displaying the login screen. You could add a Javascript component to timeout and either notify or

Re: Confusing model with controller

2010-05-25 Thread Antonio Petrelli
2010/5/25 Fabio Perfetti perfabi...@gmail.com: so? what is the model? the beans? public class Employee{   private String name;   private String surname;   public setter/getter ... } I'd call them domain objects, it's a more appropriate term. So yes they are. And services, DAO, EJBs (if

Tags in struts2

2010-05-25 Thread ennidhi
Whats the difference between result name= and result type= tags inside the action tag? Which one is called at what point? Please suggest. And also what does result name=error/empmanager/editEmployee.jsp/result result type=redirectedit-${currentEmployee.empId}.action/result /action Is there any

Re: Need Help For Struts2 Debugging

2010-05-25 Thread Alex Rodriguez Lopez
I use to find it impossible to do this... Then I started to use Maven, which can be used to download source code and attach it easily. If you use Eclipse I suggest using M2Eclipse plugin. After you get a Struts2 based project with Maven2 up and running it should be easy to do what you want,

Re: Confusing model with controller

2010-05-25 Thread Robert Graf-Waczenski
My intuition for the model is that which is serialized to disk (or, more generally: to persistent storage). This means that such a class does not contain any business logic but only has getters and/or setters. In reality (and in many nontrivial projects) the distinction is not as strict, so

Re: Confusing model with controller

2010-05-25 Thread Antonio Petrelli
2010/5/25 Robert Graf-Waczenski r...@lsoft.com: My intuition for the model is that which is serialized to disk (or, more generally: to persistent storage). This means that such a class does not contain any business logic but only has getters and/or setters. No, domain objects do not need to be

Re: Need Help For Struts2 Debugging

2010-05-25 Thread aum strut
Alex i am some what agree.. but i am wondering how the Struts2 Development team is doing this..i am sure they are not following the things as you have mentioned. I am sure that must be some easy way to some one who wants to get knowledge about that internal working structure of struts2 id any

RE: Struts2+Spring2+Interceptor+Invalid action class configuration that references an unknown class named

2010-05-25 Thread rocks
Martin, I haven't get any response from Wes [:(]. Guys, Please let me know if any one has clue on the below issue. Regards, Devendra mgainty wrote: Devendra did you contact the local struts resource as suggested..? Martin-- __

Re: Upgrade from 1.2 to 1.3x

2010-05-25 Thread Struts Two
Look at the following page for migration from 1.2 to 1.3: http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 - Original Message From: Søren Blidorf so...@nolas.dk To: struts-u...@jakarta.apache.org Sent: Tue, May 25, 2010 6:23:51 AM Subject: Upgrade from 1.2 to 1.3x Hi. I am

Re: Tags in struts2

2010-05-25 Thread Cimballi
http://struts.apache.org/2.1.8.1/docs/result-configuration.html Cimballi On Tue, May 25, 2010 at 6:14 AM, ennidhi psatishb...@hotmail.com wrote: Whats the difference between result name= and result type= tags inside the action tag? Which one is called at what point? Please suggest. And also

SV: Upgrade from 1.2 to 1.3x

2010-05-25 Thread Søren Blidorf
Hi. Thanks. Thats where I am looking. What I am not sure about is weather I have to change the reference in all my jsp or I still will be able to refer to the taglibs from my web.xml So that next time the reference is changed I could change it on place. Soren, DK -Oprindelig

Re: SV: Upgrade from 1.2 to 1.3x

2010-05-25 Thread Mark Shifman
I don't think you need any of the taglib taglib-uri stuff. (I have been using struts 1.3.10 without any of this in web.xml). Tomcat is smart enough to look in /META-INF/tld/ of the tag library jars. On 05/25/2010 09:38 AM, Søren Blidorf wrote: Hi. Thanks. Thats where I am looking. What I

sx:autocompleter problem on Chrome and Safari

2010-05-25 Thread HENRY Pierre
Hi, I have to work on a Struts2 app that was written about 2-3 years ago by another developer. I uses many autocompleter widgets from the Dojo plugin. I already have migrated from Struts 2.0.x to 2.1.8 so I use the Dojo plugin and the sx:autocompleter tag. The widgets work fine on IE8, FF3.6

Re: XML file reloading in JSP (Caching issue)

2010-05-25 Thread Paweł Wielgus
Hi, You can try things described here: http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html i don't know if that's still acurate but maybe it will help. Best greetings, Paweł Wielgus. 2010/5/24 XML User patelsame...@yahoo.com: I just did. No luck. :-( Thanks

Additional JSP to render via AJAX

2010-05-25 Thread Oscar
Hi to all, have a good day, i have a doubt about Struts 2.1.8 and AJAX with dojo, using dojo struts tags. My doubt is the next: Suppose that i have a combobox and when i select something in the combobox i want to refresh another combobox using selected value of first combo, via ajax. Then i

Re: ClassNotFoundException

2010-05-25 Thread Paweł Wielgus
Hi Yusuf, and your classes should be in webapp/WEB-INF/classes/ Best greetings, Paweł Wielgus. 2010/5/19 Tasneem Yusuf tasneem_...@yahoo.co.in: Hello all,             I am using version struts1.3 , tomcat 6 and jdk 1.5.I am using the eclipse IDE to develop my web app.The problem I 'm facing

Re: Struts2 Collection validation

2010-05-25 Thread harpreet
Hi, I am new to the Struts2 and facing the similar issue , u said u have managed to get the data from the dynmically generated fields to the action , can u share how it can be done...a sample will be of great help... my requirment is my form is dynamically generat the fileds for name

Re: Struts2+Spring2+Interceptor+Invalid action class configuration that references an unknown class named

2010-05-25 Thread Wes Wannemacher
On Tue, May 25, 2010 at 8:47 AM, rocks devendra_tiwari12...@yahoo.com wrote: Martin, I haven't get any response from Wes [:(]. Sorry I didn't notice that I was being called out directly :)... I was out of town, in a magical place that my children really enjoyed, but unfortunately charged