Get disclosed showDetailItem [panelTabbed] when page renders

Hello,
My Jdev version is 11.1.1.6.
I have a page where there are many showDetailItem under panelTabbed component at different levels.
These showDetailItems are showing regions implemented as bounded taskflow using fragments. I am controlling taskflow activation logic using a pageFlowScope variable setting the value using something like this:
<af:setPropertyListener from="tabLevel1"
                        to="#{pageFlowScope.TabLevel1}"
                        type="disclosure"/>Similarly other tabs are sharing variables as pageFlowScope.TabLevel2, pageFlowScope.TabLevel3...
When the page renders first time, the value of pageScope variable is not set, since no disclosure listener is fired yet. I can not assume to activate the first Tab's taskflow since user may not have access [authorization] to first tab and in that case, it is not rendered at all.
My problem is - How to figure out which tab is the first rendered tab at each level?
Is there a way to capture which tab is disclosed under each panelTabbed component? I can then do something like setting the pageFlowScope variable for that level. My tabs are fixed at design time, so I can hard code showDetailItem's component Id to check/set.
I tried binding panelTabbed in a bean and then try to iterate through it's children but it returns 0 children when page is rendered first time.
So apparently, I am stuck and don't know how to proceed on this. Any help is highly appreciated.
Thanks,
Jai

Hello,
Thanks for your response.
We are already using UIShell in our application. It is based on One-Page application concept.
Menu is opening the pages in dynamic tabs supported by UIShell.
The page has it's own tabs (showDetailItem under panelTabbed) defined at design time. I need to control activation of taskflows only when they are open.
It works fine after user starts interacting with the tabs as disclosureListener is fired but first time is an issue.
I need a solution to figure out the "open" tab at each level. Obviously, it's too late to change the design/navigation architecture of whole application.
Thanks,
Jai

