Combo box in cascading bad performance

Hi,
I have 3 combobox cascade [province, states, city]
And have 3 in ADF BC View Object, using bind variable to filter the SQL from the VO.
The largest province has 174 states.
The largest state has 73 cities.
The selection of the province is 0 sec
The selection of the state is 10 sec
The selection of the city is 10 sec
Value lists the application for a ADF Form for execute method at Application Module.
I use attribute autoSubmit=true en SelectOneChoice in LOV province and State.
I test VO in Application Module and this return fast Row.
I test SQL in SQL Plus and this execute faster.
Because it can take so long?
Regards,

Hi, Shay and Martin
Probe the cascading LOV according to the link you indicate, the truth that the times improved a lot, but I can not use this form because it is a form to modify or insert data. It is a form for searching.
Probe ADF Search Form, where I had 2 problems:
1. I did not find the form that the form is started on "Find mode, without having to press the button" Find "
2. LOV select the 1st and 2nd updates, but when I select the 2nd. I get an error:
<RegistrationConfigurator><handleError> Server Exception during PPR, #1
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT distinct SdoLocTazasReaseguros.PROVINCIA,
SdoLocTazasReaseguros.ZONA,
SdoLocTazasReaseguros.PARTIDO,
SdoLocTazasReaseguros.LOC,
SdoLocTazasReaseguros.GI_FINA,
SdoLocTazasReaseguros.SOJA,
SdoLocTazasReaseguros.MAIZ_SORGO,
SdoLocTazasReaseguros.FQCIAS,
SdoLocTazasReaseguros.DO_S_AA,
SdoLocTazasReaseguros.DEDUC_OP_S_AA_DESC_VAR,
SdoLocTazasReaseguros.DEDUC_OP_S_SAR_DESC_VAR_SEG,
SdoLocTazasReaseguros.HELADAS_C_DEDUC_20_S_LOTE,
SdoLocTazasReaseguros.HELADAS_C_DEDUC_20_S_AA,
SdoLocTazasReaseguros.X2,
SdoLocTazasReaseguros.Y2,
SdoLocTazasReaseguros.X,
SdoLocTazasReaseguros.Y
FROM SDO_LOC_TAZAS_REASEGUROS SdoLocTazasReaseguros) QRSLT WHERE (( ( (PROVINCIA LIKE :vc_temp_1 ) ) ) AND PROVINCIA = :fbkKy__0)
     at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1138)
     at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:859)
     at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6314)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1257)
     at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1251)
     at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15641)
     at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15369)
     at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15363)
     at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5238)
     at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5024)
     at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5018)
     at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:10347)
     at oracle.jbo.server.ApplicationModuleImpl.getListBindingName(ApplicationModuleImpl.java:8724)
     at oracle.adf.model.bc4j.DCJboDataControl.getListBindingName(DCJboDataControl.java:2260)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.getListBindingName(JUCtrlListBinding.java:2798)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2758)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:578)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:678)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2448)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.getSelectedIndex(JUCtrlListBinding.java:1628)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.getInputValueInRow(JUCtrlListBinding.java:3203)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2702)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2691)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.getInputValue(FacesCtrlListBinding.java:182)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2273)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.internalGet(JUCtrlListBinding.java:3420)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.internalGet(FacesCtrlListBinding.java:240)
     at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
     at javax.el.MapELResolver.getValue(MapELResolver.java:164)
     at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
     at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
     at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
     at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
     at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1197)
     at org.apache.myfaces.trinidad.component.UIXValue.getValue(UIXValue.java:79)
     at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:178)
     at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:503)
     at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1414)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:191)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:141)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
     at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
     at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at ar.com.lacaja.view.cumulos.servlets.ControlarConexion.doFilter(ControlarConexion.java:51)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: fbkKy__1
     at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
     at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
     at oracle.jdbc.driver.OraclePreparedStatement.setNullAtName(OraclePreparedStatement.java:4459)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.setNullAtName(OraclePreparedStatementWrapper.java:1295)
     at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:4685)
     at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3645)
     at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:19288)
     at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1099)
     at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:859)
     at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6314)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)
     at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)
     at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15641)
     at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15369)
     at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15363)
     at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5238)
     at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5024)
     at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5018)
     at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:10347)
     at oracle.jbo.server.ApplicationModuleImpl.getListBindingName(ApplicationModuleImpl.java:8724)
     at oracle.adf.model.bc4j.DCJboDataControl.getListBindingName(DCJboDataControl.java:2260)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.getListBindingName(JUCtrlListBinding.java:2798)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2758)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:578)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:678)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2447)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.getSelectedIndex(JUCtrlListBinding.java:1628)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.getInputValueInRow(JUCtrlListBinding.java:3203)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2702)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2691)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.getInputValue(FacesCtrlListBinding.java:178)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2273)
     at oracle.jbo.uicli.binding.JUCtrlListBinding.internalGet(JUCtrlListBinding.java:3420)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.internalGet(FacesCtrlListBinding.java:240)
     at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
     at javax.el.MapELResolver.getValue(MapELResolver.java:164)
     at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
     at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
     at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
     at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
     at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1197)
     at org.apache.myfaces.trinidad.component.UIXValue.getValue(UIXValue.java:79)
     at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:178)
     at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:503)
     at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1203)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1413)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:191)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:141)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
     at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
     at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
     at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at ar.com.lacaja.view.cumulos.servlets.ControlarConexion.doFilter(ControlarConexion.java:50)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     ... 9 more
