anandharaj Posted November 2, 2007 Share Posted November 2, 2007 Hi, Cascading input control, this is one of the item in JS road map. which was published last year (i think Nov). Already one year, but this coolest function still not implemented. When its going to be implemented? One more question regarding input control (drop down)Currently i have a drop-down input which will get the information from database. Is there a possible to include "All" in the list also?? If the user want for all, there will choose the "All" instead selecting one-by-one... I know we can do using "multi-select query", but if the list contain 100 over items, for end-user will be tedious from select first item than <Shift> last item Link to comment Share on other sites More sharing options...
mdahlman Posted November 3, 2007 Share Posted November 3, 2007 Hello, Yes, adding an option for ALL is known. (It's enhancement 10082 "Multi-select input controls need a simple way to explicitly choose "ALL" values" in our internal system--not on the forge.) Also note that in the multiselect input control you can simply select NONE of the options. If you select 2 options then JR renders code like this:... where col1 in ('choice1','choice2') and ... But if you select none of the choices JR renders code like this:... where 0=0 and ... You don't need to generate code that explicitly lists all options. So you can already achieve the desired result. But it's not really a nice presentation for the end user, and that's why the enhancement request exists. I can't comment on the timing for the cascading params. As you indicated, it's already known. I'm looking forward to it too. Perhaps someone from product management will be able to comment. (Or someone else will decide to implement it themselves!?) Regards,Matt Link to comment Share on other sites More sharing options...
anandharaj Posted November 3, 2007 Author Share Posted November 3, 2007 Hi, Thanks Matt for your prompt reply... Link to comment Share on other sites More sharing options...
anandharaj Posted October 13, 2008 Author Share Posted October 13, 2008 Hi guys, wonder when this cascade input control will be in JS.... Meanwhile, any guys have a workaround to solve this? Link to comment Share on other sites More sharing options...
yskripch Posted October 28, 2008 Share Posted October 28, 2008 The only one I could think of was to design a second report that drills down to the main report when the user clicks on a parameter. If there is a better way of doing this then please me know. Thanks. Link to comment Share on other sites More sharing options...
vsoneta Posted April 8, 2009 Share Posted April 8, 2009 Did anyone implement the above suggestion by yskripch? Link to comment Share on other sites More sharing options...
anandharaj Posted April 9, 2009 Author Share Posted April 9, 2009 Hmm, i think no body tried it before :-( Link to comment Share on other sites More sharing options...
kannantechno Posted April 20, 2009 Share Posted April 20, 2009 i think using "Jasper Analysis' , it is possiblenot sure, once upon i heared in my training session , but didnt tryed yet...let u know once i finish Link to comment Share on other sites More sharing options...
swood Posted May 4, 2009 Share Posted May 4, 2009 What yskripch is after is not cascading input controls. Setting up a hyperlink to go from one report to another is a feature of JasperServer. Create a hyperlink in your report, something like: <textField isStretchWithOverflow="true" hyperlinkType="ReportExecution"> <reportElement x="410" y="4" width="105" height="15"> <property name="net.sf.jasperreports.export.pdf.tag.td" value="full"/> </reportElement> <textFieldExpression class="java.lang.String"><![CDATA["view"]]></textFieldExpression> <hyperlinkParameter name="_report"> <hyperlinkParameterExpression><![CDATA["/reports/samples/EmployeeAccounts"]]></hyperlinkParameterExpression> </hyperlinkParameter> <hyperlinkParameter name="EmployeeID"> <hyperlinkParameterExpression><![CDATA[$F{id}]]></hyperlinkParameterExpression> </hyperlinkParameter> </textField> Note the hyperlinkType attribute and the hyperlinkParameter tags. The hyperlinkParameter name="_report" hyperlinkParameterExpression is the URI of the target report. You can pass parameters to the target report by adding other hyperlinkParameterExpression with names that match the input controls of the report. The Employees sample report shows this. ShermanJaspersoft Link to comment Share on other sites More sharing options...
lcarrera Posted June 19, 2009 Share Posted June 19, 2009 Code:hello, I'm using a jasperserver and I doubt there is an option to cascading input control for parameters, you're thinking about implementing some day Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now