Focal Point
[CLOSED] double list control

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1737089795

February 01, 2011, 04:13 PM
Enigma006
[CLOSED] double list control
Hai

I am using double list control in my UI.
When I populate it dynamically from a table, values go in correctly but BY DEFAULT one value goes into the "TO" list box. How to avoid this and make all data stay in "FROM" list box?

Thank you..

This message has been edited. Last edited by: Kerry,


8.1.05
HTML,PDF,EXL2K, Active, All
February 02, 2011, 06:59 AM
David Glick
What release do you have? By default the first value, or selected value if you picked on at design time, is selected. In later releases, we have a property called "Default selection" which will change that to what you would like.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
February 02, 2011, 11:22 AM
Enigma006
We use 7.6.11. When entering static values, we can set a selected value but when getting it dynamically, there is nothing to set as selected value..? I have this in the code but still it takes 1st value into it..
  
default="" selectedvalue=""



8.1.05
HTML,PDF,EXL2K, Active, All
February 03, 2011, 11:01 AM
Dan Pinault
One other gotcha we discovered is that the double-list does not preserve the order of items selected when using the Save Parameters function. When the page is re-loaded the selected items appear in the order they were in on the available side of the list rather than in the order you placed them on the selected side.

We just re-engineered our apps to use 2 single lists and added the necessary JavaScript for the buttons.


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
September 18, 2013, 09:27 AM
MAdams1
quote:
I have this in the code but still it takes 1st value into it..

default="" selectedvalue=""



Hi, did you ever have a work around for this? I am having the same issue in 7703.

Thanks
Michelle


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
September 18, 2013, 11:22 AM
Francis Mariani
I haven't had this particular issue in v7.7.03 or v7.7.05.

Here's what things look like in HTML Composer:




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
September 19, 2013, 08:11 AM
MAdams1
Thank you Francis, I did some further checking and my co-worker that is having this issue is using a RIA theme which appears to be causing the issue. I did a simple test, created a page with only a double list control on it and no RIA theme, works perfectly. I then added the RIA, which added in defaults that I changed to "no" and viola, broken. No matter what I try, if there is a RIA theme used there is always a default selection in the selectto box.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
September 19, 2013, 09:49 AM
Francis Mariani
I would not use RIA. As far as I know, it's not supported in v8.


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
September 19, 2013, 10:28 AM
MAdams1
We only have this one existing project that is using RIA. It's pretty extensive and has been in the works for some time. It will have to be re-done in v8. But we still have to get it to work in 7703 for awhile longer. I too was under the impression that RIA was not used in v8, but see that RIA themes can still be selected in the Document in HTML Composer v8, and there are more themes now.

version 8003 view;

This message has been edited. Last edited by: MAdams1,


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML