Hello:
I'm using jdeveloper ver. 11.1.2.3.0 . I'm trying to add new RichPanelBox components, with a region inside to a page programatically. I create the RichPanelBox and place inside a RichRegion but when i use the .setValue method of the RichRegion to set the RegionModel I receive an error:
<PropertyKey> <saveValue> Valor no serializable: oracle.adf.controller.internal.binding.DCTaskFlowBinding$InnerTaskFlowRegionModel@16f8890 para la clave: UINodePropertyKey[value,15]
I tried also with the .setValueExpression method and i'm receiving the same error.
Here is the chunk of code where i am having this problem:
private void maximize(ActionEvent actionEvent) {
String id = actionEvent.getComponent().getId().replace("maximize_","");
RichRegion region = new RichRegion();
RegionModel regionModel = this.getRegionModelTaskFlow(id);
region.setId("region_"+id);
region.setValue(regionModel);
RichPanelBox panelBox=(RichPanelBox)JSFUtils.findComponentInRoot("maximized");
panelBox.getChildren().add(region);
.
.
.
}
What I'm trying to achieve is to add dynamically new PanelBoxes and assing to them a taskflow, all in runtime.
I saw a previous thread with likely the same problem is this (
851878 in this case (2009) it was pointed that it was an ER.
Thanks