Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » dynamic width,height in birt viewer tag in jsp
dynamic width,height in birt viewer tag in jsp [message #731909] Mon, 03 October 2011 09:08 Go to next message
Eclipse UserFriend
Hi,
I am using an embedded birtviewer in jsp to display the report.
here i'm using tag as
<script="text/javascript">
function getScreenWidth()
{
return screen.width;
}

function getScreenHeight()
{
return screen.height;
}
</script>
<body>
<birt:viewer id="birtViewer" reportDesign="pacacct.rptdesign"
pattern="frameset"
height= getScreenHeight(); /* how should i assign the getScreenHeight()value here */
width=getScreenWidth(); /* how should i assign the getScreenWidth()value here */
format="html">
</birt:viewer>
</body>
i'm getting the screen width and height by using the above javascript code.Here i want to know how to set javascript value to height and width of the birt tag. Because i want to set the viewer to be fixed based on the client window size. So i want to make it as dynamically.
Please help me.

Thanks in Advance.
Re: dynamic width,height in birt viewer tag in jsp [message #818231 is a reply to message #731909] Sun, 11 March 2012 04:45 Go to previous message
Eclipse UserFriend
hi ,

did you get solution for following , please share, highly appreciated...

height= getScreenHeight(); /* how should i assign the getScreenHeight()value here */
width=getScreenWidth(); /* how should i assign the getScreenWidth()value here */



Regards,
Praveen Kumar
Previous Topic:issue with console
Next Topic:Grabbing byte code from post editor reconcile
Goto Forum:
  


Current Time: Wed May 21 11:47:50 EDT 2025

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

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

Back to the top