cancel
Showing results for 
Search instead for 
Did you mean: 

Iterate all node value in context

Former Member
0 Kudos

Hi experts,

I have have Table UI bounded Datasource is AA node in context. On the Table UI i have button to generate the report by using all data in AA node. The problem is when i click the button to generate the report it generates the data only currently shown on the Table UI. Let say the AA node has 100 records each page has 20 record. It generate report only 20 record shown in the current page. It seem like when i get the AA node from context the size is only 20 records.How can i get all data of AA node in the context?

The code is below :

		int resultSize = wdContext.nodeAA_Log().size();
		StringBuffer resultBuffer = new StringBuffer();

		IPrivateReportView.AA_LogElement element;
		for(int i = 0; i < resultSize; i++)
		{
			element = wdContext.nodeAA_Log().getAA_LogElementAt(i);
			// Do something.
		}

Thank you in advance,

Noppong

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

print some debug info

i think it should be your code issue.

Former Member
0 Kudos

Hi John Wu,

Thanks for your reply. It was my mistake.Right now the issue has been solved. I look into the wrong context.

Thanks,

Noppong

Answers (0)