So here comes guys.
Do not understand why 3 cascading LOV is so complicated, now can not explain this to my client
I think there is enough room for improvement in ADF Faces, I think is a problem of View or Controller.
Regards

Similar Messages

  • Performance issue with Combo Box in xcelsius 2008 SP3

    Hi Experts ,
    I started working on xcelsius 2008 , Later we migrated to Xcelsius 2008 SP3 . After migrting , performace of combobox went down and combox is taking time to scroll down the values . Did any one face this issue . Please help me out . My customer he is worried about Combo box performance .
    Many thanks in advance .
    Regards,
    Dirasa

    Hi,
    Even I am facing the same issue...kindly let me know if you were able to make it work...or fix it.
    Thanks in advance
    Seema

  • Parameter query or cascading combo boxes

    In my Access 2013 web app, I have a form for entering a specific type of  activity.  I am using a related item control to add contacts to each activity.  The main table is Activity, the related Item Control is based on (join table) Assignment.
     So far so good.
    Now on the popup view I need to be able to assign contacts to the activity and I need to filter the choice of contacts based on location and group, so for example, when I open the contact combo box, I see only my volunteers from office 1, or only my staff
    from office 2, etc.  Is this best accomplished by cascading combo boxes? Or should I somehow use a parameter query? I have tried the cascading combo boxes but so far have not been able to get them to work. 
    FYI: In the contacts table, every contact has a location and group. Also, I have one table for location and one for group, so that I can use those in look ups. 
    My join table is: Activity ID (look up to activity table) / Contact (look up to Contact Table) 

    Hi,
    >>
    I need to filter the choice of contacts based on location and group
    Is this best accomplished by cascading combo boxes?
    I have tried the cascading combo boxes but so far have not been able to get them to work.
    <<
    In this case, I will suggest you using the Combo Box control which has the build-in support on cascading feature.
    And what do you mean by “not been able to get them work”? I did a quick test and it worked as expected.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have NO scripting experience but am attempting to create "cascading combo box" with two boxes.

    I have copied and edited to the best of my ability several options but keep getting errors, mostly illegal character on line...
    I do not have LifeCycle, merely Adobe Acrobat IX (and a trial version of Acrobat XI PRO) and the extent of my knowledge ends at placing fields, text, etc. . .
    The scenario is as follows:
    On the document, there are two combo boxes
    1- "DeptName"
    2- "Position"
    The goal is to be able to select one of 15 different departments, and based on that selection, choose from between 2 to 15 different positions for that corresponding department.
    Below is what I was hopeful would work, but alas - FAIL!!
    If anyone could assist it would be GREATLY APPRECIATED!
    myDeptNameValues =
    "ADMINISTRATION – RSADMN (8171)",
    "BEVERAGE – RSBEV (8174)",
    "CATERING – RCCAT (8959)",
    "CLUB – RSCLB (8174)",
    "CONCESSIONS – RCCON (8961)",
    "CONCESSIONS – RSCON (8173)",
    "CULINARY – RSKIT (8177)",
    "FACILITIES – RSFAC (6925)",
    "RETAIL – RSRET (8175)",
    "SUITES – RSSTE (8177)",
    "VENDING – RSVND (8173)",
    "WAREHOUSE – RSWHS (8173)"
    this.getField("DeptName").setItems(myDeptNameValues);
    var DeptData =
    ADMINISTRATION – RSADMN (8171):["Teller","Security"],
    BEVERAGE – RSBEV (8174):["Bartender","Barback"],
    CATERING – RCCAT (8959):["Banquet Server",”Banquet Captain"],
    CLUB – RSCLB (8174):["Cashier","Counter","Cook","In Seat Server","Runner","Stand Manager"],
    CONCESSIONS – RCCON (8961):["Counter","Cashier","Cook","Runner","Beer Attendant/SMC","Stand Lead","Supervisor"],
    CONCESSIONS – RSCON (8173):["Counter","Cashier","Cook","Runner","Beer Attendant/SMC","Stand Lead","Supervisor"],
    CULINARY – RSKIT (8177):["Cook 1 – Entry Level","Cook 2 – Advanced Level","Cook 3 – Lead Cook","Kitchen Supervisor","Steward"],
    FACILITIES – RSFAC (6925):["Lead – Blower/Press","Cleaning Services Worker"],
    RETAIL – RSRET (8175):["Warehouse","Supervisor","Warehouse Supervisor","Vendors/Hawkers","Senior Supervisor","Associates"],
    SUITES – RSSTE (8177):["Suite Attendant","Ice Cream Cart Attendant","Runner","ReOrder Clerk","Suite Captain","Pantry Supervisor"],
    VENDING – RSVND (8173):["Vendor","Vendor Filler","Alcohol Compliance Supervisor","Auditor","Level Supervisor","Senior Supervisor"],
    WAREHOUSE – RSWHS (8173):["Runner","Supervisor"]
    function SetFieldValues(cDeptName)
    this.getField("Position").setItems(DeptData[cDeptName]);
    The above code was placed in the document script.  Within the format area of the "DeptName" box, I have the following code placed in the keystroke script.
    if( event.willCommit )
    if(event.value == "")
    this.getField("box2").clearItems();
    else
    SetFieldValues(event.value);
    I have spent the past four days, more than 18 hours in the last two alone trying to nail this down and I can't explain how completely defeated I feel, not to mention frustrated.
    Again, thanks for your help!!

    I suppose I am not meant to figure this out.  I am trying my absolute hardest to accomplish compiling this document without having to resort to asking someone to do it for me as I have noticed in a few other threads, but it just seems to get more frustrating.  I have accomplished the first thing I set out to do and I completely appreciate your assistance with that.  My issue now is that i have other text fields I want to automatically fill based on the selection of the very same DeptName combo box.  I can make the cascading/dependent box work with the initial DeptName box, or all the additional text fields with the DeptName box, but cannot seem to accomplish having them work together.  I have been working daily, reading blogs/forums, watching videos all in an effort to complete this before it's needed on Feb. 2. 
    Is it possible to make 7 text fields and a combo box(B) fill based on the selection of a separate combo box (A), and then have 5 more text fields automatically fill based on the selection from the secondary box (B)?  I can make it all happen individually, meaning only the text fields for one box or the combo box (A to b) but not in conjunction.
    http://1drv.ms/1GDpESS
    This is the file, if it helps to see what I'm hoping to accomplish

  • Cascaded Combo Box handling?

    I've two combo boxes(cascaded) if i click directly on second combo box it should display error message like "Please Select 1st Combo Box"
    Please Help  me Out
    Thank you
    Raghu
    Message was edited by: Michael Appleby

            //MIR Category DropDown
            var mirCategoryCombo= new sap.ui.commons.ComboBox({
                id:"mirCategoryCombo",
                tooltip:"Select a category",
                value:"",
                width:"100%",
                editable:false,
                change:function(){
                    if(this.getSelectedKey()==""||this.getSelectedKey()==null){
                        this.setValueState(sap.ui.core.ValueState.Error);
                        raiseNotification(5, 20014,  ""  , "", "", "", "I");
                    }else{
                        this.setValueState(sap.ui.core.ValueState.None);
                        // get all product group based on category
                        mirController.getMirProductGroupByCategory("form");
                    mirController.mirEmptyProductControls("mirCategoryCombo");
    var mirProductGroupCombo = new sap.ui.commons.ComboBox({
                id:"mirProductGroupCombo",
                width:"100%",
                editable:false,
                liveChange:function(){
                  if(sap.ui.getCore().byId("mirCategoryCombo").getValue()==""){
                      this.setValueState(sap.ui.core.ValueState.Error);
                  }else{
                      this.setValueState(sap.ui.core.ValueState.None);
                change:function(){
                    if(this.getSelectedKey()=="" || this.getSelectedKey()==null){
                        this.setValueState(sap.ui.core.ValueState.Error);
                        raiseNotification(5,20019,"","","","","I");
                    }else{
                        this.setValueState(sap.ui.core.ValueState.None);
                    mirController.mirEmptyProductControls("mirProductGroupCombo");

  • Increasing row capacity of any excelcius component (Filter ,Combo Box)

    Hi
    Even though I have increased the capacity of Dashboard rows capacity from 512 to 2000.
    But my filter component or combo box component source data is mapped to more than 512 rows in the spreadsheet,while previewing it still shows data of 512 rows.
    Is there any way to increase component capability?
    I know the performance will be bad but still atleast it should capture the whole source data records and

    It could be two reasons
      First Reason: it could be due to the limit of no of rows in excel .Please check the preferences option in Xcelsius . By default it will be set as 512 rows of data increase that to required rows.
       Second Reason: if you are using live office in Xcelsius.By default it will fetch 512 rows of data.To increase limit we have to do some server side settings.Please refer to the following SAP Note which gives the solution to this problem.
      SAP Note:1307538
      or go through the following steps:
    These changes have to be made on the server side
    1.     Create a backup of dsws-liveoffice-provider.jar from serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib for future reference.
    2.     Copy dsws-liveoffice-provider.jar from serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib to your computer.
    3.     Rename the file just copied to dsws-liveoffice-provider.jar.zip (add.zip to end of filename)
    4.     Create folder in root of InstallDrive: named META-INF (case sensitive), in InstallDrive:\META-INF named BusinessObjects (case sensitive) and in InstallDrive:\META-INF\BusinessObjects named DSWS (case sensitive)
    5.     Using WinZip or WinRAR, unzip the file named liveoffice_config.properties from the dsws-liveoffice-ws.jar.zip file copied from the server. Place this file in InstallDrive:\META-INF\BusinessObjects\DSWS.
    6.     Edit the liveoffice_config.properties file and find the following section:
    #max number of range rows and range columns to return
    maxRowCount=512
    maxColumnCount=512
    7.     Edit the maxRowCount entry to the value youu2019d like to use
    8.     Save the file as liveoffice_config.properties (same filename)
    9.     Using winRAR or WinZip add the new liveoffice_config.properties file back to dsws-liveoffice-ws.jar.zip, making sure to use the "use absolute path" option.
    10.     Stop Apache Tomcat service on BO server
    11.     Copy dsws-liveoffice-ws.jar.zip to serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib.
    12.     Rename dsws-liveoffice-provider.jar in serveru2019s InstallDrive:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib directory to dsws-liveoffice-provider.jar.old.
    13.     Rename dsws-liveoffice-provider.jar.zip in serveru2019s c:\program files\business objects\Tomcat\webapps\dswsbobje\WEB-INF\lib directory to dsws-liveoffice-provider.jar
    14.      Empty the Tomcat cache by deleting the content of the folder <<C:\Program Files\Business Objects\Tomcat55\work>>
    15.     Restart Apache Tomcat on server
    This should increase the number of rows fetched by LiveOffice, however it may happen that changing the number of rows in the liveoffice_config.properties many times may result in liveoffice picking the data from the cache. Hence deleting the cache (C:\Program Files\Business Objects\Tomcat55\work) is necessary. Incase deleting the cache also doesn't work, we may have to redeploy the dswsbobje folder.
    To redeploy, follow the steps given below:
    1.     Go to C:\Program Files\Business Objects\Tomcat55\webapps and keep a backup of the dswsbobje folder.
    2.     Now delete this folder and restart Tomcat.
    3.     Restarting Tomcat will recreate the dswsbobje folder but will again default the number of rows fetched by LiveOffice to 512.
    4.     We will again have to follow the steps mentioned in the start to increase the number of rows from 512 to the desired value.
    5.     Restart Tomcat again for the changes to take place.
    Note: Increasing the number to large values might cause inconsistency in the behavior or instability.

  • How to use the Combo Box In MAtrix Colums

    HI Experts,
    Good Mornong.How to use the Combo Box In MAtrix Colums?
    Regards And Thanks,
    M.Thippa Reddy

    hi,
    loading data in to the combobox on form load.but, it should be done when atleast one row is active.
    the values what ever you are inserting in to combo should  be less than or eqhal to 100 or 150.if it exceeds beyond that performance issue arises.it takes more time to load all the data.so, it is better to have 100 or less.
    oMatrix.AddRow()
    RS = Nothing
    RS = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    RS.DoQuery("select ItemCode,ItemName from oitm")
    oCombo = oMatrix.Columns.Item("ColumnUID").Cells.Item(oMatrix.RowCount).Specific
    For i = 1 To RS.RecordCount
          If RS.EoF = False Then
                oCombo.ValidValues.Add(RS.Fields.Item("ItemCode").Value,RS.Fields.Item("ItemName").Value)
                RS.MoveNext()
          End If
    Next
    the above code is inserting data from database to column combobox.
    you can fill combo directly also as shown below.
    oCombo.ValidValues.Add("x","1")
    oCombo.ValidValues.Add("y","2")
    oCombo.ValidValues.Add("z","3")
    oCombo.ValidValues.Add("","")
    and what ever the values you are filling into combo should be unique.other wise it shows valid value exists.
    regards,
    varma

  • How to populate values from database into a Combo Box?

    Hi,
    How to display all the values of a field of a database table in a combo box inside a grid in B1 user defined form?
    Regards,
    Sudeshna.

    Hi,
    If you are trying to do this on a system form (I gues this is your case, reading the other question), for example Sales Orders, and you want to show the values from a User Defined Table (UDT), you just need to add a User Defined Field on Marketing Documents Line level, and say it is linked to the UDT.
    SBO will automatically show the combo with the values on the Code field of the UDT.
    Regards,
    Ibai Peña
    Sorry, I didn´t read the post well.
    What you could do is each time the form is loaded, read the values from the table, and asign them as Valid Values for the combobox column. You can do this programatically, or using XML (which is recommended becouse of better performance).
    Message was edited by: Ibai Peña

  • How to populate the combo boxes that are created dynamically in jsp

    Hi,
    I am using JSP.
    I am creating combo boxes dynamically (based on the num selected by the user). These dynamically created combo boxes need to have A-Z as options (each box) . Now, when the user chooses the option A in any of the combo-boxes,the rest should not have this option. so on..
    how do i achieve this.Kindly help.

    You'll need to use JavaScript...I have a complicated example and a simple example, however, I cannot really understand the complex example but I know how it works. The looping is too complex for me.
    First you'll need to populate a server side variable...depending on how often the data is updated you may want this to run each time a new session is created...this example is run each time Tomcat is started and the application context is initialized:
    package kms.web;
    // Servlet imports
    import javax.servlet.ServletContextListener;
    import javax.servlet.ServletContextEvent;
    import javax.servlet.ServletContext;
    // utility imports
    import java.util.Map;
    // domain imports
    import kms.domain.LocationService;
    import kms.domain.DeptService;
    import kms.domain.PatentService;
    * This listenter is used to initialize
    * the Maps of Locations, Patents & Depts used to populate
    * pulldown lists in JSPs
    public class InitializeData implements ServletContextListener {
        * This method creates the Maps.
       public void contextInitialized(ServletContextEvent sce) {
          ServletContext context = sce.getServletContext();
          LocationService lServ = new LocationService();
          // Create the Maps
          Map campuses = lServ.getCampuses();
          Map buildings = lServ.getBuildings();
          Map floors = lServ.getFloors();
          Map locs = lServ.getLocations();
          // And store them in the "context" (application) scope
          context.setAttribute("campuses", campuses);
          context.setAttribute("buildings", buildings);
          context.setAttribute("floors", floors);
          context.setAttribute("locs", locs);
          DeptService dServ = new DeptService();
          Map depts = dServ.getDepts();
          context.setAttribute("depts", depts);
          PatentService pServ = new PatentService();
          Map patents = pServ.getPatents();
          context.setAttribute("patents", patents);
          //I did this one myself
    /*    CodeService cServ = new CodeService();
          Map masterMks = cServ.getCodes();
          context.setAttribute("masterMks", masterMks);
        * This method is necessary for interface.
       public void contextDestroyed(ServletContextEvent sce) {
       // I have no clue what the heck this is for???
       // Let me know if you do!
    }So now we travel into the PatentService method called 'getPatents();' which in turn calls a PatentDAO method
    Map patents = pServ.getPatents();
    Below is the code for the PatentService object:
    package kms.domain;
    import kms.util.ObjectNotFoundException;
    import java.util.*;
    * This object performs a variety of dept services, like retrieving
    * a dept object from the database, or creating a new dept object.
    public class PatentService {
       * The internal Data Access Object used for database CRUD operations.
      private PatentDAO patentDAO;
       * This constructor creates a Dept Service object.
      public PatentService() {
        patentDAO = new PatentDAO();
    public Map getPatents() {
          Map patents = null;
          try {
            patents = patentDAO.retrieveAll();
          // If the dept object does not exist, simply return null
          } catch (ObjectNotFoundException onfe) {
            patents = null;
          return patents;
    }It may be useful for you to see the code of the Patent class:
    package kms.domain;
    /*** This domain object represents a dept.
    public class Patent implements java.io.Serializable {
      private int codeGgm;
      private String name = "";
      private String description = "";
      private int creator;
      private String creationDate = "";
      private int used;
       * This is the full constructor.
      public Patent(int codeGgm, String name, String desc, int creator, String creationDate, int used) {
        this.codeGgm = codeGgm;
        this.name = name;
        this.description = desc;
        this.creator = creator;
        this.creationDate = creationDate;
        this.used = used;
      public Patent() { }
      public int getCodeGgm() {
          return codeGgm;
      public void setCodeGgm(int codeGgm) {
           this.codeGgm = codeGgm;
      public String getName() {
        return name;
      public void setName(String name) {
          this.name = name;
      public String getDesc() {
        return description;
      public void setDesc(String desc) {
          this.description = desc;
      public int getCreator() {
          return creator;
      public void setCreator(int creator) {
             this.creator = creator;
      public String getCreationDate() {
          return creationDate;
      public void setCreationDate(String creationDate) {
             this.creationDate = creationDate;
      public int getUsed() {
           return used;
      public void setUsed(int used){
           this.used = used;
    }And here is the Database table which stores the Patents:
    DESC PATENT:
    CODE_GGM NUMBER(3)
    NAME VARCHAR2(15)
    DESCRIPTION VARCHAR2(250)
    CREATOR NUMBER(10)
    CREATION_DATE DATE
    USED NUMBER(1)
    So, we then travel into the code of the PatentDAO to see how the DAO object executes the DB query to get all of the Data we need for the select list:
    package kms.domain;
    import javax.naming.*;
    import javax.sql.*;
    import java.util.*;
    import java.sql.*;
    import kms.util.*;
    * This Data Access Object performs database operations on Patent objects.
    class PatentDAO {
       * This constructor creates a Patent DAO object.
       * Keep this package-private, so no other classes have access
    PatentDAO() {
    * This method returns a Map of all the Dept names
    * The key is the Dept id
    Map retrieveAll()
           throws ObjectNotFoundException {
          Connection connection = null;
          ResultSet results = null;
          // Create the query statement
          PreparedStatement query_stmt = null;
          try {
            // Get a database connection
          Context initContext = new InitialContext();
           DataSource ds = (DataSource)initContext.lookup("java:/comp/env/jdbc/keymanOracle");
           connection = ds.getConnection();
            // Create SQL SELECT statement
            query_stmt = connection.prepareStatement(RETRIEVE_ALL_NAMES);
            results = query_stmt.executeQuery();
            int num_of_rows = 0;
          Map patents = new TreeMap();
             // Iterator over the query results
            while ( results.next() ) {
                patents.put(new Integer(results.getInt("code_ggm")), results.getString("name"));
             if ( patents != null ) {
                      return patents;
                    } else {
                      throw new ObjectNotFoundException("patent");
           // Handle any SQL errors
         } catch (SQLException se) {
            se.printStackTrace();
           throw new RuntimeException("A database error occured. " + se.getMessage());
        } catch (NamingException se) {
          throw new RuntimeException("A JNDI error occured. " + se.getMessage());
          // Clean up JDBC resources
          } finally {
            if ( results != null ) {
              try { results.close(); }
              catch (SQLException se) { se.printStackTrace(System.err); }
            if ( query_stmt != null ) {
              try { query_stmt.close(); }
              catch (SQLException se) { se.printStackTrace(System.err); }
            if ( connection != null ) {
              try { connection.close(); }
              catch (Exception e) { e.printStackTrace(System.err); }
    private static final String RETRIEVE_ALL_NAMES
          = "SELECT code_ggm, name FROM patent ";
    }Now when you wish to use the 'combo box' (also called select lists), you insert this code into your jsp:
    <TR>
    <%@ include file="../incl/patent.jsp" %>
    </TR>
    depending on how your files on your server are organized, the "../incl/patent.jsp"
    tells the container to look up one directory from where the main jsp is to find the 'patent.jsp' file in the 'incl' directory.
    I need some help creating multi-level select lists with JavaScript:
    Can anyone explain this code:
    <%@ page import="java.util.*,kms.domain.*" %>
    <jsp:useBean id="campuses" scope="application" class="java.util.Map" />
    <TR><TD ALIGN='right'>Campus: </TD>
    <TD>
    <select name="campus" size="1" onChange="redirect(this.options.selectedIndex)">
    <option value="0" selected>No Campus</option>
    <% LocationService ls = new LocationService();
       Iterator c = campuses.keySet().iterator();
       Map[] bm = new Map[campuses.size()];
       Map[][] fm = new Map[campuses.size()][0];
       Map[][][] lm = new Map[campuses.size()][0][0];
       int i2 = 0;
       int j2 = 0;
       int k2 = 0;
       int jj = 0;
       int kk = 0;
       while (c.hasNext()) {
          Integer i = (Integer)c.next();
          out.print("<OPTION ");
          out.print("VALUE='" + i.intValue()+ "'>");
          out.print( (String) campuses.get(i) );
          out.print("</OPTION>");
          bm[i2] =  ls.getBuildingsByCampus(i.intValue());
          fm[i2] = new Map[bm[i2].size()];
          lm[i2] = new Map[bm[i2].size()][];
          Iterator b = bm[i2].keySet().iterator();
          j2 = 0;
          while (b.hasNext()) {
            Integer j = (Integer)b.next();
            fm[i2][j2] = ls.getFloorsByBuilding(j.intValue());
            lm[i2][j2] = new Map[fm[i2][j2].size()];
            Iterator f = fm[i2][j2].keySet().iterator();
            k2 = 0;
            while (f.hasNext()) {
              Integer k = (Integer)f.next();
              lm[i2][j2][k2] = ls.getLocationsByFloor(k.intValue());
              k2++;
              kk++;
            j2++;
            jj++;
          i2++;
       } %>
    </select></TD>
    </TR>
    <TR><TD ALIGN='right'>Building: </TD>
    <TD>
    <select name="building" size="1" onChange="redirect1(this.options.selectedIndex)">
    <option value="0" selected>No Building</option>
    </select></TD>
    </TR>
    <TR><TD ALIGN='right'>Floor: </TD>
    <TD>
    <select name="floor" size="1" onChange="redirect2(this.options.selectedIndex)">
    <option value="0" selected>No Floor</option>
    </select></TD>
    </TR>
    <TR><TD ALIGN='right'>Room: </TD>
    <TD>
    <select name="location_id" size="1">
    <option value="0" selected>No Room</option>
    </select></TD>
    </TR>
    <script>
    var cNum = <%=i2%>
    var bNum = <%=jj%>
    var fNum = <%=kk%>
    var cc = 0
    var bb = 0
    var ff = 0
    var temp=document.isc.building
    function redirect(x){
    cc = x
    for (m=temp.options.length-1;m>0;m--)
      temp.options[m]=null
      temp.options[0]=new Option("No Building", "0")
      if (cc!=0) {
        for (i=1;i<=group[cc-1].length;i++){
          temp.options=new Option(group[cc-1][i-1].text,group[cc-1][i-1].value)
    temp.options[0].selected=true
    redirect1(0)
    var group=new Array(cNum)
    for (i=0; i<cNum; i++) {
    group[i]=new Array()
    <% for (int i=0; i< bm.length; i++) {
    Iterator bldgs = bm[i].keySet().iterator();
    int j = 0;
    while (bldgs.hasNext()) {
    Integer intJ =(Integer) bldgs.next(); %>
    group[<%=i%>][<%=j%>] = new Option("<%=bm[i].get(intJ)%>", "<%=intJ%>");
    <% j++;
    } %>
    var group2=new Array(cNum)
    for (i=0; i<cNum; i++) {
    group2[i] = new Array()
    for (j=0; j<=bNum; j++) {
    group2[i][j] = new Array()
    <% for (int i=0; i< fm.length; i++) {
    for (int j=0; j< fm[i].length; j++) {
    Iterator flrs = fm[i][j].keySet().iterator();
    int k = 0;
    while (flrs.hasNext()) {
    Integer intK =(Integer) flrs.next(); %>
    group2[<%=i%>][<%=j%>][<%=k%>] = new Option("<%=fm[i][j].get(intK)%>", "<%=intK%>");
    <% k++;
    } %>
    var temp1=document.isc.floor
    var camp=document.isc.campus.options.selectedIndex
    function redirect1(x){
    bb = x
    for (m=temp1.options.length-1;m>0;m--)
    temp1.options[m]=null
    temp1.options[0]=new Option("No Floor", "0")
    if (cc!=0 && bb!=0) {
    for (i=1;i<=group2[cc-1][bb-1].length;i++){
    temp1.options[i]=new Option(group2[cc-1][bb-1][i-1].text,group2[cc-1][bb-1][i-1].value)
    temp1.options[0].selected=true
    redirect2(0)
    var group3=new Array(cNum)
    for (i=0; i<cNum; i++) {
    group3[i] = new Array()
    for (j=0; j<=bNum; j++) {
    group3[i][j] = new Array()
    for (k=0; k<=fNum; k++) {
    group3[i][j][k] = new Array()
    <% for (int i=0; i< lm.length; i++) {
    for (int j=0; j< lm[i].length; j++) {
    for (int k=0; k< lm[i][j].length; k++) {
    Iterator locs = lm[i][j][k].keySet().iterator();
    int m = 0;
    while (locs.hasNext()) {
    Integer intM =(Integer) locs.next(); %>
    group3[<%=i%>][<%=j%>][<%=k%>][<%=m%>] = new Option("<%=lm[i][j][k].get(intM)%>", "<%=intM%>");
    <% m++;
    } %>
    var temp2=document.isc.location_id
    function redirect2(x){
    ff = x
    for (m=temp2.options.length-1;m>0;m--)
    temp2.options[m]=null
    temp2.options[0]=new Option("No Room", "0")
    if (cc!=0 && bb!=0 && ff!=0) {
    for (i=1;i<=group3[cc-1][bb-1][ff-1].length;i++){
    temp2.options[i]=new Option(group3[cc-1][bb-1][ff-1][i-1].text,group3[cc-1][bb-1][ff-1][i-1].value)
    temp2.options[0].selected=true
    </script>
    This produces a related select list with 4 related lists by outputting JavaScript to the page being served. It works the same way as the first example that I describe but I don't understand the looping...maybe someone could explain how to go from the single select list to a double and/or triple level drill down?

  • LOV's in form combo box - how to change font size?

    Greetings:
    I've a table generated form (custom vs. tabular), with a combo-box field that fills with a LOV's that has as it's visible data, a rather long concatenated string. Therefore, this field makes the entire form rather wide when the LOV's contains a long string (as returned from the SQL that gathers the data).
    I've tried using the FONT tag in the 2nd tab (Form wizard) for custom layouts; that didn't work.
    Anyone have ideas for decreasing the font size of the LOV's? Else, I'll have to leave-out some of the info concatenated on that string.
    As always, thanks for you continued guidance and support...
    Ed in Tampa

    Hi,
    Changing the font size and other properties like font color, width, height, etc.. of the form elements can be achieved by using Cascading Style Sheet (CSS).
    It cannot be changed using <FONT> tag.
    In Portal, one can add the CSS attribute to the HTML tags in the custom layout of the form. But adding the CSS attribute to FORM elements (Input, select..)is not possible through Form wizards.
    However, this can be achieved by creating a form through the Dynamic Page. In this case you have to define your whole form.
    To know more about CSS you can visit: http://www.mako4css.com
    Thanks,
    Shivank

  • Enumeration binding for combo box - missing feature

    Hi,
    In our application, combo boxes are usually employed for similar purpose as radio button groups: provide the end-user with an exclusive, static list of choices.
    Unfortunately, JUComboBoxBinding.createEnumerationBinding method does not seem to follow the same paradigm as JUButtonGroupBinding.createEnumerationBinding.
    In fact, for JUButtonGroupBinding, one parameter is "AbstractButton[] buttons", which is used for display purposes (end-user descriptions of the choices), and another is "Object[] valueList", which is the list of values for the corresponding attribute (usually, the valid values in the database for the column).
    Meanwhile, JUComboBoxBinding is only receiving one array parameter, "Object[] values", which is used both for display purposes and for database values... This approach is very restrictive, as long as we expect to display in the combo box a descriptive text for the coded value in the database (and localizable, as well!).
    Is this a known bug, or am I the first one to have noticed it? Is there any schedule for making this feature available?
    Thanks,
    Adrian

    I'm not sure where my last reply went, so another try.
    Unfortunately, I have the same feeling as usual, that my posted messages are not carefully read...
    The main issue was the comparison between JUComboBoxBinding and JUButtonGroupBinding, and my question was about the possible future availability of a feature. Nothing about this in the answer...
    Could I have an aswer to my original message, please?JUButtonGroupBinding is a custom control provided by JClient and has an api to let a user 'provide' custom Button objects instead of the default 'RadioButton's that would get created if none is passed in. The fact that you could use that to perform LOV kind of indirection of displaying a value other than what's set is 'a side-effect' of the original intention.
    FYI, we already implemented an extension to JUComboBoxBinding which is just doing what I was asking for. It is not complex at all:( I was only thinking that it might be useful also in standard...The 'standard' way of getting this behavior you're asking for is to create a programmatic VO as suggested above, with both display/update attribute values and bind it to the ComboBox as an LOV Binding. And yes you can certainly create custom controls extending Swing and use the existing bindings or 'extend' them as per an application need.
    Regards,
    Adrian

  • Response to mouse click by combo box list and underlying clickable label

    Hello,
    we developed a label responding to a mouse click by opening and thereby displaying an associated help text. The label extends a project specific hierarchy of labels and thus implements MouseListener, of course. Now we encountered a strange problem: It occurs when a combo box is placed above such a label in a panel. By clicking the combo box a selective list drops down and covers the label. As soon as a mouse click is performed on a list item directly covering (i.e., right in front of) the clickable label not only this item is selected but the help screen associated with the underlying label is displayed, too. So the mouse click is processed twice: as proposed by the combo box and unwantedly by the label. This behaviour could not be reproduced on other components being placed below a combobox. So the label itself seems to be the cause but we cannot imagine what could exactly be the reason for this double reaction. Perhaps anyone heard of something like that?
    We are currently working with IBM Visual Age for Java 2.0 (Java version 1.1.8 with the according Swing version). The clickable label reflectively calls methods of a model to determine whether help is available and if so later on to open this help text.
    Any help is appreciated!
    Danilo

    Thank you for your response. I tried both to check the focus and to consume the event. But I had to learn that labels are not able to catch the focus. I also was not able to consume an appropriate event of the combobox. So I finally solved the problem by extending JButton and implementing ActionListener. Thus my labels are actually buttons but I changed their appearance and behaviour so one cannot distinguish them from labels.

  • Combo box internationalization

    I'm trying to brainstorm ways that I can design my application so that I have the benefits of a drop down / combo box list and free form text entry while at the same time being as globalization ready as possible.
    I like the feature in some combo boxs where the end user may select a choice from a list but may also type in entry values that doesn't exist in the predefined list. On the other hand, I would like the predefined list to be properly localized for different target audiences - for example, if the combo contains a list of cities, I'd want the same entry to refer to the city Venice in English as Venice but as Venezia in Italian and Venise in French.
    One way of approaching this problem is two have two fields: a combo box that prohibits users from free form entry (but has a list of most choices) and a second text field that a user types in if they can't find the desired value in the combo box. The combo box entries would be stored in an locale-independent or consistent way in the data store while the display would change depending on the user's selected locale. (Unfortunately, the contents of the text box would not be in any way localized).
    Can anyone think of other ways to accomodate the goal of having a list of some sort (not necessarily a combo box) that allows user entry while at the same time most entries are stored in a locale independent way (so that they can be easily localized)?

    That's true - I didn't specify what type of combo box it is. That was intentional, as I'm open to anything that will get the job done. I have to admit to not knowing a lot about the JComboBox control but I've read the Java Swing Component Tutorial on Combo Boxes (and specifically the JComboBox) and I can see what you're talking about. It's a good suggestion that you've made.
    Part of what I need to do (and not stated in my original goal) is to be able to save the combo box's (or whatever control -- I'll call it combo box for simplicity ) value to a database (solution must work in both Oracle and SQL Server) field and then later retrieve these values to display them in a form and in a list. Issues that I'll need to deal with are sorting based on the combo field value, comparing records for equality (and specifically their combo box field values), and searching for a record based on a value in a combo box field.
    A bit more information on my requirements may help people with their suggestions - as noted, localization is a priority, data must be saved to an Oracle or SQL Server database and I need to deal with sorting, comparison, and searching based on the combo field. I will be working with a three tier architecture and a rich client tier, but would like to do as much as possible in terms of sorting, comparison, and searching at the database level for performance reasons. I'll likely need to do some work in the middle tier - what kind of support does Java give for comparing, sorting, and searching a bulk set of records, w.r.t respect to the combo box problem as I've described it so far?

  • In a tubular form: how do you make one combo box reflect another

    For example:
    if there are two fields, one with combo box with bread, meat, juice and I select juice, I and the contents of another combo box in another field to say Orange, grape, lemon.
    field one field two
    bread orange
    meat grape
    juice lemon
    in field one there is just those 3 but in the table representing two there are many such as types of bread and meat and juice, all three.
    Hope you can understand this example. Thanks for your help.

    Your description is not very clear but looks like you want cascading select lists, where 2nd select list is populated based on value selected in the first select list.
    AJAX is a good solution if you are comfortable with it. Since I'm not very familiar with that, I end up using pl/sql.
    Someone had asked similar question few days back, and i had provided a detailed answer. You can check it out at:
    Re: select menu depends from selection
    Hope this helps.

  • How to pass a combo box parameter on reporting services?

    How to pass a combo box parameter on reporting services?
    For example, a report has a parameter which is a combo box, its items came from a database query.
    Looks like the combo box didn't got populated and greyed out if I didn't pass the parameter.

    Hi LAScorpion,
    In Reporting Services, if we want to pass a combo box parameter (means signal-parameter) from one report (main report) to another report (subreport), we can enable an action with “Go to report” or “Go to URL” option to achieve the requirement. For more details,
    please see:
    Method1: Go to report
    Right-click a report item to open the properties dialog in subreport, click Action in the left pane.
    Enable Go to report action, then select the main report name in the drop-down list.
    Add a parameter as below:
    Select ID (a parameter name from main report) in the drop-down list of Name, and select [ID] (a field name from subreport) in the drop-down list of Value.
    Method2: Go to URL
    Right-click a report item to open the properties dialog in subreport, click Action in the left pane.
    Enable Go to URL action, the URL below is for your reference:
    ="javascript:void(window.open('http://server_name/ReportServer/Pages/ReportViewer.aspx?%2ffolder_name%2fmain_report_name&rs:Command=Render&parameter_name="& Parameters!parameter_name.Value &"'))"
    Besides, if the parameter’s values are based on other parameters, then the combo-box got greyed out when we haven’t select values in preceding parameters. For more details, please see:
    Cascading Parameters
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • How do I install Snow Leopard on a partition in Lion?

    I need my AppleWorks! This is what I've done thus far. I have a brand new 21.5" 2.5 GHz Core i5 running Lion. I made a 20 Gb partition on which I would like to install Snow Leopard so that I can run my beloved AppleWorks. I NEED the drawing program.

  • Send multiple lines to a function in SAP

    Hi all, I am working with FTP to RFC scenario. My incoming file has multiple lines as: <i> Line1 line2 line3 ...</i> I have imported the RFC structure from SAP and this structure looks like: <i> ZINTPRUEBA1    STRCSIMPLE       item                   

  • Select first word in each line of a text file to do something.

    How do I select the first word in each line to do something newer from a text file in Powershell? Example:  GBL                            Primary    File              local                          Primary    File              localhost            

  • Issue with using my gift card points

    Okay, here's what I've done: I've bought an iTunes gift card, I've redeemed it onto my account, it was $15 CDN. Now, I've wanted to purchase the OS 3.0 for my iPod Touch (2nd Gen.), but it won't let me use the points on my account. Account currently

  • How to install MICR fonts for R1 check Printing.

    I saw several messages on the MICR. Anyone used BI Publisher 10.1.3 and still sucessfully uised metalink Note:373377.1? I am using BI 10.1.3..What are the steps I need to follow?I followed the same from the Note:373377.1,Still no success.. Is that tr