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
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
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
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
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
--
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
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
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
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
>
>
> Cheers,
>
> Randy
>
>>
>>
>>
>> Wesley Wannemacher wrote:
>> >
>> > Try -
>> >
>> >
>> > -Wes
>> >
>> > -Original Message-
>> > From: Diego Ezquerro [mailto
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
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
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
[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
-
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,
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
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
17 matches
Mail list logo