Hello,

Suppose I am creating a reporting application, which lists all the reports
that are available.
Also, suppose that each report can take different parameters (of different
data types - such as string, integer, double, date, select from combobox
(enumeration ) etc).
If I want to create only one screen where a user can go and execute a
report, but the UI is different based on the parameter for each report. So
for example, if I click on report 1, I may be shown a screen where I have to
fill in two fields with a string, and date. On the other hand, if I select
report 2, I may see a totally different UI with say 5 textboxes, 2
dateboxes, 2 select lists etc.

Users can create new reports, and new parameters and associate them whenever
they need in the system, so I cannot create a template/page for each report.

What is the best way to handle this in an application? Do
JSF/Struts/Tapestry etc offer this functionality? On e way that I can think
of is (in tapestry for example) - using conditional logic in OGNL within the
template based on the parameters for each report, but I want to know the
best practice that people generally use.
-- 
View this message in context: 
http://www.nabble.com/Suggested-pattern-for-dynamic-user-interface-tp14283249s2369p14283249.html
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to