Re: struts2 , freemarker email template

2008-10-04 Thread Dave Newton
--- On Sat, 10/4/08, Leonidas Papadakis wrote: > I use Spring in my project. Is there an example that i can > have a look at ? http://static.springframework.org/spring/docs/2.5.x/reference/mail.html Dave - To unsubscribe, e-mai

Re: struts2 , freemarker email template

2008-10-04 Thread Leonidas Papadakis
Thanks for the reply Gabriel. I use Spring in my project. Is there an example that i can have a look at ? Regards Leon Gabriel Belingueres wrote: With Spring this is pretty much easy to do. 2008/10/3 Leonidas Papadakis <[EMAIL PROTECTED]>: Hi there, i would like to ask what is the best

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread Antonio Petrelli
2008/10/4 ujulu <[EMAIL PROTECTED]>: > hopefully this one displays correctly; the html is parsed even if I haven't > checked it. (Preview shows me correctly; but the output is wrong ;-) Sorry I have not been clear. Your code is formatted correctly, it is the code itself that is wrong. is not clos

[S2] Problems with excludeParams regex for params interceptor

2008-10-04 Thread Andreas Mähler
Hello Everyone, I would like to use the excludeParams parameter for the params interceptor. My problem is the following: I am using the params,prepare,params pattern. The first params interceptor sets a 'type' property, that is used by the prepare interceptor. According to that property, a n

Re: ParameterAware Issue

2008-10-04 Thread Lukasz Lenart
2008/10/4 alley sys <[EMAIL PROTECTED]>: > thanks for your mail. yeah it shows 1 value is there having address > but i need the value not address I'm not sure if I understood you, but if it shows 1, you should be able to access it as a array, but if it's only one element, OGNL shouldn't create an

RE: ParameterAware Issue

2008-10-04 Thread alley sys
Hi , thanks for your mail. yeah it shows 1 value is there having address but i need the value not address.> Date: Sat, 4 Oct 2008 17:34:33 +0200> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Re: ParameterAware Issue> > > String[] par = (String[])parameters.get("par");> > System

Re: ParameterAware Issue

2008-10-04 Thread Lukasz Lenart
> String[] par = (String[])parameters.get("par"); > System.out.println(par[0]); > > but it doesn't show the value. > Can anyone assist ? Try System.out.println(par.length); Regards -- Lukasz http://www.lenart.org.pl/ - To unsu

ParameterAware Issue

2008-10-04 Thread alley sys
Hi, I am implemnting ParameterAware to get my request parameters: I can see the request parameter is a String of Array([Ljava.lang.String;) But I can't get the value out of it . I used String[] par = (String[])parameters.get("par"); System.out.println(par[0]); but it doesn't show the value.

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
Sorry Antonio, this was my first post and didn't know why it is formatting the tag even though it is not supposed to be an HTML message. I corrected the original message using instead of . Thx! Antonio Petrelli-3 wrote: > > 2008/10/4 ujulu <[EMAIL PROTECTED]>: >> >> >>

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
Thanks Antonio, still another try: Sorry, it is automatically formatted; here is it again: " target="_blank"> get PDF doc here lastPage regards, ujulu Antonio Petrelli-3 wrote: > > 2008/10/4 ujulu <[EMAIL PROTEC

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
Thanks Antonio, hopefully this one displays correctly; the html is parsed even if I haven't checked it. (Preview shows me correctly; but the output is wrong ;-) get PDF doc here lastPage regards, ujulu Antonio Petrelli-3 wrote: > > 2008/10/4

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread Antonio Petrelli
2008/10/4 ujulu <[EMAIL PROTECTED]>: > > Sorry, it is automatically formatted; here is it again: So it is wrong on purpose, so what exactly is this? > get PDF doc here Antonio - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
Sorry, it is automatically formatted; here is it again: get PDF doc here lastPage regards, ujulu ujulu wrote: > > Hi All, > > I am new to Struts, and need your help! > > I am experiencing the following problem: > > 1. I have a si

Re: Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread Antonio Petrelli
2008/10/4 ujulu <[EMAIL PROTECTED]>: > > > get PDF doc here > > > lastPage > Can you post the correct code? There is obviously a typo in your cut'n'paste. Antonio - To unsubscribe, e-

Struts 1.2.8: Submit-Button and HTML-Link on the same page problem

2008-10-04 Thread ujulu
Hi All, I am new to Struts, and need your help! I am experiencing the following problem: 1. I have a simple JSP page similar to the following: get PDF doc here lastPage 2. The corresponding struts-config.xml entry:

Re: use property of iterator

2008-10-04 Thread Gabriel Belingueres
use the tag http://struts.apache.org/2.1.2/docs/set.html 2008/10/4 Hardik Shah <[EMAIL PROTECTED]>: > > how to use iterator property as variable > > suppose > > > ><%int prevAttrId=-1; %> > > > > > >

use property of iterator

2008-10-04 Thread Hardik Shah
how to use iterator property as variable suppose <%int prevAttrId=-1; %> after each iteration i want t