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 have a need to generate a lot of identical code for all fieldnames in a stack. For example: Form2.T10.ReadOnly=stk_ReadOnly.T10; Form2.T10.ToolTipText=IF stk_ReadOnly.T10 EQ "0" then var_ttrw else var_ttro; Form2.T20.ReadOnly=stk_ReadOnly.T20; Form2.T20.ToolTipText=IF stk_ReadOnly.T20 EQ "0" then var_ttrw else var_ttro; Form2.T30.ReadOnly=stk_ReadOnly.T30; Form2.T30.ToolTipText=IF stk_ReadOnly.T30 EQ "0" then var_ttrw else var_ttro; Form2.T40.ReadOnly=stk_ReadOnly.T40; Form2.T40.ToolTipText=IF stk_ReadOnly.T40 EQ "0" then var_ttrw else var_ttro; F....
Normally i would code a loop in Dialog Manager and generate the fieldnames and the lines of code. Am i rignt in suspecting that i cannot do this in an MNT file?
Regards, MatsThis message has been edited. Last edited by: Mats Sjoberg,
Mats Sundelin Cybernetics Business Solutions AB
Posts: 31 | Location: Stockholm, sweden | Registered: January 19, 2005
It looks like you want to generate code to set form properties. If so, it might be easier to do that in JavaScript, like processing an array of controls with name substitution to get the right data source for each property value. Of course all the data element would have to be part of the run-time page.