Re: how to add parameters to result type

2009-07-03 Thread Dave Newton
Bhaarat Sharma wrote: I have a simple result type like the following /thirdpartyincome/pendingVerification.jsp how can i add parameters to this resulttype? and have values of parameters come from my action class? for example when result type is 'redirect-action' then we can do so

Re:

2009-07-03 Thread foward
Thanks dusty for your answer, well the view where I edit the form is : ... and the javascript for this form (I make this because when I finish the update or save in the greybox window I want to back to the page where it was called in this case "crearEncuesta.html") : function valida(

Struts code completion for freemarker

2009-07-03 Thread Angel D. Segarra
Hi, I've been searching around for this but couldn't find an answer. I am using the JBoss Tools plugin for freemarker and would like to get code completion for struts tags. Can this be done? Thanks, Angel - To unsubsc

how to add parameters to result type

2009-07-03 Thread Bhaarat Sharma
I have a simple result type like the following /thirdpartyincome/pendingVerification.jsp how can i add parameters to this resulttype? and have values of parameters come from my action class? for example when result type is 'redirect-action' then we can do something like this

Re: Customizing "content type not allowed" error message

2009-07-03 Thread dusty
http://struts.apache.org/2.x/docs/localization.html On this page it says your Action must implement ValidationAware or extend ActionSupport in order for the error messages to be localized. I am assuming that is still true when using Convention? How is your Action class setup? Wampole, Garret

Re: Hello Everybody, I am getting exception Action Class not found

2009-07-03 Thread dusty
Struts can't find the compiled action class for the action you defined in your struts.xml. newton.dave wrote: > > Nagesh Reddy K wrote: >> Action class [java.struts2.examples.chapter1.HelloWorld] not found - >> action - >> file:/D:/tomcat%205.0/webapps/struts2/WEB-INF/classes/java/struts2/examp

Re: adding values to a variable inside iterator tag

2009-07-03 Thread dusty
I think his point is that his view template is going to iterate these objects anyways, he just did not include the additional layout html for the resultsList. I don't think he was suggesting that getting a count by looping is better done in JSP tags rather than the action class. I am sure there

Re:

2009-07-03 Thread dusty
I think you need to describe what you do with the POST from the user form and what happens after. So show your action method that is saving the user data. Also show your struts configuration for the results of this action. Are you redirecting? Or is the POST transaction happening inside this m

user@struts.apache.org

2009-07-03 Thread foward
Hello ! I want to ask you something, I have a problem with the tag action and the greybox concern to the refresh of the data, I mean, I have a view where I show the user information and I have a button when I press appear a greybox windows to edit this user. Later when I update the user I go to t

Re: Struts2 - dojo anchor error

2009-07-03 Thread Dale Newfield
Kishan G. Chellap Paandy wrote: Here is what I'm doing. <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> OK, this looks like a jsp page... <@s.url id="sort" namespace="${parameters.nameSpace}" action="Sort"> <@s.param name="id" value="${tmpIdVal}"/> <@sx.a href="${sort}" key="app

Struts project deployment

2009-07-03 Thread Iratxe Lejarreta
Hi, When I deploy a struts project with Weblogic the result is a welcome page but with strange symbols. Does anyone know why? I attach the result page. Thanks in advance. Regards, -- Iratxe Lejarreta www.axios.es - To uns

Re: Struts 1.2 in Tomact 5.0 giving ERRORS...

2009-07-03 Thread Nils-Helge Garli Hegvik
Change the classpath to servlet-api? Where? The container should provide all the jsp and servlet jars that you need (with correct versions). You should probably not tamper with the classpath to any of those... Nils-H On Fri, Jul 3, 2009 at 10:40 AM, pasanewa wrote: > > I was using Tomcat 4.1 and

Struts 1.2 in Tomact 5.0 giving ERRORS...

2009-07-03 Thread pasanewa
I was using Tomcat 4.1 and Struts..I was doing fine. Until i tried to use EL. But EL can only be used in Tomcat 5.0. So i installed Tomcat 5.0 and uninstalled Tomcat 4.0. But then there came lots of ERRORS. I changed the CLASSPATH to servlet-api.jar(new version) BUT there still are errors. I th