Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Drop down box for returned rows?
Drop down box for returned rows? [message #162888] Fri, 19 May 2006 12:28 Go to next message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

Is there a way in BIRT to have a the returned row in a dataset display in
a dropdown box in a BIRT report? Is there anything in BIRT that supports
this? Is it possible to do this via or in a txt box as HTML/dynamic text
or javascript? Thanks.
Re: Drop down box for returned rows? [message #163227 is a reply to message #162888] Sat, 20 May 2006 17:39 Go to previous messageGo to next message
Peter Fopma is currently offline Peter FopmaFriend
Messages: 81
Registered: July 2009
Member
Darwin, I am looking for the same thing.
I found an css example how to drop down part of report. Now
I am looking for a way to get this into BIRT - no luck yet...
It uses pseudo-elements and pseudo-classes to achieve the
effect which are rejected when trying to import them into BIRT.

Do you have an example how to dropdown tables in HTML, maybe
without css? Maybe we could start from HTML/Javascript and work out way
back to get that into BIRT. Unfortunately my knowledge of HTML is
limited...

Peter
Re: Drop down box for returned rows? [message #163433 is a reply to message #163227] Mon, 22 May 2006 15:08 Go to previous message
Eclipse UserFriend
Originally posted by: cruzd.alum.rpi.edu

Hey Peter,

Basically i'm following this HTML dropdown box example i found on this
page.
http://www.htmlcodetutorial.com/linking/linking_famsupp_114. html.

I tried copying and pasteing the code into a BIRT text box with the
HTML/Dynamic Text selected. It doesn't seem to work.

Below is my HTML code that i'm trying.

<HTML>

<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
function dropdown(mySel)
{
var myWin, myVal;
myVal = mySel.options[mySel.selectedIndex].value;
if(myVal)
{
if(mySel.form.target)myWin = parent[mySel.form.target];
else myWin = window;
if (! myWin) return true;
myWin.location = myVal;
}
return false;
}
//-->
</SCRIPT>
</HEAD>

<BODY>
<FORM
ACTION="../cgi-bin/redirect.pl"
METHOD=POST onSubmit="return dropdown(this.gourl)">
<SELECT NAME="gourl">
<OPTION VALUE="">Choose a Destination...

<OPTION VALUE="http://www.google.com" >google
<OPTION VALUE="http://www.cnn.com" >cnn
<OPTION VALUE="http://www.ninthwonder.com" >Ninth Wonder

</SELECT>

<INPUT TYPE=SUBMIT VALUE="Go">
</FORM>
</BODY>
</HTML>
Previous Topic:probleam in dataset
Next Topic:Chart image location?
Goto Forum:
  


Current Time: Fri Sep 20 15:09:13 GMT 2024

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

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

Back to the top