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.
Does anyone know of a way to read a field from a .fex (or database) using javascript and then populate a text box in an HTML form with the data from that field? Example: I have an HTML form where the user can select to view, add, modify, delete records. What I'd like to happen, when they select modify, is for the text boxes to update with the data from the record they have selected to modify. They would select the record by either entering an id number or selecting from a drop down. I think I understand how to set the value using javascript, just not sure if there is a way to read the values from the .fex (or database) in order to work with them in javascript. Thanks in advance for any assistance anyone can offer.
I am on webfocus version 7702.This message has been edited. Last edited by: Kerry,
I am giving your method a try. I think I am pretty close, but cannot seem to get the textbox I am using to populate. I was able to successfully get your demo to work, and then convert it to pull the data from my data sources and change the variable and field names. The issue comes in when I try to figure out how to implement this into a form that I have already developed in HTML composer. Even if I open the demo in HTML composer (vs text editor), there is a lot of additional code that is inserted, making it very difficult for me to keep things straight. I know this is a difficult question to answer without seeing my code, but are there some tips you can share that might help me troubleshoot what is missing?
One error that I am seeing is "no valid cgi request to process." "Webfocus was called with an invalid request."This message has been edited. Last edited by: jhasty,
If you like, send me a PM with your code, and I'll take a look.
I suspect much of the infrastructure will already be there, so adding the code may be easy.
As with another post I saw today, the HTML composer likes to rewrite the code, so adding inside composer, I guess, may be the best way, if not add it manually and don't go back to composter.
Waz - I was able to get this to work as well. I just had some extra /form tags in my code and needed to connect the control name to the .fex I was using.
Thanks again for the help.This message has been edited. Last edited by: jhasty,