hello Phillip,
Phillip Rhodes wrote:
Hello,
Newbie here... and the sf archives are down.
Suppose that I have a very large xml form model (e.g. US Tax Return 1040)
that I would like to have spanned across several different "forms"
One could use xforms:switch to enable/disable the different sections of
the tax return.
However, there is a lot of "rules" that come into play here, for example,
only show this section if all the following conditions are met.
*Income over 50k
*More than 3 dependents
*But did not claim xyz credit
I am thinking that perhaps a rule engine should be used to decide whether
to enable/disable the section.
so 2 questions:
1) is a switch the best way to enable/disable display sections
in this case: no. xforms:relevant may be used to 'switch' relevant piece
in your UI on and off. if applied to group elements you may control
whole sections conditionally.
2)
maybe you remember your second question sometime ;)
hope this helps,
Joern
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
|