Re: return flow to calling servlet inside action

2006-11-06 Thread Antonio Petrelli
Sarry ha scritto: I have a servlet which is the interface for the third party and its calling the struts actions and jsps to do some processing, and it will go throuh the actions and the flow should come to the calling servlet. I am facing problems since third party is calling my flow as "includ

Re: struts tiles and validator framework

2006-11-06 Thread Antonio Petrelli
Madhav Bhargava ha scritto: Since i am using struts tiles there is always going to be one form. How can i then use these 2 together? Wait a moment, what's the connection between Tiles and the use of only one form? That's not true. Probably you wanted to say that you have one form and the fiel

struts tiles and validator framework

2006-11-06 Thread Madhav Bhargava
Hi All, I am using struts tiles for laying out all the pages. I am wondering how i can use struts client validator framework with struts tiles. The validation.xml file requires form name and then within the form tag we define the individual fields along with the respective validations. Since i a

[s2] Accessing HttpServletRequest from an Interceptor

2006-11-06 Thread Mark Menard
I need to access the HttpServletRequest from an Interceptor. I'm using: HttpServletRequest request = ServletActionContext.getRequest (); Is that the correct way to get it? It works, but I'm not sure that's how I should be doing it. Thanks, Mark -

[s2] Updating a List of objects

2006-11-06 Thread Mark Menard
I'd just like to be sure that I'm on the right path. I did my first update action that is operating on a List of objects similar to the example from the Showcase. Difference is I can't recreate them, like the Showcase does. So, I got my List of objects from the database, then threw them into a Map

Re: get webapp root directory from action constructor

2006-11-06 Thread Antonis Lebesis
Hello, I don't know if you still need it, but the "correct" way is to add a ServletContextListener. To do this, you have to implement the ServletContextListener interface: public class FooContextListener implements ServletContextListener { public void contextInitialized(ServletContextEve

Re: Struts 2 formal release availability

2006-11-06 Thread Ted Husted
The Struts 2.0.1 distributed was upgraded to "BETA" recently, if that qualifies as "formal". The web site is finally updated, and the usualy announcement will follow tomorrow afternoon. Right now, the major stumblingblock is a stable release of our major dependency, XWork 2. There is a lot of cro

Re: Struts 2.0 Application Lifecycle

2006-11-06 Thread Adam Hardy
Ted Husted on 05/11/06 21:27, wrote: On 11/5/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Imagine a common-place user story where the user sees a list of items, and can choose one item, go to the 'edit item' page, submit changes, and be returned to the item list. On the edit submit, my action pr

Re: Action gets repeated every time i repeat the page.

2006-11-06 Thread Christopher Goldman
On Mon, 2006-11-06 at 13:52 -0800, Uday Karrothi wrote: > Hi guys, > > When i press a button for Exmaple. 'ADD', > When i press the Button 'ADD' the values of the element 'X' are passed and > the form is submitted. > > One emlement 'X' of ArrayList A is added to ArrayList B. > > When i Refresh t

Action gets repeated every time i repeat the page.

2006-11-06 Thread Uday Karrothi
Hi guys, When i press a button for Exmaple. 'ADD', When i press the Button 'ADD' the values of the element 'X' are passed and the form is submitted. One emlement 'X' of ArrayList A is added to ArrayList B. When i Refresh teh page now, the operation is done again.In ArrayList B i have two eleme

return flow to calling servlet inside action

2006-11-06 Thread Sarry
I have a servlet which is the interface for the third party and its calling the struts actions and jsps to do some processing, and it will go throuh the actions and the flow should come to the calling servlet. I am facing problems since third party is calling my flow as "include" method of servle

Re: how recover a map of a bean in a "select list" of the jsp and to post the data ?

2006-11-06 Thread Ed Griebel
You need to use either or to iterate over your beans. This deals with arrays but is useful for how to use the iterator and how to populate a select list: http://husted.com/struts/tips/006.html HTH, -ed On 11/6/06, nalimoussa <[EMAIL PROTECTED]> wrote: Hi everybody, I have to create a map i

how recover a map of a bean in a "select list" of the jsp and to post the data ?

2006-11-06 Thread nalimoussa
Hi everybody, I have to create a map in a bean which recovers the data of a table, I would like post(integrate) these data in a "select list" of a JSP? Regards, Nabil. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: checkbox issue

2006-11-06 Thread fea jabi
con someone help me with this please? thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: checkbox issue Date: Fri, 03 Nov 2006 17:30:09 -0500 struts-config The below form-bean is session scoped and hence using reset.

multi level indexed properties

2006-11-06 Thread Sébastien LABEY
Hi all, I need to display and submit a form with 3 levels of indexed properties. The 3 indexed properties are not constant in size. I have a form with a MyObject1[] array with getters and setters for indexed properties. MyObject1 object has a List of MyObject2 objects and MyObject2 has a List of

RE: How to make dropdown box editable.

2006-11-06 Thread kumar.vinodh
Thanks Lance for your help. -Original Message- From: Lance Semmens [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 2:53 PM To: 'Struts Users Mailing List' Subject: RE: How to make dropdown box editable. Dojo has a control that sounds like what you're after. http://dojotool

RE: How to make dropdown box editable.

2006-11-06 Thread Lance Semmens
Dojo has a control that sounds like what you're after. http://dojotoolkit.org/ go to: see it in action --> form widgets --> form tour and look at the "state" field. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 26 October 2006 14:30 To: user@struts.apache.or

[ANNOUNCE] Calyxo 0.9.0 final released

2006-11-06 Thread Christoph Beck
The Calyxo development team is pleased to announce the general availability of Calyxo 0.9.0 final! The Calyxo Web Application Framework encourages in MVC Model 2 based web application development. It offers support for true modular applications, i18n, flexible view management, a powerful validatio