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     [CLOSED] Dropdown chaining list using XML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Dropdown chaining list using XML
 Login/Join
 
Member
posted
Hi,

I tried the following CAR example for chaining using XML. i placed all 3 apps in baseapp and when i run the html, the dropdowns dont populate. can some body please help me on this issue. here is my code:

  
<HTML>
<HEAD>
<TITLE>HtmlPage
</TITLE>
<META content="WebFocus Report Layout Painter" name ="Generator">
<script id=IbiOptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls";
var multidrill = "multidrill";
var mntFormValidate = "mntFormValidate";
var dyncalendar = "dyncalendar";
var ibiOptions = new Array(cgipath,ibirls,mntFormValidate,multidrill);
</SCRIPT>
<script id=nls src="/ibi_html/javaassist/nls.js" type=text/javascript>
</SCRIPT>
<script id=ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript>
</SCRIPT>
<script id=ibigblloadCss type=text/javascript>
ibigblloadCss(null);
</SCRIPT>
</HEAD>
<BODY style="FONT-WEIGHT: 700; FONT-SIZE: 10pt; OVERFLOW: auto; FONT-STYLE: normal; FONT-FAMILY: System; BACKGROUND-COLOR: rgb[147,181,206); TEXT-DECORATION: none" bgColor=#000000>
< !--startibiitems-->
<FORM id=form2 style="Z-INDEX: 2; LEFT: 0px; WIDTH: 790px; POSITION: absolute; TOP: 60px; HEIGHT: 630px" tabIndex=2 name=form2 onsubmit="OnExecute[this);win_open[);return false;" method=get form_dist_between_desc_and_input="10" form_hor_dist_between_controls="10" vert_dist_between_controls="10" form_number_of_columns="4" form_number_of_visible_rows="4" form_prompt_location="1" fexlist_list="report1;form2" requests_list="6" operation="OR" multiple="multiple">
<INPUT id=ITEM2 style="Z-INDEX: 5; LEFT: 20px; WIDTH: 80px; POSITION: absolute; TOP: 160px; HEIGHT: 30px" type=submit value=Submit name ="button2" elementname="button2" elementtype="button" sourcetype="typeUrl" targetname targettype="0" onclickset="0">
<INPUT id=ITEM3 style="Z-INDEX: 6; LEFT: 110px; WIDTH: 80px; POSITION: absolute; TOP: 160px; HEIGHT: 30px" type=reset value=Reset name ="button3" elementname="button3" elementtype="button" sourcetype="typeUrl" targetname targettype="0" onclickset="0">

<SELECT id=ITEM1 style="Z-INDEX: 4; LEFT: 20px; WIDTH: 150px; POSITION: absolute; TOP: 5px; HEIGHT: 140px" size=5 name="Country" elementname="combobox1" elementtype="combobox" labelid caption="combobox" operation="NONE" ibiformat datatype="1" addalloption="1" dynalldisplayvalue="ALL" inchainindex="1" chainnumber="0" cacheruntimedata="0" displayfield="COUNTRY" numofrecords="-1" datafield="COUNTRY" sourcetype="typeFex" datasource="rvts668a.fex" IBIC_server IBIAPP_app="baseapp" datafieldtype="CHAR">
</SELECT>
<SELECT id=ITEM4 style="Z-INDEX: 11; LEFT: 185px; WIDTH: 150px; POSITION: absolute; TOP: 5px; HEIGHT: 140px" size=5 name="Car" elementname="combobox4" elementtype="combobox" labelid caption="combobox" operation="NONE" ibiformat datatype="1" addalloption="1" dynalldisplayvalue="ALL" inchainindex="2" chainnumber="0" cacheruntimedata="0" displayfield="CAR" numofrecords="-1" datafield="CAR" sourcetype="typeFex" datasource="rvts668b.fex" IBIC_server IBIAPP_app="baseapp" datafieldtype="CHAR">
</SELECT>
<SELECT id=ITEM5 style="Z-INDEX: 12; LEFT: 350px; WIDTH: 150px; POSITION: absolute; TOP: 5px; HEIGHT: 140px" size=5 name="Model" elementname="combobox5" elementtype="combobox" labelid caption="combobox" operation="NONE" ibiformat datatype="1" addalloption="1" dynalldisplayvalue="ALL" inchainindex="3" chainnumber="0" cacheruntimedata="0" displayfield="MODEL" numofrecords="-1" datafield="MODEL" sourcetype="typeFex" datasource="rvts668c.fex" IBIC_server IBIAPP_app="baseapp" datafieldtype="CHAR">
</SELECT>

