Three level dependent  af:selectOnechoice

Hi All,
I am working with Jdev 11g (11.1.1.2.0)
I am trying to create three level dependent af:selectOnechoice, First level is working fine, Second level is not working ,unable to retrieve the values..
In Application module it is working fine, In Jspx page i am getting this issue.
I have given autosubmit property as "true" to selectOnechoice 1 and partial trigger for selectOnechoice 1 from selectOnechoice 2
similarly from 2nd level
autosubmit property as "true" to selectOnechoice 2 and partial trigger for selectOnechoice 2 from selectOnechoice 3
XML code for ur reference
<af:selectOneChoice value="#{bindings.MenuTypeTr.inputValue}" label="#{bindings.MenuTypeTr.label}"
required="#{bindings.MenuTypeTr.hints.mandatory}"
shortDesc="#{bindings.MenuTypeTr.hints.tooltip}" id="soc1"
binding="#{backingBeanScope.backing_untitled10.soc1}" autoSubmit="true">
<f:selectItems value="#{bindings.MenuTypeTr.items}" id="si1"
binding="#{backingBeanScope.backing_untitled10.si1}"/>
</af:selectOneChoice>
<af:selectOneChoice value="#{bindings.MainMenuTr.inputValue}" label="#{bindings.MainMenuTr.label}"
required="#{bindings.MainMenuTr.hints.mandatory}"
shortDesc="#{bindings.MainMenuTr.hints.tooltip}" id="soc2"
binding="#{backingBeanScope.backing_untitled10.soc2}" autoSubmit="true"
partialTriggers="soc1">
<f:selectItems value="#{bindings.MainMenuTr.items}" id="si2"
binding="#{backingBeanScope.backing_untitled10.si2}"/>
</af:selectOneChoice>
<af:selectOneChoice value="#{bindings.SubMenuTr.inputValue}" label="#{bindings.SubMenuTr.label}"
required="#{bindings.SubMenuTr.hints.mandatory}"
shortDesc="#{bindings.SubMenuTr.hints.tooltip}" id="soc3"
binding="#{backingBeanScope.backing_untitled10.soc3}" partialTriggers="soc2">
<f:selectItems value="#{bindings.SubMenuTr.items}" id="si3"
binding="#{backingBeanScope.backing_untitled10.si3}"/>
</af:selectOneChoice>
Plz guide me, If any thing i missed or did wrong
Thanks in Advance
Regards,
Zakir

Hi,
first of all make sure that dropdown queries are returning records. you can test it in bc4j tester ( right click on am and run).
Also can look @ http://groundside.com/blog/GrantRonald?title=jdeveloper_11_live_demo_cascading_list_o&more=1&c=1&tb=1&pb=1
or
http://ranajitsahoo.blogspot.com/2008/05/how-to-implement-dependent-drop-down.html
~Abhijit

