Re: Problem with OGNL in FieldExpressionValidator

2011-04-29 Thread Okan Özeren
Hi, I didn't read all of these, but maybe there are some usefull tips in this article: http://www.opensymphony.com/xwork/wikidocs/ExpressionValidator%20Tips.html Okan Özeren. On Fri, Apr 29, 2011 at 9:40 PM, Greg Akins angryg...@gmail.com wrote: Can anyone help me understand how to use OGNL

Re: getText

2011-03-30 Thread Okan Özeren
, or null if no localized message can be found for it */ public static String findDefaultText(String aTextName, Locale locale); I hope this is usefull for you, Okan Özeren. On Wed, Mar 30, 2011 at 1:26 AM, franc...@rendezvouscentral.com franc...@rendezvouscentral.com wrote: Hi Everybody

Re: [S1.3.8] Mapping problem

2011-03-23 Thread Okan Özeren
Hi, You should use as this when action forwarding: // Passed arg0 parameter is an object which is created from ActionMapping return arg0.findForward(success); Okan. On Tue, Mar 22, 2011 at 9:07 PM, Dave Newton davelnew...@gmail.com wrote: What *is* loginPage? A JSP? A Tile? Dave On Tue,

Re: Redirect and pass as a parameter the original url from an Interceptor

2011-03-17 Thread Okan Özeren
= invocation.getInvocationContext(); HttpServletRequest request = (HttpServletRequest) context.get(StrutsStatics.HTTP_REQUEST); String param = request.getParameter(param); Okan Özeren. On Thu, Mar 17, 2011 at 8:48 PM, Alfredo Manuel Osorio Martinez alfredo.oso...@afirme.com wrote: I am implementing a Login

Re: Struts2 XML Validation App

2011-03-10 Thread Okan Özeren
Hi, Name of LoginAction-Validation.xml file name must be LoginAction-validation.xml; so Validation's first character must be lowercase. And you should consider to struts form which theme definition used for it. Look at the http://struts.apache.org/2.2.1/docs/struts-2-themes.html Maybe you could

Re: Chain Result with parameters.

2010-04-05 Thread Okan Özeren
successfully. I hope, this will help to you, Okan Özeren. On Sun, Apr 4, 2010 at 10:57 PM, Bruno brun...@gmail.com wrote: I'm trying to make a chain action result with a parameter. However, the chain action's parameter is being set as null. I've already checked the fileServer object

Re: DoJo Plugin for struts 2.0.11

2008-08-21 Thread Okan Özeren
Hi, Narayana, Last version and nightlies are located in address: http://people.apache.org/builds/struts As to dojo plug-in, for example dojo plugin can be found inside the struts-2.1.2-lib.zip archive which can be downloaded from the link above. And you must put the struts2-dojo-plugin-2.1.2.jar

Re: formatting s:textfield data

2008-04-29 Thread Okan Özeren
Hi, This page may help you: http://www.roseindia.net/struts/struts2/struts-2-format.shtml Regards. On 4/29/08, Marc Ende [EMAIL PROTECTED] wrote: Hi, I've got a s:textfield where I show an double value. But I wanted to change the value to an currency (EUR). But I only get the standard

Re: formatting s:textfield data

2008-04-29 Thread Okan Özeren
This is the another page: http://struts.apache.org/2.0.11/docs/how-to-format-dates-and-numbers.html On 4/30/08, Okan Özeren [EMAIL PROTECTED] wrote: Hi, This page may help you: http://www.roseindia.net/struts/struts2/struts-2-format.shtml Regards.

Re: s:submit and cssStyle

2008-03-27 Thread Okan Özeren
Try this: s:url id=*myUrl* value=/images/edit-small.png / s:submit value=%{getText('healthe.admin.edit.template')} cssClass=previewToggle cssStyle=background: #F6F6F6 url(*%{myUrl}*) no-repeat; action=cancelPreview onclick=skipAlert(this); / On Thu, Mar 27, 2008 at 8:32 PM, Brian Relph [EMAIL

Re: using disabled attributes in s:submit tag

2008-02-08 Thread Okan Özeren
Hi, This is a bug for old version of strust 2, but fixed on 2.0.8 version. You should create a solution with javascript. Presumably your js function is wrong. Probably your tag name is wrong. You should look its source code on browser for tags real name. Okan. On Feb 8, 2008 3:32 PM, Johnson

Re: Struts2 sesionExpired page

2008-02-07 Thread Okan Özeren
Hi, I recommend to you should see *SessionInactivityFilter *on* * http://javawebparts.sourceforge.net/ page for page rejection and forwarding for session inactivity. However you must see to *HttpSessionListener *for created and destroyed sessions. Sample SessionCaptor: /* * */ public class