According to the selection value hide/show page list item

Hi all
I have a list of selection P_X (with Char, varchar2, number values).
When I select the tank it must display P_Max (text box), if I select the number he must display two textboxes (P_Text1, P_text2).
By default it should not display any page except P_X element.
How can I achieve this by creating dynamic actions.
I tried a dynamic textbox P_max display action when I click the Char value in the select list (P_X)

After presenting the process:
Start
: p_x: = "Char";
end;

Condition:
Value of exp1 = exp2
Exp1:P_X
EXP2:char

dynamic action:
event: change
Select the type: article
product (s): p_x
condition: equals
value: Char
Real action: see question: p_max

But it is not workking correctly.

Hi Karthikeyan,

Sorry for the late reply, stuck with another work.

Now you check in your example I changed it accordingly. According to me, he answered your question, check in.

Kind regards
Mini

Brand responses appropriately.

Tags: Database

Similar Questions

  • Get the selected value of a select list item in a tabular presentation.

    Hi, I have a tabular form and I'm trying to get the selected value of a select list item and store the selected value in a page element hidden elsewhere on the form of tables, so I can use this value.

    I already have something similar to the input on the tabular presentation elements.

    Get the initial values
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems var = $(' input [nom = "f12"]', ligne) [0];

    numberOfItems = 123456.123

    What I want to do is soemthing similar as above but capture the value of a select element in tabular form. I thought I could do something like:

    Get the selected value
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems var = $('selected [name = "f08"] .val ()', line) [0];

    But this method leaves the as undefined var numberOfItems.

    Please help me to find a way to identify the item 'select' in the tabular form called "f08" and get this value.

    I am a newbie to jQuery selectors etc...

    Thank you.

    Strange that you do not get an error when you run your 2nd selector.
    In any case for this kind of thing, see the HTML code of your tabular form and tell us what triggers, the element can be useful. Or better create an example at apex.oracle.com.
    In any case, I see two errors:
    (1) is there any html element "not selected" instead, the LOV in the APEX element has the select tag
    (2) you can not write a. val() inside a selector that you must place it after your selection.

    So I'd like to rewrite your code to:
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems = $("select_[nom_="f08"]",_row).val () var [0];

  • How to get the selected values of < af:selectManyCheckbox >

    Hi, I use jdeveloper 11.1.2 and I drag-and - drop a view such as selecting Multiple object (< af:selectManyCheckbox) component and now I'm trying to get the checked values in backing bean so that I can save in the database.

    At the moment I get all the values, but not the selected values.

    JSPX Page.

    < af:selectManyCheckbox value = "#{bindings." HREmpDetailsVO1.inputValue}.
    label = 'EMPLOYEES '.
    Binding = "#{backingBeanScope.backing_TestForm.SMC1} '"
    ID = "smc1" >
    < f: selectItems value = "#{bindings." HREmpDetailsVO1.items}.
    Binding = "#{backingBeanScope.backing_TestForm.SI1} '"
    ID = "si1" / >
    < / af:selectManyCheckbox >


    Bean class:

    public list getSelectedValues() {}

    If (selectedValues == null: refreshSelectedList) {}

    selectedValues =
    attributeListForIterator (selectedValuesIteratorName,
    selectedValuesValueAttrName);
    }
    Return selectedValues;
    }

    public static list attributeListForIterator (iter, DCIteratorBinding,
    String valueAttrName) {}
    AttributeList list = new ArrayList();
    {for (line r: {iter.getAllRowsInRange ())}
    attributeList.add (r.getAttribute (valueAttrName));
    }
    return attributeList;
    }


    Can someone help me pls by getting the values with the example code.

    Thanks in advance

    http://anindyabhattacharjee.blogspot.com/2010/10/working-with-ADF-choice-elements.html

  • Hide region show how to maintain the status of hide/show on send page

    APEX 4.2.1 using theme 24

    I have several areas on a single page that are defined using the "Hide Show Region" model this model defines the regions to show everything first. If a user chooses to hide a region is there a way to keep this state when the page is submitted? Example region top of page is to hide/show parent to an interactive report, below this area is a relative of region to hide/show for a tabular presentation, if the user chooses to hide the interactive report region and they enter data in the region in a table, when he clicks on save and the page is submitted the interactive report region appears and the tabular form region appears still longer down in the page and the user have to scroll down to access.  I'd rather have the page 'to remember' the State of hide/show that the user has selected for each region and keep this status when the page is sent.

    Someone has an idea how to do this?

    Thanks in advance for a suggestion to work!

    Theresas

    You have almost all the way.

    As you have probably already understood, the problem is that the code requires that regions begin closed and it will 'click' to open.  If you're one of them is already open, you have now two inverse regions.

    I think that it is better to have them both be areas closed, when the cookie should be created (we were a new cookie for that) then "click on" one you want to open and create the cookie with this region in.  From that moment of the code can continue to click on the one that was left pending.

    So, I added more code to the initial opening. I introduced the P2INIT cookie which will be set to YES the first time the page is visited.  Its only purpose is to open the region to report on the first visit.

    After that, the logic can circulate to store regions that can be opened.

    Also, I have completed the static ID of the report to better reference by name.

    Now, I have to say, if you are presenting the same data, but a game is available to edit in a tabular form, something like Page 3 would work?

    When you click on edit the grid it will hide the report and view the form in a table. When you click 'View report' he hide the form tab and view the report.

    I think it's a clean approach and the data are not queried the DB double. It also avoids the flicker of the openness of the region.  Just an idea.

    I use preferences instead of cookies.  The nice thing about the preferences, it's that they are saved in the DB for the user, so if the same user logs on to another computer or a browser preference comes with them.

    Thank you

    -Jorge

  • the detailed report based on the selected value

    Hello experts,

    I use 10g obiee.

    I have a requirement were on the dashboard there are 4 guests say product, region, year, color.

    All are select muli-value prompt.

    on the dashboard, there is a synthesis report that reflects the value according to the selected data from the command prompt. His work so far.

    Now below the customer wants a link that has the title of 'detailed report '. When they click the hyperlink, they want to see detailed but it show only the values selected in the command prompt.
    They claim as detail as there are more number of columns found in the report detail than the summary report following.

    Can we can suggest me how to achieve in 10g.

    Thanks a lot for your help.

    Hello

    Just add your detailed report to the dashboard as a link or an Image and keep the required columns, you are invited into the report. It should work.

    Thank you
    Gerard

  • get the selected value of selectOneChoice with the help of EL

    It's my selectonechoice. It has only two values: "JPN" AND "USD".
    < af:selectOneChoice value = "#{bindings." Currency.inputValue}.
    required = "#{bindings." Currency.hints.Mandatory}.
    shortDesc = "#{bindings." Currency.hints.ToolTip}.
    ID = "soc1.
    Binding = "#{pageFlowScope.apVendHistoryQueryMainMB.Currency} '"
    valuePassThru = "true" >
    < f: selectItems value = "#{bindings." Currency.Items}.
    ID = "si2" / >
    < / af:selectOneChoice >

    It comes to the el, I tried to use:
    < af:convertNumber type = "number".
    pattern = "#{Bindings.Currency.inputValue =="JPN"?" '########0' : '##,###,###0.00'}"/>
    I want to just when the selected value is JPN, model will use ' # 0'.

    Hey Danny,

    It works fine for me.

    What do you mean by

    anyway... does ' t work...

    The format have not changed according to the selection?

    Here's what I tried,

    1 added a transitional attribute to my VO and baptized as currency and the USD value default value.

    
    

    2 DND the currency attribute to jspx page and he added that selectOneChoice with static values (USD and JPN).
    JSPX page

              
                
                  
                
              
    

    pagedef

        
          
            
          
          
            
            
          
        
    

    3. Add an input text (Sal field in a table EMP) and set the id of the selectOneChoice the partialTriggers

              
                
                  
    
                  
                
    
              
    

    A run the page, and according to the choice of currency (from the selectOneChoice), the format of the field of sal is changing.

    Arun-

  • Get the selected value in the list drop-down/messagechoice

    Hi friends,
    App R12.
    I create a drop-down list programmatically in the process request:

    OAMessageChoiceBean OAMC = oapagecontext.getWebBeanFactory () .createWebBean (OAWebBeanConstants.MESSAGE_CHOICE_BEAN, null, oapagecontext, null) (OAMessageChoiceBean);

    oamc.setPickListViewUsageName ("MyVO1");
    oamc.setListValueAttribute ("MyId");
    oamc.setListDisplayAttribute ("MyDescription");
    oamc.setID ("xxMypicklist");
    oamc.setRendered (Boolean.TRUE);
    oawebbean.addIndexedChild (oamc);

    This shows the list of choices and there MyVO1 query search results.

    Now, I want retrieve value MyId in the processFromRequest (after pushing a button on the screen). I do the following:

    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    ...
    MyVOImpl myvoimpl = (MyVOImpl) am.findViewObject("MyVO1");
    MyVORowImpl PicklistRow = myvoimpl.getCurrentRow ((MyVORowImpl));
    NUMBER auxId = (NUMBER) PicklistRow.getAttribute ("MyId"); THIS SENTENCE GIVES A NULL POINTER EXCEPTION

    Then..., is not enough to find the original Version? and get the rank "perceive"... and then get the desired attribute?

    Do I need to load data from MyVO1 into myvoimpl? How? How to get the folder selected on the screen?

    Many thanks for any help. It is very urgent for me to solve this problem. Dev guide does not help with this kind of usual problems.
    Jose L.

    Hello

    u can not get the value of this way, becz you try to get the value of the original Version which is used for bean of choice message, to get the value selected in this field of choicebean message, you must get the VO initialized for this page, both would be different VO, you can opt for the following approach

    (1.) an another VO wiil be there in your page get implemented to capture the data on this page, the attribute of this VO would be added to your field of beans of choice, need to understand that VO and and capture your selected value.

    or the other way is

    2.), you can change your code in the same way in the pR method

    OAMessageChoiceBean OAMC = oapagecontext.getWebBeanFactory () .createWebBean (oapagecontext, OAWebBeanConstants.MESSAGE_CHOICE_BEAN, null, "XXMypicklistBean) (OAMessageChoiceBean);

    and get the selected value in pFR method in this way

    OAMessageChoiceBean getCHBean = (OAMessageChoiceBean) (webBean.findIndexedChildRecursive ("XXMypicklistBean"));

    String val = (String) getCHBean.getValue (pageContext));

    thanx

    Pratap

  • Exception while trying to get the selected value for the choice of SelectOne in ADF Mobile

    I added the following code after arriving through this post https://forums.oracle.com/thread/2536419

    DCBindingContainer dcBindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DCIteratorBinding iterBind = (DCIteratorBinding) dcBindings.get ("facilitySelectItems");

    Attribute String = (String) iterBind.getCurrentRow () .getAttribute (0);

    But Jdeveloper complained class BindingContext wasn't available and I get the jar file adfm.jar has not been added to the project. I added it manually the path C:\JDeveloper11r24\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar. Once I've deployed code on an android emulator, I get the below error. Can someone please?

    07-25 13:18:03.812: D/CordovaLog (869): [SEVERE - oracle.adfmf.framework - adf.mf.internal - logError] request: {classname: oracle.adfmf.framework.api.Model; method: evaluateMethodExpression; params: [0: #{pageFlowScope.IBCMSearchBean.getSearchParams}] [1:] [2: {}] [3:] ;} exception: {message: oracle/adf/model/binding/DCBindingContainer (unsupported major.minor version 50.0); the severity: ERROR; .Guy: oracle.adfmf.framework.exception.AdfException; .exception: true ;}}}

    The version of the compiler maximum the JDev shows that 1.4. And I'm using version 11.1.2.4.0 for JDeveloper. The JDK version is 1.6.0_24.

    Sorry I missed the question!

    First of all, to get the value of selectedItem in selectOneChoice do not have another function in the domain controller. Here is an excellent article by Frank that explains this. Or you can use the below function to get the selected value immediately. Here the market is the value of selectOneChoice attribute. I wasn't aware of this method until you have read this article.

    {} public void getAndSetMarketValue (market of the object)

    ValueExpression ve = (ValueExpression) AdfmfJavaUtilities.getValueExpression ("#{bindings.marketSelectItems}", Object.class);

    AmxAttributeBinding attrBinding = (AmxAttributeBinding) ve.getValue (AdfmfJavaUtilities.getAdfELContext ());

    access the iterator that populates the list of values in

    the selectManyChoice component

    AmxIteratorBinding amxListIterator = attrBinding.getIteratorBinding ();

    the AmxIteratorBinding is a wrapper for the BasicIterator

    iterator which sets out the information we need

    ListIterator BasicIterator = amxListIterator.getIterator ();

    for each index value, query the name of the service (you can

    access and attribute from the line) to display

    SelectedValue = string

    (String) listIterator.getAttributeValueAtIndex (((New Integer ((String) market))) .intValue (), "Value");

    }

    Second, you can use #{row} in commandLink's action since it is something that is evaluated when the user clicks on the link and we do not have access to #{line} after that the entire component is rendered. To remedy this give an action for the commandlink which is a function in the bean and the function of bean back to the action of the link selected.

    ListOfReports.amx

    .......

    .......

    LoginBean.java

    ......

    public String returnClickValue() {}

    Option of string = AdfmfJavaUtilities.evaluateELExpression("#{viewScope.selectedItem}").toString ();

    return option;

    }

    ......

  • Hide/show pages

    I created a page of 5 forms using buttons to navigate to different pages. When the form is opened, you can navigate using the buttons, however, you can also scroll down and see the other pages how to hide these pages? The code I'm ising is the following:

    / which calls the function to hide all pages

    pageNav.hidePages ();

    This shows the target page again

    Page1.presence = "visible";

    Form1.Page1.navButtons.Button2::click - (JavaScript, client)

    that calls the function to hide all pages

    pageNav.hidePages ();

    This shows the target page again

    Page2.presence = "visible";

    Form1.Page1.navButtons.Button3::click - (JavaScript, client)

    that calls the function to hide all pages

    pageNav.hidePages ();

    This shows the target page again

    page3. Presence = "visible";

    Form1.Page1.navButtons.Button4::click - (JavaScript, client)

    that calls the function to hide all pages

    pageNav.hidePages ();

    This shows the target page again

    page4. Presence = "visible";

    Form1.Page1.navButtons.button5::click - (JavaScript, client)

    that calls the function to hide all pages

    pageNav.hidePages ();

    This shows the target page again

    page5. Presence = "visible";

    I thought about it, since I was still working on some pages that I had not changed and "hidden (exclude the layout). Thank you.

  • DVT:pivotFilterBar - how to get the selected values of the filter

    Hi all

    I have a question: how to get the selected values from the pivot table filter bar programmatically?

    I tried to use
    pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);
    but to the edge of the side DATA INCORRECTESdeclarations page, it seems that it will return the cached values.

    Environment: JDev 11.1.1.3.0 without tasks.

    Thank you
    Miroslaw

    Hello

    You can retrieve the value selected in the PivotFilterBar through the PivotFilterBar model, instead of dataaccess:

    Download the template of the bar pivot filter instance
    QueryDescriptior queryDescriptor = (QueryDescriptor) pivotFilterBar.getValue ();

    retrieve a list of criterion, each of them is used to fill each lov in the pivot filter bar
    ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion ();
    List criterionList = conjunctionCriterion.getCriterionList ();
    for (int i = 0; i)<_criterionList.size(); i++)="">
    AttributeCriterion = (AttributeCriterion) criterionList.get (i) criterion.

    _selected is the currently selected value
    Selected object = criterion.getValues () .get (0);

    System.out.println (_selected);
    }

    Hope that helps,
    Chadwick

  • Automatically add delays to the ability to hide/show the bar

    I activated the option to hide/show the bar automatically. I would like it when I touch the upper part of the screen with the mouse, the menu bar will appear with some delays (2 seconds for example). First it is possible to configure the delay?

    NO, but you can offer this feature for Apple

    http://www.Apple.com/feedback/

  • Save the selected value from the ListBox with its respective values control tab dropdown selected in another list box

    Hi all

    I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.

    It will work.

    Probably not the greatest solution well.

  • Dynamically fill ObjectChoiceField according to the selected box

    Hi all

    I have a few boxes on my screen and an ObjectChoiceField. I have to fill this ObjectChoiceField dynamically according to the selected checkbox.  I have a few separate hard-coded (I announced on the same screen) array of strings for all the boxes.

    If I select the first box, then ObjectChoiceField must be populated with the corresponding array of strings... and so on...

    Thank you and best regards.

    You just need to use

    .setChoices ();

  • Call a method before the following operation to set the selected values

    Use case: I display a VO as an ADF multiple checkbox select. This VO is the detail of a master/detail. I managed to store the selection state in a bean managed on autoSubmit. Then the user navigate to the record of the master, and then goes back to the previous record. The buttons next and previous were created using operations in data controls. I want to back up the State of the selection by clicking previous or next.

    There are a lot of tutorial on how to get the selected values, but none on how to set the selected values. How would you do it?

    11 GR 1 material JDev

    What I ended up doing:

    1 redefine listener action for the navigation buttons

    {} public void nextQuestion (ActionEvent event)

    saveSelectedState();

    navigateQuestion ("Next");

    restoreSelectedState();

    }

    {} private void navigateQuestion (string operation)

    OperationBinding operationBinding = ADFUtils.findOperation (operation);

    operationBinding.execute ();

    }

    2 Save and restore the selection state using bindings

    Guava Multimap

    Private ListMultimap selectedIndices.

    private void saveSelectedState() {}

    Get id question

    DCIteratorBinding questionBinding = ADFUtils.findIterator ("QuestionsView1Iterator");

    Question of rank = questionBinding.getCurrentRow ();

    Number questionId = (Number) question.getAttribute ("Id");

    JUCtrlListBinding listBinding = (JUCtrlListBinding) ADFUtils.getBindingContainer () .get ("AnswersView2");

    int [] valueIndices = listBinding.getSelectedIndices ();

    selectedIndices.putAll (questionId, Ints.asList (valueIndices));

    }

    private void restoreSelectedState() {}

    Get id question

    DCIteratorBinding questionBinding = ADFUtils.findIterator ("QuestionsView1Iterator");

    Question of rank = questionBinding.getCurrentRow ();

    Number questionId = (Number) question.getAttribute ("Id");

    int [] valueIndices = Ints.toArray (selectedIndices.get (questionId));

    JUCtrlListBinding listBinding = (JUCtrlListBinding) ADFUtils.getBindingContainer () .get ("AnswersView2");

    listBinding.setSelectedIndices (valueIndices);

    }

  • SelectManyShuttle: get the selected values

    Hi all.

    My task is to make declarative component (or any other reusable solution) that contains the selected component to many shuttle and should proceed with a treatment of the selected values (IDs and labels). During this operation, I found that this shuttle component returns the bean always and only point index, nothing more.
                  <af:selectManyShuttle label="" id="sms1"
                                        styleClass="AFStretchWidth"
                                        value="#{MyBean.selected}"
                                        valueChangeListener="#{MyBean.shuttleChangeListener}"
                                        valuePassThru="true">
                    <f:selectItems value="#{attrs.items}" id="si1"/>
                  </af:selectManyShuttle>
    First of all, I tried MyBean.setSelected and found it is called with list < integer > instead of < SelectItem > list or any similar. These integers is the index 0 of selected lines. Then I tried to valuePassThru, but it triggered a mocking effect only: setSelected receives List < String > with the same values of the index 0 chained. Finally, I tried valueChangeListener and newValues - everything was the same, both in JDeveloper corresponding 11.1.1.5 & 11.1.2.1 with ADFs. Googling did me a lot of links--say, the need to get the values selected from the selectManyShuttle --but nothing that I can use.

    Maybe I should get a model and an iteration, but in several tests (for example, ((MyBean) this) .getAttribute ('items')) I failed to locate him. In any case, I would be happy to see that any solution work.

    What do you get when solve you the EL "#{attrs.items}" in the method of bean? Not sure if you have access to everything or what you get in return, but you can try.
    Just put a breakpoint in the method and type the EL in the evaluator 'EL' and see if you get something in return and what type it is. I hope you have the list you put in to fill the shuttle.

    Timo

Maybe you are looking for

  • Smart folders do not show sent ymail and project files.

    I have subscribed to all folders YMAIL and all smart folders to select the appropriate imap folder. Most of the names do not match the names listed when I connect directly, but some work anyway (watch in TBird but shipments it is unwanted online and

  • Adobe flash player for 7 2800 slate

    Slate 7 2800 support adobe flash player

  • ListField selected?

    How do I know if an item is selected in a ListField? The documentation says that getSelectedIndex returns-1 if an item is not selected, but when I fill my list then check if on is selected, the following code always runs if the list contains elements

  • Install app in the device

    Hi all I have the curve 9360 (OS.7.0). I want to install an application for testing. This application is built in eclipse with jre 5.0 BB... When I tried to add the file alx his error show me... pls help me My application is signed. Version of Deskto

  • The new BlackBerry messenger blackBerry smartphones

    My phone is a bold 9900 and the new Messenger is not download on my device am also having reception problems and send message after upgrading my software and through which I can not reinstall messenger.