<INPUT id=IBIMR_domain style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=developm/developm.htm name=IBIMR_domain>
<INPUT id=IBIMR_folder style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=#testinghlvo3 name=IBIMR_folder>
<INPUT id=ibif_ex style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=app/rvts668z.htm name=ibif_ex>
<INPUT id=ibiapp_app style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=baseapp name=ibiapp_app ismre="1">
<INPUT id=ibic_server style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value=SHARED name=ibic_server>
<input type='hidden' name='IBIMR_action' value="MR_RUN_FEX">
<input type='hidden' name='IBIMR_sub_action' value="MR_STD_REPORT">
<input type='hidden' name='IBIMR_fex' value="app/rvts668r.fex">
< !-- THIS IS THE SAME AS THE LINE ABOVE IT... -->
<input type='hidden' name='IBIF_ex' value="app/rvts668r.fex">
<input type='hidden' name='IBIMR_flags' value="">
</FORM>
<script type=text/javascript>
< !--
window.chain0=new Array(1);
window.chain0[0]=new String("ITEM1;ITEM4;ITEM5");
window.chain0[1]=0
//-->
</SCRIPT>
< !--endibiitems-->
<script id=OnloadHandler>
function OnLoad() {
< !--startibilines-->
UpdateData();
< !--endibilines-->
}
</SCRIPT>
</BODY>
</HTML>




the following 3 files are placed in baseapp procedures folder:

-* File rvts668a.fex
-*APP HOLD BASEAPP
-*
TABLE FILE CAR
SUM FST.COUNTRY
BY COUNTRY
ON TABLE PCHOLD FORMAT XML
END


-* File rvts668b.fex
-*APP HOLD BASEAPP
-*
-DEFAULT &Country = 'FOC_NONE'
TABLE FILE CAR
SUM FST.CAR
BY CAR
WHERE COUNTRY EQ '&Country'
ON TABLE PCHOLD FORMAT XML
END


-* File rvts668c.fex
-*APP HOLD BASEAPP
-*
-DEFAULT &Country = 'FOC_NONE'
-DEFAULT &Car = 'FOC_NONE'
TABLE FILE CAR
SUM FST.MODEL
BY MODEL
WHERE COUNTRY EQ '&Country'
AND CAR EQ '&Car'
ON TABLE PCHOLD FORMAT XML
END

This message has been edited. Last edited by: Kerry,
 
Posts: 2 | Registered: November 07, 2007Report This Post
Gold member
posted Hide Post
I see one problem with the WHERE statement for rvts668c, but that should have caused different problems than blank chains.

Change the WHERE on rvts668c to
WHERE COUNTRY EQ '&Country';
WHERE CAR EQ '&Car';

Can you say what version of Devstudio you're running? Best to test in the same version.


WebFocus 7x, 8x, Win / Linux, any output format
 
Posts: 70 | Location: reading, pa | Registered: April 07, 2007Report This Post
Expert
posted Hide Post
have you used the chaining tool in DevStu?
and then have you gone into the html and changed 'cacheruntimedata=0'
The chaining tool sets it to 1.
it won't work for separate fexes.
(oh, i see you have)
Where is your launch page? is it in mre?
the car file masters are in ibisamp
and i don't know if ibisamp is on your edasprof's apppath or not.
so put the APP APPENDPATH ibisamp
statement at the top of every fex.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
suviroks....

I have tried your same page using data source control values instead of procedure. (use master instead of XML) it works that way.

So... this is looking like a bug. You can open a case with customer support to confirm it. Some early releases with chaining had some chaining issues. You need to either workaround them, get a hotfix, or upgrade.

One time....I had an application that required a large chaining array. I worked around it by making a nightly extract (hold file), of just the fields needed for the array. Then using the master file approach for chaining was fine, because the data source contained only the needed fields.

Bottom line... works with masters, not xml, can you convert your chaining to masters?


WebFocus 7x, 8x, Win / Linux, any output format
 
Posts: 70 | Location: reading, pa | Registered: April 07, 2007Report This Post
Expert
posted Hide Post
Suvi,

Having problems finding the various errors that I mentioned in your previous post - here?

Asking for help again by opening a new post might elicit extra responses by making it more recent but unless you have a go at locating the errors yourself by reading and understanding what you are creating, then you will not get much further than where you currently are.

JNC has noted that there are a few errors in the where clauses but that is only part of the problem.

Remember, you copied that code from a post I made in 2006 and the software has changed since then - although I ran it in 7.6.9 OK.

Have a look through the form variables that you are setting. Think about APP PATH - and if you don't know what that is then read some manuals of take a course.

I will help you if you show willing and aptitude, but you need to show progress otherwise I am spending my own time in a fruitless manner.

T

Edited to note that your HTML code is unchanged between your previous post and this one - no progress ......

This message has been edited. Last edited by: Tony A,



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     [CLOSED] Dropdown chaining list using XML

Copyright © 1996-2020 Information Builders