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     Javascript Post Increment Operator...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Javascript Post Increment Operator...
 Login/Join
 
Silver Member
posted
We are having some difficulty making the postincrement (++) operator work in one of our fex's...

Basically, we are creating an HTMLForm section in the fex and building the HTML and Javascript code into the fex... seems common enough.

The problem is in one of the JS sections, we want to use columnnumber++. when we run the code it ignores the ++ and doesn't continue with the execution.

if we use columnnumber += 1 it will work, but now our index is off. The rigged solution would be to initialize columnnumber = -1; this doesn't work either.

We have even tried referencing columnnumber as is in the JS and incrementing it at the bottom of our loop (i.e. columnnumber++) this also fails...

If we set alerts to view the code that should get produced it looks correct, but it will not run correctly.

Are there limitations to what you can build and run through the fex with respect to JS or HTML?

TIA,

Wayne
 
Posts: 35 | Registered: April 20, 2006Report This Post
Silver Member
posted Hide Post
We found the problem... It isn't with ++, it's with our string exceeding 4096 characters...

We are building < tr > statements and with all of the styling and jscript calls, we are exceeding the length.

Now we are trying to find ways to break up each < tr > statement into sub pieces so we don't exceed the length.


Wayne
 
Posts: 35 | Registered: April 20, 2006Report 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     Javascript Post Increment Operator...

Copyright © 1996-2020 Information Builders