Cascading Lists in JHeadStart 10.1.3

I can't find the best method of realizing cascading lists in Jhs10.1.3 documents. I want to have two lists on my page. One linked to the districts and the other to the academic institutes in that district. When I choose the district I want to have the academic institute's list constructed accordingly.
Thanks.
Farbod

All,
Yes, it is on our list to make a blog entry about this. For now, a quick overview:
Cascading lists in form layout are fully generatable with JHeadstart 10.1.3. I'll explain the basic steps using Region-Countries example from HR schema:
- Create a ViewObject on Countries with a where clause param that references region_id
- Set the query bind param for region_id to the region id item in the dynamic domain created for the country item drop down list
- Set "Depends On Item" for CountryId item to RegionId item
- Check checkbox "Clear/Refresh Vakue" for CountryId
Cascading lists in table layout cannot be generated without use of custom templates. Steve Muench has as undocumented sample no 71 on how to set up cascading lists in a table:
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • Problem with "Row-specific or Cascading Lists in Table Layout"

    Hello, friends!
    I have read article "Row-specific or Cascading Lists in Table Layout" written by Steven Davelaar. I have maked several table layouts with this technique and it worked fine.
    But now I have one problem, and this problem is very strange. One of VOs for which I use this table layouts throw exception after commit changes on first LOV attribute (Deptno). First time it was error
    (oracle.jbo.ReadOnlyAttrException) JBO-27008: for atribute mgrList
    at oracle.jbo.AttrValException.<init>(AttrValException.java:112)
         at oracle.jbo.ReadOnlyAttrException.<init>(ReadOnlyAttrException.java:40)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:815)
         at oracle.jbo.jbotester.JboTesterUtil.setData(JboTesterUtil.java:173)
    Then I setted updateable property of MgrList attribute to always and now i have this error:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:java.util.List with value:[{}]
         at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:721)
         at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:85)
    I don't know why, but all worked fine yestarday. And same code works fine for another VOs. And article Test application works fine too.
    Help me, please.
    Thank you.

    <table id="OsnovaniyaPrikazEnd" model="${jhsTableBindings.OsnovaniyaPrikazEnd_1B}" detailDisclosure="${uix.eventResult.detailData}" partialRenderMode="multiple" partialTargets="messageBox _uixState " proxied="true" alternateText="${nls.NO_ROWS_FOUND}" width="50%" rendered="${bindings.newGroup_end2Iterator.findMode!='true'}">
    <tableFormat tableBanding="rowBanding"/>
    <contents>
    <formValue value="${uix.current.rowKeyStr}" name="rowKeyStr" id="${ui:concat('OsnovaniyaPrikazEnd:rowKeyStr:',uix.current.tableIndex)}"/>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'Id')}" text="Id" required="yes"/>
    </columnHeader>
    <contents>
    <messageTextInput id="${ui:concat('OsnovaniyaPrikazEnd:Id:',uix.current.tableIndex)}" model="${ui:cond(uix.current.isNewRow,null,uix.current.newGroup_end2Id)}" text="${uix.current.OsnovaniyaPrikazEndId}" name="Id" promptAndAccessKey="&Id" rows="1" maximumLength="1" columns="1">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </messageTextInput>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'IdPrikaz')}" text="IdPrikaz"/>
    </columnHeader>
    <contents>
    <messageTextInput id="${ui:concat('OsnovaniyaPrikazEnd:IdPrikaz:',uix.current.tableIndex)}" model="${ui:cond(uix.current.isNewRow,null,uix.current.newGroup_end2IdPrikaz)}" text="${uix.current.OsnovaniyaPrikazEndIdPrikaz}" name="IdPrikaz" promptAndAccessKey="&IdPrikaz" rows="1" maximumLength="1" columns="1">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </messageTextInput>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'IdOsnovanie')}" text="&#1053;&#1072; &#1086;&#1089;&#1085;&#1086;&#1074;&#1072;&#1085;&#1080;&#1080;"/>
    </columnHeader>
    <contents>
    <messageChoice id="${ui:concat('OsnovaniyaPrikazEnd:IdOsnovanie:',uix.current.tableIndex)}" model="${ui:cond(uix.current.isNewRow,null,uix.current.IdOsnovanie)}" name="IdOsnovanie" promptAndAccessKey="&IdOsnovanie" selectedValue="${uix.current.newGroup_end2IdOsnovanie}">
    <contents childData="${jhsTableBindings.Osnovaniya_not_viewVO_1T.rangeSet}">
    <option value="${uix.current.Id}" text="${uix.current.Text}"/>
    </contents>
    <primaryClientAction>
    <firePartialAction event="whenListChanged" formSubmitted="true" unvalidated="true" targets="${ui:cond(uix.current.isNewRow,'OsnovaniyaPrikazEnd', 'OsnovaniyaPrikazEnd')}"/>
    </primaryClientAction>
    </messageChoice>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OsnovaniyaPrikazEnd,'IdMoves')}" text="IdMoves"/>
    </columnHeader>
    <contents>
    <messageChoice rendered="${uix.current.ListLength>'1'}" id="${ui:concat('OsnovaniyaPrikazEnd:IdMoves:',uix.current.tableIndex)}"
    model="${ui:cond(uix.current.isNewRow,null,uix.current.OsnovaniyaPrikazEndIdMoves)}" name="IdMoves" promptAndAccessKey="&IdMoves"
    selectedValue="${uix.current.newGroup_end2IdMoves}">
    <contents childData="${uix.current.MovesList.inputValue}">
    <option value="${uix.current.Id}" text="${uix.current.Fam1}"/>
    </contents>
    </messageChoice>
    </contents>
    </column>
    <column>
    <columnFormat displayGrid="true" columnDataFormat="iconButtonFormat"/>
    <columnHeader>
    <text text="&#1059;&#1076;&#1072;&#1083;&#1080;&#1090;&#1100;?"/>
    </columnHeader>
    <contents>
    <checkBox name="deleteRow" value="ok"/>
    </contents>
    </column>
    </contents>
    </table>
    Thank you.

  • Cascading List Item does not work proprely

    In HTMLDB 2.0
    I have two list item
    The first one: :P7_TYPE (select list with branch to page)
    The second: :P7_PERIOD (select list)
    The Query of the :P7_PERIOD use a where clause on :P7_TYPE
    There is also two button at the bottom of region that will work once the two list (P7_TYPE and P7_PERIOD) are filled.
    Note: Both Query are based on shared compenent LOV.
    So I would like the page refreshed once the P7_TYPE values is choosed so the P7_PERIOD show only the valid values.
    The problem is when I select from the P7_TYPE List, the page is refresh but instead of displaying the page 7 again, it display another page of the application.
    I realise it always display the page number according to the value of the P7_TYPE.
    For exemple, if in P7_TYPE is choose (type desc 4, value 4) then the page 4 is displayed.
    I want the page 7 to be resfresh, not another page. So I can have a cascading list that work with P7_PERIOD.
    ??

    Ok, I change the list for list with submit instead and it work.

  • Improvement of Steve Muench's sample #62. Cascading Lists in JSF

    If you go to
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#dynamiccascadingpoplist
    you will find sample application demonstrating use of Cascading ListBoxes in JSF using selectOneChoice and ADF Master/detail relation.
    But it has one problem - if you delete required field "City" you can not longer use cascading list because of validation error. I came to one solution of this problem and I like share it with others.
    1. add immediate="true" to selectOneChoice tag. This will prevent client-side validation (in conjunction with autoSubmit="true")
    2. add
    FacesContext.getCurrentInstance().renderResponse();in the end of onRegionListChanged() in backing.java to prevent server-side validation
    There is no validation errors anymore, but now link between lists is broken
    3. add following code to onRegionListChanged in backing.java
    int position = (Integer)valueChangeEvent.getNewValue();
    DCIteratorBinding regionDCIter = bindings.findIteratorBinding("RegionsIterator");
    regionDCIter.setCurrentRowIndexInRange(position);Tip: easy way to get bindings in backing bean is to double click on some button in JSF design mode
    4. Almost there. Cascading works but we have one small bug. Set some location to Europe/United Kingdom and commit. Now, try to change region to anything else. Doesn't works. If yours logs there is IndexOutOfBounds exception.
    To solve this add following code to onRegionListChanged in backing.java:
    bindings.findIteratorBinding("LocationsViewIterator").getCurrentRow()
         .setAttribute("CountryId", null);
    getCountryIdSOC().setSubmittedValue(null);Tip: to create getCountryIdSOC() method you should edit binding attribute of the Country selectOneChoice
    In the end your method will look something like this:
    public void onRegionListChanged (ValueChangeEvent valueChangeEvent) {
         FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put("RegionChanged", "x");
         bindings.findIteratorBinding("LocationsViewIterator").getCurrentRow()
              .setAttribute("CountryId", null);
         getCountryIdSOC().setSubmittedValue(null);
         int position = (Integer)valueChangeEvent.getNewValue();
         DCIteratorBinding regionDCIter = bindings.findIteratorBinding("RegionsIterator");
         regionDCIter.setCurrentRowIndexInRange(position);
         FacesContext.getCurrentInstance().renderResponse();
    }Note: I casted bindings to DCBindingContainer.
    I hope you will find this helpful.

    To solve this add following code to
    onRegionListChanged in backing.java:
    bindings.findIteratorBinding("LocationsViewIterator").
    getCurrentRow()
         .setAttribute("CountryId", null);
    getCountryIdSOC().setSubmittedValue(null);Tip: to create getCountryIdSOC() method you should
    edit binding attribute of the Country
    selectOneChoice
    What does that do? and what do you mean by editing the binding attribute of the selectonechoice?
    Other than that I get what you're doing.

  • Building Cascading Lists for Query Screens with ADF Business Components.

    I build “Cascading Lists for Query Screens with ADF Business Components”. When I to select master list first working fine, but when I to select master list second returned error : JBO – 25013 : Too many objects match the primary key oracle.jbo.key[CN]. CN dependences with key to detail list (Countries in this case). Please help me.
    Andrew.

    You would have a better chance, that someone answers your question, if you choose the right forum:
    JDeveloper and ADF

  • Building Cascading Lists for Query with ADF Business components and JSP

    I build “Cascading Lists for Query Screens with ADF Business Components”. When I to select master list first – Ok, but when I to select master list second returned error : JBO – 25013 : Too many objects match the primary key oracle.jbo.key[CN]. CN dependences with key to detail list (Countries in this case). Please help me.
    Excuse me for my English.
    Andrew.

    You would have a better chance, that someone answers your question, if you choose the right forum:
    JDeveloper and ADF

  • Cascading List of Values & Query Panel

    Hello all! ADF BC JDev 11
    I should use Cascading List of Values in Search Query Panel. I build CLOV like in this sample http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html .
    But when i use it in Search Query Panel it does not work. :(((
    I thik that i need to set partial triger on detail LOV field. How can i do that?
    Help!
    Edited by: Victor_V_S on 23.11.2009 7:45

    Hello,
    Thanks for a nice solution.
    I have a similar situation.
    I have a query panel with auto make name list of values returning make as name and make id into the hidden view attribute.
    Based on this, i have another list of values namely auto model which is also a name field returning a name and id(hidden).
    I tried choosing the auto model name field and editing dependencies as auto make id and later auto make name as well.
    But i get this error in the Weblogic Log every time i selected the auto make LOV or auto model LOV and auto model does not filter based on auto name .
    <SimpleSelectOneRenderer><_getSelectedIndex> Could not find selected item matching value "SomeNameViewCriteria" in QueryRenderer$2[UIXEditableFacesBeanImpl, id=null]
    I have no clue how to handle this.
    Any help is greatly appreciated.
    Thanks.

  • Cascading List of values in Query Panel

    Hello,
    This is related to the thread
    Re: Cascading List of Values & Query Panel
    Hello,
    Thanks for a nice solution.
    I have a similar situation.
    I have a query panel with auto make name list of values returning make as name and make id into the hidden view attribute.
    Based on this, i have another list of values namely auto model which is also a name field returning a name and id(hidden).
    I tried choosing the auto model name field and editing dependencies as auto make id and later auto make name as well.
    But i get this error in the Weblogic Log every time i selected the auto make LOV or auto model LOV and auto model does not filter based on auto name .
    <SimpleSelectOneRenderer><_getSelectedIndex> Could not find selected item matching value "SomeNameViewCriteria" in QueryRenderer$2UIXEditableFacesBeanImpl, id=null
    I have no clue how to handle this.
    Any help is greatly appreciated.
    Thanks.

    Hi,
    I have de same problem.
    I think that it could be a bug, cause if i check "show in list" option in the View criteria the messages are no prompted, and are prompted with that option unchecked.
    Although there's no problem during execution.
    Regards!

  • Building Cascading Lists for Query Screens

    hi all:
    i tries to follow the tutorial for Building Cascading Lists for Query Screens, but i get the following error:
    oracle.jbo.InvalidOperException: JBO-25063: ?? ???? ?????? ?????? getCurrentRowSlot ??? ???? ?????? ????? ??? ??????.     at oracle.jbo.common.ws.WSObject.invalidOperation(WSObject.java:49)     at oracle.jbo.common.ws.WSRowSetIteratorBase.getCurrentRowSlot(WSRowSetIteratorBase.java:500)     at oracle.adf.model.binding.DCIteratorBinding.internalGetCurrentRowInBinding(DCIteratorBinding.java:1628)     at oracle.adf.model.binding.DCIteratorBinding.getCurrentRow(DCIteratorBinding.java:1605)     at oracle.jbo.uicli.binding.JUCtrlListBinding.getSelectedIndex(JUCtrlListBinding.java:516)     at oracle.jbo.uicli.binding.JUCtrlListBinding.toString(JUCtrlListBinding.java:933)     at org.apache.commons.beanutils.BeanUtils.getArrayProperty(BeanUtils.java:558)     at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:309)     at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:244)     at gonow.jspService(gonow.jsp:12)     [gonow.jsp]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

    You would have a better chance, that someone answers your question, if you choose the right forum:
    JDeveloper and ADF

  • Working with cascading list in jdevloper 10.1.2

    hi all:
    i followed this tutorial for cascading lists
    http://www.oracle.com/technology/products/jdev/tips/mills/cascading_lists.html
    my browser is javascript enabled still the two lists won't be updated unless i added a submit button,i want the lists be updated automatically,can anyone help...

    I don't have a canned solution but a quick google search turned out this:
    http://www.mail-archive.com/[email protected]/msg78319.html
    You might want to check with the guys who are forcing you to use the old 10.1.2 if they are aware of the fact that 10.1.3 has hundreds of new features and that it too can deploy applications to OAS 10.1.2.

  • Cascading list in UIX

    Hi
    One month ago we ask about how to implement cascading list in UIX, but we don't obtain any answer. Please, anyone know how to implement cascading list in UIX?
    Thanks for any help.
    Geraldine

    Hi, This is how my team implemented this requirement.
    I have state and city list on my screen.
    I use data provider to populate all my list.
    Let's say your data provider methods:
    * get the States from the Table
    * @param context
    * @param namespace
    * @param name
    * @return
    static public Object getState(RenderingContext context,
    String namespace,
    String name)
    DropDownListDao dropDownListDao = new DropDownListDao();
    // List list = null;
    // TODO : Need to get the Data form the DB Table
    String select = " SELECT STATE_CD, STATE_CD FROM VW_STATES ";
    List list = dropDownListDao.getStaticDataList(select);
    return list;
    }// getState()
    static public Object getCityList(
    RenderingContext context, String namespace, String name)
    HttpSession sess = BajaRenderingContext.getHttpSession(context);
    List list = (List) sess.getAttribute("cityList");
    return list;
    I also use strut action that get the event posted by
    changing state.
    that will put the city List in the session for a selected
    state.
    public void onResetCityDataEvent (DataActionContext ctx) {
    HomeAppModule ham = (HomeAppModule)ActionUtil.getAppModule(ctx,ViewCtrlConstants.HOME_APP_MODULE);
    String stateName = ViewControllerUtil.getRequestParameter(ctx,"stateData","-1");
    if (stateName.equals("")) {
    stateName = "-1"; // etc ....
    List cityList = DynamicListData.getCityListWithAll(stateName);
    ViewControllerUtil.setSessionAttribute(ctx, "cityList", cityList);
    here is my uix page
    <messageChoice prompt="State" name="stateData" selectedValue="${ui:defaulting(param.stateData, 'ALL')}">
    <contents childData="${uix.data.stateDataList}">
    <option text="${uix.current.code}" value="${uix.current.value}"/>
    </contents>
    <primaryClientAction>
    <firePartialAction formSubmitted="true" unvalidated="true" event="ResetCityDataEvent" targets="cityData"/>
    </primaryClientAction>
    </messageChoice>
    <messageChoice prompt="City" id="cityData" name="cityData" selectedValue="${ui:defaulting(param.cityData, 'ALL')}">
    <contents childData="${uix.data.cityDataList}">
    <option text="${uix.current.code}" value="${uix.current.value}"/>
    </contents>
    </messageChoice>
    I know it is confusing at first, but this is what I did to make it work.
    I hope it will help.
    Thanks

  • Dynamic Actions & Cascading List of Values (Exception thrown and not caught

    I am having a really strange issue within my Apex 4.0 environment where I am trying to build dynamic actions and cascading list of values.
    I am trying to develop new functionality in an existing application, (original application developed using HTMLdb 1.6 and gradually updated to Apex 4.0.1), to add a dynamic action that sets a value of another field, using SQL. The dynamic action is failing with 'Exception thrown and not caught - jquery-1.4.2.min.js Line: 28 Char: 162'. However, when I create a new application within the same workspace and develop the same functionality is works without a problem.
    I have ensured the templates for each page/region are an exact copy of each other.
    <b>When I run the application in Firebug I get the following information:</b>
    Date     Fri, 31 Dec 2010 14:20:03 GMT
    Server     Oracle-Application-Server-11g
    X-DB-Content-length     87
    Set-Cookie     HTMLDB_IDLE_SESSION=31-DEC-2010 23:20:03;path=/
    Content-Length     87
    Keep-Alive     timeout=5, max=99
    Connection     Keep-Alive
    Content-Type     text/html; charset=UTF-8
    Content-Language     en
    <b>For the application that is working I get slightly different response headers.</b>
    Date     Fri, 31 Dec 2010 14:20:37 GMT
    Server     Oracle-Application-Server-11g
    Cache-Control     no-cache
    Pragma     no-cache
    X-DB-Content-length     14
    Content-Length     14
    Keep-Alive     timeout=5, max=94
    Connection     Keep-Alive
    Content-Type     application/json
    Content-Language     en
    <b>Notice the Content-Type for the version that doesn't work is using "text/html", while the working version uses "application/json"
    Firebug also provides the following error:</b>
    uncaught exception: Invalid JSON: Content-type: application/json Cache-Control: no-cache Pragma: no-cache {"value":"1"}
    <b>Does anyone have any idea what is going on??
    Thanks.
    Jon</b>

    Patrick,
    Thanks my session verify function was causing the problem and I have removed it temporarily from my authentication scheme.
    I am using the "check_timeout" function that was developed a number of years ago as part of a "How To" section in the old HTMLdb days. I knew there was an issue with this routine as the newer versions of the browsers handle cookies differently and I was going to redevelop it at some point. Do you know which part of the function causes the issue?
    Many Thanks,
    Jon
    FUNCTION check_timeout
    RETURN BOOLEAN
    AS
    l_session_expire VARCHAR2(256) := NULL;
    l_cookie_exists BOOLEAN := TRUE;
    BEGIN
    IF htmldb_custom_auth.get_user IS NULL THEN
    RETURN TRUE;
    END IF;
    BEGIN
    l_session_expire := owa_cookie.get('HTMLDB_IDLE_SESSION').vals(1);
    EXCEPTION WHEN NO_DATA_FOUND THEN
    l_cookie_exists := FALSE; -- no cookie set, assume first page visit after login
    END;
    IF l_cookie_exists
    AND TO_DATE(l_session_expire,'DD-MON-YYYY HH24:MI:SS') < SYSDATE
    THEN
    wwv_flow.g_unrecoverable_error := TRUE;
    owa_util.redirect_url('f?p='||'500:101'); -- Note hard-coded login application and page ID 500:101
    RETURN FALSE;
    ELSIF NOT g_cookie_already_sent THEN
    owa_util.mime_header('text/html', FALSE);
    owa_cookie.send ( NAME => 'HTMLDB_IDLE_SESSION',
    VALUE => TO_CHAR(SYSDATE+(c_max_idle_minutes/1440),'DD-MON-YYYY HH24:MI:SS'),
    expires => NULL,
    path => '/',
    domain => NULL );
    owa_util.http_header_close;
    g_cookie_already_sent := TRUE;
    END IF;
    RETURN TRUE;
    END check_timeout;

  • Cascading lists on uix pages

    Hi,
    there's a how-to topic describing the realization of cascading lists on jsp pages:
    http://www.oracle.com/technology/products/jdev/tips/mills/cascading_lists.html
    Now I tried the same on a uix page. I cannot use a navigation list to drag n' drop the VO there, so I tried using MessageChoice elements.
    The result looks fine on first glance, the second combo being initialized (filtered) with values matching the initial value of the first combo. But changing the value in the first combo causes ArrayIndexOutOfBoundsExceptions (value 0) instead of correctly updating the second combo.
    Can anyone imagine what I'm doing wrong or provide information how to realize cascading lists on uix pages?
    Thanks in advance
    Christian

    Hi I was building cascading lists in a search form with ADFBC and JSF but i can't understand how implement the mechanism to refresh the second list when the first has changed....
    I read the tutorial but I can't find the solution....
    Please anybody can help me....?
    Thanks in advance...

  • Cascading lists without submit button

    hi all:
    i followed the tutorial for building cascading lists and it works but i need that the detail list will be updated automatically when i change the master list without using a submit button, can anyone tell me how this could be implemented.
    Best Regards

    An example is here:
    http://www.oracle.com/technology/products/jdev/howtos/10g/StrutsValidator/struts_validator_howto.html
    I've never taken it any further than that.
    We opted for a button beside the field [Refresh], with an onRefresh event in a dataforwardaction, but we're using ADF BC/Struts/JSPs. If struts validator is in place, then you need to "short-circuit" the validator at this point, or you'll get a stack of errors that you may not want. Or you could always override the validate() method and filter them out when you see the event_Refresh button was pressed.

  • Cascading list problem?

    hi all;
    i have two tables. one is project table (this contains all my projects) and the other one is project_objects (this contains project's forms, reports names)
    in ADF, i want to do when i select a project in first list, only the project's objects will be return in second list
    the lists are showing data bur unless commiting the project_objects shows all objects not the projects objects
    thanks

    Assuming you are using ADF Business Components, this is easy.
    Set up your master project view object to be view linked to the project-detail view object.
    Then, use a NavigationList binding for the master dropdownlist and set its auto-submit to true. Give the "parent" selectOneChoice an id, then indicate in the "child" list's partial-targets that it should update when that parent "id" is changed.
    You can see an example of cascading lists by looking at example #62 on my blog:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#62

Maybe you are looking for