Hey guys, Thanks! Being dumb I forgot about YourCustomSession.get().getUser().getID() for the second time this week (and yes, its only Monday)!!!!
That totally answers my questions! Cheers, Graeme. Graeme Knight wrote: > > Hi. > > Just learning about IDataProvider and DataViews. > > I've scoped out the repeaters examples but this may be a little > different... > > If I have a userId (for example stored in the Session) of the user as he > is logged in and I wish to use that userId as a criteria for getting hold > of the correct data using a IDataProvider call to a database (for a > DataView list), then should I pass in the userID to the IDataProvider > implementation and just store as a private variable? > > Is there a better way of getting hold of (or passing this) information > into the IDataProvider implementation to limit storage/serialization? > > Many thanks, Graeme. > -- View this message in context: http://www.nabble.com/IDataProvider-and-Session-related-data.-tp20428354p20429027.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]