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] double list box - "Keep Selected Values"

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] double list box - "Keep Selected Values"
 Login/Join
 
Platinum Member
posted
Hi,
Is there a way to change the value of "Keep Selected Values" property via javascript.
Something like
document.getElementById('customselect1').keepselectedvalue = 'No' ; (incorrect)

I would like to control this property based on the selection of "radio Button" on html page.

Thanks

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8202M
 
Posts: 167 | Location: Montreal | Registered: September 23, 2014Report This Post
Virtuoso
posted Hide Post
Where do you find that property : "Keep Selected Values" on a double list box ?

Have you tried to set it to : "false" instead of "No" ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
I see it under the Properties window.
But not sure what the correct syntax is to set it to "No" using javascript.

The code below is just a guess and not a correct syntax.
document.getElementById('customselect1').keepselectedvalue = 'No' ; (incorrect)


WebFOCUS 8202M
 
Posts: 167 | Location: Montreal | Registered: September 23, 2014Report This Post
Virtuoso
posted Hide Post
A good way to find out what is the proper property is to set it to "Yes" using the GUI (HTML Composer) and save.
Then open the HTML in text editor and keep the code aside.

Then change the property to "No" using the GUI and save.
Then re-open the HTML in text editor and compare with the previous version.

You will then find that this : "usercontrolsselectedvalues" has changed from "Yes" to "No".

You could then end up with
document.getElementById('customselect1').usercontrolsselectedvalues = 'No';


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Thanks.

Sorry, I should have mentioned that I have tried this already and it doesn't seem to change the property.


WebFOCUS 8202M
 
Posts: 167 | Location: Montreal | Registered: September 23, 2014Report This Post
Virtuoso
posted Hide Post
BM

Sounds like it is time to open a case with techsupport on this.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 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] double list box - "Keep Selected Values"

Copyright © 1996-2020 Information Builders