This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes JSP & ActionForm - user customization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSP & ActionForm - user customization" Watch "JSP & ActionForm - user customization" New topic

JSP & ActionForm - user customization

Samuel Cox
Ranch Hand

Joined: Nov 16, 2004
Posts: 96

We have a fairly large object (containing at least 20
other objects, collections, etc.) that we are trying
to populate given input from users. The UI for
collecting the data is patterned after the object
hierarchy. However, for each company that buys our
web app, we want to allow them to tweak the UI to
their preference. For instance, we might normally
collect all information for a Person on jsp page 1 and
collect general business information on page 2, which
contains a collection of questions. Now, most of our
clients will be fine with submitting information about
the Person on page 1, but a few might want to have a
Question[3] in the general information page 2 refer to
some field in the Person.

In other words, our jsp cannot hardcode that question
3 is submitting an answer for Person.birthdate. It
would have to be determined at run-time based on the
client's tweak of the 'input gathering' process.

I have told them that this might be difficult, but I am assured that it must be done. Anyone have any thoughts, tips, etc about how this might be tackled?

Many thanks.
I agree. Here's the link:
subject: JSP & ActionForm - user customization
Similar Threads
Common phone interview questions ?
Storing code in the database (yay! wooo!)
RMI client-side SQL and File I/O
JSP function modifer's , static varibles etc...
Suggestion On Design Pattern & Technology To Be Used