> -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Anders Jacobsen > Sent: Friday, September 03, 2004 12:22 PM > To: [EMAIL PROTECTED] > Subject: Re: Datagrid lige funktionallity > > > >You've already been pointed at the displaytag, however, > something else you > might want to think about..... Most of the sites I've seen > developed in > .NET screem they've been developed by a Windows >developer... > mostly because > the UI is lacking.... and in some cases, it's using a table > list like the > one your describing. > > What excatly is the issue with table-like editing? Letīs say > we are building > an webapplication for managin a gasoline station. The manager > has to cahnge > to gasoline prizes on all 15 types of fuel every 4 hour. A table-like > editing for this seems for me vey intuitive. At least better > than clicking > on each and every gasoline prize, be redirected to a new page > where you can > edit the prize. Press save end be redirected to the gasoline > overview again. > Just an example but pretty much describe my future application > functionality.
In that case, yes... > > I have looked at dsiplaytag and it seems nice. But is dosent > excatly solve > my problem. Again. Im problably used to have most of these > common controls > ready-to-use from within the framework. The common controls are out there, you just have to find them. Hmmm let's see.... Action puts list of gasoline types into request scope... then in page you do: <display:table name="gasTypeList" /> Where each element in the list is of type: public class GasPrice { private String type; private double price; blah } Gets you a two column list of type and price. How to modify the display tag so that you have a text box that you can use for update, I'll leave to you. > > To be hornest I see time-spending issues with my new > platform. I worry that > my productivity is going down because I still (with struts) > have do alot > more typing than before. Agree or disagree? Depends on the tag libs you want. There is a learning curve with Java... there is so much out there, and from so many different places that it takes a while to learn what you need and what you don't. Once you start getting a handle on where to look to find things (sourceforge, java.net) your productivity starts going way up. I can do a comlete UseCase in generally 4-6 hours, with test harness and documentation. What you've described above should take about 4 hours, that's with building a test harness as well. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]