Re: [S2] Preserving messages across a Redirect in Struts 2

2008-11-05 Thread Narayana S
Hi, this is my framework problem, for certain reasons using default servlet session is disabled, i thought it is struts error. sorry to all. as session is disabled... can i do the same operation with request.setAttribute(...) ? can any one tell me where the values added in session are read

RE: logic tag question

2008-11-05 Thread Russo, Joe
Thanks for your reply. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 12:03 PM To: Struts Users Mailing List Subject: Re: logic tag question The issue is the bean tag inside the logic tag; that isn't valid JSP. You'll need to use E

RE: logic tag question

2008-11-05 Thread Russo, Joe
Thanks for your reply. -Original Message- From: Kawczynski, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 11:59 AM To: Struts Users Mailing List Subject: RE: logic tag question You can't nest taglibs. Try using the el tags and using an expression in place of

Re: logic tag question

2008-11-05 Thread Dave Newton
The issue is the bean tag inside the logic tag; that isn't valid JSP. You'll need to use EL there via the EL tags or JSP 2.0 support, depending on your container. Dave --- On Wed, 11/5/08, Russo, Joe <[EMAIL PROTECTED]> wrote: > From: Russo, Joe <[EMAIL PROTECTED]> > Subject: logic tag questi

RE: logic tag question

2008-11-05 Thread Kawczynski, David
You can't nest taglibs. Try using the el tags and using an expression in place of the Nested bean:write taglib call. -Original Message- From: Russo, Joe [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 11:52 AM To: user@struts.apache.org Subject: logic tag question Hi, I a

Re: Handling Integer overflows

2008-11-05 Thread Lyallex
Perfect solution ... works exactly as required. Thanks Lyallex 2008/11/5 Dave Newton <[EMAIL PROTECTED]>: > > That would probably need to be handled via a converter, not a validator. > > Dave > > --- On Wed, 11/5/08, Lyallex <[EMAIL PROTECTED]> wrote: > >> From: Lyallex <[EMAIL PROTECTED]> >> Sub

logic tag question

2008-11-05 Thread Russo, Joe
Hi, I am trying to use a nested logic tag and I get an error: equal symbol expected Any help would be appreciated. Thanks, Joe Here is the code: ">

Re: [S2] Preserving messages across a Redirect in Struts 2

2008-11-05 Thread Greg Lindholm
There must have been a change in Struts 2.1.2. Here is an update to the after() method that uses the ActionContext session map: protected void after(ActionInvocation invocation, ValidationAware validationAware) throws Exception { Result result = invocation.getResult();

Re: Handling Integer overflows

2008-11-05 Thread Dave Newton
That would probably need to be handled via a converter, not a validator. Dave --- On Wed, 11/5/08, Lyallex <[EMAIL PROTECTED]> wrote: > From: Lyallex <[EMAIL PROTECTED]> > Subject: Handling Integer overflows > To: "Struts Users Mailing List" > Date: Wednesday, November 5, 2008, 10:59 AM > Hi >

Handling Integer overflows

2008-11-05 Thread Lyallex
Hi Please be aware that I understand completely WHY the following is happening (Integer overflow) This question is about how to handle it. I have a form that has an input field In my action I have the fiollowing field public Integer creditcount; If I enter the String "2147482647" (equivalent

Re: using apostrophes in a properties file with

2008-11-05 Thread Dave Newton
--- On Wed, 11/5/08, Nick Maunder wrote: > can someone tell me quickly how to get an apostrophe to > appear when using s:text? Probably not quicker than searching the web would: http://www.google.com/search?q=java+properties+%2Bapostrophe You may need to use a double apostrophe, but IIRC it depe

RE: using apostrophes in a properties file with

2008-11-05 Thread Pep Villar
Hi, you can try general.VettingNextUpdate=You won't be able to bid> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: using apostrophes in a properties file with > Date: Wed, 5 Nov 2008 14:53:35 +> > Hey guys > > > > can someone tell me quickly how to get an apostrophe to ap

RE: Job Opportunity for Technical Consultants, E-Commerce at Fredhopper (Amsterdam)

2008-11-05 Thread VasilK
Thanks for the suggestion. Just to clarify as I see there is interest: Fredhopper has product development centers in Amsterdam and Sofia (and English speaking is required, no Russian language skills needed). mgainty wrote: > > > I talked with the owner about 1 year ago > His main development

Re: using apostrophes in a properties file with

2008-11-05 Thread Sébastien Domergue
Hi, in fact, in a property file you just have to double your apostrophe. For example : general.VettingNextUpdate=You won''t be able to bid Regards Sébastien Nick Maunder | Oathouse a écrit : Hey guys can someone tell me quickly how to get an apostrophe to appear when using s:text?

using apostrophes in a properties file with

2008-11-05 Thread Nick Maunder | Oathouse
Hey guys can someone tell me quickly how to get an apostrophe to appear when using s:text? Here's a snippet of my properties file: general.VettingNextUpdate=You won\'t be able to bid as you can see I've tried with and without escaping the apostrophe character. How do I make the te

Re: Struts Download Action - renaming download file

2008-11-05 Thread Nils-Helge Garli Hegvik
I'm not sure if this is the same "DownloadAction" as you are thinking of, but I found this resource about setting the Content Disposition: http://wiki.apache.org/struts/StrutsFileDownload#head-54368bb2778429bd6d32b4ea42b2a15ca111f19a Nils-H On Wed, Nov 5, 2008 at 12:13 PM, Antonio <[EMAIL PROTEC

Re: Struts Download Action - renaming download file

2008-11-05 Thread Antonio
2008/11/5 Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>: > Make sure you set the correct Content Disposition. That's the problem: it seems that there is no way to set the content disposition in the StreamInfo, or maybe I cannot see where it can be done. The StreamInfo interface provides only info ab

Re: Struts Download Action - renaming download file

2008-11-05 Thread Nils-Helge Garli Hegvik
Make sure you set the correct Content Disposition. Nils-H On Wed, Nov 5, 2008 at 11:55 AM, Daniele Development-ML <[EMAIL PROTECTED]> wrote: > Hello everybody, > I have implemented a DownloadAction to control the access and to download > some files in my web application. The problem I am having i

Struts Download Action - renaming download file

2008-11-05 Thread Daniele Development-ML
Hello everybody, I have implemented a DownloadAction to control the access and to download some files in my web application. The problem I am having is that when I try to download any of those file, operation which is done through the above action, I get as download file name the name of the action

[S2] ParentPackage does not properly configure the interceptor stack

2008-11-05 Thread Leonard Broman
I'm using struts 2.0.11.2 with codebehind. I have defined three different abstract packages to be able to select the interceptor stack for different actions. I configure the action using the @ParentPackage annotation selecting different packages. This, however, does not work. It seems that the pack