Re: Localization in struts 2

2009-06-17 Thread Johnson nickel
I have tried to copy the properties files text and opening in notepad while saving i had selected the encoding type as UTF-8. But still i'm not able to see the hindi text in browser. And in my jsp i have added , <%@ page language="java" pageEncoding="utf-8" contentType="text/html;charset=utf-8"

Load on startup servlet in glassfish initializing two times

2009-06-17 Thread ECLIPSE + CVS
Hi, I have one problem in glassfish while i am specifying the load on start up servlet; it is initializing two times. ie:Print statement in the init method of the servlet is executing two times. I need to look up all the ejb's while the server startup itself instead of waiting for a request to

Re: Localization in struts 2

2009-06-17 Thread Girish Naik
Is the Hindi text specified in the file in UTF8 format? ie /u0092 etc. Regards, - Girish Naik Mobile:-+91-09740091638 girish.n...@gmail.com Mitch Hedberg - "I drank some boili

Localization in struts 2

2009-06-17 Thread Johnson nickel
Hi all, I have tried the Struts2i18n sample project it's working fine. But i need to implement local language in the same manner. I have created ResourceBundle_Hi.properties for hindi language. I had specified the hindi text in this file. when i try to execute the application it shows som

drop down list not working after using validation.xml

2009-06-17 Thread Yanto
Hi, We noted following error message in the screen after used the validation xml file. *org.apache.jasper.JasperException: tag 'select', field 'list', name 'entityInternalId': The requested list key 'entities' could not be resolved as a collection/array/map/enumeration/iterator type. Example: peo

Re: STRUT2

2009-06-17 Thread Dave Newton
cmoreno wrote: I have a problem with tag. How can I use into this tag 's value special characters like \r\n. I tried with escape attribute, but it isn't work. I tried to change \r\n with tag, but isn't work. If I look up into the source code the value is ok (with line return) How can I reso

Re: STRUT2

2009-06-17 Thread Girish Naik
Can a tag be useful?? Regards, - Girish Naik Mobile:-+91-09740091638 girish.n...@gmail.com Samuel Goldwyn - "I'm willing to admit that I may not always be right, but I am ne

RE: STRUT2

2009-06-17 Thread Jon Pearson
Perhaps what you want is a ? > -Original Message- > From: cmoreno [mailto:cristina.moren...@gmail.com] > Sent: Wednesday, June 17, 2009 1:02 PM > To: user@struts.apache.org > Subject: STRUT2 > > > Hi > I have a problem with tag. How can I use into > this tag 's value > special char

STRUT2

2009-06-17 Thread cmoreno
Hi I have a problem with tag. How can I use into this tag 's value special characters like \r\n. I tried with escape attribute, but it isn't work. I tried to change \r\n with tag, but isn't work. If I look up into the source code the value is ok (with line return) How can I resolve this? T

Re: Re-establish the Session

2009-06-17 Thread Rafael Taboada
Just for the record if someone else have same issue... I had to rewrite the URL adding Session ID uploadUrl: "doUploadFile.action;jsessionid=" + "", On Tue, Jun 16, 2009 at 11:18 AM, Rafael Taboada wrote: > Hi, > > I have session recovering problem and I don't know how to do it, I hope you > c

Re: Struts2 Jar on JBoss

2009-06-17 Thread raja_struts
Hi, If you still not able to fix the issue. Please try copy the struts-tags.tld file under \WEB-INF\lib folder. Cheers, Raja. Hernandez, David wrote: > > Hey Guys, > > I'm trying to deploy several apps built with Struts2 that share a common > lib directory. I'm running on JBoss. If I put all

Re: Additional validation for j_security_check action

2009-06-17 Thread Wes Wannemacher
I have thought about this a bit lately and I never came up with a good solution. In this case, you are sort of hacking the framework by using our view library to render the UI, but the processing happens elsewhere. That's why I don't know if there is a good solution to sprinkle in some validation a

Additional validation for j_security_check action

2009-06-17 Thread Daniil Petrov
Hi, I am using JAAS authentication in a Struts 2 web application. A login form looks like: I need to validate password field before passing it to the authentication service. Basically, I need to check that this field is not empty. Struts 2 suggests two ways f

Re: Why all this WARN on interceptor (and how to eliminate?)

2009-06-17 Thread Stefano
Ok i can ignore them. On Wed, Jun 17, 2009 at 15:34, Lukasz Lenart wrote: > I think it's unrelated to Struts, check that [1] > > [1] > http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.0/html/EJB3_Interceptors.html > > > Regards > -- > Lukasz > http://www.lenar

