access wildcard mapped params in interceptor in struts2

2009-10-21 Thread swapna_here
Hi all, can any body explain how to access wild card mapped params in interceptor in struts2 Here is my action mapping : {1} /pages/news_wire.jsp when i use interceptor which executes first and uses the node variable in its code the node is not assigned (node=n

Re: access wildcard mapped params in interceptor in struts2

2009-10-21 Thread swapna_here
Sorry the above post is misspelled the actual action mapping is {1} /pages/news_wire.jsp Bye -- View this message in context: http://www.nabble.com/access-wildcard-mapped-params-in-interceptor-in-struts2-tp25987715p25987852.html Sent from the Struts - User mailing list archive at Nabble.c

Re: access wildcard mapped params in interceptor in struts2

2009-10-21 Thread swapna_here
Sorry the post is misspelled instead of {1} only {1} is taken bye -- View this message in context: http://www.nabble.com/access-wildcard-mapped-params-in-interceptor-in-struts2-tp25987715p25987898.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Show jsps from different directories based on "theme"

2009-10-21 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: Struts Users Mailing List > Sent: Tue, October 20, 2009 8:48:59 PM > Subject: Re: Show jsps from different directories based on "theme" > > I totally agree with you. However, I'm just giving Brian options to assess > his My apologies, Mi

AW: Warning: The default value expression 'Blabla' was evaluated and did not match a property

2009-10-21 Thread Juergen.Leeb
Thanks for helping me. But how to increase the log level? > -Ursprüngliche Nachricht- > Von: Musachy Barroso [mailto:musa...@gmail.com] > Gesendet: Montag, 19. Oktober 2009 17:20 > An: Struts Users Mailing List > Betreff: Re: Warning: The default value expression 'Blabla' was evaluated a

How to submit a form without a page refresh

2009-10-21 Thread Per Johansson
Hi, I am new to Struts and want to implement a form that when submitted does not refresh the whole page. The form must be submitted in isolation, independent of the rest of the page. I am also new to Ajax but guess that Ajax can be used in some way for this. Any advice appreciated. /Best Regards,

Re: How to submit a form without a page refresh

2009-10-21 Thread Ernesto Reinaldo Barreiro
Just on way to do it! http://www.weinfreund.de/struts2-jquery-showcase/index.action See Ajax Form tab Bes

Re: How to submit a form without a page refresh

2009-10-21 Thread wild_oscar
As the other user, I'd also suggest Jquery. Per Johansson wrote: > > Hi, > > I am new to Struts and want to implement a form that when submitted > does not refresh the whole page. > The form must be submitted in isolation, independent of the rest of the > page. > I am also new to Ajax but gues

What is the correct way to set up options for a component?

2009-10-21 Thread Jim Talbut
Hi, Newbie question: I want to have an component on a jsp page, but the options to be displayed aren't relevant to the action that results in this page. So how do I get a collection containing the options onto the stack without doing so in the action? I've seen other people asking the same ques

http://code.google.com/p/antilia-struts/

2009-10-21 Thread Ernesto Reinaldo Barreiro
Hi All, A few days ago I asked the list for implementation of RIA applications in struts2 and which components could be used. Someone, pointed me to http://www.trirand.com/jqgrid/jqgrid.html and mentioned there wasn't a tag integrating this GRID into struts2. So, I decided to give it a try an cre

RE: Show jsps from different directories based on "theme"

2009-10-21 Thread Mike Baranski
>> > If you're using S2, you could always return the 'theme1' or 'theme2' >result in >> your action class and have the mapping for it. >> >> That's absolutely a disgusting idea, think about 10 themes, and add to >> that user installable themes... >> >> A switch() at end of each of the action method

Re: Warning: The default value expression 'Blabla' was evaluated and did not match a property

2009-10-21 Thread Musachy Barroso
are you using log4j? On Wed, Oct 21, 2009 at 1:54 AM, wrote: > Thanks for helping me. > > But how to increase the log level? > > >> -Ursprüngliche Nachricht- >> Von: Musachy Barroso [mailto:musa...@gmail.com] >> Gesendet: Montag, 19. Oktober 2009 17:20 >> An: Struts Users Mailing List >>

Struts 1.3 Exception: org.apache.jasper.JasperException: Module 'null' not found.

2009-10-21 Thread Vocho
Hello, I'm using struts 1.3 and visual source safe to share the project. Recently I uploaded my changes to the VSS repository and updated some of the files at my local project. There weren't so many changes to update, but after that, when I tried to run my project on the server, it displays the

A Query about Struts2 Redirects

2009-10-21 Thread kiran781
Hi , I am new to Struts2 , meanwhile i am going through the concept of Redirect in Struts . Confusion in understanding Redirect types : 1.Redirect After Post 2.Redirect Action Result: As per the definations these are for : Redirect After Post: This post pattern is supported by Struts 2. This

Tomcat 5.0.28 and Struts 2.1.8

2009-10-21 Thread James Cook
Hi All, I have just had a fun evening with getting a S2 app to work on a shared Tomcat instance. What I discovered when I deployed was this error: Exception starting filter struts2 javax.xml.transform.TransformerFactoryConfigurationError

Re: Tree view in struts 1.3.8

2009-10-21 Thread Paul Benedict
Try http://www.servletsuite.com/jsp.htm On Tue, Oct 20, 2009 at 11:39 PM, dharhsana wrote: > > Hi to all, > > I am new to this post.. > > Can any one please help me out how to implement tree view using struts > 1.3.8,in struts 2 we have seperate tag called treenode but in struts 1.3.8 i > could'n

Exception using ParametersInterceptor to fill a Set

2009-10-21 Thread Marcelo Salhab Brogliato
Hi, in my action I have a client object that has a Set email. In my http request, I have these data: client.email[0] = 'a...@def.com' client.email[1] = 'a...@b2.com' client.email[2] = 'a...@b2.com' But I'm getting an error in ParametersInteceptor. I created these setters: public void setEmail(

Re: Exception using ParametersInterceptor to fill a Set

2009-10-21 Thread Marcelo Salhab Brogliato
I made some tests in a very simple application now and I got this results: Will add these emails to my set. But how can I access the first one? I'm trying this: But this is not evaluating attribute value. Why? I tried: mystringset.toArray()[0] but it also didn't work. thanks! msbrogli

Re: Exception using ParametersInterceptor to fill a Set

2009-10-21 Thread Steven Yang
Set usually dont have orders unless specifically implemented forif you need to preserver order then use List then email[0] will work On Thu, Oct 22, 2009 at 12:38 PM, Marcelo Salhab Brogliato < msbro...@vialink.com.br> wrote: > I made some tests in a very simple application now and I got this res

Re: Exception using ParametersInterceptor to fill a Set

2009-10-21 Thread Marcelo Salhab Brogliato
Hi Steven, I know that Set usually don't have orders. But how do I fill my set? I tried email[0] because I implemented this setter: void setEmail(int index, String email), and it just ignored index. It was a test. thanks, msbrogli On Oct 22, 2009, at 2:56 AM, Steven Yang wrote: Set usually