Tags Help

2009-01-27 Thread Mike Baranski
I'm using Struts 2, and have the following iterator: The package.properties file defines: User1 = Label for user1 User2 = Label for user2 ... User40 = Label for user40 Now, how do I call getText for Userx where x is the slot number? I can't figure out how to generate that concatenated str

Re: Tags Help

2009-01-27 Thread Dave Newton
Mike Baranski wrote: The package.properties file defines: User1 = Label for user1 User2 = Label for user2 ... User40 = Label for user40 Now, how do I call getText for Userx where x is the slot number? I can't figure out how to generate that concatenated string of "User" + and then call

RE: Tags Help

2009-01-27 Thread Mike Baranski
iling List Subject: Re: Tags Help Mike Baranski wrote: > >value='description'/> > > > The package.properties file defines: > > User1 = Label for user1 > User2 = Label for user2 > ... > User40 = Label for user40 > > Now, how do I call getText f

Struts tags help

2007-07-30 Thread Diego Ezquerro
Hi to everybody. I'm developing a web app using struts and wanna know if there is a way to get the session attributes using struts tags. What i want to do is something like this (within a jsp page): <% User user = (User)session.getAttribute("user"); out.println("Welcome " + user.getU

[OT] Re: Tags Help

2009-01-27 Thread Dave Newton
Mike Baranski wrote: How exactly would you do it? There are 0-40 (possibly set) user field values, and I only want to show the ones that have values, and not the ones that don't. That would depend partially on what the labels contain, if they really need to be I18N, and so on. Dave --

RE: Struts tags help

2007-07-30 Thread Wesley Wannemacher
Try - -Wes -Original Message- From: Diego Ezquerro [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 11:30 AM To: struts Subject: Struts tags help Hi to everybody. I'm developing a web app using struts and wanna know if there is a way to get the session attributes using s

Re: Struts tags help

2007-07-30 Thread Oleg Mikheev
Diego Ezquerro wrote: I'm developing a web app using struts and wanna know if there is a way to get the session attributes using struts tags. What i want to do is something like this (within a jsp page): <% User user = (User)session.getAttribute("user"); out.println("Welcome " + user

RE: Struts tags help

2007-09-19 Thread wild_oscar
Wannemacher wrote: > > Try - > > > -Wes > > -Original Message- > From: Diego Ezquerro [mailto:[EMAIL PROTECTED] > Sent: Monday, July 30, 2007 11:30 AM > To: struts > Subject: Struts tags help > > Hi to everybody. > > I'm developing a web ap

Re: Struts tags help

2007-09-19 Thread Randy Jonasz
t; > > -Original Message- > > From: Diego Ezquerro [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 30, 2007 11:30 AM > > To: struts > > Subject: Struts tags help > > > > Hi to everybody. > > > > I'm developing a web app using strut

Re: Struts tags help

2007-09-19 Thread wild_oscar
> > > Cheers, > > Randy > >> >> >> >> Wesley Wannemacher wrote: >> > >> > Try - >> > >> > >> > -Wes >> > >> > -Original Message- >> > From: Diego Ezquerro [mailto

FreeMarker Tags Help - setup

2009-09-18 Thread Slonim, Greg (USAEO)
Hello, Setup: struts2 (2.1.6) with Spring (2.5) I Refer to the article in the docs http://struts.apache.org/2.1.6/docs/freemarker-tags.html We are trying to use FreeMarker tags with a custom theme in order to pass extra parameters to the tag which the tag does not define (section of the above

RE: FreeMarker Tags Help - setup

2009-09-18 Thread Martin Gainty
ity Notice Please be respectful of the rights of transmitter and recipient and do not alter/modify or obstruct this transmission. Thank You > Subject: FreeMarker Tags Help - setup > Date: Fri, 18 Sep 2009 13:09:31 -0400 > From: greg.slo...@usdoj.gov > To: user@struts.apach

Re: FreeMarker Tags Help - setup

2009-09-21 Thread j alex
I assume you are using your-ftl-file.ftl ..i had no problems passing an extra param to the tag and accessing it in the custom theme FTL On Fri, Sep 18, 2009 at 10:39 PM, Slonim, Greg (USAEO) < greg.slo...@usdoj.gov> wrote: > Hello, > > Setup: struts2 (2.1.6) with Spring (2.5) > > I Refer to the

RE: FreeMarker Tags Help - setup

2009-09-22 Thread Slonim, Greg (USAEO)
[mailto:mgai...@hotmail.com] Sent: Friday, September 18, 2009 3:38 PM To: Struts Users Mailing List Subject: RE: FreeMarker Tags Help - setup Good Afternoon Greg here is an example of forms using freemarker templates in chat\chatLogin.ftl Showcase - Chat - Login <@s.h

RE: FreeMarker Tags Help - setup

2009-09-22 Thread Slonim, Greg (USAEO)
- From: j alex [mailto:strutstwou...@gmail.com] Sent: Monday, September 21, 2009 1:06 PM To: Struts Users Mailing List Subject: Re: FreeMarker Tags Help - setup I assume you are using your-ftl-file.ftl ..i had no problems passing an extra param to the tag and accessing it in the custom theme FTL On Fri,

RE: FreeMarker Tags Help - setup

2009-09-22 Thread Martin Gainty
transmission. Thank You > Subject: RE: FreeMarker Tags Help - setup > Date: Tue, 22 Sep 2009 10:11:07 -0400 > From: greg.slo...@usdoj.gov > To: user@struts.apache.org > > MMM... no, the result is a jsp, not ftl. I suppose I cannot mix and > match, can I now? i.e. use jsp p

Problem while converting JSP scriplet in to struts tags - Help requested

2007-08-21 Thread Mad Shop
Following JSP scriplet is working fine <% float totalPaymentAmount = 0.0f; List compItems = null; compItems = costDistForm.getCompleteItems(); Iterator it = compItems.iterator(); while (it.hasNext()) { ItemCostRowForm row = (ItemCostRowForm)it.next(); float payAmountSort = row.getPayme