Any suggestion, friends? On Wed, Feb 17, 2016 at 11:09 AM, Mihir Chhaya <mihir.chh...@gmail.com> wrote:
> Hello, > > My apologies if this is not the right place to post wicketstuff related > issues. If so, then please advice me with right forum/link. > > I am using Wicketstuff-editable-grid-7.1.0 (with dependency on > wicketstuff-inmethod-grid-7.1.0). > > *Problem:* > When two editable grids from two separate child panels are rendered into > single container (parent panel), then clicking 'Edit' link in the row for > ClassA related editable grid throws 'No get method defined for the class' > error for ClassB property which is related to another editable grid. > > *Requirement:* > I have a page with 4 different tabs. On one of the tabs, I want to use a > panel with two editable grids for two different static dataset Add/Edit > (One grid for tableA, another for tableB). > > *Efforts:* > I have created two separate panel classes as below - each with it's own > form and editable grid with it's own editable data provider with respective > array list of different types. The columns supplied to EditableGrid class > contains > EditableTextFieldPropertyColumn<ClassA, String> and <ClassB, String> > respectively with own properties. Please note that I have used distinct > markup Ids for each panel and grid components to avoid any duplication; > with setting output markup id to true. > > PanelA extends Panel{ > > //Constructor > // formA with editableGridA with editableDataProviderForClassA > } > > PanelB extends Panel{ > > //Constructor > //formB with editableGridB with editableDataProviderForClassB using > } > > Those two panels are added into parent panel as below: > > TabbedPanel extends Panel{ > > //Constructor > // Panel panelA = new PanelA("aPanel"); > // Panel panelB = new PanelB("bPanel"); > // add(panelA); add(panelB); > } > > As I have mentioned in the problem above; clicking on edit link for classA > related grid is throwing error for classB property, which is associated > with different editable grid. > > Has anybody experienced similar issue? Any help/suggestions? > > Thanks, > -Mihir. > > >