Thank you -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Wednesday, June 01, 2005 2:39 PM To: [email protected] Subject: Re: Question on developing backing beans
Balaji Saranathan wrote: > > > Hi, > > Was wondering if someone can help me get a better grasp. What is the > best way to work with rows of DataTable? Should the event handling The best method is to work with a DataModel as backend for the DataTable. The usual approach I do is, to have the backend bean feed a datamodel into the table, and over the dataset keys I go to a detail form for editing, via an action which is triggered by a control in the datatable, which feeds the id as parameter. > > On a general note, if my application has many number of beans, do I have > to declare them in the faces-config? Wouldn't that be performance overhead? > not really, since the acces to the beans over the names is probably done with a O(log n), du to hash/tree structures, the only downside of things is, that startup takes a tad longer, the plus side is, that the objects are not connected very strongly and can be exchanged with the altering of a config file, to other versions or similar ones. > Forgive if questions seems silly, I'm trying to get a better grasp of > developing with JSF. > Well getting a grasp on it is hard because it is a huge framework, but believe me, once you have things in place, you are extremely fast with it. Sorry that I could not answer all questions Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.