RE: Error when deploying portlets beside a normal Struts2 web app?

2009-06-17 Thread Kofford, C Todd
I am experiencing the exact same problem ever since I moved to struts 2.1.6. This was not a problem in struts 2.0.14, and in fact, we've stayed with struts 2.0.14 for this very reason. Todd Kofford tkoff...@ku.edu University of Kansas - IT -Original Message- From: IainM [mailto:iain.

Re: Interceptor issue in Struts 2.1.6

2009-06-17 Thread Yanto
Hi Wes, thanks for the explaination, we decide to use the simple theme and use the tag to display the error. Case closed, thanks for others also that already help... Regards Yanto On Wed, Jun 17, 2009 at 8:57 PM, Wes Wannemacher wrote: > All of the themes "work" with validation, it just depends

RE: Option transfer select (WORKAROUND FOUND)

2009-06-17 Thread Jon Pearson
Well, I think something may be wrong with the Struts2 javascript code. But I was able to make it work anyway by writing this function: 117 function selectAndSubmit() { 118 var list = document.getElementById("update_chosenColumns"); 119 for (var i = 0; i < list.options.length; i++) { 120 list.optio

Re: Why all this WARN on interceptor (and how to eliminate?)

2009-06-17 Thread Lukasz Lenart
I think it's unrelated to Struts, check that [1] [1] http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.0/html/EJB3_Interceptors.html Regards -- Lukasz http://www.lenart.org.pl/ - To unsubsc

Why all this WARN on interceptor (and how to eliminate?)

2009-06-17 Thread Stefano Tranquillini
Hi all. I developed an application with struts2, tiles and EJB using jboss. In the log of jboss i've a lot of warning: 15:28:13,484 WARN [InterceptorRegistry] applicable interceptors is non-existent for public boolean session.MGMTBean.addCustomer(java.lang.String,java.lang.Stri ng,java.lang.Stri

Option transfer select

2009-06-17 Thread Jon Pearson
I am trying to get an option transfer select control to work, but I'm having difficulty getting the results back out of it. It looks like the control passes values in the two lists back to the server by selecting all items in each list and then letting the standard form submission mechanism do its

Re: Struts Flow in JSP,Servlets Project

2009-06-17 Thread Jim Kiley
RTFM is an English acronym best summarized as "please read the documentation." By service routines what he means is this: Instead of writing an Action code that has your DB access code directly in it, write a service class that has DB access code in it, and have your actions call the service class

Re: Interceptor issue in Struts 2.1.6

2009-06-17 Thread Wes Wannemacher
All of the themes "work" with validation, it just depends on what you are expecting out of validation. The validation workflow interceptors will stop processing if validation fails and then indicate to the framework that the "input" result should be rendered. Whether and how you show the validation

Re: Mapped back UI and #status.index driven names

2009-06-17 Thread stanlick
I agree, however, there is only a single object (Thing) in the map (Things) and only a single parameter being passed. newton.dave wrote: > > stanlick wrote: >> > > I'd assume something like getThings().put(index, name). OGNL has to get > the map in order to put something into it. > > Dave

Re: OT: Problem with IE6 and JQuery (?)

2009-06-17 Thread Marc Eckart
http://www.positioniseverything.net/explorer/dup-characters.html I found something, it seems that it is a bug of IE6. Unfortunately the fixes did not work for me. We have a table and in some rows we have subtables: " class="attorneylist invisible">

enforce user to change his password before he can do anything

2009-06-17 Thread houser
Hi all, according to some conditions, the users must be enforced to change their passwords after they login. I am using Struts 1.3, hibernate and Tomcat. The scenario is as follows: - when the password of the user is expired and he logs in, he is redirected to the change password action and form.

Re: Interceptor issue in Struts 2.1.6

2009-06-17 Thread Yanto
Finally we found the issue is actually with the theme, we need to stop using simple themeand the validation and interceptor will work. http://www.nabble.com/Struts2-Validation-not-working-with-theme-simple-td23127366.html just wondering, is there any other theme that working with validation

Re: download file

2009-06-17 Thread Nils-Helge Garli Hegvik
Take a look at Pawel and Dave's replies once again. Nils-H On Wed, Jun 17, 2009 at 8:55 AM, PEGASUS84 wrote: > > thanks, > now there is a problem in struts.xml: > Can not find a java.io.InputStream with the name [${contentType}] in the > invocation stack. Check the > > > -- > View this message in