Re: your problem, I was just asking about categories because I have no concept of how your database stores your products. Looking at your database should give you ideas how to design the data model in your business & view layers.
Do you store / 'persist' your products somehow? Or do they only last as long as the user's session? Do you use a database?
On 10/08/2003 03:01 PM Cornellious Mann wrote:
All we have is a product ID. There is no category. How do you think category could help?
Also, have you used an indexed property and DynaForm?
--- Adam Hardy <[EMAIL PROTECTED]> wrote:
Still it depends. How does the database handle the---------------------------------------------------------------------
new products? Can you at least categorise them?
On 10/08/2003 06:19 AM Cornellious Mann wrote:
Unfortunately, products can be added at runtime
and
therefore I don't know what the full set is. From
the
research I have done it sounds like ActionForms
can
not handle this situation and I will need to
handle it
myself in the Action. Do you agree?
--- Adam Hardy <[EMAIL PROTECTED]> wrote:
Hi Cornellious, it depends whether you know beforehand what the
full
set of possible fields could be, or whether the fields themselves
are not limited in name or type.
If the former, then it would be easy to make a
form
that defined them all, and to use logic tags to display the needed
fields or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to
handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity
input
fields for a dynamic list of products. I don't
know
how many products will be in the list until
runtime.
How can I set up my ActionForm to handle the list
in
input parameters?
Thanks for any help.
===== Best Regards, Cornellious Mann
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product
search
http://shopping.yahoo.com
---------------------------------------------------------------------To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
-- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9
---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
===== Best Regards, Cornellious Mann
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product
search
http://shopping.yahoo.com
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
-- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
===== Best Regards, Cornellious Mann
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]