request values between actions

2006-12-27 Thread fea jabi
Have a Customer.jsp For this jsp, have a prepare action and dispatch action. In prepare action doing some process and creating an obj called Customer object. In this Customer JSP, have a table which displays some rows. One of the columns data i.e orderID is a link. On clicking it navigates to

Re: [S2] autocompleter, predefining initial value

2006-12-27 Thread Musachy Barroso
I attached a patch to WW-1562 to fix some of the things you requested. regards musachy Dariusz Wojtas wrote: I would leave the current behaviour as the default. When there is small amount of data (up to hundreds of entries) it may give the end user feeling of a faster response. If there is more

Struts 2.0.2 and Freemarker

2006-12-27 Thread Nick Tucker
On converting from Struts 2.0.1 to 2.0.2 I get the following error when I try and use Sitemesh Freemarker Decorators. The decorators work with 2.0.1. Some advice on what changes I need to make would be appreciated Thanks Nick Tucker 2006-12-27 18:53:19,166 ERROR (org.apache.catalina.core.Cont

Strtus2 Result type support for XML MIME type

2006-12-27 Thread carty mc
Does anyone of struts2 built in result types support text/xml MIME type. I want to generate dynamic xml in my action class and write to the servelt output stream. All the result types I have seen so far in struts2 require a location property as part of configuration. is there a built in result ty

Re: Strtus2 Result type support for XML MIME type

2006-12-27 Thread Musachy Barroso
There is a jira ticket to add an XML result type, and a JSON result type. http://issues.apache.org/struts/browse/WW-1330. It hasn't been fixed yet, but there is some code attached to it that you can use meanwhile. regards musachy carty mc wrote: Does anyone of struts2 built in result types

Re: display tag - urgent

2006-12-27 Thread Nick Tucker
Hi Abhimanyu To change media types columns display in use the media attribute. for example :- The id column will not display in exports, whilst the longDescription will only display in exported files. Nick Abhimanyu Kou

Re: [s2] dropdowndatetimepicker

2006-12-27 Thread Musachy Barroso
Hi Dariusz The thing is that the dropdowndatetimepicker is expecting the value to be an string, which is wrong, I will submit a patch to fix it so if the value is of type Date, it will format it using "saveFormat", and then use it as the value. Now, I'm not sure what to do to with the submit,

[s2] implement Parameterizable versus ServletContextListener versus another solution

2006-12-27 Thread Wesley Wannemacher
Hello, Seeking some advice... I am hoping to create a standard method for passing configuration snippets to Actions. For instance, let's say I have a method that among other things, sends an email message. I don't want to hard-code which email server I am planning on using, so how do I tell the A

Re: [s2] implement Parameterizable versus ServletContextListener versus another solution

2006-12-27 Thread Don Brown
I think the best solution is to keep business code like that out of Struts actions and even away from the Struts framework altogether. Personally, I'd use Spring to manage my services, then use the property placeholder to inject String constants into my services using a properties file. In the mo

Re: I think I want to convert to S2 !

2006-12-27 Thread Musachy Barroso
Here it is: http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=33168 it is an small example of spring 2+ S2 + JPA + some S2 ajax tags, it only works with S2 svn head. musachy Musachy Barroso wrote: I've been playing with S2, Spring and JPA (using Hibernate) on eclipse, I thoug