Re: struts - view, create, update user page

2005-06-07 Thread Tony Smith
Micheal: Could you show me how to build the "one action"? Thanks, --- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > If you want some kind of automation to build an HTML > form or JSP for > an arbitrary object on the fly, then Struts does not > provide this > service. You need to design pages

Re: struts - view, create, update user page

2005-06-07 Thread Martin Gainty
, 2005 4:01 PM Subject: Re: struts - view, create, update user page What is the best way to implment this with Struts? Need help, please, please, please, So here is the situation: All data is in database. I have a user table with Fields like First Name, Last Name, Address, SSN, EMAIL, Telephon

Re: struts - view, create, update user page

2005-06-07 Thread Dave Newton
Tony Smith wrote: What is the best way to implment this with Struts? Need help, please, please, please, What exactly are you asking? How to do CRUD pages in Struts? Which Actions you might want to subclass to handle this (look at DispatchAction, probably)? How to build forms in Struts? D

Re: struts - view, create, update user page

2005-06-07 Thread Michael Jouravlev
If you want some kind of automation to build an HTML form or JSP for an arbitrary object on the fly, then Struts does not provide this service. You need to design pages yourself. Maybe there are some third-party libraries to do this. I might implement something like this as an example for Struts D

Re: struts - view, create, update user page

2005-06-07 Thread Tony Smith
What is the best way to implment this with Struts? Need help, please, please, please, > So here is the situation: > > All data is in database. > > I have a user table with Fields like First Name, > Last > Name, Address, SSN, EMAIL, Telephone... > > I have Account table with fields like ID, D

Re: struts - view, create, update user page

2005-06-07 Thread Tony Smith
So here is the situation: All data is in database. I have a user table with Fields like First Name, Last Name, Address, SSN, EMAIL, Telephone... I have Account table with fields like ID, Date, Balance,... Each user can have one or more Accounts. I have Transaction table with fields like ID, Da

Re: struts - view, create, update user page

2005-06-06 Thread Larry Meadors
Give us some more info Tony. Are you talking about a relational database with 20 tables, or is this user information just a few bits in an xml file? Larry On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote: > Hi, I am using struts to develop a webapp. One piece > of work is the user information. I

Re: struts - view, create, update user page

2005-06-06 Thread Tony Smith
Hi, I read your article and found it very informative. But in my situation, I have about 10 different "items". If I use the technology described in the paper, I need to create about 40 forms and even more actions. Is there any other ways to get around of this? Thanks, --- Michael Jouravlev <[E

Re: struts - view, create, update user page

2005-06-06 Thread Leandro_Dorileo/ABACO
( FAX 623-0646 Tony Smith <[EMAIL PROTECTED]> 06/06/2005 11:42 Favor responder a "Struts Users Mailing List" Para user@struts.apache.org cc Assunto struts - view, create, update user page Hi, I am using struts to develop a webapp. One piece of work is the user informati

Re: struts - view, create, update user page

2005-06-06 Thread Tony Smith
Thank yoy very much. --- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote: > > Hi, I am using struts to develop a webapp. One > piece > > of work is the user information. I will allow user > to > > create, view, and update his personal information. >

Re: struts - view, create, update user page

2005-06-06 Thread Michael Jouravlev
On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote: > Hi, I am using struts to develop a webapp. One piece > of work is the user information. I will allow user to > create, view, and update his personal information. Maybe you would like to reconsider your three pages, and split them into "edit new",

struts - view, create, update user page

2005-06-06 Thread Tony Smith
Hi, I am using struts to develop a webapp. One piece of work is the user information. I will allow user to create, view, and update his personal information. Usually, the three pages are very similar. What is the best way to do this with Struts? Is there any "Pattern" for this? I checked the Struts