Path Procedures & Tables

I have created a path procedure that navigates through seven screens. The third screen has a table defined on it. I want to present all the data on one web page. How do I access the table data?

Hi Joan,

I’m not sure what your goal is but if I understand this could be good solution for you.
In GXBasicContext.java, inside gx_fillTable()

GXPathResponse res = getGXSession().executePath("7screensPath");

Do the following

I used the following code:
public void GetCustomerData() {
try {
GXPathRequest req = new GXPathRequest(“CollectCustInfo”);
String AcctNo = getTagsAccesor().getTagContent(“AccountNumber”);

	req.addVariable("AccountNumber", AcctNo);
	GXPathResponse res = getGXSession().executePath(req);
//	gx_fillForm(res.getScreens());
	GXIScreenCollection sc1 = res.getScreens();
	gx_fillForm(sc1);
	GXDefaultTable table1 = new GXDefaultTable("A20010MATable", sc1);
	table1.createTable(sc1);
	getTagsAccesor().setTagTable("A20010MATable", table1);
 	GXDefaultTable table2 = new GXDefaultTable("KB0290M1Table", sc1);
 	table2.createTable(sc1);
 	getTagsAccesor().setTagTable("KB0290MTable", table2);
 	GXDefaultTable table3 = new GXDefaultTable("KB0300M1Table", sc1);
 	table3.createTable(sc1);
 	getTagsAccesor().setTagTable("KB0300M1Table", table3);
	gx_handleHostResponse();
	}
	catch(GXGeneralException err){
		gx_handleSessionError(err);

I got all the data in table A20010MATable. But I only got 5 rows for the other two tables. KB0290M1Table has 10 rows on a screen. KB0300M1Table has 6 rows on a screen. The path ‘CollectCustInfo’ pages forward through both of these tables until end of data is reached.

Hi Joan,
We looked at your code and it seems to be right.
Make sure that on all the path steps the