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.
I am looking to add checkboxes to html output from a fex. I've searched the forum and found examples but none of them seem to work, they only print the actual html code (ie
<input type="checkbox" name=....
) in the output and not the actual checkbox control.
Am I missing something, is there a setting in the admin console that I am not aware of?
Thanks! MattThis message has been edited. Last edited by: FP Mod Chuck,
Adding checkbox's are not done from a fex. If a fex has a parameter in it when you add the fex to the html form a popup box will be displayed and you can choose to add a checkbox as the object used by that parameter.
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, 2005
Well I learn something new everyday. I found this sample code searching the techsupport site and didn't realize it was possible.
<code> DEFINE FILE CAR cb/A100= IF COUNTRY EQ 'ENGLAND' THEN '<input type="CHECKBOX" id="XXX" checked="checked">' ELSE '<input type="CHECKBOX" id="XXX" >'; END TABLE FILE CAR PRINT cb BY COUNTRY END </code>
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, 2005
TABLE FILE CAR
SUM
SALES/D12
RETAIL_COST
DEALER_COST
COMPUTE LINE_NUM/P11 = LAST LINE_NUM + 1; NOPRINT
COMPUTE CHKBOX/A250V= '<input type="checkbox" name=LINE'||TRIM_(BOTH, ' ',PTOA(LINE_NUM, '(P11)', 'A11'))||' VALUE="' || CAR || '">'; AS ''
BY COUNTRY
BY CAR
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
ENDSTYLE
END
-RUN
This message has been edited. Last edited by: Hallway,
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
I hope it works for my drop down list issue in 8204. They are now showing something that looks like it could be the ENCODED text, , from HTMLENCODE being set to ON.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005