Similar Messages

  • Unspecified Error in IE 6.0 when page renders.

    Hello,
    I'm trying to export my object and download it as a XML file. I have done this with ServletOutputStream and it works fine in XP but when i tried it in Windows 2000 ( IE 6) I'm getting an Unspecified Error (JS Error) after clicking Save in Open/Save dialog. I found the root cause of the problem from the site http://bytes.com/groups/javascript/153397-javascript-unspecified-error , which mentioned that reference to current document object is lost after click Save. Also mentioned the solution as assign the document object to a global variable and use the variable instead of document object through out the page. Since JSF implements some JS code in the JSP page to render the UI components in the page using document object I'm getting this error. But i don't know how to change the document object used by JSF to render the page. Any suggestions how to do that?
    Regards,
    Suresh

    There are also a lot of folks who automatically create the newest, best PDF with the latest technology and assume everyone will be able to read it. This will work for a lot of things, but there are typically features in the newer PDF versions that cause errors in older systems, such as you are getting. There are 3 choices: 1. Ask the creator to create a new version that is AA6 compatible (either in the creation process or using Reduce File Size or PDF Optimize); 2. Upgrade your AA6 to a newer version. I am not sure how far back AAX will go for upgrade -- typically 2 or 3 versions; 3. Download the new Reader and deal with compatibility issues between AR and your AA6 (there are bound to be a few -- but are typically workable once you figure out how. This is not an Adobe recommended solution).

  • Sequence of inputText boxes getting misaligned when page is rendered second

    Hi All,
    I'm facing an issue where the inputText boxes on my page get's misaligned when the page is rendered second time.In my application i'm selecting a product and adding it to my cart.Then on doing checkout, for the guest users, registartion page(jspx) is rendered.When i click "cancel" button on registration page then i'm redirected to select another product and follow the same flow.But when registration page is rendered second time the sequence of inputText boxes gets changed.For example
    Sequence when Page is rendered First time
    FirstName
    Middle Name
    LastName
    MobileNo
    When page is rendered second time
    First NAme
    LastName
    Mobile No
    Middletname
    All these textBoxes are in a <af:panelForm .
    Please suggest a solution.I'm using 10g.

    <af:regionDef var="contacts">
    <af:panelForm labelWidth="16%" maxColumns="2" rows="4" width="100%"
    partialTriggers="compId335 tdnothercheckbox compId333 compId328 compId349 compId334 compId355">
    <af:selectOneChoice id="compId351" value="#{bindings.MM.inputValue}"
    inlineStyle="width: 125px"
    binding="#{typeChange.mr_msSelecOneChoice}"
    rendered="true" immediate="true"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    label="#{messageBean['REG_MM']}">
    <f:selectItems value="#{bindings.MM.items}"/>
    </af:selectOneChoice>
    <af:inputText id="compId335F"
    label="#{messageBean['FIRST_NAME']}"
    immediate="true"
    inlineStyle="width: 125px" maximumLength="50"
    required="#{!IdtypeChange.tdnRegPprFlag}"
    value="#{bindings.FirstName.inputValue}"
    validator="#{ValidationsBean.FirstNameValidator}"
    binding="#{IdtypeChange.firstNameInputText}"/>
    <af:inputText id="tdncompId336"
    label="#{messageBean['MIDDLE_NAME']}"
    inlineStyle="width: 125px" maximumLength="50"
    value="#{bindings.MiddleName.inputValue}"
    validator="#{umValidationsBean.MiddleNameValidator}"/>
    <af:inputText id="compId337"
    label="#{messageBean['LAST_NAME']}"
    inlineStyle="width: 125px" maximumLength="50"
    immediate="true"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    value="#{bindings.LastName.inputValue}"
    validator="#{umValidationsBean.LastNameValidator}"
    binding="#{RegistrationIdtypeChange.lastNameInputText}"/>
    <af:inputText id="compId338"
    label="#{messageBean['EMAIL_ADDRESS']}"
    immediate="true"
    inlineStyle="width: 125px" maximumLength="100"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    validator="#{umValidationsBean.emailValidator}"
    value="#{bindings.EmailAddress.inputValue}"
    binding="#{RegistrationIdtypeChange.emailInputText}"/>
    <af:inputText id="compId339"
    label="#{messageBean['ALTERNATE_EMAIL']}"
    maximumLength="100"
    validator="#{umValidationsBean.emailValidator}"
    value="#{bindings.AlternateEmail.inputValue}"/>
    <af:inputText id="compId343"
    label="#{messageBean['MOBILE_PHONE']}"
    immediate="true"
    inlineStyle="width: 125px" maximumLength="10"
    value="#{bindings.CellPhone.inputValue}"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    validator="#{ValidationsBean.MobileNoValidator}"
    shortDesc="Enter 10 digit mobile number."
    binding="#{RegistrationIdtypeChange.mobNoInputText}"/>
    <af:inputText id="compId342"
    label="#{messageBean['UM_HOME_PHONE']}"
    inlineStyle="width: 125px" maximumLength="10"
    value="#{bindings.HomePhone.inputValue}"
    shortDesc="Enter 10 digit phone number.for e.g. 0224283738."/>
    <af:inputText id="compId344"
    label="#{messageBean['UM_WORK_PHONE']}"
    inlineStyle="width: 125px" maximumLength="10"
    value="#{bindings.WorkPhone.inputValue}"
    shortDesc="Enter 10 digit phone number.for e.g. 224283738."/>
    <af:selectOneChoice id="compId349"
    value="#{bindings.IDType.inputValue}"
    inlineStyle="width: 125px"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    immediate="true" autoSubmit="true"
    label="#{messageBean['UM_REG_IDTYPE']}"
    valueChangeListener="#{RegistrationIdtypeChange.ChangeIdType}"
    binding="#{RegistrationIdtypeChange.idTypeSelecOneChoice}">
    <f:selectItems value="#{bindings.IDType.items}"/>
    </af:selectOneChoice>
    <af:inputText id="compId3499" inlineStyle="width: 125px"
    immediate="true"
    binding="#{RegistrationIdtypeChange.other_Id_Type_InputText}"
    value="#{bindings.OtherDocType.inputValue}"
    label="#{messageBean['REG_OTHER_IDTYPE']}"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}"
    partialTriggers="compId349"
    rendered="#{processScope.OtherId=='true'}"></af:inputText>
    <af:inputText id="compId350" immediate="true"
    value="#{bindings.IDInformation.inputValue}"
    inlineStyle="width: 125px"
    label="#{messageBean['REG_IDINFO']}"
    binding="#{RegistrationIdtypeChange.idInfoInputText}"
    required="#{!RegistrationIdtypeChange.tdnRegPprFlag}">
    <af:validator binding="#{bindings.IDInformation.validator}"/>
    </af:inputText>
    <af:selectInputDate id="compId352"
    inlineStyle="width: 125px"
    value="#{bindings.BirthDate.inputValue}"
    label="#{messageBean['REG_BIRTHDATE']}"
    required="#{!IdtypeChange.tdnRegPprFlag}"
    immediate="true"
    validator="#{ValidationsBean.DateofBirthValidator}"
    binding="#{RegistrationIdtypeChange.dobSelectInputdate}">
    <!-- <af:validator binding="#{bindings.BirthDate.validator}"/> -->
    <f:convertDateTime pattern="#{bindings.BirthDate.format}"/>
    </af:selectInputDate>
    </af:panelForm>
    <af:inputHidden id="compId348"
    value="#{bindings.ContactVO1ModId.inputValue}"/>
    </af:regionDef>
    </jsp:root>
    this is a region included in my main page Registration.jspx

  • How to hide the fields with labels when page re-rendering

    Hi Gurus,
    Please help me to hide the fields with labels when page is re-rendered.
    I have written a on load : before process also.
    But it is not working
    Thanks in advance
    kavitha L

    Hi jari and Bruce,
    Thanks for your reply. I am sorry that, i am not clear
    I have a javascript like
    function showcase()
       var ctry = document.getElementById('P3_CHANNEL').value;
       if(ctry == 'Affiliate') {
        $x_Hide('P3_PUBLLICATION');
        $x_Hide('P3_PUBLLICATION_label');
        $x_Hide('P3_CIRCULATION');
        $x_Hide('P3_CIRCULATION_label');
        $x_Hide('P3_MEDIA_CPM');
        $x_Hide('P3_MEDIA_CPM_label');
        $x_Hide('P3_RATE_CARD');
        $x_Hide('P3_RATE_CARD_label');
        $x_Hide('P3_DISCOUNT');
        $x_Hide('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Direct Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'E-Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if((ctry == 'Online') || (ctry == 'PPC'))
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Outdoor')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'PR')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Radio')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'TV')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'A')
        { $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
      else if(ctry == 'Print')
       $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
       doSubmit('CREATE');
    function showcase12()
       var ctry = document.getElementById('P3_CHANNEL').value;
       if(ctry == 'Affiliate') {
        $x_Hide('P3_PUBLLICATION');
        $x_Hide('P3_PUBLLICATION_label');
        $x_Hide('P3_CIRCULATION');
        $x_Hide('P3_CIRCULATION_label');
        $x_Hide('P3_MEDIA_CPM');
        $x_Hide('P3_MEDIA_CPM_label');
        $x_Hide('P3_RATE_CARD');
        $x_Hide('P3_RATE_CARD_label');
        $x_Hide('P3_DISCOUNT');
        $x_Hide('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Direct Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'E-Mail')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Event')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Other')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT'); 
    else if((ctry == 'Online') || (ctry == 'PPC'))
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Hide('P3_DAREA');
        $x_Hide('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Outdoor')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'PR')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Hide('P3_CTYPE');
        $x_Hide('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Hide('P3_SIZE');
        $x_Hide('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'Radio')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Hide('P3_CREATIVE');
        $x_Hide('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'TV')
        { $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Hide('P3_COLOR_TONE');
        $x_Hide('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        $x_Hide('P3_POSITION');
        $x_Hide('P3_POSITION_label');
       html_HideItemRow('P3_ISSUE_DT');
    else if(ctry == 'A')
        { $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
      else if(ctry == 'Print')
       $x_Show('P3_POSITION');
        $x_Show('P3_POSITION_label');
       $x_Show('P3_PUBLLICATION');
        $x_Show('P3_PUBLLICATION_label');
        $x_Show('P3_CIRCULATION');
        $x_Show('P3_CIRCULATION_label');
        $x_Show('P3_MEDIA_CPM');
        $x_Show('P3_MEDIA_CPM_label');
        $x_Show('P3_RATE_CARD');
        $x_Show('P3_RATE_CARD_label');
        $x_Show('P3_DISCOUNT');
        $x_Show('P3_DISCOUNT_label');
        $x_Show('P3_CTYPE');
        $x_Show('P3_CTYPE_label');
        $x_Show('P3_DAREA');
        $x_Show('P3_DAREA_label');
        $x_Show('P3_CREATIVE');
        $x_Show('P3_CREATIVE_label');
        $x_Show('P3_COLOR_TONE');
        $x_Show('P3_COLOR_TONE_label');
        $x_Show('P3_SIZE');
        $x_Show('P3_SIZE_label');
        html_ShowItemRow('P3_ISSUE_DT');
    }This script i am calling on, onchange() for the select list item P3_CHANNEL and it is working fine.
    But i have a create button and cancel button.
    After filling the details in the required columns, when i click the create button, if any validation errors are there.. the page is re-rendered. while doing that the hidden items are getting displayed back.
    Tried Solutions:
    1. I created a same function once more and in the last added the doSubmit('CREATE') and called the script from the create button.
    At that time the hidden fields labels are getting displayed.
    2. I created a process On load before header To call this script on a condition :REQUEST = 'CREATE'
    Then also fruitless..
    I hope now it is clear....
    Please! Any suggestion are mostly appreciated.
    Thanks in advance
    Kavitha L

  • I have been sent a 'word document' in which are a series of boxes about thirty lines long to insure written text. When Pages opens the document it extends these to a whole A4 page how do I get it to retain the original layout

    I have been sent a 'word document' in which are a series of boxes about thirty lines long to insert written text. When Pages opens the document it extends these to a whole A4 page how do I get it to retain the original layout

    You can't change the way Pages import .doc files.
    It was never written that it reproduce exactly the original one.
    From my point of view, as I refuse to give a cent to M...soft, the best way to deal with documents issued by their Office suite is to use the free libreOffice.
    Yvan KOENIG (VALLAURIS, France) jeudi 7 juillet 2011 11:34:19 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I'm getting the rainbow wheel when I try tp pen in internet page (Safari). The page half loads then appears to freeze with the rianbow wheel.  I get the same result when I try to stream a movie from NETFLIX.  Freezes up rather than plays (after loading).

    I get the rainbow wheel when I try to open an internet page. It loads halfway, then freezes, with the rainbow wheel whirring around. Smae thing happens when I try to stream a movie on Netflix.  The movie loads, then the wheel shows up and the screen freezes.  Same thing when I try a DVD, it takes the disc, but won't play when I hit on PLAY.
    I am repair permissions, and all that I can do, but I am a novice.  Any help would be greatly appreciated because I spend big bucks and drive 40 miles to get Apple help.
    Sharon in the woods of Idaho

    Welcome to Apple Support Communities.
    If your profile info is up to date, you probably have a 2006 or 2007 MacBook with a CoreDuo or Core2Duo.
    It probably came with 512MB or 1GB RAM memory and a 60, 80, or 120GB hard drive.
    You're still running OS X Tiger, 10.4.
    Your DVD drive may be dirty or wearing out.
    For specifics about your computer, click on the  Apple Logo in the menu bar, then About This Mac, and More Info... to find details.)
    You may be running short of hard disk space. You should have at least 10% free, or 10 to 15GB free for best performance. Less than that, and your hard disk is spending lots of time searching for places to store data.
    Complex web pages and sites like Facebook and Twitter, and pages using Adobe Flash, and high-bandwidth applications like video streaming from NetFlix can all cause your computer to run slowly, and the fan to run at high speed, because the processor is working hard. Conversely, email is not terribly resource-intensive, and probably still works pretty well.
    Several things can each provide a small performance increase (listed in no particular order):
    Adding more RAM memory. Upgrade to 2Gb to give your programs a bit of 'breathing room', especially if you are running more than one program at a time.
    Erasing the hard drive and reinstalling the current operating system and programs from scratch. This erases all your existing programs and data. Unless you have backups and program discs, you lose everything currently stored on it.
    Installing a higher capacity, faster hard disk, say 250GB or 320GB will give your programs and data more space, and perhaps faster access if you replace the factory 5400rpm drive with a 7200 rpm drive. If your current hard disk is nearly full (less than 10% free space), the drive has to 'thrash' to free space to store information. 
    Upgrading the operating system to OS X 10.5 Leopard or OS X 10.6 Snow Leopard. Both are discontinued OS X versions, still available to order directly from Apple, but not likely found on a store shelf any longer. An upgrade to OS X 10.7 Lion might not be possible for your MacBook (details here: http://www.apple.com/macosx/how-to-buy/), and Lion would likely cause a further slowdown, because honestly, Lion is optimized for newer, faster dual-core or quad-core computers with fast video chipsets and 4GB or more of RAM.
    A faster internet connection, for example: I switched internet providers to get a 3.0Mb DSL connection (up from a 512Mb connection) for an extra $10 per month, and saw downloads and internet browsing speeds increase dramatically.  With the slower connection, it was not possible to watch video.
    Will all of these upgrades together get you close to the performance of the latest MacBook Air or MacBook Pros? NO!
    Ultimately, you have a 4- or 5-year-old computer, and spending up to several hundred dollars for upgrades might not be a worthwhile investment for you, versus applying that much money toward the cost of a new(er) Mac, and perhaps passing your MacBook on to a friend, child, or grandchild who needs mainly email capability.
    If a brand new Apple is not in the budget, consider a refurbished Mac from the Apple Store online. These are reliable computers from 'last year's models' and have the same 1-year Applecare warranty as a brand new model, and often sell at a discount of 10 to 30 percent of the price when the model was introduced.
    I'm using a mid-2007 MacBook, purchased as a refurb from Apple in late 2007. It came with 1GB RAM, a 120GB 5400 rpm hard drive, and OS X 10.4 Tiger. Over the years, I've upgraded it twice. Firs to 2GB, then to 4GB RAM, to a 320GB drive, then to a 500GB 7200 rpm hard drive, and to OS X 10.5 Leopard, and then to OS X 10.6 Snow Leopard. Rather than one more round of upgrades to OS X 10.7 Lion, I'm saving for a newer MacBook Pro or MacBook Air at some time in the future.

  • How do I get back to the first page of an application when I'm in the middle of it?

    I'm sure there's an easy answer for this, but I can't find it.  If I'm in the middle of an application, say iBook, and I want to get back to the first page of that application, how do I do it?  When I tap on HOME, I go back to the home page with all the icons.  I want to go to another page within the application I'm in?  I've been stuck in iBook for an hour.....I don't know how to get back to the first page in that application.  Thanks.

    The shelves should show the ibooks that you've got in the app i.e. your downloaded purchases from the iBookstore. At the top of the shelves there should also be a Store button (for browsing, purchasing, re-downloading books from the iBookstore), and Collections (where any PDFs that you've synced/copied into the app go).
    There is a chapter on the iBooks app in the manual, which can be downloaded from here http://support.apple.com/manuals/#ipad

  • Why do I get a black screen when i click on a PDF in a web page?

    why do I get a black screen when i click on a PDF in a web page? Firefox works as is should.

    Hi,
    From your Safari menu bar click Safari / Preferences then select the Extensions tab. If you have any installed, turn that off, then relaunch Safari. Try a PDF file.
    If it's not Extensions, open a Finder window. Select MacintoshHD in the Sidebar on the left. Now open the Library folder then the Internet Plug-Ins folder. If you see any files such as this:
    AdobePDF Browser or Viewer Plug-in
    Move it to the Trash, relaunch Safari.
    Carolyn :-)

  • I have an iPhone 6 with IOS 8.1.3 and when I use the landscape view in Safari, the bookmark page appears and takes up one half of the screen. How can I get rid of the bookmark page so I can have the whole screen to what I am browsing?

    I have an iPhone 6 with IOS 8.1.3. When I go to the landscape view in Safari, the bookmark page appears and takes up one half of the screen. How can I get rid of the bookmark page so I can use the whole screen to what I am browsing?

    OOPS! Too quick on the trigger to ask that question without trying anything. Sorry. Solved it by touching the bookmark icon.

  • Firefox is stumbling when pages with PDF content come up. how can i get my old version3.5.6 back?

    Question
    firefox is stumbling when pages with PDF content come up. how can i get my old version3.5.6 back?

    Thanks for your response Cor el, I'll try that the next time it happens, it's completely random. One moment it functions normally then suddenly it changes its mind.
    Restarting my pc usually brings it back to normal until next time.
    One thing I've noticed, but not 100% sure there's a connection here.....I edit my websites online and log into cpanel which opens new pages in separate tabs, as it should do. It seems that this problem occurs when I'm logged into cpanel...if i'm logged in then open a new tab for regular browsing of other sites then all links on those sites also open in new tabs.
    Ican't say for sure if it's always only happened when logged into cpanel, but certainly on the last 3 occasions.
    At the moment it's behaving normally so much I can do to check your suggestions, but will try them the next time it occurs.
    One other thing I forgot to mention too....since i've had the new firefox, I've noticed that when I log into yahoo and post comments, I often find myself having to log on for each new post. Everything was fine with old firefox and there have been no other changes to my pc .

  • I've recently noticed that since the last upgrade any links to pdf files on websited no longer work. All I get is a blank white page or a blank black page when I click on these links. Can I fix this?

    I've recently noticed that since the last upgrade any links to pdf files on websited no longer work. All I get is a blank white page or a blank black page when I click on these links. Can I fix this?

    YAY!! I have Safe mode!!
    um, now what?

  • I am creating a form, it shows 1 page, but when I save it as a PDF Form there are 2 pages, 1 is blank. How do I get rid of the blank page in the form?

    I am creating a form, it shows 1 page, but when I save it as a PDF Form there are 2 pages, 1 is blank. How do I get rid of the blank page in the form?

    Hi,
    You may open the original form in FormsCentral and toggle to “Page View” at the lower right corner. Adjust the page content to make sure no page breaks in this view.
    Thanks,
    Wenlan

  • I get an error message when trying to download apps from the app store.  "safari can not open the page because the address is invalid".  Please help!!

    i get an error message when trying to download apps from the app store.  "Safari can not oprn the page because the address is invalid"

    You can't use Safari to download iPad apps. Only use iTunes/App Store.
     Cheers, Tom

  • ADF how can i execute a query with parameters when the page renders

    hi
    i am using ADF web 11g
    i need to execute a query with parameters when the page renders
    thanks

    hello,
    I'm a fan of Java code, I really am.
    But when you use ADF, you decided to move to a more declarative environment.
    So why not do it declarative, the adf way?
    In your pagedef insert a action binding.
    This can be anything, a call to the application module, a call on the iterator(Like executeWithparams, etc.)
    Create an invokeAction in your pagedef and set the condition.
    This example refreshes(Action 2 is execute query) the data.
    First the method binding:
        <action IterBinding="PersoonIterator" id="Execute" InstanceName="LSAppModuleDataControl.Persoon"
                DataControl="LSAppModuleDataControl" RequiresUpdateModel="true" Action="2"/>And the invoke action
        <invokeAction Binds="Execute" id="refreshData"/>This always refreshes the data on page entry, but anything is possible, you can set condictions for the invokeAction.
    -Anton
    PS Yes I know that pagedefs become backing beans in the end and yes that is Java code, but if you wanna play the ADF way, the goal is the reduction of Java code and the increased performance of declarative programming.

  • Is there a way that articles opened in Safari can be saved to read off line? Sometimes they are there when I opened Safari but other times I get the message that the page can't be found because I don't have Internet access.

    Sometimes they are there when I reopen my iPad, even without Internet access. Other times I get the message that the page can't be found because I don't have Internet access.

    You're welcome 
    I use Reading List all the time.
    If applicable, you can access saved Reading List articles in Airplane mode >  iOS: Understanding airplane mode

Maybe you are looking for

  • How do i get my contacts to sync so they are the same on my computer, Iphone and Icloud?

    from over the years I had a lot of information in my address book that was not relevent anymore, was incorrect or incomplete or a dupluicate. I went through all of them on my mac computer and updated all of the information. As soon as I pluged my iph

  • Can't get flash to work with PulseAudio [Solved]

    I have Pulseaudio configured according to the Wiki and everything works except flash. If I bring up a flash site, it takes over the sound card and plays fine, but won't let the card go until I shut down Firefox. During that time nothing shows up in t

  • Electronic Bank Reconciliation

    Dears, We are on our way to implement electronic bank reconciliation in our SAP system. However, there are certain points I am not very clear. Could you please offer your valuable comments: WE understand that we can download the data from the Bank in

  • Clearing the eprint queue after error

    We sent two print jobs to eprint and got an email error message that the printer was not connected. We discovered the IP address was missing and traced that to the cable being disconnected accidentally. That is all cleared now and in the process of t

  • CS3: Placing files - with a reduction

    When placing something (a pdf file, but it doesn't really matter in this case) and I reduce it, is there someplace where you can see exactly how much it's being reduced? I remember in PageMaker, there was a notation in the control panel that said exa