problem in struts 2 tag in jsp calling spring bean

2010-04-13 Thread Supratim Bandyopadhyaya
Greetings to all, I have a spring dao class like this public class RoleDaoImpl extends SimpleJdbcDaoSupport implements RoleDao { public Role findRoleById(Long id) { . and I have added it to spring as when I am calling a method in this dao

Re: Struts project structure in eclipse

2010-04-13 Thread Upasana Sharma
Hi Thanks a lot. Its working for me now... Thanks and Regards Upasana Sharma

Re: S:radio onchange call an action

2010-04-13 Thread Kusuma Haranath Atmakuri
try something like this: function callRelatedAction(actionName) { var testForm = document.getElementById('test'); testForm.action=actionName; testForm.submit(); } From: hisameer To: user@struts.apache.org Sent: Tue, April 13, 2010 1:21:38 PM Subject

Re: Struts project structure in eclipse

2010-04-13 Thread aum strut
* we are using below mentioed like approach and its working in our case. " rel="stylesheet" type="text/css"/>* On Tue, Apr 13, 2010 at 4:29 PM, Upasana Sharma wrote: > Hi > > I am new to Struts. I am trying to develop a project. The jsp pages that > are > relevant are arranged in res

Re: Convention Plugin not being picked up.

2010-04-13 Thread Chris Mawata
Martin, I think he is looking at the Convention plug-in rather than code behind. Chris in your struts.xml check if you have Also check if you are following the conventions -- name of action ending with Action or extending ActionSupport etc. Then check the annotations on the actions Marti

Re: struts & PDF

2010-04-13 Thread Kun Niu
You can't. One alternative is to save the file in another directory and redirect to it. fea jabi wrote: On click of a button I open a window and generating PDF in it as "inline" within that browser window. It works fine. I did set the http response header for the response with the file nam

struts & PDF

2010-04-13 Thread fea jabi
On click of a button I open a window and generating PDF in it as "inline" within that browser window. It works fine. I did set the http response header for the response with the file name. So, I am seeing the right PDF name in the open/save dialog of PDF. But when I click on the save bu

Re: Migrating struts2 version 2.0.11 to 2.1.8.1

2010-04-13 Thread sharath karnati
I resolved this issue...   We need to keep below line in struts.properties file   struts.enable.DynamicMethodInvocation = true     Thanks, Sharath. --- On Tue, 4/13/10, Lukasz Lenart wrote: From: Lukasz Lenart Subject: Re: Migrating struts2 version 2.0.11 to 2.1.8.1 To: "Struts Users Mailing

S:radio onchange call an action

2010-04-13 Thread hisameer
Hi, I am having radio buttons in my jsp page with three selections: (o) Login (o) Returning user (*) Register Register is selected default. But if the user selects Login or Returning User I want to call an action on the onchange event which has to do some business logic and redirect the page to

RV: JSP local scope / include con object domain visibility control

2010-04-13 Thread Nicola de Saint-Aubert
Hi, Sorry for insisting, but we didn't get conclusion on the subject. Does someone have an idea? Do we miss sthg ? We are currently thinking in developing such an extension for struts2. Best Regards -Mensaje original- De: Nicola de Saint-Aubert [mailto:nsaintaub...@lavanguardia.es] En

Re: Migrating struts2 version 2.0.11 to 2.1.8.1

2010-04-13 Thread Lukasz Lenart
2010/4/13 sharath karnati : > /> > >  When I press this button it should call 'checkLogin' method in LoginAction > but it is not calling this method, it is just calling execute() method. I > even tried changing above line to name="method:checkLogin" but it is calling > exeute() method only?? I

Migrating struts2 version 2.0.11 to 2.1.8.1

2010-04-13 Thread sharath karnati
Hi All,      Migrating application developed in 2.0.11 to 2.1.8.1 struts2 version, I did following changes     web.xml file     changed below line FROM org.apache.struts2.dispatcher.FilterDispatcher   TO     org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter     Removed s

Re: Webapp runs under Windows, throws OGNL error under Linux

2010-04-13 Thread Dale Newfield
Are you certain that there's not more than one version of the OGNL jar in one of those deployment environments that's causing one to environment to find classes with different methods than the other? I'd see if you can get detailed logging info from the classloader so you know where all the cl

Re: Webapp runs under Windows, throws OGNL error under Linux

2010-04-13 Thread RogerV
satyanarayana katta wrote: > > Issue with logger. Suppress the messages at the logger level will > resolve the issue. > It's not an unwanted error message I'm complaining about - the action crashes and I get the stacktrace in the browser window. I've managed to upgrade the Debian server s

How to specify a input result when using AJAX Client Validation?

2010-04-13 Thread Johannes Geppert
What is the recommended way do define a Input Result when using AJAX Client Validation? Because on validation error the error "No result defined for action ... and result input" is thrown. More Details: http://code.google.com/p/struts2-jquery/issues/detail?id=133 Best Regards Johannes Geppert

Struts project structure in eclipse

2010-04-13 Thread Upasana Sharma
Hi I am new to Struts. I am trying to develop a project. The jsp pages that are relevant are arranged in respective folders. When I start the project from eclipse the page from welcome file list are loaded properly with the respective css. But whenever i try to access some other jsp css are not ac

RE: Convention Plugin not being picked up.

2010-04-13 Thread Martin Gainty
Good Afternoon Chris best to look at the usage of the code behind plugin http://struts.apache.org/2.1.6/docs/codebehind-plugin.html a few fundamentals: did you copy the codebehind jar to WEB-INF/lib? is your Action mapping adhering to the convention of /NAMESPACE/ACTION.(jsp|vm|ftl) additiona

Convention Plugin not being picked up.

2010-04-13 Thread Miles, Chris
I am using Glassfish 2.1 and deploying my application with the convention plugin, but none of my annotations are being processed which leads me to believe that the plugin is not being loaded. There is nothing in the server logs mentioning any messages or errors. The config browser plugin tells me a

Convention Plugin not being picked up.

2010-04-13 Thread Miles, Chris
NOT PROTECTIVELY MARKED I am using Glassfish 2.1 and deploying my application with the convention plugin, but none of my annotations are being processed which leads me to believe that the plugin is not being loaded. There is nothing in the server logs mentioning any messages or errors. The config

STRUTS2 + REST + SPRING Problem

2010-04-13 Thread mailtolouis2020-struts
Hi All, Our requirement is use to use STRUTS + REST + SPRING. We are stuck with the below problem: Rest controllers are not able to autowire the spring beans. So i am not able to inject the spring beans to the rest controllers that are created using convention plugin. 1) We configured the

Re: Populate s:select with a Map

2010-04-13 Thread Stephane Cosmeur
I forgot (again) to say that the s:select tag is even not displayed on the jsp. That's why i think it's a problem of populating, but i don't really understand how the s:select will provide the Integer key to my class company who is waiting for an Integer after the submit. Anyway i can't submit form