ADF af:selectBooleanCheckbox do not made af:commandLink

Hello


JDev Studio Edition Version 11.1.1.5.0


I have a Boolean checkbox.
< af:selectBooleanCheckbox text = "accept T & amp; C ".
label = "Accept" id = "sbc1.
autoSubmit = 'true '.
valueChangeListener = "#{myLoginMB.TCcheckUncheck} '"
Binding = "#{myLoginMB.tcCheckBox} '"
partialTriggers = "cl1" / >
and a command link.
< af:commandLink text = 'Options to add the element' action = 'taskflowLogin1. '
ID = 'cl1' partialTriggers = 'sbc1.
Binding = "#{myLoginMB.myLink1}" / >


I need to make af:commandLink True if the checked otherwise made wrong or hide if the checkbox is not selected.

I tried to create value Exchange Listner on CheckBox


public void TCcheckUncheck (ValueChangeEvent valueChangeEvent) {}
Add the code in the event here...
FacesContext context = FacesContext.getCurrentInstance ();

If (this.getTcCheckBox (). IsSelected() == true) {}
System.out.println ("checked");
myLink1.setRendered (true);

} else if (this.getTcCheckBox () .isSelected () == false) {}
System.out.println ("unchecked");
myLink1.setRendered (false);
}
context.renderResponse ();
}


It does not work. Please let me know if I am missing any approach or is there another approach better?

Thank you
Aerts

Published by: abhi649769 on July 7, 2012 12:07 AM

Aerts,
What do you mean exactly?
How over it?
If yes you can do it like
JSPX page:



  
  
    
      
      
        
          
          
            
              
              
            
            
          
        
      
    
  

and the pagedef



  
  
    
      
    
  
  
    
      
        
      
    
  

Timo

Tags: Java

