Flex list iteamRenderer - making elements of iteamRenderer visible on mouseOver

I have a list containing an IteamRenderer.  I want a button inside of the iteamRenderer to become visible when that element in the list is selected or being hovered over(mouseOver).  At the moment I'm able to accomplish changing the buttons visibility by using mouseOver and mouseOut on the Canvas of the custom component.
     <mx:List
             width="100%" height="100%"
             dataProvider="{ArrayCollection}" 
             itemRenderer="List"
      </mx:List>
List.mxml
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" mouseOver="showButtons()" mouseOut="hideButtons()">
    <mx:Script>
    <![CDATA[ 
        public function hideButtons():void{
            submitButton.visible = false;
        public function showButtons():void{
            submitButton.visible = true;
    ]]>
    </mx:Script>
     <mx:Button id="submitButton"  label="submit" visible="false"/>
</mx:Canvas>
Any help would be much appreciated
Tanks!

You can call owner.isItemSelected(data) to determine whether the item is selected or not
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • I share a an apple id with my kids. We all use the same credit card for purchases.  Is it possible for only me to use the icloud online storage without making this available or visible to the kids?

    My kids and I all use the same credit card and password for app and music purchases.   I'm assuming we all use the same apple ID too. (not sure) We can share apps and music although we all have our own itunes libraries. Is it possible for only me to use the icloud online storage without making this available or visible to the kids or do we all have our own storage?

    I just checked and they have already sucked up all my online storage.  Ahhh techy teens!  I think I will just leave it at that and back my own stuff up on my computer. Less confusing
    Thanks for all the help!  I am definitely more educated now and I'm off to check that cc bill too.

  • List/Enumeration of Elements in a View (WD for Java)

    Hello,
    How do I get a complete list of all elements in a view at runtime?
    I want to dynamically modify 30+ elements, but I don't want to have to code each of them. Is there a way to do this?
    Thanks,
    Martin

    Martin,
    Try something like this:
    static interface IAction
      abstract public void execute(IWDUIElement el);     
    static class CollectElements implements IAction
      final private Map _result = new TreeMap();
      public Map result() { return Collections.unmodifiableMap(_result); }
      public void execute(final IWDUIElement el)
        _result.put( el.getId(), el );       
    void traverse(final IWDView view, final IAction action)
      traverse( (IWDUIElementContainer)view.getRootElement(), action );
    void traverse(final IWDUIElementContainer container, final IAction action)
      action.execute(container);
      for (final Iterator i = container.iterateChildren(); i.hasNext(); )
        final IWDUIElement el = (IWDUIElement)i.next();
        if ( el instanceof IWDUIElementContainer )
          traverse( (IWDUIElementContainer)el, action );
        else
          action.execute( el );
    Sample:
    final CollectElements selectAll = new CollectElements();
    traverse(wdView, selectAll);
    /* Now selectAll.result() contains id->element mapping */
    This will not collect Table columns, or Tabs in TabStrib, however you can create "dispatching" IAction implementation, that delegates to some custom methods like traverse(IWDTable) or traverse(IWDTabStrip)
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • [XMLType] : Appending list of XML elements

    hi everybody,
    I have a lttle question : a would like to append a list of XML elements to another XML document :
    I have two XMLs :
    <rowset><A>..</A> <A>..</A></rowset> (1)
    and
    <rowset><B>..</B> <B>..</B></rowset> (2)
    and I would like to have
    <rowset><A>..</A> <A>..</A><B>..</B> <B>..</B></rowset>
    I have generated the two XML (1) and (2) by using DBMS_XMLGEN package, and I have them stored in an XMLType, but I dont know how to operate to get the wanted result.
    Can anybody tell me how to do this in a PL/SQL program?
    thanks,
    Marie.

    I don't use XSLT, i just query the XML-documents stored in an XMLType column with a simple SQL-statement.
    I have posted a simple example over here Re: Is it possible to influence the creation of empty elements?

  • Where can I find a list of data elements available in the Cisco AW?

    Good afternoon - I am just wondering where can I find a list of data elements available in the Cisco AW?
    I am also wondering if anyone has a real-time solution related to agent stats?  What I am looking for here is agent 1's running total of today's metric in a  real-time report updated everyone 20 seconds or so.
    I appreciate any feed back and hopefully I have posted this in the correct community - if not please direct me to where I should have posted my question.
    Thank you,
    Michael

    doubtful that apps store their serialnumbers in keychain.. Like "kappy" said : you must keep track of such important stuff on your own. Those unlock/activation numbers for software are like the key to your car. In the case of a app like comiclife it might be only terrible if you loose it and must re-purchase the app, but imagine that would happen to owners of the full adobe cs suite, which is several thousand Dollars ..

  • How to unmarshall list tags/unbounded elements using jax-ws auto generated classes in weblogic 12c

    hi
    i have a need wherein i need to create/host jax-ws webservice ( starting from wsdl) and in that service translate the xml using xsl to a different structure and call another webservice hosted to another server ( non-weblogic).
    so my approach is as soon as request comes to the service impl, i marshal the object to a xml then apply the required xsl transformation and then unmarshal the transformed xml to the object which can be used to trigger another webservice.
    This approach works fine for the xmls without list tags/unbounded elements , however it gives marshal exception whenever the xmls has list/unbounded elements.
    i am using jaxb and jax-ws generated class for marshalling and unmarshalling.
    so need some help on how to deal in this scenario?
    any help is appreciated

    hi
    i have a need wherein i need to create/host jax-ws webservice ( starting from wsdl) and in that service translate the xml using xsl to a different structure and call another webservice hosted to another server ( non-weblogic).
    so my approach is as soon as request comes to the service impl, i marshal the object to a xml then apply the required xsl transformation and then unmarshal the transformed xml to the object which can be used to trigger another webservice.
    This approach works fine for the xmls without list tags/unbounded elements , however it gives marshal exception whenever the xmls has list/unbounded elements.
    i am using jaxb and jax-ws generated class for marshalling and unmarshalling.
    so need some help on how to deal in this scenario?
    any help is appreciated

  • Making XML elements (tags+attributes) visible in layout for PDF and print. Possible?

    Is it possible to have the XML structure (tags and attributes) be made visible and formatted in the layout? Such a hard-copy reference of the layout (a print and online Drupal publication) would make the XML visible to those persons writing/editing content but who are not using InDesign or XML viewing/editing programs. And this would improve workflow considerably. TIA

    Its the nextSibling of nxBook or, you may want to do it via
    an array:
    var xRootNode:XMLNode =xmlData.firstChild ;
    var xnBooks:XMLNode =xRootNode.childNodes;
    for (var j=0;j<xnBooks.length;j++) {
    var attrib:Object =xnBooks[j].attributes
    for (var sattrib:String in attrib ) {
    trace(attrib[sattrib]+ " " + sattrib);

  • Flex List ItemRenderer : Change States from parent ?

    Hai there,
    So i created a list that uses an arrayCollection as dataProvider and an itemRenderer with 2 states : LabelState and ProgressState, the labelState is the start state and shows a Filename, the progressState is the state i need to change to when i press a "Start Upload" Button.
    This is the itemrenderer :
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    autoDrawBackground="true" currentState="LabelState" width="800">
    <s:states>
    <s:State name="LabelState" />
    <s:State name="ProgressState" />
    </s:states>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    public function changeState():void
    trace("changing state for " + label_field.text);
    this.currentState = "ProgressState";
    trace(this.currentState);
    ]]>
    </fx:Script>
    <s:Label name="label_field" paddingLeft="10" maxHeight="40" paddingTop="10" paddingBottom="10" id="label_field" width="800" color="#333333" includeIn="LabelState" text="{data.label}"/>
    <mx:ProgressBar id="progress_field" left="3" top="3" bottom="3" mode="manual" chromeColor="#0096FF" includeIn="ProgressState" textAlign="center" labelPlacement="center" maximum="100" color="#FFFFFF" right="3"/>
    </s:ItemRenderer>
    This is the code for the List :
    <s:List keyUp="lst_selected_files_keyUpHandler(event)" skinClass="styles.skins.ListSkinNoHorizontal"
    borderVisible="false"
    contentBackgroundColor="#c9c9c9" contentBackgroundAlpha="1"
    id="lst_selected_files"
    width="100%" height="100%"
    alternatingItemColors="[#EAEAEA,#FAFAFA]" color="#000000"
    itemRenderer="components.ProgressLabel" dataProvider="{arr_items}" />
    <components:RemoveBar nr_of_items="{arr_items.length}" id="cmp_removeBar" hermesRYA="cmp_removeBar_hermesRYAHandler(event)" bottom="-35" width="100%" height="35" />
    This is the function that changes the states for the current "to be uploaded file":
    protected function uploadNextFile():void
    if(uploadingFile!=null) uploadingFile==null;
    popup = null;
    popup = new ProgressPanel();
    lst_selected_files.selectedIndex = currentUploadNr;
    current_progressItem = lst_selected_files.dataGroup.getElementAt(currentUploadNr) as ProgressLabel;
    current_progressItem.changeState();
    lst_selected_files.validateNow();
    For some reason the states change ... but the elements aren't visually updated, ... meaning that i still see the label and the progressbar isn't visible :/
    anyone ?

    This seems to work for me:
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx" >
        <s:controlBarContent>
            <s:Button label="test" click="(list1.dataGroup.getElementAt(0) as Object).test()" />
        </s:controlBarContent>
        <s:List id="list1">
            <s:dataProvider>
                <s:ArrayList>
                    <fx:Array>
                        [0,1,2]
                    </fx:Array>
                </s:ArrayList>
            </s:dataProvider>
            <s:itemRenderer>
                <fx:Component>
                    <s:ItemRenderer>
                        <fx:Script>
                            <![CDATA[
                                public function test():void {
                                    currentState = 'state2';
                            ]]>
                        </fx:Script>
                        <s:states>
                            <s:State name="state1" />
                            <s:State name="state2" />
                        </s:states>
                        <s:Rect width="50" height="50">
                           <s:fill>
                               <s:SolidColor color.state1="red" color.state2="green" />
                           </s:fill>
                        </s:Rect>
                        <mx:ProgressBar includeIn="state2" />
                    </s:ItemRenderer>
                </fx:Component>
            </s:itemRenderer>
        </s:List>
    </s:Application>
    You will probably want to override getCurrentRendererState() to do this properly tho.  This post demonstrates how to use DataRenderer instead if you would rather: http://flexponential.com/2010/02/07/using-datarenderer-to-add-custom-states-to-a-spark-lis t-renderer/
    In general you shouldn't interact with the renderers of a List directly (via getElementAt), but rather by changing the data in the List and building an ItemRenderer that reacts to those changes.  So it would be better if you did something like list1.dataProvider.getItemAt(0).changeState = true and then in your renderer override the data setter to change the state if that variable is set.

  • CAT2 - making user defined feild visible in profile

    Hello ,
    am facing a issue ,
    I need to create a New profile in CAC1 [ done] by coping the already existing profile.
    IN already existing profile we have made DISPLAY settings to "CATS_ADDFI-FIELD1" - Additional field 1. This is defined as ACTIVITY DESCRIPTION. This is working fine for existing profile in CAT2 tim sheet booking. In CAC5 the Activity description is defined against YYACTVITY.fine.
    Now how to make Activity description column visible in DATA ENTRY AREA in CAT2 for my new defined view . Currently I am not able to see as its in invisible mode.
    Help me as its very urgent
    regards
    Msamba

    Hello ,
    Solution :
    I could solve the problem . In CAC2 , I have selected screens thru INFLUENCINg tab and selected the profile. But I have not set chnages in global template . Means when u go in CAC2 , there is a global template for data entry profile , This needs to be chnages first and then chnages in Influencing tab .
    Now my second questions:
    My client needs sowm shuffle in data entry area  for Eg: Work center should follow behind wage type. I have request them that create the changes and then save under new Varient . My client is not happy with VARIANT creation in CAT2 nor making it default as global.They dont wanna create any Varient but they wannt to fix the feild selection as they desired under BASIC SETTINGS.
    Can we do this ? Can we chnage the feild selection under BASIC SETTINGS.?? or is theer any configuration to assign the columns to our desired way in WORK LIST or DATA ENTRY AREA??
    Please advice.
    Edited by: msamba on Jul 26, 2011 9:11 AM

  • Email flex list contents using php

    I have dragged 5 items from a datagrid to a drop-enabled list component. Now I want the user to be able to email himself the list. I am using PHP and have an HTTP service request and PHP mailer code but I do not know how to get the data that is in the list into variables that I can use with my php code.
    <mx:HBox>
    <mx:VBox>
         <mx:DataGrid dataProvider="{restaurantsAC}" dragEnabled="true" height="300" width="600" id="restaurantsDG">
              <mx:columns>
              <mx:DataGridColumn dataField="restaurantName" />
              <mx:DataGridColumn dataField="restaurantAddress" />
              <mx:DataGridColumn dataField="restaurantCuisine" />
              <mx:DataGridColumn dataField="restaurantPrice" />
              </mx:columns>
            mx:DataGrid>
         <mx:LinkButton label="Show my Favorites List" click="showFavoritesList()"/>
    </mx:VBox>
    <mx:Canvas id="favoritesListContainer" height="100%" includeInLayout="false" visible="false">
    <mx:SWFLoader source="assets/myFavorites.swf" x="10" y="10"/>
    <mx:List id="favoritesList" x="10" y="40" dropEnabled="true"  labelField="restaurantName" />
    </mx:Canvas>
    </mx:HBox>
    <mx:Button click="sendFavorites()" />    
    public function sendFavorites():void {
                    var h:HTTPService=new HTTPService();
                    h.url="http://wmywebsite.com/mail.php";
                    h.request=??????????????;
                    h.method="POST";
                    h.send();
    Thanks for any assistance!

    you fetch your datagrid items from PHP itself right????
    then, while sending mail in php, generate same set of data and mail it.. dont bother about the datagrid items.
    if you use filter/sorting in FLEX, then you can apply similar rules in php too before sending the email.
    or, if you manipulate the collection in front end ( by drag/drop ), then just concatenate the ids of items, and send to php, in php you can use EXPLODE to get individual items to mail.

  • Flex List with data-grid issue any body can help me ......i added the full code below

    Thanks in advance
    Exactly wat i need is
    1.if i click the open button want to visible all datagrid ,its working perfectly.
    2.if i click the close button want to close all data grid ,its working perfectly.
    3. if i click a particular  list means want to visible particular datagrid..some times working good but some times not visible ...
    4.if i click the list if datagrid already open means want to close .some times creates extra space below the datagrid........
    if u cont get clearly please copy the below code and check it.......any other way to solve this problem?.......
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%" >
    <fx:Declarations>
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var ArrUserList:ArrayCollection;
    [Bindable]
    public var listDB:ArrayCollection = new ArrayCollection([ {label: "2011", data:"jan",day:"saturday",date:"1-4-11"},
    {label: "2011", data:"jan",day:"monday",date:"13-4-11"}, {label: "2013", data:"jan",day:"monday",date:"1-5-11"}, {label: "2013", data:"jan",day:"wednesday",date:"14-5-11"}, {label: "2015", data:"jan",day:"tuesday",date:"11-5-11"}, {label: "2015" ,data:"jan",day:"friday",date:"1-6-11"} ]);
    public var loc_first_last_name:String;
    function Load():void
    ArrUserList=Find_Duplicate(listDB);
    for(var i:int=0; i<ArrUserList.length; i++)
    ArrUserList[i].click=0;
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount=ArrUserList.length;
    function Clink_lnk_open():void
    if(lnk_open.label=="Open")
    for(var i:int=0; i<ArrUserList.length; i++)
    ArrUserList[i].click=1;
    lnk_open.label="Close";
    ArrUserList.refresh();
    Lst_userlist.validateNow();
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount = ArrUserList.length ;
    else
    for(var i:int=0; i<ArrUserList.length; i++)
    ArrUserList[i].click=0;
    lnk_open.label="Open";
    ArrUserList.refresh();
    Lst_userlist.validateNow();
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount = ArrUserList.length ;
    function Click_UserName1(event:MouseEvent,data:Object):void
    loc_first_last_name=event.currentTarget.text;
    var str:String;
    for(var i:int=0; i<ArrUserList.length; i++)
    str=ArrUserList[i].label;
    if(loc_first_last_name==str)
    if(ArrUserList[i].click == 0)
    ArrUserList[i].click=1;
    else
    ArrUserList[i].click=0;
    ArrUserList.refresh();
    Lst_userlist.validateNow();
    Lst_userlist.dataProvider=ArrUserList;
    Lst_userlist.rowCount=ArrUserList.length;
    public function Find_Duplicate(test_arr:ArrayCollection):ArrayCollection
    var res_arr:ArrayCollection=new ArrayCollection();
    var flag:Boolean;
    for(var i:int=0;i<test_arr.length;i++)
    var j:int=0
    flag=false;
    for(;j<res_arr.length;j++)
    if(res_arr[j].label==test_arr[i].label)
    res_arr[j].dataCollection.addItem(test_arr[i]);
    flag=true;
    break;
    if(!flag)
    var myItem:Object = new Object() ;
    myItem.label=test_arr[i].label;
    myItem.dataCollection=new ArrayCollection();
    myItem.dataCollection.addItem(test_arr[i]);
    res_arr.addItem(myItem) ;
    return res_arr;
    ]]>
    </fx:Script>
    <s:Scroller id="id_scroller" width="100%" height="100%">
    <s:VGroup id="id_Vgroup" paddingLeft="50" paddingTop="10" paddingBottom="10"   width="100%" height="100%" >
    <mx:VBox width="850" paddingLeft="0" paddingTop="1"    color="black"  backgroundColor="#FFFFFF">
    <mx:HBox width="850" left="50" paddingBottom="3"  paddingLeft="5" backgroundColor="#6D6C6C"   paddingTop="3" color="#FFFFFF" >
    <mx:LinkButton id="lnk_open" label="Open" textDecoration="underline" click="Clink_lnk_open();"/>
    <mx:Button id="load_btn" label="Load" click="Load()"/>
    </mx:HBox>
    <mx:VBox id="Vbox_main" width="850"   horizontalScrollPolicy="off" verticalScrollPolicy="off"  >
    <mx:List variableRowHeight="true"   width="850" id="Lst_userlist" paddingTop="-3" verticalScrollPolicy="off"  horizontalScrollPolicy="off"
    buttonMode="true"  >
    <mx:itemRenderer>
    <fx:Component>
    <mx:VBox paddingTop="-5"  horizontalScrollPolicy="off" verticalScrollPolicy="off" >
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    override public function set data(value:Object):void
    super.data = value;
    Membership_Grid.dataProvider=data.dataCollection;
    Membership_Grid.rowCount=data.dataCollection.length;
    lbl_userhead.text=data.label;
    lbl_userhead1.text=data.dataCollection.length+" Datas";
    if(data.click==1)
    Vbox_main.visible=true;
    Vbox_main.includeInLayout=true;
    else
    Vbox_main.visible=false;
    Vbox_main.includeInLayout=false;
    Membership_Grid.validateNow() ;
    ]]>
    </fx:Script>
    <mx:HBox id="vbox_grid"  horizontalScrollPolicy="off"  height="25" verticalScrollPolicy="off" width="850"  paddingLeft="10" paddingTop="5"  backgroundColor="#6D6C6C" color="#FFFFFF">
    <s:Label id="lbl_userhead" click="outerDocument.Click_UserName1(event,data)" buttonMode="true"   width="250"  paddingTop="3" />
    <s:Label id="lbl_userhead1"  buttonMode="true"   width="548" paddingTop="3" />
    </mx:HBox>
    <mx:VBox id="Vbox_main" width="850" horizontalScrollPolicy="off" verticalScrollPolicy="off"  visible="false" includeInLayout="false" >
    <mx:DataGrid id="Membership_Grid"   alternatingItemColors="[#DCDCDC,#F8F8FF]"  paddingLeft="5"  horizontalScrollPolicy="off" color="black"
    horizontalGridLines="false" verticalScrollPolicy="auto"  verticalGridLines="false"  rowHeight="25" width="850"  borderSkin="{null}"
    borderVisible="false" >
    <mx:columns>
    <mx:DataGridColumn width="150" headerText="Year" dataField="label"/>
    <mx:DataGridColumn width="150" headerText="Month" dataField="data"/>
    <mx:DataGridColumn width="150" headerText="Day" dataField="day" />
    <mx:DataGridColumn width="150" headerText="Date"  dataField="date"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:VBox>
    </mx:VBox>
    </fx:Component>
    </mx:itemRenderer>
    </mx:List>
    </mx:VBox>
    </mx:VBox>
    </s:VGroup>
    </s:Scroller>
    </s:Group>

    Hi
    Sir am using flex 4.0.1     SDKS 4.1.0....
    Still i cont fix this problem....i have the same prob in many mxml files .any alternate solution for my prob pls let me know...
    Thanks in Advance,
    senthil.

  • Web Dynpro Table UI Element - Force Footer visible to false

    Hi Guys,
    Is there any way to force the footer visible property to false, despite the total number of visible row and total number of data available?  The reason I want to do this is because I want to create my own paginator (by page, not by row in standard SAP).
    Also, I was looking at this help page:
    http://help.sap.com/saphelp_nw04s/helpdata/en/23/5e9041d3c72e7be10000000a1550b0/frameset.htm
    However, I found out that many of the Table UI Element properties described here is not available in NWDS 2004s (I am using SPS 09 and also tried on SPS 14).  Anyone knows why ?
    Is there any other way to change the pagination from Row to Page ?
    Thanks,
    Johannes

    Hi,
    Well i understood your problem, but it cant addressed with the existing functionality.
    You need to do it by yourself. First you need to make the visibility of the footer to NONE. Then add UI elements like label for displaying page numbers, inputField and buttons with text "<"(previous) and ">" (next) as text just like a normal footer.
    Now on action of these buttons you have to manipulate the things. Suppose you have 5 rows as 1 page. So if the visibleRowCount property of your table gives you 5 then you can display the label as page1. Dont forget to map an integer attribute to your visibleRowCount so that it will be easier to manipulate. On click of next set the label as Page2 and set firstVisibleRow property of your table to 6 ie to display the next set of 5 records in the next page. now your visibleRowCount will be 10 ie you can check for multiples of 5.
    Is this the thing you want? Just give a try.
    thanks & regards,
    Manoj

  • In Business Rule child elements of Unbounded element are not visible.

    Hi All,
    Jdev version 11.1.1.7.0
    I am facing one issue in Business Rule...
    Scenario: I am creating Approval Service (BPEL) with Human Work flow and Bunises Rule.
    I am assingning participant in HW by using Rule based(Connecting HW and BR).
    Problem here is:
    Shema has "unbounded" element.
    <element name="ExpenseItem" maxOccurs="unbounded">
         <complexType>
          <sequence>
           <element name="ItemID" type="string"/>
           <element name="ItemName" type="string"/>
           <element name="ItemPrpjectID" type="string"/>
           <element name="ItemStatus" type="string"/>
          </sequence>
         </complexType>
        </element>
    Whenever I create Busines rules to configure rules.
    While configuring rules child elements of  ExpenseItem are not visible. But those are neccesary to configure rules.
    If you can help to me resolve would help.
    Is it a bedault behaviour of BR? If so how can i acheive this?
    Thanks,
    Santosh

    Solution found:
    Click on RuleSet which you have created.
    Expand Rule inside it.
    Enable Advanced mode and Tree mode and click OK.
    Select Root as Task and click on insert pattren and create pattren which is based on unbounded element (here its meant as fact)
    Once you create pattren , will be able access elements under unbounded element for Business rule configuration.

  • Drop down list(JComboBox) - Bottom border is not visible for the first time

    Drop down list(Combo-box) JComboBox - Bottom border is not visible for the first time i click on the arrow to drop the list down.
    I am using jdk1.3.1_02.
    Did any one face this issue.
    Please let me know.
    Thanks,
    Sridhar.

    I must be a little confused regarding your question.
    You can simply change your code frame.setSize(200, 200); to frame.setSize(400, 400);When you say you are unable to see the border are you specifically talking about the border of the frame or the border of the combo box?
    Lance

  • Creating drop-down list for prodname element in metadata causes errors

    Frame 11
    DITA 1.2
    Due to restrictions beyond our control, we must use absurdly long product names. Therefore I want to use drop-down lists to make it easier for the authors to select a <prodname> in the metadata.
    What I did:
    1. In metaDecl.eddmod.fm, I created a new attribute and named it prod.
        a. I made it the Choice, and Required.
        b. The Choices currently are just Internal and RTVI for testing purposes. I'll put the absurdly long ones in when I have it working.
        c. I have a Prefix rule of: In all contexts Prefix: Product Name: <$attribute[prod]>
    2. I imported metaDecl.eddmod.fm to all of these EDDs:
        In the base EDD  folder:
    basemap.edd.fm
    basetopic.edd.fm
    map.eddmod.fm
    topic.eddmod.fm
       In the technicalContent EDD folder:
    concept.edd.fm
    ditabase.edd.fm
    generalTask.edd.fm
    glossentry.edd.fm
    glossgroup.edd.fm
    reference.edd.fm
    task.edd.fm
    topic.edd.fm
    3. I imported the element definitions into all of the following:
    ChapterOutputTpl.fm
    basemap.template.fm
    basetopic.template.fm
    basetopic.template.fm
    topic.template.fm
    generalTask.template.fm
    glossentry.template.fm
    glossgroup.template.fm
    map.template.fm
    ditabase.template.fm
    reference.template.fm
    concept.template.fm
    task.template.fm
    4. I imported the elememted definitions from task.template.fm into my test document (yes, it is a task topic).
    What happened:
    I get the following error message in the console:
    XML Parser Messages (Document Instance)
    Error at file H:\DITA_Westminster\Procedures - Our DITA\Inserting_Product_Names_Versions_In_Metadata\InsertingProductNamesAndVersionsInMetad ata.dita.82F, line 28, char 49, Message: Attribute 'prod' is not declared for element 'prodname'
    Error at line 28, char 71, Message: Not enough elements to match content model  '(prodname,vrmlist,((brand|component|featnum|platform|prognum|series))*)'
    What I did next:
    1. I removed all elements from the general rule of <prodinfo> with the exception of <prodname>. <prodinfo) is the one that had prodname, vrmlist, (brand|component|featnum|platform|prognum|series) in the general rule. I also did a thorough search to ensure that no other element had this same list of element in the general rule. I couldn't find any.
    2. I did the import to the EDDs and templates thing again.
    3. I got the same error message again. <sigh />
    Question:
    Why am I still getting those 2 error messages? They are driving me crazy.
    Marsha

    Alex Gorly and Matt Sullivan solved one of my issues above:
    Message: Attribute 'prod' is not declared for element 'prodname'
    I'm still stumpled on the other one:
    Message: Not enough elements to match content model  '(prodname,vrmlist,((brand|component|featnum|platform|prognum|series) )*)'
    As stated above, I've even removed everything from the general rule of <prodinfo> except prodname and I'm still getting the same error. I've searched everywhere for this general rule and <prodinfo> is the only place I can find it.
    What I really want is: (prodname), (vrmlist)?, (brand | component | featnum | platform | prognum | series)*
    so that vrmlist is optional.
    No matter what I do, unless I include a vrmlist, I get the above message. Currently, our CMS can't handle vrmlist but I don't want to remove it altogether because we may be replacing our CMS.
    Help please!

Maybe you are looking for

  • IPod not working ever since I downloaded new iTunes

    I have an 160gb iPod Classic and am running Windows 7 on a PC. I downloaded the latest version of iTunes. First all of my album artwork disappeared off iTunes and wouldn't get the artwork for me. I had to manually put the photos in but only when they

  • Applying Effect to Multiple Clips?

    Hi, Is there a way within Final Cut Express to apply a single effect such as Chroma Keyer to multiple clips? I've seen this done with Final Cut Pro but can't seem to replicate it in FCE. Thanks for your help.

  • Reg: LDB

    hi friends, please give some details regarding logical database, how to create it? what is the need for it ? whether it has any unique features?

  • Preferred approach - Querying Across Multiple Schemas

    All, I am using two schemas within the same database as the source for my OBIEE repository/subject area. My question is whether anyone has a compelling argument or preference for setting up OBIEE to handle requests across the schemas as either: 1. Se

  • EVDRE error "encountered problem when retrieving data from webserver"

    Hi, in a EVDRE we always get the error "encountered problem when retrieving data from webserver" When analysing this further we noticed this is always generated when a base member is selected in the CV and the expansion on the row for this dimension