Wes Wannemacher wrote:
> On Wed, Mar 11, 2009 at 4:39 PM, mitch gorman <mgor...@shadowtv.biz> wrote:
>   
>> Musachy Barroso wrote:
>>     
>>> Ok, first, you don't need to define variable for each url, you can just do
>>>
>>> <s:url id="myurl" ..
>>> <s:a href="%{#myurl}" ...
>>>
>>>       
>>    this was the very first thing i attempted... it was the logical
>> first attempt.  unfortunately, what i ended up with when i did that was
>> a set of links to the last loop iteration's URL.  now, granted, i hadn't
>> been using struts very long at that point, so maybe i'd screwed
>> something else up.  i can certainly try this again...
>>     
>
> This would probably happen if you were outside of the closing iterator tag.
>   

    yup.  color me "embarrassed"... it just worked perfectly!  clearly,
i'd messed something else up when i tried it the first go-round.

    *sigh*

    thanks for your responses, wes!


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to