We are having issues with chaining and it seems the cause is a "+" sign. I was able to replicate the issue with the CAR file. Below are 3 FEXES with output to XML and a HTML launch page. The value from the CAR dropdown is passed properly to the MODEL dropdown if the value does not have a "+" sign.
Your help is greatly appreciated.
UPDATE: We tried replacing + with - and it behaves the same way.
-* File test_param_country.fex -*-SET ECHO = ALL;
TABLE FILE CAR SUM COUNTRY BY COUNTRY ON TABLE SET HOLDLIST PRINTONLY ON TABLE PCHOLD FORMAT XML END -RUN
-* File test_param_car.fex -*-SET ECHO = ALL;
-DEFAULT &COUNTRY = 'ITALY'
DEFINE FILE CAR CAR/A20 = IF CAR EQ 'ALFA ROMEO' THEN 'ALFA + ROMEO' ELSE CAR; END
TABLE FILE CAR SUM CAR AS 'CAR' BY CAR AS 'CAR' WHERE COUNTRY EQ '&COUNTRY' ON TABLE SET HOLDLIST PRINTONLY ON TABLE PCHOLD FORMAT XML END -RUN
This message has been edited. Last edited by: Kerry,
Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10 QA: WebFOCUS 7.6.10, Data Migrator 7.6.10 Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8 Windows 2K3, Tomcat 5.5.17, IIS 6 Usage: HTML, PDF, Excel, Self-serve, BID and MRE
April 02, 2012, 03:10 PM
Mary Watermann
I was able to get you code to work.
1. In the HTML Composer select the PARAMETER tab 2. Click on the ARROW between COUNTRY and CAR 3. In the Properties and Settings window, select COUNTRY from the "..." for the "Resolves parameter" value. 4. Repeat #3 for the next chain (arrow) but this time select CAR.
WF 7.6.10, Windows, PDF, Excel
April 02, 2012, 04:54 PM
dballest
Thanks for the reply Mary. I switched my DevStudio to 7.7.03 and updated the HTML file as per your suggestion but no luck. I then proceeded to re-create the file in 7703 and it works now. I need to convert test this file into Webfocus 7.6.2 (production version). I'll keep you posted.
Thanks, DanThis message has been edited. Last edited by: dballest,
Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10 QA: WebFOCUS 7.6.10, Data Migrator 7.6.10 Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8 Windows 2K3, Tomcat 5.5.17, IIS 6 Usage: HTML, PDF, Excel, Self-serve, BID and MRE