Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » is it possible to hide web viewer buttons programmatically?
is it possible to hide web viewer buttons programmatically? [message #718007] Tue, 23 August 2011 01:51 Go to next message
cbr125x  is currently offline cbr125x Friend
Messages: 34
Registered: July 2011
Member
Is there a way to hide the web viewer button programmatically?
but not in "WebViewerExample\webcontent\birt\pages\control\ToolbarFragment.jsp".
because i want to hide and display the buttons dynamically base on the report i viewed.
Thx
(no subject) [message #718201 is a reply to message #718007] Tue, 23 August 2011 14:24 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes. Take a look at this example.
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1403-turn-off-toolbar-buttons-within-a-report/

Jason

On 8/22/2011 9:51 PM, cbr125x wrote:
> Is there a way to hide the web viewer button programmatically?
> but not in
> "WebViewerExample\webcontent\birt\pages\control\ToolbarFragment.jsp".
> because i want to hide and display the buttons dynamically base on the
> report i viewed.
> Thx
Re: (no subject) [message #718326 is a reply to message #718201] Wed, 24 August 2011 01:49 Go to previous messageGo to next message
cbr125x  is currently offline cbr125x Friend
Messages: 34
Registered: July 2011
Member
Thanks Jason, it works, btw in that example only "toc" and "exportReport" button you hide. how do i know the name of the other buttons? where can i see the info for that?
Thx again..


Jason Weathersby wrote on Tue, 23 August 2011 10:24
Yes. Take a look at this example.
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1403-turn-off-toolbar-buttons-within-a-report/

Jason

On 8/22/2011 9:51 PM, cbr125x wrote:
> Is there a way to hide the web viewer button programmatically?
> but not in
> "WebViewerExample\webcontent\birt\pages\control\ToolbarFragment.jsp".
> because i want to hide and display the buttons dynamically base on the
> report i viewed.
> Thx

Re: (no subject) [message #718330 is a reply to message #718326] Wed, 24 August 2011 01:59 Go to previous messageGo to next message
cbr125x  is currently offline cbr125x Friend
Messages: 34
Registered: July 2011
Member
Btw i already found the answer.
we can see the name of the buttons in "TomcatInstall\webapps\BIRT-Demo\webcontent\birt\pages\control\ToolbarFragment.jsp"

Thx

cbr125x wrote on Tue, 23 August 2011 21:49
Thanks Jason, it works, btw in that example only "toc" and "exportReport" button you hide. how do i know the name of the other buttons? where can i see the info for that?
Thx again..


Jason Weathersby wrote on Tue, 23 August 2011 10:24
Yes. Take a look at this example.
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1403-turn-off-toolbar-buttons-within-a-report/

Jason

On 8/22/2011 9:51 PM, cbr125x wrote:
> Is there a way to hide the web viewer button programmatically?
> but not in
> "WebViewerExample\webcontent\birt\pages\control\ToolbarFragment.jsp".
> because i want to hide and display the buttons dynamically base on the
> report i viewed.
> Thx


Re: (no subject) [message #1387761 is a reply to message #718330] Wed, 25 June 2014 15:00 Go to previous message
Mathew John is currently offline Mathew JohnFriend
Messages: 1
Registered: June 2014
Junior Member
I want to do something simmilar. But Im not able to open the link. May be its expired. Can someone provide me a way to hide navigation bar programmatically?
Previous Topic:Birt Migration 2.2.2 to 3.7.2
Next Topic:Scripted data source: java.util.Map
Goto Forum:
  


Current Time: Mon Dec 22 20:11:13 GMT 2014

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

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