Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Including parameter entry UI in a BIRT report
Including parameter entry UI in a BIRT report [message #735268] Tue, 11 October 2011 11:34 Go to next message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
Is it possible to include UI (text boxes, combo boxes, radio buttons, etc.) for changing report parameters and rerunning the report in a BIRT report? It's good enough if it only works with HTML version of the report. Crossposted from StackOverflow.
Re: Including parameter entry UI in a BIRT report [message #735333 is a reply to message #735268] Tue, 11 October 2011 14:47 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes you can add html with the text element. Look at the attached
example. It uses a text element to add a <select> drop down to the top
of the report with a refresh button to re-run the report with a
different parameter. The options for the select are built using some
server side script on a hidden table and data item above the table.

Jason

On 10/11/2011 7:34 AM, Alexey Romanov wrote:
> Is it possible to include UI (text boxes, combo boxes, radio buttons,
> etc.) for changing report parameters and rerunning the report in a BIRT
> report? It's good enough if it only works with HTML version of the
> report.
> http://stackoverflow.com/questions/7725363/including-parameter-entry-ui-in-a-birt-report
>
Re: Including parameter entry UI in a BIRT report [message #735339 is a reply to message #735268] Tue, 11 October 2011 14:47 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes you can add html with the text element. Look at the attached
example. It uses a text element to add a <select> drop down to the top
of the report with a refresh button to re-run the report with a
different parameter. The options for the select are built using some
server side script on a hidden table and data item above the table.

Jason

On 10/11/2011 7:34 AM, Alexey Romanov wrote:
> Is it possible to include UI (text boxes, combo boxes, radio buttons,
> etc.) for changing report parameters and rerunning the report in a BIRT
> report? It's good enough if it only works with HTML version of the
> report.
> http://stackoverflow.com/questions/7725363/including-parameter-entry-ui-in-a-birt-report
>
Re: Including parameter entry UI in a BIRT report [message #735349 is a reply to message #735268] Tue, 11 October 2011 14:47 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes you can add html with the text element. Look at the attached
example. It uses a text element to add a <select> drop down to the top
of the report with a refresh button to re-run the report with a
different parameter. The options for the select are built using some
server side script on a hidden table and data item above the table.

Jason

On 10/11/2011 7:34 AM, Alexey Romanov wrote:
> Is it possible to include UI (text boxes, combo boxes, radio buttons,
> etc.) for changing report parameters and rerunning the report in a BIRT
> report? It's good enough if it only works with HTML version of the
> report.
> http://stackoverflow.com/questions/7725363/including-parameter-entry-ui-in-a-birt-report
>
Re: Including parameter entry UI in a BIRT report [message #735361 is a reply to message #735268] Tue, 11 October 2011 14:47 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes you can add html with the text element. Look at the attached
example. It uses a text element to add a <select> drop down to the top
of the report with a refresh button to re-run the report with a
different parameter. The options for the select are built using some
server side script on a hidden table and data item above the table.

Jason

On 10/11/2011 7:34 AM, Alexey Romanov wrote:
> Is it possible to include UI (text boxes, combo boxes, radio buttons,
> etc.) for changing report parameters and rerunning the report in a BIRT
> report? It's good enough if it only works with HTML version of the
> report.
> http://stackoverflow.com/questions/7725363/including-parameter-entry-ui-in-a-birt-report
>
Re: Including parameter entry UI in a BIRT report [message #735371 is a reply to message #735268] Tue, 11 October 2011 14:47 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes you can add html with the text element. Look at the attached
example. It uses a text element to add a <select> drop down to the top
of the report with a refresh button to re-run the report with a
different parameter. The options for the select are built using some
server side script on a hidden table and data item above the table.

Jason

On 10/11/2011 7:34 AM, Alexey Romanov wrote:
> Is it possible to include UI (text boxes, combo boxes, radio buttons,
> etc.) for changing report parameters and rerunning the report in a BIRT
> report? It's good enough if it only works with HTML version of the
> report.
> http://stackoverflow.com/questions/7725363/including-parameter-entry-ui-in-a-birt-report
>
Re: Including parameter entry UI in a BIRT report [message #735436 is a reply to message #735371] Tue, 11 October 2011 19:13 Go to previous messageGo to next message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
Great, thanks! I expect there should be no problem with embedding a datepicker in the same way either, right?
Re: Including parameter entry UI in a BIRT report [message #735582 is a reply to message #735436] Wed, 12 October 2011 09:41 Go to previous messageGo to next message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
On looking into details, using this is somewhat more complex than desired. I'll need to try and think if it can be abstracted nicely.
Re: Including parameter entry UI in a BIRT report [message #735592 is a reply to message #735582] Wed, 12 October 2011 10:07 Go to previous messageGo to next message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
If I understand what's going on here: http://code.google.com/a/eclipselabs.org/p/birt-functions-lib/wiki/BindParameters http://code.google.com/a/eclipselabs.org/p/birt-functions-lib/source/browse/branches/2.5.2/birt.functions.lib/src/innovent/birt/functions/BindParameters.java it should be possible...
Re: Including parameter entry UI in a BIRT report [message #735668 is a reply to message #735592] Wed, 12 October 2011 13:58 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes it should.

Jason

On 10/12/2011 6:07 AM, Alexey Romanov wrote:
> If I understand what's going on here:
> http://code.google.com/a/eclipselabs.org/p/birt-functions-lib/wiki/BindParameters
> http://code.google.com/a/eclipselabs.org/p/birt-functions-lib/source/browse/branches/2.5.2/birt.functions.lib/src/innovent/birt/functions/BindParameters.java
> it should be possible...
Re: Including parameter entry UI in a BIRT report [message #735674 is a reply to message #735668] Wed, 12 October 2011 14:16 Go to previous message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
Even simpler potentially for report developers would be to create custom ReportItems for parameter entry (Button, ComboList, TextBox, etc.). This is the route I am investigating now. Do you know any good public examples of custom report item extensions other than BIRT Controls and other variations on RotatedText?
Re: Including parameter entry UI in a BIRT report [message #735682 is a reply to message #735668] Wed, 12 October 2011 14:16 Go to previous message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
Even simpler potentially for report developers would be to create custom ReportItems for parameter entry (Button, ComboList, TextBox, etc.). This is the route I am investigating now. Do you know any good public examples of custom report item extensions other than http://code.google.com/a/eclipselabs.org/p/birt-controls-lib/ and other variations on RotatedText?
Re: Including parameter entry UI in a BIRT report [message #735711 is a reply to message #735668] Wed, 12 October 2011 14:16 Go to previous message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
Even simpler potentially for report developers would be to create custom ReportItems for parameter entry (Button, ComboList, TextBox, etc.). This is the route I am investigating now. Do you know any good public examples of custom report item extensions other than http://code.google.com/a/eclipselabs.org/p/birt-controls-lib/ and other variations on RotatedText?
Previous Topic:How to change embedded image for each row of table?
Next Topic:Dynamic Loading of Connection Parameters
Goto Forum:
  


Current Time: Tue Mar 19 05:56:01 GMT 2024

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

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

Back to the top