FLEX panel header gradient

Does anyone know how to apply a header gradient to a Panel container?
The only info I have found about this is here:
http://stackoverflow.com/questions/1215433
^ And I do not see a solution? I know some of the themes apply gradients to panel headers, but is there a way to do this in CSS?

I am looking at the GraphiteGraphical PanelSkin. I no longer use this theme in my application, BUT, it did produce gradients on the panel headers (as desired).
Here is the PanelSkin definition:
<?xml version="1.0" encoding="utf-8"?>
<!--
ADOBE SYSTEMS INCORPORATED
Copyright 2009 Adobe Systems Incorporated
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file
in accordance with the terms of the license agreement accompanying it.
-->
<!--- The default skin class for a Spark Panel container.
@langversion 3.0
@playerversion Flash 10
@playerversion AIR 1.5
@productversion Flex 4
-->
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:fb="http://ns.adobe.com/flashbuilder/2009" blendMode="normal" mouseEnabled="false"
    minWidth="131" minHeight="127" alpha.disabled="0.5" alpha.disabledWithControlBar="0.5">
    <fx:Metadata>
        <![CDATA[
        * @copy spark.skins.spark.ApplicationSkin#hostComponent
        [HostComponent("spark.components.Panel")]
        ]]>
    </fx:Metadata>
    <fx:Script fb:purpose="styling">
         * @private
        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
            if (getStyle("borderVisible") == true)
                border.visible = true;
                background.left = background.top = background.right = background.bottom = 1;
                contents.left = contents.top = contents.right = contents.bottom = 1;
            else
                border.visible = false;
                background.left = background.top = background.right = background.bottom = 0;
                contents.left = contents.top = contents.right = contents.bottom = 0;
            dropShadow.visible = getStyle("dropShadowVisible");
            var cr:Number = getStyle("cornerRadius");
            if (cornerRadius != cr)
                cornerRadius = cr;
                var withControls:Boolean =
                    (currentState == "disabledWithControlBar" ||
                     currentState == "normalWithControlBar");
                dropShadow.tlRadius = cornerRadius;
                dropShadow.trRadius = cornerRadius;
                dropShadow.blRadius = withControls ? cornerRadius : 0;
                dropShadow.brRadius = withControls ? cornerRadius : 0;
                setPartCornerRadii(topMaskRect, withControls);
                setPartCornerRadii(border, withControls);
                setPartCornerRadii(background, withControls);               
            if (bottomMaskRect) setPartCornerRadii(bottomMaskRect, withControls);
            borderStroke.color = getStyle("borderColor");
            borderStroke.alpha = getStyle("borderAlpha");
            backgroundFill.color = getStyle("backgroundColor");
            backgroundFill.alpha = getStyle("backgroundAlpha");
            super.updateDisplayList(unscaledWidth, unscaledHeight);
         * @private
        private function setPartCornerRadii(target:Rect, includeBottom:Boolean):void
            target.topLeftRadiusX = cornerRadius;
            target.topRightRadiusX = cornerRadius;
            target.bottomLeftRadiusX = includeBottom ? cornerRadius : 0;
            target.bottomRightRadiusX = includeBottom ? cornerRadius : 0;
        private var cornerRadius:Number;
    </fx:Script>
    <s:states>
        <s:State name="normal" />
        <s:State name="disabled" />
        <s:State name="normalWithControlBar" stateGroups="withControls" />
        <s:State name="disabledWithControlBar" stateGroups="withControls" />
    </s:states>
    <!-- drop shadow can't be hittable so it stays sibling of other graphics -->
    <s:RectangularDropShadow id="dropShadow" blurX="20" blurY="20" alpha="0.32" distance="11"
                             angle="90" color="#000000" left="0" top="0" right="0" bottom="0"/>
    <!-- drop shadow can't be hittable so all other graphics go in this group -->
    <s:Group left="0" right="0" top="0" bottom="0">
        <!-- top group mask -->
        <s:Group left="3" top="3" right="3" bottom="3" id="topGroupMask" >
            <s:Rect id="topMaskRect" left="0" top="0" right="0" bottom="0">
                <s:fill>
                    <s:SolidColor alpha="1"/>
                </s:fill>
            </s:Rect>
        </s:Group>
        <!-- bottom group mask -->
        <s:Group left="0" top="0" right="0" bottom="0" id="bottomGroupMask"
                 includeIn="normalWithControlBar, disabledWithControlBar">
            <s:Rect id="bottomMaskRect" left="0" top="0" right="0" bottom="0">
                <s:fill>
                    <s:SolidColor alpha="1"/>
                 </s:fill>
            </s:Rect>
        </s:Group>
        <!-- layer 1: border -->
        <s:Rect id="border" left="0" right="0" top="0" bottom="0" >
            <s:stroke>
                <s:SolidColorStroke id="borderStroke" weight="1" />
            </s:stroke>
        </s:Rect>
        <!-- layer 2: background fill -->
        <!--- Defines the appearance of the PanelSkin class's background. -->
        <s:Rect id="background" left="1" top="1" right="1" bottom="1">
            <s:fill>
                <!-- Defines the  PanelSkin class's background fill. The default color is 0xFFFFFF. -->
                <s:SolidColor id="backgroundFill" />
            </s:fill>
        </s:Rect>
        <!-- layer 3: contents -->
        <!--- contains the vertical stack of titlebar content and controlbar -->
        <s:Group left="1" right="1" top="1" bottom="1" id="contents">
            <s:layout>
                <s:VerticalLayout gap="0" horizontalAlign="justify" />
            </s:layout>
            <s:Group id="topGroup" mask="{topGroupMask}">
                <!-- layer 0: title bar fill -->
                <s:Rect id="tbFill" left="0" right="0" top="0" bottom="0">
                    <s:fill>
                        <s:LinearGradient rotation="90">
                            <s:GradientEntry color="0x696a69" />
                            <s:GradientEntry color="0x282828" />
                        </s:LinearGradient>
                    </s:fill>
                </s:Rect>
                <!-- layer 3: text -->
                <!--- Defines the appearance of the PanelSkin class's title bar. -->
                <s:Label id="titleDisplay" maxDisplayedLines="1"
                         left="9" right="3" top="1" bottom="0" minHeight="30"
                         verticalAlign="middle" fontWeight="bold">
                </s:Label>
            </s:Group>
            <!--
            Note: setting the minimum size to 0 here so that changes to the host component's
            size will not be thwarted by this skin part's minimum size.   This is a compromise,
            more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
            -->
            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0">
            </s:Group>
            <s:Group id="bottomGroup" minWidth="0" minHeight="0"
                     includeIn="normalWithControlBar, disabledWithControlBar" >
                <s:Group left="0" right="0" top="0" bottom="0" mask="{bottomGroupMask}">
                    <!-- layer 0: control bar divider line -->
                    <s:Rect left="0" right="0" top="0" height="1" alpha="0.22">
                        <s:fill>
                            <s:SolidColor color="0x000000" />
                        </s:fill>
                    </s:Rect>
                    <!-- layer 1: control bar highlight -->
                    <s:Rect left="0" right="0" top="1" bottom="0">
                        <s:stroke>
                            <s:SolidColorStroke color="0x282828" />
                        </s:stroke>
                    </s:Rect>
                    <!-- layer 2: control bar fill -->
                    <s:Rect left="1" right="1" top="2" bottom="1">
                        <s:fill>
                            <s:SolidColor color="0x696a69" />
                        </s:fill>
                    </s:Rect>
                </s:Group>
                <!-- layer 3: control bar -->
                <s:Group id="controlBarGroup" left="0" right="0" top="1" bottom="1" minWidth="0" minHeight="0">
                    <s:layout>
                        <s:HorizontalLayout paddingLeft="10" paddingRight="10" paddingTop="7" paddingBottom="7" gap="10" />
                    </s:layout>
                </s:Group>
            </s:Group>
        </s:Group>
    </s:Group>
