Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Dev Studio HTML Composer - "double list" buggy?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Dev Studio HTML Composer - "double list" buggy?
 Login/Join
 
Expert
posted
I scanned FocalPoint postings for "double list" and found several that pointed out bugs - hot fixes appear to correct some of these. It is annoying for someone new to the GUI tools to almost immediately discover that things just don't work.

I created a simple HTML page with one double-list on it. I assigned the left box to CAR.COUNTRY. I added a Reset button.

Select one or more values, click on the > button to add them to the selected box. Click on Reset, the values get re-added to the original box, but do not get removed from the selected box. Clicking on Reset repeatedly adds the first item from the left box to the right box.

Bug. Here's a darn good reason why the internals of this should be documented so we can figure out how to work around the bug.

<!-- Generated by Report Layout Painter -->
<HTML>
<HEAD>
<SCRIPT id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>
 
<SCRIPT id=IBI_OptionsScript type=text/javascript>
var rltVersion = "764";
var cgipath = "cgipath";
var ibirls = "ibirls2";
 
var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";
 
var ibixmltree="ibixmltree";
 
var ibiOptions = new Array(cgipath,ibirls);
</SCRIPT>
 
<SCRIPT id=IBI_nls src="/ibi_html/javaassist/nls.js" type=text/javascript></SCRIPT>
 
<SCRIPT id=IBI_ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript></SCRIPT>
 
<SCRIPT id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);</SCRIPT>
<TITLE>HtmlPage</TITLE>
<SCRIPT id=clientEventHandlersJS type=text/javascript>
//Begin function window_onload
function window_onload() {
 
UpdateData();
 
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload
 
//Begin function customselect1_OnClick
function customselect1_OnClick(ctrl) {
// TODO: Add your event handler code here
moveSelection(ctrl, false)
}
//End function customselect1_OnClick
 
//Begin function customselect1_OnDblClick
function customselect1_OnDblClick(ctrl) {
// TODO: Add your event handler code here
moveSelection(ctrl, true)
}
//End function customselect1_OnDblClick
</SCRIPT>
 
<SCRIPT for=window eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>
</HEAD>
<BODY style="OVERFLOW: auto" edaconnectionrequired="true">
<SPAN language=javascript id=customselect1 ondblclick=customselect1_OnDblClick(this) style="Z-INDEX: 2; LEFT: 10px; WIDTH: 370px; POSITION: absolute; TOP: 10px; HEIGHT: 160px" onclick=customselect1_OnClick(this) tabIndex=2 elementtype="36">
<SPAN id=ITEM2 style="Z-INDEX: 3; LEFT: 0px; WIDTH: 370px; POSITION: absolute; TOP: 0px; HEIGHT: 19px" tabIndex=3>double list test1</SPAN> 
<INPUT id=customselect1_addbutton style="Z-INDEX: 4; LEFT: 170px; WIDTH: 24px; POSITION: absolute; TOP: 40px; HEIGHT: 24px; BACKGROUND-COLOR: lavender" tabIndex=4 type=button value=">" name=button1> 
<INPUT id=customselect1_removebutton style="Z-INDEX: 5; LEFT: 170px; WIDTH: 24px; POSITION: absolute; TOP: 80px; HEIGHT: 24px; BACKGROUND-COLOR: lavender" tabIndex=5 type=button value="<" name=button2> 
<SELECT id=customselect1_selectfrom style="Z-INDEX: 6; LEFT: 0px; WIDTH: 150px; POSITION: absolute; TOP: 29px; HEIGHT: 100px" tabIndex=6 multiple size=3 name=listbox1 dynalldisplayvalue="ALL" addalloption="0" ibiformat="A10" datafield="COUNTRY" displayfield ibiapp_app="fmarian" ibic_server="EDASERVE" sourcetype="typeMaster" datatype="1" datasource="CAR.mas" defaultlocation="29,0,83,59"></SELECT> 
<SELECT id=customselect1_selectto style="Z-INDEX: 7; LEFT: 210px; WIDTH: 150px; POSITION: absolute; TOP: 30px; HEIGHT: 90px" tabIndex=7 size=150 name=listbox2></SELECT> 
<INPUT id=reset1 style="Z-INDEX: 8; LEFT: 300px; POSITION: absolute; TOP: 130px" tabIndex=8 type=reset value=Reset name=reset1></SPAN> 
<INPUT id=layoutinfo style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden inputcontrolids="customselect1_selectfrom;customselect1_selectto">
<INPUT id=ibiapp_app style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=fmarian name=ibiapp_app></BODY>
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>
 
 
 

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Francis, I have to admit, this is why I either build it my self (I then now how it works) or spend vast amounts of time going through js libraries to understant it.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
I like the way you can duplicate the value.
It would certainly make me go crazy.



This is one of the issues with using the Reset button, and not a button that restores the original state of the page. My guess is that any other opject would reset, but lists are not normal. Have you tried the reset in other browsers ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
The thing is that this "double list" is not a normal HTML element - it's composed of two individual select lists and a couple of buttons. The Reset would have to manually coded, unless the GUI would generate the proper code, which it should.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
I agree.

Another case with IBI ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Hi Francis,

I passed this one to our product group and here is the suggestion: If you would specify double-list in the New Parameters dialog, then it would generate the control and the reset button and it would be fine.

Cheers,
Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Guru
posted Hide Post
We have abandoned the use of the double-list for the reasons mentioned here plus the fact that the selected order is not preserved when doing Saved Parameter reports. We just use 2 single list controls and add the necessary JavaScript for the buttons. Takes longer to set up but works exactly the way we would expect it to.


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007Report This Post
Expert
posted Hide Post
I have successfully created a hybrid Dev Studio GUI / jQuery double list. The thing can still be opened in the GUI (which is what management seem to need, based on some salesman's over-sales-pitch). The required jQuery is minimal. I can share the code...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Dev Studio HTML Composer - "double list" buggy?

Copyright © 1996-2020 Information Builders