RE: [S2] s:iterator tag - var or id

2008-07-09 Thread Timothy Wonil Lee
Ah.. I see.
Thank you.

Timothy Wonil Lee

Java Developer
http://timundergod.blogspot.com/

-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 9 July 2008 4:58 PM
To: Struts Users Mailing List
Subject: Re: [S2] s:iterator tag - var or id

Unfortunately those docs are for the 2.1.x version of Struts even
though they say they are for the 2.0.x line (and are shipped with it).
 At this point you have to use the id attribute.  I'm not sure what
the technical reason that prevents the documentation being versioned
like the rest of the code, maybe one of the committers can explain.
  (*Chris*)

On Tue, Jul 8, 2008 at 11:53 PM, Timothy Wonil Lee
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was trying to use s:iterator tag, and when I looked at the documentation
> on http://struts.apache.org/2.0.11.2/docs/iterator.html
> it says, attribute (parameter) 'id' is deprecated and 'var' should be
used.
> So I did:
> 
>
> However, my IDE complained about the attribute 'var' being not valid
> according to the TLD.
> So I looked at the struts-tags.tld (which was inside
> struts2-core-2.0.11.2.jar file) and I am lead to believe that the TLD
indeed
> does not define 'var' attribute.
>
> Using the 'id' isn't too much of a problem for me at the moment, but I was
> just wondering if this was a known issue.
> Does anybody know if this is reported as a JIRA issue?
>
> Timothy Wonil Lee
>
> Java Developer
> http://timundergod.blogspot.com/
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:48746182256198698421205!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[S2] s:iterator tag - var or id

2008-07-08 Thread Timothy Wonil Lee
Hi all,

I was trying to use s:iterator tag, and when I looked at the documentation
on http://struts.apache.org/2.0.11.2/docs/iterator.html
it says, attribute (parameter) 'id' is deprecated and 'var' should be used.
So I did:


However, my IDE complained about the attribute 'var' being not valid
according to the TLD.
So I looked at the struts-tags.tld (which was inside
struts2-core-2.0.11.2.jar file) and I am lead to believe that the TLD indeed
does not define 'var' attribute.

Using the 'id' isn't too much of a problem for me at the moment, but I was
just wondering if this was a known issue.
Does anybody know if this is reported as a JIRA issue?

Timothy Wonil Lee

Java Developer
http://timundergod.blogspot.com/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Where to put customized template

2008-07-03 Thread Timothy Wonil Lee
I believe the default value is WEB-INF/template, but I may be wrong.
The good news is that you can specify it to fit your need.
http://struts.apache.org/2.0.11.2/docs/selecting-template-directory.html


Timothy Wonil Lee

Java Developer
http://timundergod.blogspot.com/

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, 4 July 2008 8:06 AM
To: Struts Users Mailing List
Subject: Where to put customized template

Hi all,

I modified fielderror.ftl and want to apply it to my app. Could anyone tell
me where I should put it in my app? In WEB-INF/classes/folder or somewhere
else?

Thanks.


!DSPAM:486d4d83151833671820667!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]