Re: S2 equivalent of ForwardAction?

2012-07-06 Thread Oscar Alvarez
You can use wildcard too. Something like this: /{*}.jsp This takes advantage of ActionSupport and take the default result (success) to your page. 2012/7/6 Ɓukasz Lenart > 2012/7/6 Paul Benedict : > > Is there any such shortcut in S2? It would be nice if such a thing > existed like: > >

Re: Struts CRUD generator

2012-07-06 Thread Oscar Alvarez
Take a look at AppFuse. http://appfuse.org/display/APF/Home 2012/7/5 Mitch Claborn > I thought I saw a reference fairly recently to a Struts CRUD generator - > generates a complete struts application for database manipulations. Can > someone point me in the right direction? > > mitch > > -

Re: Map param in tag

2012-02-21 Thread Oscar Alvarez
Hi Ansari, Already tested the email in this URL? http://struts.apache.org/1.x/faqs/validator.html Best regards, Oscar. 2012/2/21 danish ansari > Hello there , > I am working on struts 1.2 validation. > I am having a requirement which i am unable to implement. > I am having two fields username

Re: Getting OPTGROUP items to appear in the right order within a larger top-level SELECT list

2009-07-09 Thread Oscar Alvarez
Have you try to put lists in lists??? may be it works... another way can be if you put every item as a s:optgroup HTH 2009/7/2 mlevin > > ** Many apologies if this goes through twice -- I posted a few hours ago > and > didn't see my own post show up yet ** > > Hi folks, > > I'm having some tr

Re: dynamic return when validation failed

2009-07-09 Thread Oscar Alvarez
ook in it, > didn't found any good tip to solve my problem. > > Regards > Louis > > > > ________ > From: Oscar Alvarez > To: Struts Users Mailing List > Sent: Wednesday, July 8, 2009 7:09:35 PM > Subject: Re: dynamic return when

Re: dynamic return when validation failed

2009-07-08 Thread Oscar Alvarez
2009/7/8 Oscar Alvarez > Hi... > > Try to get the Ian Roughley's "Starting Struts2 online" ebook for free, and > study "PRODUCTIVITY TIPS" -> "Re-Using Action Configurations"... and see if > there are some other tips for you. > An

Re: dynamic return when validation failed

2009-07-08 Thread Oscar Alvarez
Hi... Try to get the Ian Roughley's "Starting Struts2 online" ebook for free, and study "PRODUCTIVITY TIPS" -> "Re-Using Action Configurations"... and see if there are some other tips for you. HTH 2009/7/8 Greg Lindholm > > Greg Lindholm wrote: > > > >> The referer header will contain the URL

Re: caching Java objects

2009-07-08 Thread Oscar Alvarez
Hi... It depends on what the objects mean on your system... exist ApplicationAware, SessionAware and RequestAware interfaces... You decide what to use in your design. HTH 2009/7/8 Mitch Claborn > What is the preferred method of caching arbitrary Java objects locally > in a Struts application?

Re: DatetimePicker Issue... Struts 2.1.2

2009-01-06 Thread Oscar Alvarez
2009/1/6 Richa Pandharikar > Are you using Tiles? > > For me with Tiles it never got rendered properly, hence I could not test > the submit functionality. I switched to YUI calendar control. > > > -Original Message- > From: Anshuman Nanda [mailto:ana...@eximware.com] > Sent: Tuesday, Janu

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-17 Thread Oscar Alvarez
2008/12/17 Amin Mohammed-Coleman > Hi > > Sorry for sending this again, but I was wondering if someone might be able > to help? > > > Thanks > > Begin forwarded message: > > From: Amin Mohammed-Coleman >> Date: 24 November 2008 16:50:50 GMT >> To: user-h...@struts-apache.org >> Subject: Excepti

Re: How can I "parameterize" include files?

2008-12-17 Thread Oscar Alvarez
are you try tag, to set the value you need and then test it? i understand, tag only join both pages, but not get the result in ajax like fashion. http://struts.apache.org/2.0.9/docs/set.html 2008/12/17 James Carr > I have.. .it doesnt evaluate correctly in the statement. Adding > the param

Re: [S1] How to set a form property from Action classes.

2008-12-17 Thread Oscar Alvarez
. > Thanks! > -dave > Best Regards Oscar > > > -Original Message- > From: Oscar Alvarez [mailto:listasdesarro...@gmail.com] > Sent: Wednesday, December 17, 2008 2:50 PM > To: Struts Users Mailing List > Subject: Re: [S1] How to se

Re: [S1] How to set a form property from Action classes.

2008-12-17 Thread Oscar Alvarez
2008/12/17 Oscar Alvarez > Hi All. > > I need to put a value in an ActionForm object, because of the edition use > case of an mantainer (CRUD). > Im using hibernate to save an object and hibernate assigns the id when > save, and i need to put that value back in the ActionFo

[S1] How to set a form property from Action classes.

2008-12-17 Thread Oscar Alvarez
Hi All. I need to put a value in an ActionForm object, because of the edition use case of an mantainer (CRUD). Im using hibernate to save an object and hibernate assigns the id when save, and i need to put that value back in the ActionForm to "remember it" when save again. I am doing this, but no

Re: .properties variable from action class

2008-12-16 Thread Oscar Alvarez
if you extend ActionSupport try getText("name.of.your.property") 2008/12/16 elyes sallem > Hello, > i wanna know how get back a property variable defined in ".properties" file > from an exceute method, in the action class > > Regards > Elyes. >

Re: Simple Question?

2008-12-16 Thread Oscar Alvarez
try puting a comparator in your action like this public Boolean isPipeEditAction(){ return "|".equals(getEditAction()); } and then test it in your view 2008/12/16 Dave Newton > > Famoso Struts OGNL :-)! > > Or typical Java. > > OGNL one-ups Java, in fact, as OGNL will treat multiple cha

Re: file name as null in model driven

2008-12-15 Thread Oscar Alvarez
What interceptor stack are you using? The names you are using in form is present in your action??? 2008/12/15 srinivasa_v . > I have problem in uploading files, > I have created a class with modle driven.and in jsp i mentioned form as > encyrpt > > when i submit form I am getting form value

Re: [S2] Best way to provide default values for an action that takes GET parameters?

2008-12-15 Thread Oscar Alvarez
2008/12/15 James Carr > is there a way to provide default values for action parameters without > having to set defaults in the actual target objects? May be Preparable interface meets your requirement. http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html

Re: Graphical Configuration Utility

2008-12-15 Thread Oscar Alvarez
All depends on Licences of the dependencies i think. Spring brings all its dependencies in the full distribution. 2008/12/15 mpeccorini > > Hi Oscar, > > The Release Notes > ( > https://sourceforge.net/project/shownotes.php?group_id=247875&release_id=647398 > ) > show the list of dependencies

Re: Fwd: export file data using formFile

2008-12-15 Thread Oscar Alvarez
I think, you need to put a hiperlink or a button for start your action. Then you need to retrieve the data from the db, generate the csv Stream or File as you wish to call it. Then the only diference between a Servlet.doGet method an Action.execute method is 2 parameters ActionMapping and ActionFor

Re: Graphical Configuration Utility

2008-12-15 Thread Oscar Alvarez
Hi! I try to run the dot jar, but does not run... C:\>java Struts2GUI-0.1-alpha.jar Exception in thread "main" java.lang.NoClassDefFoundError: Struts2GUI-0/1-alpha/jar Caused by: java.lang.ClassNotFoundException: Struts2GUI-0.1-alpha.jar at java.net.URLClassLoader$1.run(Unknown Source)