java - Vaadin and SQLContainers not working with ListSelects -
this seems simple, reason using vaadin 7.0.7, listselect seems marked dirty while obtaining data display.
the code
.... fieldgroup group = new fieldgroup(bean); sqlcontainer c = new sqlcontainer(new tablequery(null, "user", "system", pool, new oraclegenerator())); listselect options = new listselect("system", c); group.bind(options, "system"); ....
but seems throwing error, when listselect obtaining ids, sql container seems marked dirty when there's update
java.lang.illegalstateexception: connector should not marked dirty while response being written. @ com.vaadin.ui.connectortracker.markdirty(connectortracker.java:346) @ com.vaadin.server.abstractclientconnector.markasdirty(abstractclientconnector.java:139) @ com.vaadin.ui.abstractselect.fireitemsetchange(abstractselect.java:1679) @ com.vaadin.ui.abstractselect.containeritemsetchange(abstractselect.java:1646) @ com.vaadin.data.util.sqlcontainer.sqlcontainer.firecontentschange(sqlcontainer.java:1585) @ com.vaadin.data.util.sqlcontainer.sqlcontainer.refresh(sqlcontainer.java:877) @ com.vaadin.data.util.sqlcontainer.sqlcontainer.updatecount(sqlcontainer.java:1129) @ com.vaadin.data.util.sqlcontainer.sqlcontainer.getitemids(sqlcontainer.java:326) @ com.vaadin.ui.abstractselect.getitemids(abstractselect.java:728) @ com.vaadin.ui.abstractselect.paintcontent(abstractselect.java:367) @ com.vaadin.ui.listselect.paintcontent(listselect.java:124) @ com.vaadin.server.legacypaint.paint(legacypaint.java:65)
has found way around ?
Comments
Post a Comment