How to implement browsing history

2008-03-25 Thread Andriy Kharchuk
Hi guys, Is there standard or preferable way to enable user to go back when he/she browses website? As of now I can think only of caching something like http://acegisecurity.org/acegi-security/xref/org/acegisecurity/ui/savedrequest/SavedRequest.htmlor

Struts 2: How to initialize Action's parameters in struts.xml?

2008-03-01 Thread Andriy Kharchuk
Hi guys, Is there a way to initialize property of an Action in configuration file? I want to use some parameter to define runtime behavior of the Action. Thanks, Andriy

Struts 2: Can not set Action's property which is an array of Strings

2008-01-28 Thread Andriy Kharchuk
Hi guys, My Action has property which is an array of Strings. I'm rendering html table using this property. What is correct way to update this property from jsp? I tried the following but it doesn't work: 1. JSP s:iterator value=entityList status=rowstatus s:textfield

Re: Struts 2: Can not set Action's property which is an array of Strings

2008-01-28 Thread Andriy Kharchuk
It helped. Thank you. 2008/1/28, Hernandez, David [EMAIL PROTECTED]: Andriy, Try putting the array in an encapsulating object, i.e. an ArrayList. Regards, David Hernandez -Original Message- From: Andriy Kharchuk [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 4:15 PM

Re: Question on validation

2008-01-23 Thread Andriy Kharchuk
You can turn off validation for a specific method by using the @SkipValidation annotation above your action method. http://struts.apache.org/2.x/docs/validation.html 2008/1/21, Martin Braure de Calignon [EMAIL PROTECTED]: Hello :-), I have two questions, the first one is more important for

Struts 2 Datetimepicker component Localization

2007-11-10 Thread Andriy Kharchuk
Hi All, I'm using struts 2.0.6. I tried configuring s:datetipicker to use languages other than English but no luck. Number of the month is displayed instead of month name for specified language. I tried fr,de,de-de (localized resources for these languages are part of struts2-core-2.0.6.jar file).

Re: [Struts 2] Internationalization

2007-10-26 Thread Andriy Kharchuk
Rename narrative_fr_FR.properties to narrative_fr.properties. 2007/10/19, ChristopherAngel [EMAIL PROTECTED]: I've developed a web app using Struts2 - I need to make it display different languages based on the locale of the browser but I'm having a little difficulty getting it to work.