Re: Reload combo option if validation fail.

2007-08-26 Thread Zarar Siddiqi
That would do it too. But you could've used the info in ActionProxy in the prepare() method to differentiate between actions. Later, Zarar On 8/20/07, Boon Leng <[EMAIL PROTECTED]> wrote: > > Hi Zarar, > > I managed to solve the problem by using PreResultListener and find the > action info in Ac

Re: Struts1/Tiles and Struts2/tiles in same app - Works!

2007-08-26 Thread Darryl Thompson
After following the instructions received from Ray Clough I only had to drop the commons*.jar and tiles*.jar files into my eclipse embedded Tomcat commons/lib directory and everything worked! Many thanks to you Ray! - Original Message From: Ray Clough <[EMAIL PROTECTED]> To: user@strut

RE: Beginner

2007-08-26 Thread Deepak Kumar
Hi, Please check http://www.roseindia.net/struts and http://www.roseindia.net/struts/struts2 Thanks Deepak Kumar -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Cenk Sent: Sunday, August 26, 2007 9:09 PM To: user@struts.apache.org Subject: Beginner Hi, I m new to S

Beginner

2007-08-26 Thread Cenk
Hi, I m new to Struts and i wonder if you can help to start with some simple tutorials? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-26 Thread Darryl Thompson
Ray, I followed your instructions and now I am getting this exception on startup: java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListener I don't have the struts-jsf plugin jar in my web-inf and I removed the myfaces jar files. I did a search of the file direct

Re: Session problem

2007-08-26 Thread Pavel Sapozhnikov
Hey what does that thing implementing ApplicationAware really do for you? On 8/26/07, Mark Rollins <[EMAIL PROTECTED]> wrote: > > > You are correct - I decided to refactor as I was pasting!! Sorry. > > > Rod Bollinger wrote: > > > > This may not be the only issue but I do see a typo in setSession(

Re: s2 equivalent of

2007-08-26 Thread Pavel Sapozhnikov
Hey Alex thank you very much. I'll definately try that. On 8/26/07, j alex <[EMAIL PROTECTED]> wrote: > > I don't think there's an equivalent tag, see if *helps > > 8/24/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > > > Hey does anyone know which tag in struts2 would be equivalent to the t

Re: s2 equivalent of

2007-08-26 Thread j alex
I don't think there's an equivalent tag, see if *helps 8/24/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > Hey does anyone know which tag in struts2 would be equivalent to the tag > in struts1. Thanks. > > -- > Pavel Sapozhnikov > xFact, Inc > [EMAIL PROTECTED] >

Re: problem configuring struts config in applicaion

2007-08-26 Thread j alex
It's not clear what you are trying to do ; as long as validate=true, the form should get validated. You an have an action mapping , and on hitting the save button, change the 's action to "editForm" using javascript so that the right action-mapping is invoked On 8/25/07, Meenakshi Singh <[EMAIL

Re: dafault value in autocompleter tag

2007-08-26 Thread Pedro Herrera
no solution yet ... see http://www.nabble.com/-S2--Autocompleter-initial-value-and-key-tf4291467.html ece wrote: > > Hi again, > > I tried this and worked. I don't know if useful with displaytag > > list="timetable.outboundMap" notifyTopics="/Changed" > forceValidOption="true" id="sel"/> >

Struts 2 - radio inside iterator

2007-08-26 Thread new2you
Hi, I've seen tons of similar posts here, but no solution: I want to create a table of users, each row represents 1 user and has 3 radio buttons, which determine the user's role in the application. A user can only have 1 role. So I created the following code(shortened): ... ... ...

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-26 Thread Ray Clough
My previous post failed, presumably the attachment was blocked. Here is the contents of the document I created to define the process of using Tiles-2 as a standalone service with Struts-1 and Struts-2. Sorry if it is long, but I couldn't get the attachment to work. If you ask, I will send the

RE: Session problem

2007-08-26 Thread Mark Rollins
You are correct - I decided to refactor as I was pasting!! Sorry. Rod Bollinger wrote: > > This may not be the only issue but I do see a typo in setSession()... > > It should be: this.session = session; instead of this.session = map; > > -Rod > > > -Original Message- > From: Mark Ro

Re: Struts1/Tiles and Struts2/tiles in same app

2007-08-26 Thread Ray Clough
I have prepared a pdf document describing this exact problem: Tiles-2 as a standalone service along with Struts-1 and Struts-2. The doc includes copies of the web.xml and struts.xml files. I am attaching the file in the hopes it is useful. - Ray Clough [EMAIL PROTECTED] ---

Re: tabs (struts + tiles) How to do it ??

2007-08-26 Thread Angelo zerr
Hi robin tabs of JSPTabcontrol is customized with css. To customize it you must undersand HTML generated (see http://jsptabcontrol.sourceforge.net/developer-guide.html) and know css. What is your problem with css? Regards Angelo 2007/8/25, robinbajaj <[EMAIL PROTECTED]>: > > > This thread is ver

Re: dafault value in autocompleter tag

2007-08-26 Thread ece
Hi again, I tried this and worked. I don't know if useful with displaytag I have both outbound and outboundKey String properties in the struts2 action. ece wrote: > > Hi Herrera, > > Could you find a solution for this problem ? > > Ece > > > Pedro Herrera wrote: >> >> I´m using dis

Re: dafault value in autocompleter tag

2007-08-26 Thread ece
Hi Herrera, Could you find a solution for this problem ? Ece Pedro Herrera wrote: > > I´m using displaytag to paging and I need to put a default value in > autocompleter tag when page is changed, > > How I can do this ? > > Herrera > -- View this message in context: http://www.nabble.c

Re: Problem about the hello world struts2 example.

2007-08-26 Thread Kun Niu
I think that I've solved the problem. I put the configuration file under the wrong directory. I put it under the WEB-INF directory. Now I've moved it to WEB-INF/classes direcotry. And it works for me. Thanks again for your kind reply. Regards. 2007/8/26, Kun Niu <[EMAIL PROTECTED]>: > Thanks for

Re: Problem about the hello world struts2 example.

2007-08-26 Thread Kun Niu
Thanks for your fast reply. Yes. I've got the taglib in my jsp file. My tomcat verion is 5.5.23. And the following code work for me: my url I can see my url and the address is correct. In case I change property attribute as the following: Without a value specified, I can get [EMAIL PROTECTED] It