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] RIA Theme in HTML Composer won't allow you to disable an element?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] RIA Theme in HTML Composer won't allow you to disable an element?
 Login/Join
 
Member
posted
Good Morning Focal Point,

I converted a GUI page in HTML composer to the 'Clean' RIA Theme. The page looks much better and overall I'm very happy with the change. One thing I noticed though is that now, I can't disable the calendar control. I did this so I could control how far back the user could choose a date on the GUI page. If I disabled the calendar Control, it would still let the user pick a date but they couldn't type a date in manually? This is necessary because of the amount of data that might be pulled back if they put in a date more than one year ago.


Before RIA, there was an option under the properties section that was called 'disabled' and you could just choose 'Disabled' and any text in the calendar control would be greyed out. Once I converted, the 'Disabled' properity is no longer an option. Is there any way to get that functionality back on the calendar controls using RIA?

Thanks,

Keith

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


WebFOCUS 8.104
Windows, All Outputs
 
Posts: 28 | Location: Holland, MI USA | Registered: September 30, 2010Report This Post
Platinum Member
posted Hide Post
Well, my current client is at 7.6.10, so RIA is not available here. However, I have used the javascript:

 
    a=document.getElementById("calendar1");
	a.disabled=true;
 


in a lot of versions. I generally put that in the onInitialUpdate() function in the java script section of the page.


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
Guru
posted Hide Post
This code will stand up to product upgrades;

enable;
 IbComposer_enableHtmlElement('calendar1', true);  

disable:
 IbComposer_enableHtmlElement('calendar1', false); 


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
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report 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] RIA Theme in HTML Composer won't allow you to disable an element?

Copyright © 1996-2020 Information Builders