</s:Skin>
^ Where is the gradient being applied to the Panel? I dont really see it?

Similar Messages

  • Remove Flex DataGrid Heading Rollover Color

    Hi,
    How can i stop rollover color change in Flex 3 DataGrid heading ?
    Can i override the following mehtod if yes how can i do this ?
     drawHeaderIndicator(s, r.x, 0, visibleColumns[i].width, cachedHeaderHeight - 0.5, getStyle("rollOverColor"), r);
    Thanks,
    -Shrban

    To do what you want to do requires a fair amount of work as the rollover color is set as a style, you can change the color but it seems the rollover can't be disabled(not without a custom datagrid).
    A quick fix is to try and at least reduce the difference in the rollover color, this could be done as per below, which basically makes the rollover color the same as the lighter shade of the header gradient.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" creationComplete="appHandler(event)">
    <mx:Script>
    <![CDATA[
    import mx.controls.Label;
    import mx.events.FlexEvent;
    protected function appHandler(event:FlexEvent):void
    var colors:Array = dg.getStyle("headerColors");
    dg.setStyle("rollOverColor",colors[0]);
    ]]>
    </mx:Script>
    <mx:DataGrid id="dg" x="234" y="198" width="619" height="360">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1" dataField="col1" />
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>

  • Changing the background image on a panel header

    I just need to get a gradient image to display on panel header. I've gotten a custom skin to work and it seems to display properly in JDeveloper but not in IE or Firefox (really just need IE).
    I was trying
    af|panelHeader {
    background-image:url("/images/windowlet.gif") repeat-y;
    color: black;
    font-weight: bold;
    font-size: 12px;
    position: fixed;
    }

    Hi Dan,
    You might want to take a look at the following thread:
    Re: ADF Skinning panelbox:header
    It's about ADF Skinning panelbox:header
    I explain there something about path settings and that you probably have to user the reference to your J2eewebcontext-root.
    Good Luck
    Luc Bors

  • Calculating a Panel header height

    I'm trying to calculate the height of a Panel header. The Flex language reference includes a method getHeaderHeight(), but I cannot use it (see the trace statement below). Is there another way to calculate the header height?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600" creationComplete="init()">
        <mx:Script>
            <![CDATA[
                private function init():void{
                    //trace("Header height="+panel.getHeaderHeight())
            ]]>
        </mx:Script>
        <mx:Panel  id="panel" width="249" height="213"/>
    </mx:Application>

    getStyle("headerHeight")  Works only in the case if you have set headerHeight of the panel.Other wise not.
    with Regards,
    Shardul Singh

  • Drop an URL on a InDesign document from a Flex panel

    Hi Everyone,
    I have a Flex panel, in InDesign, from which I drag an URL. If I drop this URL on a text editor or a web browser, it works. But when I try to drop it on my InDesign document, it's a little bit harder.
    I have implemented a subclass of CDragDropTargetFlavorHelper. The drop works perfectly on Windows. But on mac, I have problems in the method CouldAcceptTypes :
    DragDrop::TargetResponse
    AutocatDNDCustomFlavorHelper::CouldAcceptTypes(const IDragDropTarget* target, DataObjectIterator* dataIter, const IDragDropSource* fromSource, const IDragDropController* controller) const
                   if (0 != dataIter && 0 != target)
                DataExchangeResponse response = dataIter->FlavorExistsWithPriorityInAllObjects(kURLDExternalFlavor);
                                  if (response.CanDo())
    The problem is that response.canDo() answers kTrue on Windows, but kFalse on Mac. I tried to explore the content of dataIter, but a call on dataIter->First() returns nil. I tried a controller->GetItemCount(), which returns 1. But if I try a controller->GetDragItem(1), I get a nil pointer. I have the impress there is no item.  Though, the drop works on another app than InDesign, as I said.
    Is it a problem of internalization ? Or something else ? It let me dry.
    Thanks in advance

    Hi,
    I solved this problem, but discovered another one. The flavor sent by the flex panel has been changed, so that it's a text flavor instead of an URL flavor. My method couldAcceptType works now :
    DragDrop::TargetResponse
    AutocatDNDCustomFlavorHelper::CouldAcceptTypes(const IDragDropTarget* target, DataObjectIterator* dataIter, const IDragDropSource* fromSource, const IDragDropController* controller) const
         if (0 != dataIter && 0 != target)
              // Check for URL Flavor in the drag
              DataExchangeResponse response = dataIter->FlavorExistsWithPriorityInAllObjects(kTEXTExternalFlavor);
                   if (response.CanDo())
                        return DragDrop::TargetResponse(response, DragDrop::kDropWillCopy);
         return DragDrop::kWontAcceptTargetResponse;
    The problem is now in the ProcessDragDropCommand method. Here is the code :
    ErrorCode AutocatDNDCustomFlavorHelper::ProcessDragDropCommand(IDragDropTarget*                               target, IDragDropController* controller, DragDrop::eCommandType                    action)
           // retrieve drop data
                   IPMDataObject* dragDataObject = controller->GetDragItem(1);
                   uint32 dataSize = dragDataObject->GetSizeOfFlavorData(kTEXTExternalFlavor) ;
    The problem is the IMPDataObject I get is nil. There is no item in the controller. However, there were items in the CouldAcceptTypes method, in the DataObjectIterator. So, where are my items ?
    I tried using a custom CDataExchangeHandlerFor, but could not really understand what its usage was for. It didn't work anyway.
    Has anyone an idea ?
    Regards,
    Rémi

  • Adf panel header facets disappear in internet explorer 8, 9

    Hello!
    I am using JDev&ADF 11.1.2.2 and my application works fine in Firefox 15.
    However, when opening it in IE 8 or 9, I get a problem with panel header facets.
    I have some jsff pages containing master-detail relationship with panel headers both in the master and the detail part.
    Every page is based on a page template. Every panel header contains Text and Toolbar buttons.
    In IE, when I try to change any attribute in the master table, Text and Toolbar disappear from the master panel header. I only can get them back if I refresh the page.
    I do not get this error when not using master-detail relationship, i.e. when I put only one table per page.
    I do not get this error in Firefox.
    Thank you in advance.

    Hi,
    I test this issue, actually, in IE 11, the option "set as backgroud" is grayed out after I applied policy  Administrative Templates > Control Panel > Personalization > Prevent changing desktop background, but seems not suitable for
    other versions of IE.
    You can try other solutions listed in the similiar thread
    How to disable the "Set as Desktop background"?<o:p></o:p>
    http://social.technet.microsoft.com/Forums/en-US/889447df-8452-44b4-bcdf-bf217b75ce6f/how-to-disable-the-set-as-desktop-background?forum=windowssteadystate
    Regards<o:p></o:p>
    Yolanda
    TechNet Community Support

  • Flex panel not shown as disabled.

    I am creating a flex panel and a C++ plugin for Photoshop CS5 and CS6 on both Win and Mac. My C++ plugin captures events like layer selection change, document view change etc and dispatch events to flex. In flex I register these events and appropriate functions get called. All this works perfectly.
    For example, when user selects another layer from Layer Palette of Photoshop my plugin dispatches an event. This event is captured in flex and a method is called. Inside this method i need to disable my panel, do some processing and then again enable my panel. This works fine on Win XP and on Photoshop CS5 but not on Mac and Win 7. And if I do a mouse over on my panel when some processing is going on then my panel is displayed as disable otherwise it is displayed as enabled. I am using the following code:
    In C++ the layer selection change event is dispatched. In flex it is captured and a function "LayerChange" is called.
    public function LayerChange(event:CSXSEvent):void { this.enabled = false; CursorManager.setBusyCursor(); //do some processing
    this.enabled = true; CursorManager.removeBusyCursor(); }
    Can someone tell me why the panel is not shown as disabled until and unless mouse moves over the panel?
    Thanks

    Paul,
    In the future, simplying your use case will improve your chances of getting an answer. I ran your app and ran into an infinite loop here:
                    while (true) {
                        trace("Calling draw()");
                        draw();
                        trace("Calling updateUniverse()");
                        updateUniverse();
    The Flash Player is single-threaded. So it will not render anything while it is in the middle of a function stack. You need to truigger your updating logic with a Timer in order to see anything rendered.
    Jason

  • Remove/hide navigation panel header

    Hi,
    I tried making the expand and collapse icons to 0px and also made the detailed navigation iView "tray" property to false but it did not help me.
    I have to hide or remove the navigation panel header(the expand/collapse panel). Thanks in advance.
    Rgds,
    Janvi.

    Hi Patel,
    To hide the navigation panel header there is nothing to do with the theme editor. For that you have to edit the default frame work page.
    Open PCD>>Portal Users>>Std Portal users>> Default frame work page
    Select the Desktop inner page from the default inner page and edit>> select the delatiled navigation iview and choose edit...
    Select the Apppearence Tray from the Property Catogary drop down.
    Make the <b>Show Tray</b> option to NO... save and close ...
    This will hide the detailed navigation header.
    If u want to hide the header of other iviews like portal favorites in the navigation pannel these are the steps to follow.
    Regards
    gEorgE

  • Displaying the layer image in a Flex panel

    Hi,
    I need to display the contents (image) of the active layer in a Flex panel. Was thinking along the lines of saving the layer as a temporary image and then loading it into an Image control. But is there a better/less messy way than this?

    I want to know this too.

  • Placing/Embeding an eps/Ai file in flex panel

    Hi All,
    I want to display the preview of ai/eps file in flex panel
    Does there exiost a way using which I can do this?
    I have tried with Image control but it can embed only jpg/gif/png/swf format
    Please help me
    Thanks in advance
    Alam

    Tell whomever is emailing the file to zip it first.

  • Using flex Panel in Photoshop CS4

    Hello,
    I need to create a flex panel which will be shown in Windows->Extension menu in PS.I have created the flex panel and it shows in the correct menu in PS CS4 but when i click on the menu to open the panel,I get a blank panel. No items on the panel are shown.
    Is it possible to use a flex panel  in PS CS4?? If yes then please giude me!
    thanks in advance!!

    Hi Steve
    Thanks for the reply. I'll look into PS CS4 panels giude. Thanks once again for your help.

  • Flex Panel in Photoshop CS4

    Hello,
    I need to create a flex panel which will be shown in Windows->Extension menu in PS.I have created the flex panel and it shows in the correct menu in PS CS4 but when i click on the menu to open the panel,I get a blank panel. No items on the panel are shown.
    Is it possible to use a flex panel  in PS CS4?? If yes then please giude me!
    thanks in advance!!

    Hi Steve
    Thanks for the reply. I'll look into PS CS4 panels giude. Thanks once again for your help.

  • Remove Navigation panel header  scrollbar and Design Bar

    Hi guys,
    I need your help. I want to remove the Navigation panel header  scrollbars and Design Bar from the Navigation Panel.
    Please how can I do that.
    Looking forward for your response.
    Dakata A. Ibrahim

    Hi Abdu,
    You can change them from the Theme editor under System Administration-> Portal Display. Edit the required theme .
    You can change the height and width of the scroll bar images to 0px. Similarly for the design bar also you could do that else you can make the url to design bar to some blank image that coincides with your background color.
    Hope this helps,
    Regards,
    Uma.

  • Binding property of a Panel header in Declarative Component

    Hi,
    I created a Custom Declarative component, which has a panel header, i wanted to expose the binding property of the panel header so that the users can add partial triggers to it programaticaly,
    so i added a attribute of type RichPanelHeader, and used it in bindings of the panel header, but i am getting following error,
    Unserializable value:RichPanelHeader[UIXFacesBeanImpl, id=dc_cnt_ph1] for key:PropertyKey[phBinding] in console,
    and the value in bean is null.
    the code used in Panel Header of Declarative component,
    <af:panelHeader text="#{attrs.phScreenHdrTxt}" id="dc_cnt_ph1"
                          helpTopicId="#{attrs.phScreenHdrHelpTopicId}"
                          rendered="#{attrs.phScreenHdrRendered}"
                          inlineStyle="#{attrs.phScreenHdrInlineStyle}"
                          partialTriggers="#{attrs.phScreenHdrPartialTrigger}"
                          binding="#{attrs.phBinding}">
          <attribute>
              <attribute-name>phBinding</attribute-name>
              <attribute-class>oracle.adf.view.rich.component.rich.layout.RichPanelHeader</attribute-class>
            </attribute>   code used in the consumer app.
    <app:Container id="c2" phScreenHdrTxt="tab1" phBinding="#{TestBean.panelHeader}">
        <f:facet name="body">
          <af:group id="g1">
            <af:outputText value="Tab1" id="ot1"/>
            <af:commandButton text="Refresh Panel Header" id="cb1"
                              actionListener="#{TestBean.refreshPh}"/>
          </af:group>
        </f:facet>
      </app:Container>
    public class TestBean  implements Serializable{
      private RichPanelHeader panelHeader;
      public void refreshPh(ActionEvent actionEvent) {
        panelHeader.setText("Changed");
        AdfFacesContext.getCurrentInstance().addPartialTarget(panelHeader);
      public void setPanelHeader(RichPanelHeader panelHeader) {
        this.panelHeader = panelHeader;
      public RichPanelHeader getPanelHeader() {
        return panelHeader;
    }is there any solution or way to expose the binding property of any component in a custom declarative component?

    Hi,
    as a last resort, try javax.faces.component.UIComponent as the component class. It seems that none of the UI components implements serializable. javax.faces.component.UIComponent is the JSF base class that they all use.
    Let me know if this works. If not, I think I have another option that mayl do
    Frank

  • Display panel header based on radio selection

    hi i have a stiuation where i what to display panel header based on radio button selection for example if the value of radio is DSO it must dispaly all under <af:panelHeader,am in jdeveloper 11.1.1.6.0
    i have this radio
    <af:selectOneRadio value="#{bindings.Paymenttype.inputValue}"
                                       label="#{bindings.Paymenttype.label}"
                                       required="#{bindings.Paymenttype.hints.mandatory}"
                                       shortDesc="#{bindings.Paymenttype.hints.tooltip}"
                                       id="sor1" autoSubmit="true"
                                       binding="#{pageFlowScope.addMember.dpayment}">
                      <f:selectItems value="#{bindings.Paymenttype.items}"
                                     id="si10"/>
                    </af:selectOneRadio>
    and my panel header is
                  <af:panelHeader text="Bank Details" id="ph6"
                                   visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}"
                                 partialTriggers="sor1"
                                  inlineStyle="width:556px; border-color:Blue; border-style:ridge;">Edited by: adf009 on 2013/02/21 2:44 PM
    Edited by: adf009 on 2013/02/21 2:48 PM
    Edited by: adf009 on 2013/02/21 2:56 PM

    i have try that but it does not display panel header based on radio selection
    <af:selectOneRadio value="#{bindings.Paymenttype.inputValue}"
                                       label="#{bindings.Paymenttype.label}"                                  
                                       shortDesc="#{bindings.Paymenttype.hints.tooltip}"
                                       id="sor1" autoSubmit="true"
                                       binding="#{pageFlowScope.addMember.dpayment}"
                                       immediate="true">
                      <f:selectItems value="#{bindings.Paymenttype.items}"
                                     id="si10"/>
                    </af:selectOneRadio>
                    <af:panelFormLayout id="pfl7" labelAlignment="start">
                      <af:inputText value="#{bindings.Accounthldr.inputValue}"
                                    label="#{bindings.Accounthldr.hints.label}"
                                    required="#{bindings.Accounthldr.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.Accounthldr.hints.precision}"
                                    shortDesc="#{bindings.Accounthldr.hints.tooltip}"
                                    id="it22"
                                    visible='#{bindings.Paymenttype.inputValue eq "DRO"}'>
                        <f:validator binding="#{bindings.Accounthldr.validator}"/>
                      </af:inputText>
                      <af:inputText value="#{bindings.Bankaccountnumber.inputValue}"
                                    label="#{bindings.Bankaccountnumber.hints.label}"
                                    required="#{bindings.Bankaccountnumber.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.Bankaccountnumber.hints.precision}"
                                    shortDesc="#{bindings.Bankaccountnumber.hints.tooltip}"
                                    id="it20"
                                    visible='#{bindings.Paymenttype.inputValue eq "DRO"}'>
                        <f:validator binding="#{bindings.Bankaccountnumber.validator}"/>
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.Bankaccountnumber.format}"/>
                      </af:inputText>
                      <af:selectOneChoice value="#{bindings.Bankaccounttype.inputValue}"
                                          label="#{bindings.Bankaccounttype.label}"
                                          required="#{bindings.Bankaccounttype.hints.mandatory}"
                                          shortDesc="#{bindings.Bankaccounttype.hints.tooltip}"
                                          id="soc12"
                                         visible='#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}'>
                        <f:selectItems value="#{bindings.Bankaccounttype.items}"
                                       id="si13"/>
                      </af:selectOneChoice>
                      <af:selectOneChoice value="#{bindings.Bankname.inputValue}"
                                          label="#{bindings.Bankname.label}"
                                          required="#{bindings.Bankname.hints.mandatory}"
                                          shortDesc="#{bindings.Bankname.hints.tooltip}"
                                          id="soc13"
                                           visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}">
                        <f:selectItems value="#{bindings.Bankname.items}"
                                       id="si14"/>
                      </af:selectOneChoice>
                      <af:inputText value="#{bindings.Branchcode.inputValue}"
                                    label="#{bindings.Branchcode.hints.label}"
                                    required="#{bindings.Branchcode.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.Branchcode.hints.precision}"
                                    visible="#{bindings.Paymenttype.inputValue==&quot;DRO&quot;}"
                                    shortDesc="#{bindings.Branchcode.hints.tooltip}"
                                    partialTriggers="branchnameId" id="it19">
                        <f:validator binding="#{bindings.Branchcode.validator}"/>
                      </af:inputText>
                      <af:inputComboboxListOfValues id="inputComboboxListOfValues1"
                                                    popupTitle="Search and Select: #{bindings.Branchname.hints.label}"
                                                    value="#{bindings.Branchname.inputValue}"
                                                    label="#{bindings.Branchname.hints.label}"
                                                    model="#{bindings.Branchname.listOfValuesModel}"
                                                    required="#{bindings.Branchname.hints.mandatory}"
                                                    visible="#{bindings.Paymenttype.inputValue==&quot;DRO&quot;}"
                                                    columns="#{bindings.Branchname.hints.displayWidth}"
                                                    shortDesc="#{bindings.Branchname.hints.tooltip}">
                        <f:validator binding="#{bindings.Branchname.validator}"/>
                      </af:inputComboboxListOfValues>
                      <af:inputText value="#{bindings.Paymenttype1.inputValue}"
                                    label="#{bindings.Paymenttype1.hints.label}"
                                    required="#{bindings.Paymenttype1.hints.mandatory}"
                                    columns="#{bindings.Paymenttype1.hints.displayWidth}"
                                   visible="#{bindings.Paymenttype.inputValue==&quot;DRO&quot;}"
                                    maximumLength="#{bindings.Paymenttype1.hints.precision}"
                                    shortDesc="#{bindings.Paymenttype1.hints.tooltip}"
                                    id="it21">
                        <f:validator binding="#{bindings.Paymenttype1.validator}"/>
                      </af:inputText>
                    </af:panelFormLayout>
                  </af:panelFormLayout>
                  <af:panelHeader text="Bank Details" id="ph6"
                                  visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}"                           
                                  partialTriggers="sor1"
                                  inlineStyle="width:556px; border-color:Blue; border-style:ridge;">
                    <f:facet name="context"/>
                    <f:facet name="menuBar"/>
                    <f:facet name="toolbar"/>
                    <f:facet name="legend"/>
                    <f:facet name="info"/>
                    <af:panelFormLayout id="pfl6"
                                        visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}"                                  
                                        partialTriggers="sor1"
                                        inlineStyle="width:550px; border-color:Blue; border-style:ridge;">
                      <af:inputText value="#{bindings.Accounthldr.inputValue}"
                                    label="Account Holder Name"
                                    required="#{bindings.Accounthldr.hints.mandatory}"
                                    columns="#{bindings.Accounthldr.hints.displayWidth}"
                                    maximumLength="#{bindings.Accounthldr.hints.precision}"
                                    shortDesc="#{bindings.Accounthldr.hints.tooltip}"
                                    id="it14" partialTriggers="sor1">
                        <f:validator binding="#{bindings.Accounthldr.validator}"/>
                      </af:inputText>
                      <af:selectOneChoice value="#{bindings.Bankname.inputValue}"
                                          label="Bank"
                                          required="#{bindings.Bankname.hints.mandatory}"
                                          shortDesc="#{bindings.Bankname.hints.tooltip}"
                                          id="soc11" partialTriggers="sor1"
                                          immediate="true"
                                          contentStyle="width:190px;">
                        <f:selectItems value="#{bindings.Bankname.items}"
                                       id="si11"/>
                      </af:selectOneChoice>
                      <af:inputText value="#{bindings.Bankaccountnumber.inputValue}"
                                    label="Account Number"
                                    required="#{bindings.Bankaccountnumber.hints.mandatory}"
                                    columns="#{bindings.Bankaccountnumber.hints.displayWidth}"
                                    maximumLength="#{bindings.Bankaccountnumber.hints.precision}"
                                    shortDesc="#{bindings.Bankaccountnumber.hints.tooltip}"
                                    id="it16" partialTriggers="sor1">
                        <f:validator binding="#{bindings.Bankaccountnumber.validator}"/>
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.Bankaccountnumber.format}"/>
                      </af:inputText>
                      <af:selectOneChoice value="#{bindings.Bankaccounttype.inputValue}"
                                          label="Account Type"
                                          required="#{bindings.Bankaccounttype.hints.mandatory}"
                                          shortDesc="#{bindings.Bankaccounttype.hints.tooltip}"
                                          id="soc10" partialTriggers="si10"
                                          contentStyle="width:190px;">
                        <f:selectItems value="#{bindings.Bankaccounttype.items}"
                                       id="si12"/>
                      </af:selectOneChoice>
                      <af:inputComboboxListOfValues id="branchnameId"
                                                    popupTitle="Search and Select: #{bindings.Branchname.hints.label}"
                                                    value="#{bindings.Branchname.inputValue}"
                                                    label="Branch Name"
                                                    model="#{bindings.Branchname.listOfValuesModel}"
                                                    required="#{bindings.Branchname.hints.mandatory}"
                                                    columns="20"
                                                    shortDesc="#{bindings.Branchname.hints.tooltip}"
                                                    partialTriggers="sor1"
                                                    autoSubmit="true">
                        <f:validator binding="#{bindings.Branchname.validator}"/>
                      </af:inputComboboxListOfValues>
                      <af:inputText value="#{bindings.Branchcode.inputValue}"
                                    label="Branch Code"
                                    required="#{bindings.Branchcode.hints.mandatory}"
                                    columns="#{bindings.Branchcode.hints.displayWidth}"
                                    maximumLength="#{bindings.Branchcode.hints.precision}"
                                    shortDesc="#{bindings.Branchcode.hints.tooltip}"
                                    partialTriggers="branchnameId" id="it18">
                        <f:validator binding="#{bindings.Branchcode.validator}"/>
                      </af:inputText>
                      <af:inputText value="#{bindings.Debitorderdate.inputValue}"
                                    label="Date"
                                    required="#{bindings.Debitorderdate.hints.mandatory}"
                                    columns="#{bindings.Debitorderdate.hints.displayWidth}"
                                    maximumLength="#{bindings.Debitorderdate.hints.precision}"
                                    shortDesc="#{bindings.Debitorderdate.hints.tooltip}"
                                    id="it17" partialTriggers="sor1">
                        <f:validator binding="#{bindings.Debitorderdate.validator}"/>
                      </af:inputText>
                    </af:panelFormLayout>
                  </af:panelHeader>this values are on the same VO
    Edited by: adf009 on 2013/02/21 5:23 PM

Maybe you are looking for

  • Getting coloured text in DefaultStyledDocument

    I am using JTextPAne with DefaultStyledDocument.Every character typed into the document will have an attribute and depending on that attribute the colour of the character should be changed. When I run my application and enter characters of same attri

  • Deploy in Visual Composer fails.

    Hello Experts,     I am new to visual composer.  I created a small application which compiles OK. When I click the Deploy button, I get the following on the screen:       1. Compiling SalesOrder...       2. Deploying...          Error in compiling Fl

  • Archiving Error - Cyclic Redundancy Check

    Hey there, My inbox is full again. I went to archive and I get the below message after the archive is finished: Error while archiving folder "Inbox" in store "[email protected]". The file C:\Users\XXX\AppData\Local\Microsoft\Outlook\[email protected]

  • How could i reset my password on my ipad 2 if it is not the same computer

    i cant remember my password and i'm not home where my computer is

  • How to send username and password to XISOAPAdapter

    Hi, Can someone please provide a sample piece of source code showing how I can invoke the SOAP Adapter, sending an XML payload and also pass the username and password? Many thanks Brian