urlrewrite

2007-10-18 Thread ros
Hi! What regular expression can be used to rewrite this URLs: from /faq/LANG1/index.html?locale=LANG2 to /faq/LANG2/index.html?locale=LANG2 from /faq/LANG1/foo/index.html?locale=LANG2 to /faq/LANG2/foo/index.html?locale=LANG2 Thanks! -- View this message in context: http://www.nab

Re: struts2 validation for only one method in action

2007-10-17 Thread ros
For struts it's cancel,execute,delete,edit,list,print Hope this helps. ros Igor Vlasov wrote: > > And how to disable the SERVER side validation when delete button clicked ? > > > > ros wrote: >> >> Java Scrip

RE: how to keep object from action to action

2007-10-04 Thread ros
Yes, this is it. How to setup StrutsSpringObjectFactory as current? web.xml? struts.xml? Thanks. Jiang, Jane (NIH/NCI) [C] wrote: > > If you use org.apache.struts2.spring.StrutsSpringObjectFactory as your > object factory, and you define mypojo in your action to match your bean > id in the app

RE: how to keep object from action to action

2007-10-04 Thread ros
Spring > beans and have them injected to your action. > > -Original Message- > From: ros [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 04, 2007 10:21 AM > To: user@struts.apache.org > Subject: how to keep object from action to action > > > Hi! >

how to keep object from action to action

2007-10-04 Thread ros
Hi! I use struts2 and want to load object in action1 and then access in in action2 and result jsp, like on drawing my1.html -(myobject.id)-> action1.save -(myobject)-> action2.edit -(myobject)-> my2.jsp -> my2.html I do not want to load this object in action2.edit if it was already loaded in ac

Re: [S2] how to read request parameter in windows-1257 encoding

2007-02-26 Thread ros
In web.xml I found CharacterEncodingFilter with UTF8 and force=true. That's why character encoding of the request was UFT-8 (getRequest().getCharacterEncoding() = UFT8) I've tested all decode combinations with this code: Set encs = java.nio.charset.Charset.availableCharsets().keySet();

how to read request parameter in windows-1257 encoding

2007-02-24 Thread ros
Hi! I have to read form post in windows-1257 encoding: http://localhost:8080/myStruts2Action.html"; method="post"> the request field AAA should be PAĻIV but it is PA?V How I can read special characters like Ļ Ā Ī and others? I use Jetty web server and struts2. Thanks! -- Vie

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread ros
Java Script validation fro button disabled by ros wrote: > > If I have in one form DELETE and SAVE buttons, how to turn off client side > validation for DELETE button? > -- View this message in context: http://www.nabble.com/struts2-validation-for-only-one-method-in-acti

Re: [S2] struts2 validation for only one method in action

2007-02-21 Thread ros
ation.xml with the > validation > for that method. > > regards > musachy > > On 2/21/07, cilquirm <[EMAIL PROTECTED]> wrote: >> >> >> I believe you can use validation annotation to specify validation >> routines >> at >> the method

struts2 validation for only one method in action

2007-02-21 Thread ros
Hi! How to configure struts2 validation for only one method in action? Thanks. -- View this message in context: http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267302.html#a9082687 Sent from the Struts - User mailing list archive at Nabble.com. -

RE: select - format date

2007-02-20 Thread ros
at gets the job done: > > - Use a list of string-formatted datetimes. Format the dates before > putting them on the list. > > - For formatting, review the classes java.util.Date, java.util.Calendar, > java.text.DateFormat, java.text.SimpleDateFormat. Use appropriately. > &g

s:select - format date

2007-02-20 Thread ros
Hi! Using Struts2 has output: 2009-09-27 00:00:00.0 0.01 2009-09-27 00:00:00.0 null How to set dateTime (java.util.Date) format? (e.g. to show only date) How hide null values, if price is null? Thanks! -- View this message in context: http://www.nabble.com/s%3Aselect---format-date