[CASE-OPENED] Chaining - is this a bug or am I doing something wrong?
I've tried with customer support but I am getting no where so I am curious if anyone out there knows if the following is a bug or if I'm doing something wrong.
As I said previously, we are trying to use the same field - and it doesn't matter if you try to load it from our own fex (which you say is not formed correctly) or directly out of the database - it still doesn't work.
Let's say I want my users to be able to run a report for cars whose sales were greater than a certain amount but less than a different amount.
I would put two listboxes on the form. One for the starting point and one for the ending point. I'd tell the listboxes to dynamically populate themselves from the CAR file off the SALES field. Then I'd chain them and apply the chaining logic. In all cases, other than greater than or greather than equal to, it works. When we try greater than or greater than equal to, there is a javascript error.
Is this a bug or am I doing something wrong?This message has been edited. Last edited by: Kerry,
March 27, 2009, 07:55 AM
gregv
ChannyS:
What are you using for 'Greater Than' and 'Greater Than Equal To' for your dropdown value?
Could you submit some sample html/js code that does not work?
Greg
current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11
I ran your code, Clicked on the 1st box, held the Ctrl key down, clicked on the second box, clicked on the chain +, on the toolbar, that is highlighted in yellow, clicked the run button.
Since you said you clicked on the toolbar and clicked on the plus button, it sounded to me like you re-chained them. I don't understand how you and I can run the same thing against the same version of WebFOCUS and have different results.
I guess I wasn't clear - the basic chaining is working for me as well. It's when I apply chaining logic - greater than, or greater than or equal to that doesn't work. I believe that is what I provided in the HTML above.
I am just shooting in the dark, but try to encode the > and >=. Change the > to
%3E
and the >= to
%3E%3D
So in the source where you have the expression=">=" attribute of the select tag it should look like
expression="%3E%3D"
.
I have no clue if this will actually solve your problem, but it is worth a shot......
7.6.6 Mainframe 7.6.4 Web Focus Windows
March 31, 2009, 09:55 AM
ChannyS
Thanks for the idea. Didn't help.
After days of telling me to do things that I wasn't trying to do and telling me that it works those ways, and then asking me why I'm trying to do it the way I'm trying to do it, the guy who was assigned to the case finally says "I think it's a bug"....