This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSP & ActionForm - user customization" Watch "JSP & ActionForm - user customization" New topic
Author

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: http://aspose.com/file-tools
 
subject: JSP & ActionForm - user customization
 
Similar Threads
RMI client-side SQL and File I/O
Common phone interview questions ?
JSP function modifer's , static varibles etc...
Storing code in the database (yay! wooo!)
Suggestion On Design Pattern & Technology To Be Used