RE: nested:iterate and indexId problems

2002-05-24 Thread Steve Armstrong

Thanks very much for the speedy response!

When I said that  worked, I had an "id" attribute in that
particular scenario so perhaps that's why everything was okie-dokie.
Another work around I found was to do the following:

subsitute:




with:





One more intermediate step, but no biggie.  As to why it works, I'll leave
that mystery up to you bright fellows :-)

Cheers,
-Steve

-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 2:28 AM
To: Struts Users Mailing List
Subject: Re: nested:iterate and indexId problems


Just had a play, and there's a bug in the tag's extra info class around
the indexId.
Until then, set an "id" attribute also, and it should work.

Seems though the extension is troubled by its super class, and it's
looking like a fix is required there also. Either way, I'll sort it out
tonight (few hours from now), so you can download NeXt again tomorrow,
and it'll be sweet. Actually, from looking at the code, it's a surprise
that common  tags aren't suffering from the same issue.


Arron.

Steve Armstrong wrote:

>Hi,
>
>I'm using Struts 1.0.2 with the NeXt package targeted for that particular
>load.  I'm having a problem evaluating the page scope Integer bean that
>should be created via the indexId attribute.
>
>Inside an , I have something like the following for handling odd
>and even rows of a table differently:
>
>
>
>
>
>
>
>
>
>
>
>The above is from memory so please excuse any minor syntax errors.  When
the
> line is processed, an error is generated indicating that
>"loop" (our page scope Integer bean set by the nested:iterate tag) is not a
>valid variable.  However, if I replace  with plain
> everything works fine.
>
>Am I running into some sort of scoping issue when I use ?
>
>Any help would be much appreciated.
>
>Thanks,
>-Steve



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




Re: nested:iterate and indexId problems

2002-05-23 Thread Arron Bates

Just had a play, and there's a bug in the tag's extra info class around 
the indexId.
Until then, set an "id" attribute also, and it should work.

Seems though the extension is troubled by its super class, and it's 
looking like a fix is required there also. Either way, I'll sort it out 
tonight (few hours from now), so you can download NeXt again tomorrow, 
and it'll be sweet. Actually, from looking at the code, it's a surprise 
that common  tags aren't suffering from the same issue.


Arron.

Steve Armstrong wrote:

>Hi,
>
>I'm using Struts 1.0.2 with the NeXt package targeted for that particular
>load.  I'm having a problem evaluating the page scope Integer bean that
>should be created via the indexId attribute.
>
>Inside an , I have something like the following for handling odd
>and even rows of a table differently:
>
>
>
>
>
>
>
>
>
>
>
>The above is from memory so please excuse any minor syntax errors.  When the
> line is processed, an error is generated indicating that
>"loop" (our page scope Integer bean set by the nested:iterate tag) is not a
>valid variable.  However, if I replace  with plain
> everything works fine.
>
>Am I running into some sort of scoping issue when I use ?
>
>Any help would be much appreciated.
>
>Thanks,
>-Steve
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: