StringTokenizer tokenizer2 = new StringTokenizer(rowLinkClasses, ",");
StringTokenizer tokenizer3 = new StringTokenizer(rowLinkTypes, ",");
while(tokenizer1.hasMoreTokens() && tokenizer2.hasMoreTokens() && tokenizer3.hasMoreTokens())
{
rowList.add(rowIndex,
new ActionParameter(tokenizer1.nextToken(), tokenizer2.nextToken(), tokenizer3.nextToken()));
rowIndex++;
}
context.put(ROW_LINK, rowList);
setParameterToTemp(portlet, rundata, ROW_LINK, rowList);
//System.out.println("readLink: rowListSize"+rowList.size());
}
String tableLinkIds= getParameterFromRegistry(portlet,TABLE_LINK_IDS,null);
String tableLinkClasses= getParameterFromRegistry(portlet,TABLE_LINK_TARGETS,null);
String tableLinkTypes= getParameterFromRegistry(portlet,TABLE_LINK_TYPES,null);
if( tableLinkIds != null && tableLinkIds.length() > 0 )
{
tableList = new ArrayList();
int tableIndex = 0;
StringTokenizer tokenizer1 = new StringTokenizer(tableLinkIds, ",");
StringTokenizer tokenizer2 = new StringTokenizer(tableLinkClasses, ",");
StringTokenizer tokenizer3 = new StringTokenizer(tableLinkTypes, ",");
while(tokenizer1.hasMoreTokens() && tokenizer2.hasMoreTokens() && tokenizer3.hasMoreTokens())
{
tableList.add(tableIndex,
new ActionParameter(tokenizer1.nextToken(), tokenizer2.nextToken(), tokenizer3.nextToken()));
tableIndex++;
}
context.put(TABLE_LINK, tableList);
setParameterToTemp(portlet, rundata, TABLE_LINK, tableList);
//System.out.println("readLink: tableListSize: "+tableList.size());