Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Multi-value cascading parameters in Custom Parameter Page
Multi-value cascading parameters in Custom Parameter Page [message #702053] Mon, 25 July 2011 22:38 Go to next message
Scroon  is currently offline Scroon Friend
Messages: 28
Registered: June 2011
Junior Member
Hello,

For a custom parameter page using BIRT tag library:

........
<birt:parameterPage id="birtParmPage" reportDesign="report\Report.rptdesign"
name="my form"
pattern="frameset"
format="html"
isCustom="true"
showTitle="true"
showToolBar="true"
showNavigationBar="true"
target="content"
>
Parameter Page 1
<br>
ClientName1(Fist-level parameter in cascading parameter group1):
<birt:paramDef id="5" name="ClientName"/>
<br>
Strategy(Second-level parameter in cascading parameter group1, its value depends on the value of ClientName1, and it's multi-value-allowed):
<birt:paramDef id="22" name="Strategy" />

<input type="submit" name="submit" value="Run Report"/>
</birt:parameterPage>
<br>
</body>
</html>

It works well with default parameter page of BIRT, parameter Strategy be rendered as multi-value listbox:
index.php/fa/3468/0/


However, in the custom parameter page, parameter Strategy always be rendered as a single-value list box, which does not allow user to select multiple values:
index.php/fa/3469/0/



Is there anyway to have it rendered as a multi-value list box like in default paramter page of BIRT ?

Thanks in advance!
  • Attachment: 3.JPG
    (Size: 6.96KB, Downloaded 1373 times)
  • Attachment: 4.JPG
    (Size: 7.75KB, Downloaded 1323 times)

[Updated on: Mon, 25 July 2011 23:52]

Report message to a moderator

Re: Multi-value cascading parameters in Custom Parameter Page [message #702546 is a reply to message #702053] Tue, 26 July 2011 14:00 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you log an enhancement for this?

Jason


On 7/25/2011 6:38 PM, Scroon wrote:
> Hello,
>
> For a custom parameter page using BIRT tag library:
>
> <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
> pageEncoding="ISO-8859-1"%>
> <%@ taglib uri="/birt.tld" prefix="birt" %>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> <title>Insert title here</title>
> </head>
> <body>
>
> <birt:parameterPage id="birtParmPage" reportDesign="report\Report.rptdesign"
> name="my form"
> pattern="frameset"
> format="html"
> isCustom="true"
> showTitle="true"
> showToolBar="true"
> showNavigationBar="true"
> target="content"
>>
>
> Cascading Parameter1:
> <birt:paramDef id="5" name="ClientName"/>
> <br>
> Cascading Parameter2:
> <birt:paramDef id="22" name="Strategy" />
>
> <input type="submit" name="submit" value="Run Report"/>
> </birt:parameterPage>
> <br>
> </body>
> </html>
>
> Here the cascading parameter Strategyis set to allow multiple value in BIRT designer, since it's the last child of the cascading parameter group.
>
> And it works well with default parameter page of BIRT:
>
>
> However, in my custom parameter page, it always be rendered as a single-value list box:
>
>
> which can not allow use to select multiple values.
>
> Is there anyway to have it rendered as a multi-value list box like in default paramter page of BIRT ?
>
> Thanks in advance!
>
Re: Multi-value cascading parameters in Custom Parameter Page [message #702549 is a reply to message #702546] Tue, 26 July 2011 14:04 Go to previous messageGo to next message
Scroon  is currently offline Scroon Friend
Messages: 28
Registered: June 2011
Junior Member
Sure, and same problem with regular parameters with multi-values


Jason Weathersby wrote on Tue, 26 July 2011 10:00
Can you log an enhancement for this?

Jason


On 7/25/2011 6:38 PM, Scroon wrote:
> Hello,
>
> For a custom parameter page using BIRT tag library:
>
> <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
> pageEncoding="ISO-8859-1"%>
> <%@ taglib uri="/birt.tld" prefix="birt" %>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> <title>Insert title here</title>
> </head>
> <body>
>
> <birt:parameterPage id="birtParmPage" reportDesign="report\Report.rptdesign"
> name="my form"
> pattern="frameset"
> format="html"
> isCustom="true"
> showTitle="true"
> showToolBar="true"
> showNavigationBar="true"
> target="content"
>>
>
> Cascading Parameter1:
> <birt:paramDef id="5" name="ClientName"/>
> <br>
> Cascading Parameter2:
> <birt:paramDef id="22" name="Strategy" />
>
> <input type="submit" name="submit" value="Run Report"/>
> </birt:parameterPage>
> <br>
> </body>
> </html>
>
> Here the cascading parameter Strategyis set to allow multiple value in BIRT designer, since it's the last child of the cascading parameter group.
>
> And it works well with default parameter page of BIRT:
>
>
> However, in my custom parameter page, it always be rendered as a single-value list box:
>
>
> which can not allow use to select multiple values.
>
> Is there anyway to have it rendered as a multi-value list box like in default paramter page of BIRT ?
>
> Thanks in advance!
>

Re: Multi-value cascading parameters in Custom Parameter Page [message #702555 is a reply to message #702549] Tue, 26 July 2011 14:10 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Thanks. Just log it for all of them.

Jason

On 7/26/2011 10:04 AM, Scroon wrote:
> Sure, and same problem with regular parameters with multi-values
>
>
> Jason Weathersby wrote on Tue, 26 July 2011 10:00
>> Can you log an enhancement for this?
>>
>> Jason
>>
>>
>> On 7/25/2011 6:38 PM, Scroon wrote:
>> > Hello,
>> >
>> > For a custom parameter page using BIRT tag library:
>> >
>> > <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
>> > pageEncoding="ISO-8859-1"%>
>> > <%@ taglib uri="/birt.tld" prefix="birt" %>
>> > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>> "http://www.w3.org/TR/html4/loose.dtd">
>> > <html>
>> > <head>
>> > <meta http-equiv="Content-Type" content="text/html;
>> charset=ISO-8859-1">
>> > <title>Insert title here</title>
>> > </head>
>> > <body>
>> >
>> > <birt:parameterPage id="birtParmPage"
>> reportDesign="report\Report.rptdesign"
>> > name="my form"
>> > pattern="frameset"
>> > format="html"
>> > isCustom="true"
>> > showTitle="true"
>> > showToolBar="true"
>> > showNavigationBar="true"
>> > target="content"
>> >>
>> >
>> > Cascading Parameter1:
>> > <birt:paramDef id="5" name="ClientName"/>
>> > <br>
>> > Cascading Parameter2:
>> > <birt:paramDef id="22" name="Strategy" />
>> >
>> > <input type="submit" name="submit" value="Run Report"/>
>> > </birt:parameterPage>
>> > <br>
>> > </body>
>> > </html>
>> >
>> > Here the cascading parameter Strategyis set to allow multiple value
>> in BIRT designer, since it's the last child of the cascading parameter
>> group.
>> >
>> > And it works well with default parameter page of BIRT:
>> >
>> >
>> > However, in my custom parameter page, it always be rendered as a
>> single-value list box:
>> >
>> >
>> > which can not allow use to select multiple values.
>> >
>> > Is there anyway to have it rendered as a multi-value list box like
>> in default paramter page of BIRT ?
>> >
>> > Thanks in advance!
>> >
>
>
Previous Topic:MONTH IS NOT IN PROPER ORDER IN CHART
Next Topic:using UI libraries in custom parameter page
Goto Forum:
  


Current Time: Fri Apr 19 11:35:00 GMT 2024

Powered by FUDForum. Page generated in 0.03818 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top