You basically wrap the list in s ListDataModel and you can pullthe row you need out with getWrappedData() .
You can just use List but you can bind datamodels to teh binding attribute. This side of JSF is really cool. You want a HtmlInputText in a panelGrid (table in struts/jstl speak) you just do new HtmlInputText(). It gets a bit wierd having your HTML abstracted into datatables and panel grids, but its so clean. I've been playing with mono .NET also which has a similar abstraction from the html code. You can certainly say goodbye to indices in the JSP. For dynamically generated links then its urlwrite, struts-faces or a hand rolled filter or servlet. I spat my dummy when i couldn't control 2 forms in 1 backing bean to generate a navigation system, but the navigation shouldn't have been using javascript links anyhow. Mark On Tue, 23 Nov 2004 17:15:16 -0500, Rick Reumann <[EMAIL PROTECTED]> wrote: > Mark Lowe wrote the following on 11/23/2004 4:56 PM: > > > > Sure.. > > > > "someHandleToAnIndexInLoop" .. where would you get that from? > > > > You could do want you want. I was just saying that there's not the > > same need to drill through lists using the indices. Look at the > > javadocs on ListDataModel. You'll see what i mean when you start using > > it, but you'll find less of a need to drill through lists using > > indices as DataModel and/or other strutures have this covered. Sorry > > I'll try and get my explaining head on tommorrow, after I've had some > > sleep. > > he he, I know the feeling.. <homer>ummm sleep</homer> :) > > I look forward to checking out the ListDataModel. I'll be interested in > seeing how I will be able to avoid the indices. I'm going to have to be > working with an example bean in scope that would look like... > > class FooBar > List someList > > Where someList might contain objects of type OtherFooBar which has a > List inside...etc etc (typical nested stuff). The user will then need > to maybe change one field property of a bean nested inside and when the > form submits I need to give back the whole nested enchilada to the backend. > > -- > > > Rick > > --------------------------------------------------------------------- > 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]