[RRR-13] param choices | |
| Status: | Closed |
| Project: | ReportRunner |
| Component/s: | Engine |
| Affects Version/s: | |
| Fix Version/s: | 0.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Henri Yandell | Assignee: | Henri Yandell |
| Resolution: | Fixed | ||
| Environment: | |||
| Description |
| variants of a report.. ie) search for user info by name or by id. should these be different reports? variants? an or-parameter? |
| Comment by bayard [ Wed, 29 Dec 2004 10:02:27 -0800 (PST) ] |
| <variants name="by?"> <variant name="foo"> <sql>where foo=?</sql> <param...string.../> </variant> <variant name="bar"> <sql>where bar=?</sql> <param...number.../> </variant> </variants> |
| Comment by bayard [ Thu, 13 Jan 2005 08:38:54 -0800 (PST) ] |
| So...talking with Eric has lead to: <variant name="by"> <option name="foo" value="where foo=?"> <param name="foo" type="java.lang.Integer".../> </option> <option name="bar" value="where bar=?"> <param name="bar" type="java.lang.Integer".../> </option> <option name="foobar" value="where foo=? and bar=?"> <param name="foo" type="java.lang.Integer".../> <param name="bar" type="java.lang.Integer".../> </option> </variant> The choice of the variant will be a completely new page in the web-wizard, between the choose database and the enter information options. |
| Comment by bayard [ Mon, 17 Jan 2005 10:34:43 -0800 (PST) ] |
| Now added to the system. |