Similar Messages

  • Three level sc approval wf

    Hi all,
    I am currently working on three level sc approval workflow...
    the 1st level approval is based on product category,2nd level is based on costcentre and the 3rd level is based on the shopping cart value...i am currently working on the BADI...what value should i give for the approval index for each level..i am not clear abt the actual approval index..can anyone help me..
    Thanks&Regards,
    Hari.

    hi ,
    there is default implementation already provided by SAP along with the system --> please have a look.
    if you have three approvers
    1) first approver will have index 1 , second will have 2 , third will have 3.
    you have to code your BADI in such a way ---> that approval table will have correct number of approvers depending on the input of the shopping cart.
    approval_table is very critical in badi ---> this defines the approvers involved in approval chain
    Edited by: khan voyalpad usman on Jan 11, 2008 1:13 AM

  • How do I structure Information in three Levels in MDM 7.1?

    Hi,
    I am creating a Service Catalogue for a customer. They require three levels in the catalogue: "Packed Services" that are built up by several "Services", that can have several "Supporting Services".
    I am thinking  of using two main tables, and tuples to create BOS for Packed Service and Service. But how should I take care of the lowest level? They wish to be able to order Supporting Services separatly, so I dont think i can put it in a Qualified field in the Service Main Table.
    How about Relationships? Are they on the way out?
    Any suggestions? Is there other ways to structure data in MDM 7.1?
    Kind Regards,
    Thomas

    In the paragraph tab. You may have to open it the first time from the Window menu.
    Chris
    Adobe Enterprise Developer Support

  • How to implement Three Level Sort ?

    I am performing a complex search and get a List of Object. Now, the problem is I have to sort this list in three levels. That is,
    If I have Object like this
    public class A {
    private String id ; // unique for every record
    private String attr1;
    private String attr2;
    private String attr3;
    private String attr4;
    then I have to Sort the List of above type of objects
    First level -attr1 as Asc
    Second level -attr2 as Asc
    third level - attr3 as desc
    Could u suggest some way to implement this.

    I would suggest using the built in Collections framework for sorting.
    have class A implement the Comparable interface then implement the compareTo method as follows:
    public int compareTo(Object o) {
        A a = (A)o;  // <-- may cause ClassCastException if (o instanceof A) != true, but that should not be a problem.
        int value = attr1.compareTo(a.attr1);
        if (value != 0) return value;
        value = attr2.compareTo(a.attr2);
        if (value != 0) return value;
        value = a.attr3.compareTo(attr3);  //Notice I switched a.attr3 and attr3 for desc
        return value;
    }That should do it for you.
    Now put everything into an instance of java.util.List and pass that to java.util.Collections.sort(java.util.List);
    If you didn't create class A, and therefore can't add a method to it, then implement a Comparator. The idea is the same, just look at the java.util.Comparator API and use java.util.Collection.sort(java.util.List, java.util.Comparator) method to sort;

  • Has anyone created a dynamic two or three level tree?

    Hi -
    If anyone has created a dynamic two or three level tree, can you please explain and/or show a code example of how you did it? The 'dynamic tree tutorial' doesn't show the child node being created dynamically, but graphically.
    I can build the first level fine, but how does the child node get associated with the parent node in the next level?
    Thanks in advance.

    Here's a snippet that might help. I'm sure there are more elegant ways to code it but this seems to work!
    Good luck,
    Keith
    //1st Loop - executed once per first level of tree
    for (int i = 0; i <= days; i++) {
    j = i+1;
    TreeNode newFirstNode = new TreeNode();
    newFirstNode.setId("day" + j);
    newFirstNode.setText("First " + j );
    itineraryNodeChildren.add(newFirstNode);
    java.util.List firstNodeChildren = newFirstNode.getChildren();
    // Second Loop executed once per Second level within the First loop
    for (int k=0; k<rk; k++) {
    secondNumber ++;
    TreeNode newSecondNode = new TreeNode();
    newSecondNode.setText(secondNodeText);
    firstNodeChildren.add(newSecondNode);
    }

  • Three Levels of Hierarchy in REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi All,
    Can we have a Three levels of Hierarchy in the function module REUSE_ALV_HIERSEQ_LIST_DISPLAY. I know we can have a two levels like Header and Item. If any other function module is available for this please let me know.
    Requirement is :-
    First Level - Maintainence Order
    Second Level - Operations related to MO
    Third level - Components related to operations
    Thanks in advance.
    Pankaj

    Hai Pankaj,
    I think it is not possible, you can have only two levels only. Header / Line Item only.

  • Three-level ADF Tree from HR Schema

    JDeveloper 11.1.1.0.1 + ADFBC + ADFRC
    Hello all!
    I am stumped on this one. I want to create a tree based on the HR schema that includes three levels: Department Name > Job Title > Employee Name.
    In other words, I want the root node to be Department Name. Then, when the Department name node is expanded, I want a list of all Job Titles under that department. When the Job Titles node is expanded, a list of all employee names under that Job Title and in that Department.
    Does anyone have any ideas as to how to accomplish this?
    Thanks!
    Edited by: Alexander Pepper on Jan 19, 2009 6:54 AM

    Thanks Shay, thats exactly the information I was missing. Thanks also for the really quick responses.
    So now the I have the three level relationship that works perfectly in the BC tester. I choose a department, select the Jobs node and see all Jobs belonging to that apartment, then click the Employees node under the Jobs node and see all employees with that job.
    However, the ADF tree still does the same thing. I've even tried creating the whole model layer manually instead of using the Business Components from Tables wizard to make sure that the proper ViewLinks were being used, and not the automatically generated ones. Still, no difference.
    Are you aware if this has definitely been done successfully before? Is there anything else I could be missing?

  • Three level pop up

    Hi All,
    I want to have three level pop up menu on my application.
    First Level- Horizontal on mouseHover it should show next level vertical and on second level mouseHover it should again be Vertical.
    I have changed the required paramaters but its still showing third level as Horizontal instead of Vertically displaying the menu.
    I don't want to user Menu option.
    Below is the code for Pop-Up. Please help
    <cust:panelCustomizable id="pt_pc4"
    inlineStyle="background-image:url(#{facesContext.externalContext.requestContextPath}/images/globe_tab-bkg.png);background-position:center top;background-repeat:repeat-x;padding-top:2px;"
    rendered="#{!composerContext.inEditMode and attrs.showNavigation and !attrs.isEditingTemplate}">
    <af:panelGroupLayout id="pt_pgl3" layout="horizontal"
    inlineStyle="height:20px;">
    <af:spacer id="pt_sp3" width="10"/>
    <!-- iterate over navigation items -->
    <af:forEach var="node" varStatus="vs"
    items="#{navigationContext.defaultNavigationModel.listModel['startNode=/, includeStartNode=false']}">
    <af:subform id="pt_sfm1">
    <af:switcher id="pt_sw1"
    facetName="#{(empty node.attributes['Target']) || (node.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
    <f:facet name="command">
    <af:commandLink id="pt_cl1" text="#{node.title}"
    inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node" value="#{node}"/>
    <af:showPopupBehavior popupId="menuPopup"
    align="afterStart"
    triggerType="mouseHover"/>
    <c:if test="${node.attributes['Target'] == '_popup'}">
    <af:clientAttribute name="modelPath"
    value="#{node.navigationModel.metadataId}"/>
    <af:clientAttribute name="selectedPrettyUrl"
    value="#{node.prettyUrl}"/>
    <af:clientAttribute name="selectedTitle"
    value="#{node.title}"/>
    <af:showPopupBehavior popupId="::rendererPopup"
    triggerType="action"/>
    </c:if>
    </af:commandLink>
    </f:facet>
    <f:facet name="golink">
    <af:goLink id="pt_gl1" text="#{node.title}"
    destination="#{node.goLinkPrettyUrl}"
    targetFrame="#{node.attributes['Target']}"
    inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}">
    <af:showPopupBehavior popupId="menuPopup"
    align="endBefore"
    triggerType="mouseHover"/>
    </af:goLink>
    </f:facet>
    </af:switcher>
    <af:spacer id="pt_sp9" width="20" rendered="#{! vs.last}"/>
    <af:popup id="menuPopup" contentDelivery="immediate"
    animate="false" rendered="#{! empty node.children}">
    <af:panelGroupLayout id="pt_pgl7" layout="vertical">
    <af:forEach var="node2" varStatus="vs2"
    items="#{node.children}">
    <af:switcher id="pt_s1"
    facetName="#{(empty node2.attributes['Target']) || (node2.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
    <f:facet name="command">
    <af:commandLink id="pt_cl3" text="#{node2.title}"
    inlineStyle="font-size:small;#{node2.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node2.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node2.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node5" value="#{node2}"/>
    <af:showPopupBehavior popupId="pt_p1"
    align="endBefore"
    triggerType="mouseHover"/>
    <c:if test="${node2.attributes['Target'] == '_popup'}">
    <af:clientAttribute name="modelPath"
    value="#{node2.navigationModel.metadataId}"/>
    <af:clientAttribute name="selectedPrettyUrl"
    value="#{node2.prettyUrl}"/>
    <af:clientAttribute name="selectedTitle"
    value="#{node2.title}"/>
    <af:showPopupBehavior popupId="::rendererPopup"
    triggerType="action"/>
    </c:if>
    </af:commandLink>
    </f:facet>
    <f:facet name="golink">
    <af:goLink id="pt_gl3" text="#{node2.title}"
    destination="#{node2.goLinkPrettyUrl}"
    targetFrame="#{node2.attributes['Target']}"
    inlineStyle="font-size:small;#{node2.selected ? 'font-weight:bold;' : ''}">
    <af:showPopupBehavior popupId="pt_p1"
    align="endBefore"
    triggerType="mouseHover"/>
    </af:goLink>
    </f:facet>
    </af:switcher>
    <af:spacer id="pt_s4" width="20" rendered="#{! vs2.last}"/>
    <af:popup id="pt_p1" contentDelivery="immediate"
    animate="false" rendered="#{! empty node2.children}" >
    <af:panelGroupLayout id="pt_pgl4" layout="horizontal">
    <af:forEach var="node3" varStatus="vs3"
    items="#{node2.children}">
    <af:spacer id="pt_sp10" height="5px"/>
    <af:switcher id="pt_sw2"
    facetName="#{(empty node3.attributes['Target']) || (node3.attributes['Target'] == '_popup') ? 'command' : 'golink'}">
    <f:facet name="command">
    <af:commandLink id="pt_cl2" text="#{node3.title}"
    inlineStyle="#{node3.selected ? 'font-weight:bold;' : ''}"
    action="pprnav"
    disabled="#{not node3.navigable}"
    actionListener="#{navigationContext.processAction}"
    clientComponent="#{node3.attributes['Target'] == '_popup' ? true : false}">
    <!-- pass node to processAction for setting current selection and navigation -->
    <f:attribute name="node" value="#{node3}"/>
    <c:if test="${node2.attributes['Target'] == '_popup'}">
    <af:clientAttribute name="modelPath"
    value="#{node3.navigationModel.metadataId}"/>
    <af:clientAttribute name="selectedPrettyUrl"
    value="#{node3.prettyUrl}"/>
    <af:clientAttribute name="selectedTitle"
    value="#{node3.title}"/>
    <af:showPopupBehavior popupId="::rendererPopup"
    triggerType="action"/>
    </c:if>
    </af:commandLink>
    </f:facet>
    <f:facet name="golink">
    <af:goLink id="pt_gl2" text="#{node3.title}"
    destination="#{node3.goLinkPrettyUrl}"
    targetFrame="#{node3.attributes['Target']}"
    inlineStyle="font-size:small;#{node3.selected ? 'font-weight:bold;' : ''}">
    <af:showPopupBehavior popupId="pt_p1"
    align="afterStart"
    triggerType="mouseHover"/>
    </af:goLink>
    </f:facet>
    </af:switcher>
    </af:forEach>
    </af:panelGroupLayout>
    </af:popup>
    </af:forEach>
    </af:panelGroupLayout>
    </af:popup>
    </af:subform>
    </af:forEach>
    </af:panelGroupLayout>
    </cust:panelCustomizable>
    <af:popup id="rendererPopup" contentDelivery="lazyUncached"
    launcherVar="source" eventContext="launcher">
    <af:setPropertyListener from="#{source.attributes.modelPath}"
    to="#{viewScope.modelPath}"
    type="popupFetch"/>
    <af:setPropertyListener from="#{source.attributes.selectedPrettyUrl}"
    to="#{viewScope.selectedPrettyUrl}"
    type="popupFetch"/>
    <af:setPropertyListener from="#{source.attributes.selectedTitle}"
    to="#{viewScope.selectedTitle}"
    type="popupFetch"/>
    <af:dialog id="pt_d1" title="#{viewScope.selectedTitle}" type="cancel"
    cancelTextAndAccessKey="Close">
    <af:region value="#{bindings.navigationrenderer1.regionModel}"
    id="pt_r1"/>
    </af:dialog>
    </af:popup>
    I'm not sure how to post code in block.
    Please advice.

    To format your code you can read the FAQs (link in the top right corner.
    Not sure about your problem, as the code it hard to read.
    Please gives us your jdev version and technology
    Timo

  • OPEN FI enhancements at three levels - SAP, Partner and customer

    Hi,
    While implementing OPEN FI enhancements like BTE the major advantage mentioned by SAP (help) is
    Open FI assumes that enhancement will only take place on three levels (SAP - partners - customers), whereas with Business Add-Ins you can create and implement enhancements in as many software layers as you like.
    I am understood with the 'SAP' implementation part,
    But, unclear about 'Partner' - 'Customer' or 'SAP' - 'Customer' implementation part.
    I mean how will you be able to differentiate out between them, and if I implement my own OPEN FI enhancement (BTE) then I must register as a 'Customer'.
    Then, in that case can I implement as a partner?
    Please throw some light on this point as it is very important to understand the difference.
    Best regards,
    Harsh Dave

    Hello,
    the SAP-level is clear ( as you wrote ), mostly used by SAP for country specific enhancements.
    The 'PARTNER'-level is intended for the use of companies which write additional products to enhance the standard SAP and sell this software. They (at least should) have a partner-namespace ( something /***/) registered by SAP. So all the functions in these enhancements should begin with that /***/.
    The Customer-Level is intended for Customer-specific development - all functions used there should be named according to the Y/Z-namespace.
    That's the theory behind that statement. I think practical you could use even in a customer system the partner-level, but you shouldn't do.
    Regards Wolfgang

  • I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.

    Hi All,
    I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.
    Implement this requirement through customization, how can i start any help
    Thanks

    Hello,
    You can follow these links to get the result that you want. You can get the desired result either using the custom list or a site map. Please make sure when you edit the master page, dont work on the original v4.master. Always make a a copy and then work
    on it.
    This link will show you how get that navigation using a list.
    http://www.bitsofsharepoint.com/BlogPoint/Lists/Posts/Post.aspx?ID=60
    This link will show you how get that navigation using a sitemap.
    http://www.sharepointdiary.com/2012/01/custom-top-navigation-using-sitemap.html
    Please mark as "Answered" if this helped you.
    Thanks,
    norasampang

  • Three ComboBoxes Dependent on Each Other - Please Help

    I am trying to figure out how to make the data displayed in three ComboBoxes dependent on each other while not hard-coding business rules in "if" constructs, but instead use an ArrayCollection of invalid combinations.
    After compiling the following code and launching, the "$100.00" item in the Tariff ComboBox will be grayed out and inactive
    because its "valid" field is "false".
    QUESTION: what should be added to this application to support the following use cases of the ComboBoxes:
    1) If the user selects clothes and China in the Product and Source ComboBoxes, the "valid" field for the "$100.00" item in the "tariff" ArrayCollection changes to "true", so the "$100.00" item is black and active. Also, the "valid" field for the "none" item in the "tariff" ArrayCollection changes to "false", so the "none" item is gray and inactive.
    2) If after performing 1) above, the user selects Mexico Source ComboBox, the "valid" field for the "$100.00" item in the "tariff" ArrayCollection changes to "false", so the "$100.00" item is gray and inactive. Also, the "valid" field for the "none" item in the "tariff" ArrayCollection changes to "true", so the "none" item is black and active
    I do not want to hard-code these business rules using if() constructs in ComboBox change handlers. Instead, I want to use the "invalid" ArrayCollection below to enforce whatever invalid combinations are in that AC. This will enable a flexible system.
    I've been wracking my brain on this one so please help.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      creationComplete="init();">
      <mx:Script>
        <![CDATA[
          import mx.collections.ArrayCollection;
          import mx.events.FlexEvent;
          /* The items in these ComboBoxes will be grayed out and inactive
             if their "valid" field is "false".
             After launching the application, open the "Tariff" ComboBox
             and notice the $100.00 item is grayed out and cannot be selected.
             QUESTION: what should be added to this application to support
                       the following use cases of the ComboBoxes:
             1) If the user selects clothes and China in the Product and
                 Source ComboBoxes, the "valid" field for the "$100.00" item
                 in the "tariff" ArrayCollection changes to "true", so the
                 "$100.00" item is black and active. Also, the "valid" field
                 for the "none" item in the "tariff" ArrayCollection changes
                 to "false", so the "none" item is gray and inactive
             2) If after performing 1) above, the user selects Mexico Source
                 ComboBox, the "valid" field for the "$100.00" item in the
                 "tariff" ArrayCollection changes to "false", so the "$100.00"
                 item is gray and inactive. Also, the "valid" field for the
                 "none" item in the "tariff" ArrayCollection changes to "true",
                 so the "none" item is black and active
             I do not want to hard-code these business rules using if() constructs
             in ComboBox change handlers. Instead, I want to use the "invalid"
             ArrayCollection below to enforce whatever invalid combinations
             are in that AC. This will enable a flexible system.
          [Bindable] private var product:ArrayCollection = new ArrayCollection([
            {label: "cars", valid: true},
            {label: "clothes", valid: true}
          [Bindable] private var source:ArrayCollection = new ArrayCollection([
            {label: "China", valid: true},
            {label: "Mexico", valid: true}
          [Bindable] private var tariff:ArrayCollection = new ArrayCollection([
            {label: "none", valid: true},
            {label: "$100.00", valid: false}
          [Bindable] private var invalid:ArrayCollection = new ArrayCollection([
            ["cars"],["China"],["$100.00"],
            ["clothes"],["China"],["none"],
            ["clothes"],["Mexico"],["$100.00"]
          [Bindable] private var currProduct:Object = new Object();
          [Bindable] private var currSource:Object = new Object();
          [Bindable] private var currTariff:Object = new Object();
          private function init():void{
            systemManager.addEventListener(FlexEvent.VALUE_COMMIT, sysMgrHandler, true);
          private function sysMgrHandler(evt:FlexEvent):void{
            if(evt.target is ComboBox){
              var tgt:ComboBox = evt.target as ComboBox;
              switch(tgt){
                case cbxOne:
                  if(tgt.selectedItem.valid == false){
                    tgt.selectedItem = currProduct;
                  break;
                case cbxTwo:
                  if(tgt.selectedItem.valid == false){
                    tgt.selectedItem = currSource;
                  break;
                case cbxThree:
                  if(tgt.selectedItem.valid == false){
                    tgt.selectedItem = currTariff;
                  break;
        ]]>
      </mx:Script>
      <mx:Label text="Tariff Calculator"/>
      <mx:Canvas width="{hb.width}">
        <mx:Label text="Product:" x="{cbxOne.x}"/>
        <mx:Label text="Source:" x="{cbxTwo.x}"/>
        <mx:Label text="Tariff:" x="{cbxThree.x}"/>
      </mx:Canvas>
      <mx:HBox id="hb">
        <mx:ComboBox id="cbxOne" dataProvider="{product}" open="currProduct=cbxOne.selectedItem;">
          <mx:itemRenderer>
            <mx:Component>
              <mx:Label text="{data.label}" color="{uint(data.valid==true?0x000000:0xCCCCCC)}"/>         
            </mx:Component>
          </mx:itemRenderer>
        </mx:ComboBox>
        <mx:ComboBox id="cbxTwo" dataProvider="{source}" open="currSource=cbxTwo.selectedItem;">
          <mx:itemRenderer>
            <mx:Component>
              <mx:Label text="{data.label}" color="{uint(data.valid==true?0x000000:0xCCCCCC)}"/>         
            </mx:Component>
          </mx:itemRenderer>
        </mx:ComboBox>
        <mx:ComboBox id="cbxThree" dataProvider="{tariff}" open="currTariff=cbxThree.selectedItem;">
          <mx:itemRenderer>
            <mx:Component>
              <mx:Label text="{data.label}" color="{uint(data.valid==true?0x000000:0xCCCCCC)}"/>         
            </mx:Component>
          </mx:itemRenderer>
        </mx:ComboBox>
      </mx:HBox>
    </mx:Application>

    It seems like you may want another layer of indirection here. Not necessarily another class (that's probably needed, but orthogonal), but it seems awkward that your "valid/invalid" flags are sitting there directly in the combobox data provider ACs.The items themselves aren't really valid or invalid: it's whether they are selectable in the comboboxes based on the state of the entire application. Instead of storing plain Objects in those ACs, I'd suggest something like
    class Validator {
      public var selectedSource:String;
      public var selectedProduct:String;
      public var selectedTarriff:String;
      public var invalid:ArrayList
      public function isValid(type:String,item:String):Boolean {
        // loop over invalid to determine whether this particular item is valid, given the
        // currernt combination of selected items
    class ValidatedItem {
      public var name:String;
      public var type:String;
      public var validator:Validator;
      public function get valid():Boolean {
        return validator.isValid(type, name);
    Then fill your combobox dataproviders with ValidatedItems instead of Objects. You'll need to instantiate the Validator once for the app and inject it into each item (a Dependency Injection infrastructure like Mate or SmartyPants can make this easier). You can use a Singleton instead if that's more your thing (I'm trying to de-Singleton my life).
    I think that you'll need to wire some extra binding to Validator since otherwise ValidatedItem won't update the valid property when the selected items on Validator change, but that's straigthforward.
    Is this the sort of approach you were thinking of?
    Maciek Sakrejda
    Truviso, Inc.
    www.truviso.com
    Truviso is hiring: http://www.truviso.com/company-careers.php?i=87

  • Is there methodology of BPM Development (DC) in three-level landscape ?

    Hi All,
    Is there methodology of BPM Development (DC) in three-level landscape (development,test,productive) ?
    We have 3 CE(dce,tce,pce) and 3 Backend (dr,tr,pr).
    We have BPM DC on dce with Web services on dr and dce (for start BPM with input parameters) throug Service Group.
    we deploy WS for start bpm on tce. Create appropriate Service Group.
    we transport backend developments on tr. new WSDl and endpoint url's for Web services
    What kind of changes should we do in BPM DC ?
    import inteface of Ws for start BPM.
    WS for Start output mapping.
    What to do with others Ws on tr?
    It will be necessary to repeat mapping?

    Hi partners! =)
    Happy New Year!
    I am working with CE, BPM 7.2, I have been trying to integrate some external web services but I am having this error with 2 of the 3 web services:
    Caused by: com.sap.engine.interfaces.sca.assembly.AssemblyException: Could not generate metadata for interface [http://www.osoa.org/xmlns/sca/1.0#WSDLPortType]{}
    Caused by: java.lang.IllegalArgumentException: Schema is not closed, Type http://CCService#CreditReportResBO is unknown
    Does anybody know how to fix it??
    Best Regards!!!
    Help me please!!!
    Michele

  • WAS Installation on three levels

    Hi all,
    I have one question, I've never tried to install SAP R3 on three separate levels (one host for sapgui, one host for application and one host for database), I've always installed it on two levels (sapgui and appl+datab)
    I think it's possible without problems but can someone of you give me your opinion??...
    Thanks and regards.

    Hi Rich,
    Thanks for your quick answer, I thought it was possible but I wasn´t sure at all.
    Another question, could you change one already existing installation on two levels to three levels?? Is it possible to move the database to another host??
    Thanks and regards.

  • Fiori Like Custom Launchpad - Two/Three levels of tiles

    Hi All ,
    We are trying to expose our developed custom UI5 applications to the end user in a Custom Launchpad similar to the standard one .
    We are trying to have two or three levels of tiles where there will be 4 tiles on the first level . Clicking on a tile in level 1 will bring up 4 tiles in level 2  and clicking on any of these Level 2 tiles will bring up 3 more tiles in level 3 .
    Can someone guide me as to how to achieve this . I have already created catalogs with tiles . I have also created groups and assigned tiles to groups as well. All this works fine . What I cannot figure out is how to create the 3 level hierarchy . I believe there should be something like a group inside a group / catalog inside a catalog but cannot figure out how to achieve this .
    TIA ,
    Himanshu

    Hi Himanshu Kandpal  
    I'm facing the same issue in my project.
    But my requirement is only 2 level. Tiles with in a single tile
    have you solved this issue? If so please help me to resolve this.
    Regards
    Yokesvaran Kumarasamy

  • Creation of new key figure at report level depending on the month range

    Dear All,
    I have a requirment where user wants to see the dollar values for the Amount key figure. Data is stored in the INR value in the cube.
    Exchange rate values keep on changing depending upon the quarter. For all four quarters we have four different exchange rate.
    Now system has to identify the applicable exchange rate and show a new column with the USD value just beside the INR values column.
    How best we can achieve this.
    Thanks & Rgds,
    Anup

    Hi
    You can have currency translation at query level for achieving this.
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/600157ec-44e5-2b10-abb0-dc9d06ba6c2f&overridelayout=true
    Translation in Query
    Regards
    Ravi
    Edited by: Ravi Naalla on Aug 17, 2009 11:56 AM

Maybe you are looking for

  • Trouble with Application Server connection/deployment

    This is the output I get when testing the remote connection I set up: C:\Program Files\JDeveloper\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Program Files\JDeveloper\jdev\lib\oc4j_remote_deploy.jar http://costanza:1810/Oc4j

  • Is anyone else getting bright green distortions in various pictures on sites?

    I'm getting neon green distortions in various pictures displayed on sites. It shows in areas that would normally be darker colors. I opened the same pages in IE and the distortion is not there. Example below. http://i581.photobucket.com/albums/ss251/

  • Officejet 6100 Won't Print in Black

    I have a problem with the Officejet 6100 eprinter.    When I looked at the printer, the power light and resume light were both blinking.   I checked for any jams in the printer.   Nothing.  I took out the cartridges and put them back in.  Nothing.  

  • Message received upon starting up the mac

    /Library/StartupItems/LexSleeperX.app" has not been started because it does not have the proper security settings. I read some articles but I am not seeing what they are proposing.  Any help will be appreciated.  I just bought an Iphone 5 and I am tr

  • Web Intell error after sp3 upgrade

    Dear Guru's, We have just upgraded our Business Objects XI 3.1 from SP1 to SP3. No error was encountered during the installation steps except for importent6.dll & ExportSDK.dll failed to register which we able to fix by manually register. Now we havi