Hi,
I have multiple levels of hierarchy in my XMLBeans returned by LDControl.
I am using netui tags (as described in the docs) to generate a table in JSP.
I get the following exception -
Caught exception when evaluating expression
"{container.item.someLevel2Array}" with available binding contexts
[actionForm, pageFlow, globalApp, request, session, appication, pageContext,
bundle, container, url, pageInput]. Root cause:
java.lang.ArrayStoreException
The weird thing is that someLevel1Array works. Levels below 1 are not
working.
JSPF -
private SomeLDControl myControl;
public someNamespace.SomeDataDocument.SomeData.stuff[] stuffArray;
....
In JSPF action method -
someNamespace.SomeDataDocument var = myControl.LDQueryName(aForm.param);
getRequest().setAttribute("results", var);
stuffArray = var.getSomeData().getStuffArray();
return new Forward("success");
In JSP page -
<netui-data:repeater dataSource="{pageFlow.stuffArray}">
...
<netui-data:repeater dataSource="{container.item.level1DataArray[0]}"> <--
this works -->
...
<netui-data:repeater dataSource="{container.item.level2DataArray[0]}"> <--
DOES NOT WORK!! -->
Any clues what I might be missing?
Is there another way to do this?
Is there any way to turn on debugging in XMLBeans to see from where this
error is coming?
- vineet
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]