Similar Questions

  • FOR A PROJECT I NEED 2 PRINTER WHICH IS NOT "MADE IN CHINA".

    Hello

    We are a company based in TURKEY.

    We got a projectabroad, but they insist we do not use products "made in china" even printers. Need 2 printers that is not made in China.

    PLEASE CAN YOU DIRECT US SOME SELLERS OR THE PRODUCTION DEPARTMENT OF HP

    THANKS IN ADVANCE

    This is what they want:

    (1) printer alarm/event:

    It must be black and white letter quality laser printer.

    It will have a speed of 22:00 or more in draft mode.

    Black Ribbon (quantity 4)

    the printer must be HP Laser Jet or equal

    WE CHOSE FOR THIS ONE: HP Q5401A LASERJET 4250 N

    (2) color and report printer:

    must create a monochrome impression of inkjet quality at min. flow from 22:00

    must also produce prints of quality color ink jet with a minimum resulation of 1200 dpi to min rate from 18:00.

    must be based RISC and support ethernet connectivity

    must be delivered with a min of MRAM 128 a parallel cable connection and spare monochrome toner cartridges and color.

    will be to JET of INK HP series

    WE HAVE CHOSEN FOR THIS ONE: INKJET HP OFFICE JET K1700 COLOR CB041B

    Almost all HP printers are manufactured in China, Malaysia and Thailand and Mexico. Serial number starts with CN, MY, TH and MX respectively. I'm not sure how to get printers from a specific location of any of HP. You will probably have to go to the store and find the serial number on the box before buy you.

  • my keyboard strokes are not made, unless you type very slowly and hold down the key until the particular letter is displayed

    my keyboard strokes are not made, unless you type very slowly and hold down the key until the particular letter is displayed

    Hi Kdooley,

    Are a. When you facing this problem?

    B. using a laptop or a desktop computer?

    C. is - what happens with specific applications?

    D. don't you plug a different keyboard to check?

    Method 1

    I suggest you to connect this keyboard on another computer and see if it even. If the problem persists, try Method 2

    Method 2

    Try to change the rate of repeat on the keyboard and check if it helps.

    1. Open keyboard by clicking the Start button, clicking on Control Panel, hardware and sound, tap keyboard.
    2. Under character repeat, move the repeat rate slider to the left to keyboard characters repeat more slowly, or to the right to make them repeat faster.

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-keyboard-settings

    If the problem persists, then it might be a problem with the keyboard itself.

    Kind regards
    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Task human BPM process not made (in a clustered environment)

    With the help of jDev version 12.2.1.

    I have an application that is deployed in a clustered environment.

    Any ADF the BPM is trying to load the list of tasks BPM got, go back a blank with

    Not found

    The requested URL /workflow/DOO_Simulation_ProjectUI/faces/adf.task-flow was not found.


    This happens for my human tasks but also for the tasks of duties predefined we can create using BPM Workspace.

    The ADF hwtaskflow points to the HTTP server on the host name when this happens.

    If I change the host name to one of the nodes in the cluster, however, makes the page.

    Does anyone have suggestions on what this might be? The server logs are not information about this error.

    Thank you

    Ok. So I got the answer.

    I had to allow the connections/workflow / * my OHS.

    I also had to add to my web.xml file:

    CLIENT-CERT

    MYREALM

  • After the hard drive failed, I changed my computer and reinstalled LR5. I've updated LR5 a few weeks before my computer crashed, so for you my serial number is up-to-date. After having read a few tutorials, I suspect this deactivation were not made before

    After the hard drive failed, I changed my computer and reinstalled LR5. I've updated LR5 a few weeks before my computer crashed, so for you my serial number is up-to-date. After reading some tutorials, I'm suspecting this disabling was not made before reinstalling... Recommendations on resettlement in this case?

    You actually have a renewal LR5 problem or ask yourself what you need to do?

    Download and install the update LR 5.6 from here: http://www.adobe.com/downloads/updates

    Enter your LR 5 serial number and you should be ready.  If something doesn't work, then, please describe the problem in detail.

  • Chain stabilizer not made export

    I have come to export a sequence and for some reason, some of the effects of stabilization of string are not made and the clip has an orange bar saying 'Stabilization' through the middle. Very strange!

    Anyone have any ideas why he did? The sequence is over an hour long and was about to be sent to a client is a good thing I happened to fall on one of them.

    You must wait until everything is Warped (no blue or orange band on the item in the timeline) and then click Export.

  • not made in the invoice shipping labels

    Hello

    I have trouble getting the tags {tag_addressshipping}, {tag_addressbilling} and {tag_shippinginstructions} to return anything in my customer invoice. It is a basic ecommerce and purchase even after the adjustment of the order form page and the default invoice these tags are not displayed which is registered.

    The data entered in the fields of shipping and billing invented in the workflow notification sent to us for the purchase (but only in the section 'Summary of the web form submission', not the copy of the invoice).

    Could I have accidentally changed would encourage these tags don't not to contain data entered?

    help much appreciated.
    Thank you

    Thanks for the reply. I'll briefly explain what I did where everyone is looking to solve a similar problem.

    We wanted to offer two payment options - CC (via paypal) and EFT in offline mode.
    Tags Bill have not made because I tried to set up the 'Process offline' option in the section of payment gateway to address the latter of these payment methods. The process offline method, despite not not storing the details of credit card in British Colombia, requires credit card information to wear. I guess it's as well that it can encode to send in the PDF file.

    Instead, what I've done is change to the payment by paypal and all deleted payment gateway options payment in the registration except "Paypal" and "COD" model I have relabelled COD as EFT in the html code. In this way no credit card details must be sent, and an invoice is sent with all the correct details made.

    I have another question regarding changing the status of back-end for an order according to the method of payment, but I'll start a different debate since it is not directly related to this problem.

    Thank you.

  • WebCenter Portal 11.1.1.7 not made ADF taskflows

    Hello world

    We follow the URLs below and extend the spaces as suggested by Oracle:

    Extending the Application of spaces using JDeveloper - 11 g Release 1 (11.1.1.7.0)

    Add resources to your portal - 11 g Release 1 (11.1.1.7.0)

    Our project ADF works well in stand-alone mode. But when deploy us to Webcenter and add our taskflow in the portal, it is made only the fields that are NOT related to the database. All the fields that have links DB are NOT get rendered. Nor, we have all the errors in the logs.

    Ensured that our JDBC configurations are correct in the AM and Weblogic server.

    We lose any other Setup here? Any help is appreciated as we have a demo to the customer on it.

    Concerning

    Pavan

    Hello

    It is now resolved. Suite error was rising as we launch the taskflow:

    java.sql.SQLDataException: ORA-01882: region time zone not found

    We set the time zone of the Weblogic Server for the time zone of the DB. Restarted the WLS and it works fine now.

    Concerning

    Pavan

  • commandLink ADF text attribute does not display a number type

    I created a table of the adf and one of the columns in the table uses the commandLink adf for the component in the column. In the table the value of the results of a query against an entity EJB with the var attribute = "row". Text = "{row.someId commandLink}". " The 'row.someId' is a number (and not a text), and it does not display the id of the column. If I use something like text = "#{row.firstName commandLink}", it will show the link with the first name. " I think it's because he needs a type of string returned by the EL Expression, not a number. Is it possible to cast to a string #{row.someId} so it appears as a commandLink in the column of my table?

    What is the data type of the parentProjId in the class of the project?
    If it's not long, can you change for a long time & check if it helps.

    Thank you
    Nini

  • AMPe ADF with Dynamic tab Shell not made in iPAD 1 +.

    Hello

    We used the Oracle Dynamic tab Shell templates to build our page of dashboard with several dynamic tabs.
    A year back when we have initially created the main dashboard with Dynamic tab Shell and used of the UIShell API to open new dynamic tab when clicking the command links in the browser side of left hand. We started with Jdev 11.1.1.3 and upgrade us until Jdev 11.1.1.5.

    Now this last requirement is, we need to test our applications in the Safari browser in iPAD (2.0). During the test, we observed under questions.

    (1) the page with Dynamic tab Shell JSPX is keep showing "Loading"... "We had updated the Safari browser twice to render the page.
    (2) any af:commandLink under the JSPX which has shell model dynamic tab, does not. We have lots of links on the left navigation and when clicking on each link will open a new tab dynamic (we use UIShell API). Nothing happens when clicking on these af:commandLinks.
    (3) we have 'Home' and 'Logout' links at the top right. Nothing happens on the links click too.

    All these as af:commandLinks and af:commandButtons not working as expected when we have them beside a JSPX page without shell dynamic tab.

    Tested and observed the same behavior both in version 1.0 and newer iPad iPAD 2.0.
    We desperately need help on thin. Pls let us know, if I need to provide more details. Are there specific configurations required to make it work in Jdev 11.1.1.5? At this stage we cannot improve our Env 11.1.1.6 or 11.1.2 as we already have these applications in Production and we should give users flexibility to be used in the iPAD.

    Help, please!

    Thank you!!
    Subba.

    Subba,

    I understand, however support for iPad added in PS5 is a set of new features, not a bug fix, so this cannot be claimed as a one off patch with the support of the Oracle. In this case that is expected to capture customers highlights new features of upgrade.

    Thank you

  • AF:selectBooleanCheckbox does not change its selected state

    Hi all

    My script is as follows:

    I have a master form / detail where master table appears in the form < af:selectOneChoice > and detail appears in the form < af:table >.

    < Af:table > detail lines can be selected with a < af:selectBooleanCheckbox > I've implemented using method:

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/99-checkbox-for-delete-in-table-1539659.PDF

    From the selected information of master and detail I perform a task.

    The problem is that the selected lines in the secondary table are not cleared when I change master < af:selectOneChoice > and return. I added valueChangeListner and tried to reset the value in the iterator of detail.

    This page is only for the selection and no data is being updated so I tried to use Rollback trigger so somehow the box to render it again himself, but not much luck. Restoration does, 'only' delete the selected lines (children / detail) of the first item in the < af:selectOneChoice > (master).

    I tried to use < af:target > with < af:selectOneChoice > but he said that "the objective is not a valid child of a choice."

    I tried to use < h:selectBooleanCheckbox > instead of < af:selectBooleanCheckbox >. But < h:selectBooleanCheckbox > has no attribute autoSubmit I need.

    Any Suggestions?

    I put the default value of the isSelected in ViewObject false field, and his work in collaboration with Rollback and PPR somehow. Thank you

  • ADF lost selectBooleanCheckbox of values

    I created a simple page with selectBooleanCheckbox in a table:

    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelStretchLayout id="psl1">
              <f:facet name="center">
                <af:panelGroupLayout id="pgl1">
                  <af:panelGroupLayout id="pgl2"  styleClass="AFStretchWidth"
                                       binding="#{backingBeanScope.DeptBean.tablePGL}">
                    <af:table value="#{bindings.DeptWithFlagView1.collectionModel}"
                              var="row" styleClass="AFStretchWidth"
                              rows="#{bindings.DeptWithFlagView1.rangeSize}"
                              emptyText="#{bindings.DeptWithFlagView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.DeptWithFlagView1.rangeSize}"
                              rowBandingInterval="0"
                              selectedRowKeys="#{bindings.DeptWithFlagView1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.DeptWithFlagView1.collectionModel.makeCurrent}"
                              rowSelection="single" id="t1">
                      <af:column sortProperty="Deptno" sortable="false"
                                 headerText="#{bindings.DeptWithFlagView1.hints.Deptno.label}"
                                 id="c2">
                        <af:inputText value="#{row.bindings.Deptno.inputValue}"
                                      label="#{bindings.DeptWithFlagView1.hints.Deptno.label}"
                                      required="#{bindings.DeptWithFlagView1.hints.Deptno.mandatory}"
                                      columns="#{bindings.DeptWithFlagView1.hints.Deptno.displayWidth}"
                                      maximumLength="#{bindings.DeptWithFlagView1.hints.Deptno.precision}"
                                      shortDesc="#{bindings.DeptWithFlagView1.hints.Deptno.tooltip}"
                                      id="it2">
                          <f:validator binding="#{row.bindings.Deptno.validator}"/>
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.DeptWithFlagView1.hints.Deptno.format}"/>
                        </af:inputText>
                      </af:column>
                      <af:column sortProperty="Dname" sortable="false"
                                 headerText="#{bindings.DeptWithFlagView1.hints.Dname.label}"
                                 id="c4">
                        <af:inputText value="#{row.bindings.Dname.inputValue}"
                                      label="#{bindings.DeptWithFlagView1.hints.Dname.label}"
                                      required="#{bindings.DeptWithFlagView1.hints.Dname.mandatory}"
                                      columns="#{bindings.DeptWithFlagView1.hints.Dname.displayWidth}"
                                      maximumLength="#{bindings.DeptWithFlagView1.hints.Dname.precision}"
                                      shortDesc="#{bindings.DeptWithFlagView1.hints.Dname.tooltip}"
                                      id="it4">
                          <f:validator binding="#{row.bindings.Dname.validator}"/>
                        </af:inputText>
                      </af:column>
                      <af:column sortProperty="Loc" sortable="false"
                                 headerText="#{bindings.DeptWithFlagView1.hints.Loc.label}"
                                 id="c3">
                        <af:inputText value="#{row.bindings.Loc.inputValue}"
                                      label="#{bindings.DeptWithFlagView1.hints.Loc.label}"
                                      required="#{bindings.DeptWithFlagView1.hints.Loc.mandatory}"
                                      columns="#{bindings.DeptWithFlagView1.hints.Loc.displayWidth}"
                                      maximumLength="#{bindings.DeptWithFlagView1.hints.Loc.precision}"
                                      shortDesc="#{bindings.DeptWithFlagView1.hints.Loc.tooltip}"
                                      id="it5">
                          <f:validator binding="#{row.bindings.Loc.validator}"/>
                        </af:inputText>
                      </af:column>
                      <af:column sortProperty="Flag" sortable="false"
                                 headerText="#{bindings.DeptWithFlagView1.hints.Flag.label}"
                                 id="c1">
                        <af:selectBooleanCheckbox value="#{row.bindings.Flag.inputValue}"
                                                  required="#{bindings.DeptWithFlagView1.hints.Flag.mandatory}"
                                                  shortDesc="#{bindings.DeptWithFlagView1.hints.Flag.tooltip}"
                                                  id="it1">
                        </af:selectBooleanCheckbox>
                      </af:column>
                      <af:column sortProperty="Flag" sortable="false"
                                 headerText="#{bindings.DeptWithFlagView1.hints.Flag.label}"
                                 id="c6">
                        <af:outputText value="#{row.bindings.Flag.inputValue}"
                                       shortDesc="#{bindings.DeptWithFlagView1.hints.Flag.tooltip}"
                                       id="ot1"/>
                      </af:column>
                      <af:column sortProperty="TranFlag" sortable="false"
                                 headerText="#{bindings.DeptWithFlagView1.hints.TranFlag.label}"
                                 id="c5">
                        <af:selectBooleanCheckbox value="#{row.bindings.TranFlag.inputValue}"
                                                  required="#{bindings.DeptWithFlagView1.hints.TranFlag.mandatory}"
                                                  shortDesc="#{bindings.DeptWithFlagView1.hints.TranFlag.tooltip}"
                                                  id="it3">
                        </af:selectBooleanCheckbox>
                      </af:column>
                      <af:column sortProperty="TranFlag" sortable="false"
                                 headerText="#{bindings.DeptWithFlagView1.hints.TranFlag.label}"
                                 id="c7">
                        <af:outputText value="#{row.bindings.TranFlag.inputValue}"
                                       shortDesc="#{bindings.DeptWithFlagView1.hints.TranFlag.tooltip}"
                                       id="ot3"/>
                      </af:column>
                    </af:table>
                  </af:panelGroupLayout>
                  <af:panelGroupLayout id="pgl3" visible="false"  styleClass="AFStretchWidth"
                                       binding="#{backingBeanScope.DeptBean.hidePGL}">
                    <af:outputText value="Hidden" id="ot2"/>
                  </af:panelGroupLayout>
                </af:panelGroupLayout>
                <!-- id="af_one_column_stretched"   -->
              </f:facet>
              <f:facet name="top">
                <af:commandButton text="Show/Hide" id="cb1"
                                  action="#{backingBeanScope.DeptBean.onSHowHideClicked}"/>
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    
    

    I have the show/hide button to show / hide the table, the action method is less to:

        public void onSHowHideClicked() {
            if(tablePGL.isVisible()){
                tablePGL.setVisible(false);
                hidePGL.setVisible(true);
            } else {
                tablePGL.setVisible(true);
                hidePGL.setVisible(false);
            }
            refreshComponent(tablePGL);
            refreshComponent(hidePGL);
        }
    
        private RichPanelGroupLayout tablePGL;
        private RichPanelGroupLayout hidePGL;
    
    

    After hide-> show, checked them all box lost their value (not checked).

    It is a consistently reproducible question for adf selectBooleanCheckbox.

    Can someone please provide solution for this problem? If there is a known issue, no work around? I can provide this simple code for analysis if necessary.

    Thank you

    And there is a solution to this issue:

    Set ContentDelivery = immediate

  • Action() URGENT methods * and ActionEvent() do not work in CommandLink

    Hello

    Please help me to solve my problem. Cant able to invoke the method Action() and ActionEvent() that are attached with CommandLink UI element, when the Destination has been set on this link.
    Here is my code. In our page ADF have 3 link in the navigationPane. Five fragments (.jsff) are attached to this home page. So for each fragments I guess to set the destination different help pages.


    < af:navigationPane hint = "buttons" inlineStyle = "padding-top: 5px" >
    < af:commandNavigationItem text = "Logout" action = "#{LogoutBean.logout}" / >

    < af:commandNavigationItem text = "Home" / >

    "< af:commandNavigationItem text ="Help"binding =" #{LogoutBean.helpLink} "targetFrame = '_blank' actionListener =" #{LogoutBean.testLink} "action =" #{LogoutBean.setHelpURL} ' "
    destination = "accounttypehelp. JSPX "/ >"
    < / af:navigationPane >


    Every time when I navigate from one fragment to another, I'm putting the URL of destination newly I am doing inside the method Action or ActionEvent. But even if I set the destination by method in my first fragment, same methods aren't getting called 2nd fragments from and always get called the first window aid of frag. Try to solve this problem in the past 3 days but no luck. Also I can't put the destination URL at designtime from the link help is part of the main page (ap.jspx) and the destination is based on fragments of each.

    Advice me please how to handle this situation, I can get the name of each fragment while hit the help link on the method of action or method of actionListner (when I'm not add the destinationURL) but help me to set the URL of destination for each frag?

    Thank you
    klogube

    Hi klogube,

    Yes the way which you setup is correct. I don't know why it doesn't work.

    Jean Lou

  • Router ADF after logon does not work

    Hi all

    12.1.3 jDev

    I have a taskflow boundless. In the stream, I have a page view that performs a login using an action to invoke the method

    HttpServletRequest request = context.getExternalContext () .getRequest () (HttpServletRequest);

    Request.Login (me. UserName, this.password);

    Then I have a case of flow of control to a router. In the router, I have a case as follows

    #{securityContext.userInRole ['LOCATION']}-> staf goto page

    The problem is that the roles work that once a new page is loaded, if I redirect to the router even the case statement works but if I go to the router directly from the login form page there only anonymous role

    Thank you

    Stuart

    I'm not Timo

    However it will not work in my situation because I'm redirecting to a taskflow bounded to the login page. the router is the default activity in the taskflow.

    Well, you can try.

    First of all redirect to the intermediate page and then redirect to the page with BTF.

    The ADF security is initialized after redirection to servlet "adfAuthentication" (which I don't see in your code) so maybe it works after redirection to a protected temporary page (you can create empty pageDef and give an anonymous role him)

    Dario

  • ADF query Panel poster not only any value in form master detail, but the field has a value.

    Hi, I use jdeveloper 12.1.3 1.

    1. I request ADF, master form Panel and secondary table.

    2. by default create insert button is enabled in the secondary table. ( button)

    3. no data is demonstrated at the start and it's ok because the main table of the form and the details is under the Panel request af.

    4. even if no data is shown in the form of af, when we get the value of the field (i.e. product) to support bean, field returns a value.

    5. If I am not able to disable the button.

    I tried to use backing bean to disable this key under certain conditions (example: If there is a value for the product on the screen can turn on this button), even if nothing appears on the screen, if we get the value for the field (i.e. product) it returns a value.

    Attr.png

    Hello

    Tell me if I'm wrong, but you want to disable the button if there is no data in the form of master?

    Try with this property disabled in your button:

    Disabled = ' #{bindings. " Product.inputValue == null} ".

    change 'Product' for the field in the form that will always return a value when there is a line.

    Kind regards

    Ruben.

Maybe you are looking for