How to set condition to display page

In adobe form ,I want to display page only if term konda=02
can anone guid me the steps needed for the result
thank's

Hi Shaul,
To display the Body Page based on the condition then we must write the code in the FormCalc or JavaScript under the event :initialization or Form Ready or Layout Ready event for the Root Node in the Heirarchy Palette of the Layout Designer.
For Example:
Consider JavaScript under the Initialization event for root node "Data"
if (konda.rawValue == "02")
   bodypage.presence = "visible";
else
  bodypage.presence = "hidden";
Regards
Pradeep Goli

Similar Messages

  • How to set max row display rows in PO's PLD

    Hi,
    How to set max row display rows in PO's PLD
    Thanks and Best Regards
    Bruce

    Hi
    Max. Rows per Page is depend on PLD Settings and Depend on Repetitive Area Fieds Height.
    Try this,
    1st Case:
    ->> Administration Module.
    ->> System Initialization.
    ->> Open the Print Perferences Window.
    ->> Click General Tab on Print Perferences Window.
    ->> Assign the Max. Rows per Page - 99 (or) your wishes.
    ->> Update the Print Perferences.
    2nd Case:
    ->> Open your PLD.
    ->> Choose Repetitive Area on Field Index Window.
    ->> Click Format Tab on Properties Area Window.
    ->> Assign the Lines in Repetitive Area - Your Wishes .
    ->> Save the PLD.
    Regards,
    Madhan.

  • How to set jButton to display hourglass while executing.

    Hi All,
    How to set jButton to display hourglass while executing.
    Here is my code:
        private JButton jButton5 = new JButton();
        jButton5.setText("Refresh");
        jButton5.setBounds(new Rectangle(805, 35, 145, 25));
        jButton5.setBackground(Color.green);
        jButton5.setFont(new Font("Tahoma", 1, 15));
        jButton5.setForeground(Color.blue);
        jButton5.setSize(new Dimension(145, 25));
        jButton5.setModel((ButtonModel)panelBinding.bindUIControl("Execute",jButton5));Thanks.

    user38000 wrote:
    I do not have much experience with Java, my background is database admin, could you please spell out syntax and where introduce hourglass behavior based on the code I posted.While bobear may post his code, my recommendation in this situation is that you are always better to use the advice given, the API and the tutorials to first try to do this yourself and see what happens. Then if it fails, come back with your code attempt.
    One concern of mine, and my main reason for posting is that it seems like your JButton will initialize a task that may take a bit of time to perform (hence the need for the hour-glass). I just want to make sure that you call this task in a background thread such as within a SwingWorker's doInBackground() method. For more on this, please google the Sun tutorial on Concurrency in Swing.
    Much luck!

  • How to set title of jsp page from resource bundle

    hi ,
    How to set title of jsp page from resource bundle....

    Depends on how you configured and declared the resourcebundle in your JSP. The usual way is just<title>${resourceBundle.messageKey}</title>

  • How to set up my display to be the main view HELP

    How to set up my external display automatically work as the main display when plugged into my MacBook Pro. I had it set up to work this way on my old MBP but I got a new MBP with Mountian Lion and the Display set up seen different and I can figure out how to make my Apple HD display (about 3 years old) be the main display when I turn on my MBP. Mirror is off when I look at
    System pref’s – Display – Arrangement I just get to pick which display is left and right. I cant remember how it was set up on my old MBP. Mirroring does me no good. Any help will do!!!
    Thanks Brad

    In System Preferences > Displays > Arrangement tab.  Drag the little grey rectangular "menubar" to the other monitor.

  • How to set conditions as a query in cfl?

    i have a combo box and a matrix. i have a cfl in the matrix column, once i select the particular value in the combobox the corresponding values must appear in the cfl. how can this be done?

    Hi Metilda,
    You can try this, i'use this code to set conditions in a CFL for item list. I put this code in the et_CHOOSE_FROM_LIST event in beforeaction=True :
                                            SAPbouiCOM.EditText oEdit;
                                            oEdit = (SAPbouiCOM.EditText)oForm.Items.Item("7").Specific;
                                            string typeMag = oEdit.Value.ToString().Trim();
                                            oCons = oCFL.GetConditions();
                                            if (oCons.Count == 0)
                                                if (typeMag.Substring(0, 1) == "C")
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 2;
                                                    oCon.Alias = "SellItem";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = "Y";
                                                    oCon.BracketCloseNum = 1;
                                                    oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 1;
                                                    oCon.Alias = "U_IFC_CAT";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = typeMag;
                                                    oCon.BracketCloseNum = 2;
                                                    oCFL.SetConditions(oCons);
                                                else
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 2;
                                                    oCon.Alias = "SellItem";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = "Y";
                                                    oCon.BracketCloseNum = 1;
                                                    oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 2;
                                                    oCon.Alias = "U_IFC_CAT";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_IS_NULL;
                                                    //oCon.CondVal = null;
                                                    oCon.BracketCloseNum = 1;
                                                    oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_OR;
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 1;
                                                    oCon.Alias = "U_IFC_CAT";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = "";
                                                    oCon.BracketCloseNum = 3;
                                                    oCFL.SetConditions(oCons);
                                            else
                                                oCons = null;
                                                oCFL.SetConditions(oCons);
                                                oCons = oCFL.GetConditions();
                                                if (typeMag.Substring(0, 1) == "C")
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 2;
                                                    oCon.Alias = "SellItem";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = "Y";
                                                    oCon.BracketCloseNum = 1;
                                                    oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 1;
                                                    oCon.Alias = "U_IFC_CAT";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = typeMag;
                                                    oCon.BracketCloseNum = 2;
                                                    oCFL.SetConditions(oCons);
                                                else
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 2;
                                                    oCon.Alias = "SellItem";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = "Y";
                                                    oCon.BracketCloseNum = 1;
                                                    oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_AND;
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 2;
                                                    oCon.Alias = "U_IFC_CAT";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_IS_NULL;
                                                    //oCon.CondVal = null;
                                                    oCon.BracketCloseNum = 1;
                                                    oCon.Relationship = SAPbouiCOM.BoConditionRelationship.cr_OR;
                                                    oCon = oCons.Add();
                                                    oCon.BracketOpenNum = 1;
                                                    oCon.Alias = "U_IFC_CAT";
                                                    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL;
                                                    oCon.CondVal = "";
                                                    oCon.BracketCloseNum = 3;
                                                    oCFL.SetConditions(oCons);
    It's work fine for me.

  • How to set a dropdown display value

    I know how to access the current value of a dropdown box. But how can I set it?
    I have a dropdown box and one of the choices is 'Other'. When 'Other' is selected, a text box is enabled so the user can describe what they mean by 'Other'. Now, I want to make the dropdown more robust where if after selecting 'Other' and providing a comment the user willingly or not makes a different selection, the user is warned that the 'Other' description will be deleted with a choice to proceed or not. If the user proceeds the description is deleted and the text box disabled; if the user doesn't want to proceed with the deletion the text box is left enabled with its value untouched and the dropdown value is reset to 'Other'. This is the part that I can't figure out: how do I reset the display value of the dropdown?
    Thanks for the help!
    Marc

    Ok, thanks Malcolm. Yes, you were correct about using the rawValue property to reset the selected value of the dropdown.
    Why I got so confused is because all my scripting, including trying to reset the newly selected value, was done in the Change event of the dropdown. The rawValue property 'appears' to behave differently here I think because of the order of the events, where it holds the original value through the whole selection process. So essentially, the rawValue during the Change event doesn't hold the newly selected value and will not hold it until the Change event is fully completed.
    So I was able to reset the selected value through the Exit event by using a form variable whose value I set in the Change event. So my Change event uses this line at the right location in my script:
    cancelDDSelection.value = "yes";
    and my Exit event uses the following;
    if (cancelDDSelection.value == "yes") //if the Change event reset this form variable to 'yes'
    this.rawValue = "Other"; //reset the selected value to 'Other'
    cancelDDSelection.value = "no"; //reset the form variable to its default value
    Not sure if there's a better to do this, but all works as I wanted it to now.
    Marc

  • How to set condition in CFL which are alredy assign in EditText

    Hi
      All
    I create a Screen Printer Form where i assign a edit text to ChooseFromList as follow-
    1)1st create a CFL using Collection Tab in screen printer and set the Object type=2 and Unique Id=CFL_2
    2)Then assign CFL_2 to EditText in Item Tab window.
    In that case CFL show All the Business partners. so my question is how i set the Condition in CFL_2 according to CardType.
    thanks
    Subhas

    Hi,
    Give a new Unique Id and assign that to edittext
                Dim oCons As SAPbouiCOM.Conditions
                Dim oCon As SAPbouiCOM.Condition
                oCons = New SAPbouiCOM.Conditions
                oCon = oCons.Add()
                 oCon.Alias = "U_CLEARED"
           'oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = val        
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim oEdit As SAPbouiCOM.EditText
                Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                oCFLs = oForm.ChooseFromLists
                oitem = oForm.Items.Item(ItemUID)
                oEdit = oitem.Specific
                Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                oCFLCreationParams.MultiSelection = False
                oCFLCreationParams.ObjectType = "AUCTIONS"
                Try
                    oCFLCreationParams.UniqueID = "CFL1_ACV" & val
                Catch ex As Exception
                End Try
                Try
                    oCFL = oCFLs.Add(oCFLCreationParams)
                Catch ex As Exception
                End Try
                Try
                    oCFL.SetConditions(oCons)
                Catch ex As Exception
                End Try
                oEdit.ChooseFromListUID = "CFL1_ACV" & val
                oEdit.ChooseFromListAlias = "Code"

  • How to set 1inch margins on Pages program?

    I have Mac's writting program Pages and I am having a tough time trying to figure out how to set my document to have 1 inch margins.
    it is version 5.5.3

    Google The Chaser.
    https://www.youtube.com/watch?v=1zr2-_ap4O8
    The Chaser was a gang of Aussie comedians who in one running skit used to years ago invade actual people's workplaces dressed as Clippy and annoy them with stupid questions and suggestions.
    One of their best ever stunts was dressing up as Osama bin Laden and gate crashing the 2007 Sydney APEC security in their own cavalcade.
    Nobody caught on until they got out of the car.
    http://yournewreality.blogspot.com.au/2007/09/osama-bin-laden-arrested-outside.h tml
    Sydney was virtually shut down at huge expense for a vanity fest* that had nonsense security.
    Of course the Government and their right wing Murdoch cheer squad were livid.
    We have along history of doing this. A student jumped the 1956 Melbourne Olympic Torch relay handing over a torch made from a stick with a Jam Tin nailed on top, fooling the Mayor of Sydney. Unlike every other country on Earth who may or may not merely suspect their figures of authority are maybe idiots, we actually know that they are!
    Peter
    * We called it The $320 million Johnny Howard (our Prime Minister at the time) Farewell Bash, and got rid of him not long after.

  • How to set bottom margin on pages

    how do I set bottom margins on pages document.  The printer always cuts it off

    That may just be part of your printer's non-printable area.
    Most printers do not print right to the edge with a large margin at the bottom of the sheet.
    To find out exactly where your printer prints, make a grey box to fill your entire page then print that, The white margins are non-printing.
    Peter

  • How to make firefox to display page only after that page is fully loaded?

    I'm using some kind of simple monitoring tool, wich refreshes page every 10 seconds. And i see, how page loads: first text, then graphs. Is there any way to make firefox display page only after that page fully loaded to make such slideshow more smooth?

    Try to increase the pref nglayout.initialpaint.delay to a very large value
    *http://kb.mozillazine.org/Nglayout.initialpaint.delay

  • How to set condition for my Choose From List

    hi ..plz check my code...i want to set a condition on my CFL which opens GL Accounts..it has to show only Active Accounts...but when i run the program iam able to see all accounts..what might me the proble..
    my code is as follows
    '''''''''' load form
    private sub loadform()
    '' here iam loading form which is designed in Screen painter where i have a textbox (uid = 19) and CFL_2 as its choosefromlist and object type = 1 alias name = ActCode
    conditionCFL()
    oform.visble = true
    end sub
    '''''''''' end of load form
    '''''''''setting condition
    private sub ConditionCFL()
    Try
                Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                Dim oCons As SAPbouiCOM.Conditions
                Dim oCon As SAPbouiCOM.Condition
                oCFLs = oForm.ChooseFromLists
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                ' Adding 2 CFL, one for the button and one for the edit text.
                oCFLCreationParams.MultiSelection = False
                oCFLCreationParams.ObjectType = "1"
                oCFLCreationParams.UniqueID = "CFL1"
                oCFL = oCFLs.Add(oCFLCreationParams)
                ' Adding Conditions to CFL1
                oCons = oCFL.GetConditions()
                oCon = oCons.Add()
                oCon.Alias = "Postable"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "Y"
                oCFL.SetConditions(oCons)
                oCFLCreationParams.UniqueID = "CFL2"
                oCFL = oCFLs.Add(oCFLCreationParams)
            Catch
                MsgBox(Err.Description)
            End Try
    end sub
    '''''''''end of setting condition
    i have still more code...plz follow the next code which is posted below.....

    continuation from above code...plz foloow complete code
    '''''''''''item event
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            Dim EventEnum As SAPbouiCOM.BoEventTypes
            EventEnum = pVal.EventType
            Try
                Select Case pVal.EventType
                    Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
                        If pVal.BeforeAction = True Then
                          Dim oCFLEvent As SAPbouiCOM.IChooseFromListEvent = DirectCast(pVal, SAPbouiCOM.IChooseFromListEvent)
                            Dim oDataTable As SAPbouiCOM.DataTable = oCFLEvent.SelectedObjects
                            Dim val As String
                            Try
                                If pVal.ItemUID = "19" Then
                                   Me.oDBDataSource.SetValue("U_BalenceSheet_Acct", 0, oCFLEvent.SelectedObjects.GetValue(0, 0))
                                End If
                             Catch ex As Exception
                                MsgBox(ex.ToString)
                            End Try
                        End If
                        Exit Select
                End Select
                           Catch ex As Exception
                                MsgBox(ex.ToString)
                            End Try
    end sub
    ''''''''''end of item event
    Edited by: Shenaz Sultana on Nov 13, 2009 2:18 PM

  • How to set datetime field display format in a jspx page

    hi, jdev 11.1.2.3
    have a field in EO/VO being set to DateTime format, and can see the right display in the Oracle ADF model tester.
    but only displayed in Date format even had been set to "javax.faces.DateTime" for Converter attributes in Property palette for the field.
    what should i do?
    thanks.

    at the first glimpse when i set the Control Hints section there are two choices for FORMAT TYPE: none, and simple date.
    and the FORMAT field is disabled. so, i just skip the FORMAT TYPE(none, simple date) choice.
    in fact after make the choice of simple date for the FORMAT TYPE, then FORMAT can be set to:
    ...dd-MMM-yyyy hh:mm:ss a
    and it works now.
    Puthanampatti, thank you once more!

  • How to set a uniform display size of multiple intermedia image types - wher

    I have read "If you want to limit the size of the file that can be uploaded, you can do this as a post generation
    step, by adding the maxFileSize property to the <controller> element in the struts-config:
    This does not address how to limit the *** display size *** where you have multiple intermedia image types - where the original size is not uniform.
    If an image is uploaded where the true image display size is 1024 x 768 - it will display that way in the table/table-form. This will create un-even display size's where previous images sizes where different 384 x 384 and so on.
    Is there a way to encode the display size so that *** ALL *** images regardless of their true size are displayed uniformly at least on one dimension (64 x ???)? This is possible when using products such as Dreamweaver or Flash.
    BTW - JHS/***JDev*** synergy is truely magnificient!!! Way-To-Go Oracle!!!!!!!!!!! Keep it up!!!!
    BG...

    Bill,
    I did some tests, and was able to reproduce it. The problem is that JHeadstart distinguishes between display types fileDownload and image, but UIX uses the same <media> tag to handle both display types. It will look at runtime whether it must render a hyperlink to download the document, or to render it right away as an image.
    To get all images the same size, you can set the display width and height, AND the display type must be set to image.
    However, to get the file name used as download link, you must set the FileName attribute AND the display type must be set to "fileDownload" ..
    So, to solve your problem, it is easiest to set the displayType to "fileDownload" and set the width and height properties post-generation in the generated UIX page.
    In the next release of Jheadstart, we will fix this, and always pick up width, height and fileName settings regardless of the display type.
    Note that you should also set the FileName property against the attribute you are using to upload the file.
    Steven Davelaar,
    JHeadstart Team.

  • How to set the title of pages created in Webcenter Spaces?

    Hi
    I need to set the title of the pages created in webcenter spaces. How can i do that? By default when i create the page in webcenter spaces the page name with which i created the page is coming up on the browser tab. But i want the browser title to be different from the page name. Is there a way to do this? I tried with using javascript and setting "document.title" but it works only partially. That is when the page is loading it shows the text that i have set using javascript but it doesnot remain persistent. As soon as the page loads it again resets back to the name of the page :(
    I also tried adding html markup on to the page in edit mode and tried giving in the <title> tag but it is not getting applied, as soon as i click on apply it just refreshes the page and my changes are gone.
    Please i need some help around this asap as it is critical.
    Thanks

    Thanks for the reply Jaap.
    It was really helpful. But i need further help on this.
    I need to change the browser title based on the tab selected. And here the tabs on spaces page is actually coming from a custom task flow. Any idea how can i achieve this? And there is no page refresh involved.
    Some help on this please.
    Thanks

Maybe you are looking for

  • Norway Pension Fund

    Hi, Where do we configure Pension Funds for Norway ? It is under Savings Plans or Miscellaneous Plans ? Thanks !

  • 10g installation network error in rhel5 in virtual tool box

    Hi I have visited the links ... and done everything... but still showing.... at the time of oracle 10g installation at PRoduct Specific Prereqisite Checks Checking Network Configuration Requirements... Actual Result : Unknown Host Exception has Occur

  • Best Practice: One Library, Multiple Macs ?

    Despite searching, I've yet to find a definitive answer to this one - so any advice would be appreciated.... Having downloaded the trial, I very much like Aperture, but my decision to purchase and continue using it hinges very much on whether or not

  • ITunes cannot backup the iPhone because an error occurred.

    Hey all, I have been having a very troublesome problem lately.  So, I'll just go through the full run down. My Goal: Save my text messages. That is all I want. My Problem: Cannot do a full backup to iTunes I had preordered the iPhone 5 and received i

  • Problem in reading the form parameter.

    Hi All, I have made a HTML with Following Tag <form name="uploadForm" action="upload.jsp" enctype="multipart/form-data" method="post"> as i made the enctype="multipart/form-data" i am not able to read the Form parameter that i got in the File tag of