On Thursday 11 December 2008 23:46:14 Andreas Joseph Krogh wrote:
> On Thursday 11 December 2008 23:40:51 Ronny Løvtangen wrote:
> > 
> > On Dec 11, 2008, at 11:21 PM, Nils-Helge Garli Hegvik wrote:
> > 
> > > As mentioned, I realized that just _after_ pressing the send button,
> > > so please ignore my ignorance ;)
> > 
> > Alright, you're on!
> > For those that aren't, take a look at the original explanation of  
> > nested tags in Struts 1 from Aaron Bates:
> > http://www.keyboardmonkey.com/next/Primer_partOne.jsp?content=yesplease
> 
> The "What if..." in part-2 is especially relevant.

BTW: Musachy's examle of power-OGNL in the iterator tag. Is that even relevant? 
The "value"-attribute of the iterator-tag is only used to look-up which source 
to iterate over, so once that source is found I don't see a problem. For the 
iterator-tag it's only a matter of generating the markup "[<index>]." where you 
have to maintain this info in some context which you piggy-back on the 
value-stack (with a separate key) or something.

So, enough explaination (it's getting close to bed-time here...). Is the 
Struts2-community ready for this functionality in the struts-tags? Will patches 
implementing this get accepted?

-- 
Andreas Joseph Krogh <andr...@officenet.no>
Senior Software Developer / CEO
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Karenslyst Allé 11      | know how to do a thing and to watch         |
PO. Box 529 Skøyen      | somebody else doing it wrong, without       |
0214 Oslo               | comment.                                    |
NORWAY                  |                                             |
Tlf:    +47 24 15 38 90 |                                             |
Fax:    +47 24 15 38 91 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+

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

Reply via email to