How to hide element? JDeveloper 11g

Hi! I want to know, how to hide element in table and unhide another element, when I press button! (for example, create button)?
Best regards!

Here's what my jspx page looks like:
<af:form>
    <af:commandButton text="Show Hide" actionListener="#{pageFlowScope.MainBean.showHide}"/>
    <af:panelTabbed binding="#{pageFlowScope.MainBean.tabs}" id="tabs">
      <af:showDetailItem text="showDetailItem 1" id="tab1"/>
      <af:showDetailItem text="showDetailItem 2" id="tab2"rendered="false"/>
    </af:panelTabbed>
</af:form>Notice that the panelTabbed component is bound to #{pageFlowScope.MainBean.tabs} so that my backing bean will have a setter and getter for this component.
Also notice that my command button has an actionListener. Here is the code for that method:
public void showHide(ActionEvent actionEvent) {
    this.getTabs().findComponent("tab1").setRendered(false);
    this.getTabs().findComponent("tab2").setRendered(true);
}It's very simple, it sets one tab to not render and renders the other one.
Mark

Similar Messages

  • How to hide elements to printer inside muse? / Como esconder elementos a la impresora en muse

    English
    Hello guys, there is any option to hide elements on muse site for no printing, I'm working on a catalog with pront option but i dont want the navigation menu buttons on my print sheets, any idea?
    Spanish
    Hola a todos, hay alguna opcion que bloquee elementos de ser impresos? estoy trabajando en un catalogo online, pero no quiero que se impriman elementos como los los botones de navegacion. tienen alguna idea?

    You would need to hide page contents using custom code , you may try these options :
    http://imar.spaanjaars.com/240/how-do-i-hide-screen-elements-when-a-page-is-printed
    http://stackoverflow.com/questions/4816937/use-css-to-hide-contents-on-print
    Thanks,
    Sanjit

  • How to start oracle Jdeveloper 11g Weblogic Admin Server

    Hi Every one
    Can any one help me in starting the Oracle Jdeveloper 11g weblogic admin server. There is option to start the admin server while configuring the new domain, but after that if we need to start the same domain I didn't find any option in 11g. Can any one help me in this regard
    Thanks

    Janilson wrote:
    I don't know which oracle version you are using but, I use the Express version (Oracle-xe)
    In order to configure it I run
    sudo /etc/rc.d/oracle-xe configure
    After configure oracle, I start oracle service
    sudo /etc/rc.d/oracle-xe start
    I don't know if it helps sad
    I don't see any thing in rc.d. I use systemctl to start daemons.
    stee1rat wrote:What command do you use to run it? And what are your environment variables?
    lsnrctl start

  • How to hide elements of a photo in Elements 10

    I am trying to hide some lettering on a wall in a psd version of a photo. In spite of hours looking at some semi related tutorials on layers and masking and referring to "Photoshop for dummies" I cannot make it work in practice. Very frustrating!

    Try making a jpeg copy and add it to this forum and we can make suggestions about the best method. Click on the image below to see how to post a picture.

  • In forms- how to hide elements which are added through property palete

    hi,
    I am using oracle forms-10g version.
    I have an doubt in hiding the elements from list item.
    I have 3 list items and 3 elements. If i select any element in any of the list, that element should get hidden when we click on other list box.
    For example:
    3 elements are cell, work,home.
    in the first list item it should display all three elements and when i select cell in list_item 1, then this element should get hide for the other two list items.
    Similarly if i select home in list item 2, then home and cell should get hide from list item 3 and home alone d=should get hide from list_item 1.
    please suggest if my question is not clear.
    Please help out folks.
    Regards,
    Bobb

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • How to hide elements from xml file when dumping to JTree?

    Hi everybody,
    I got a XML file similar to this one:
    <Dios>
    <Adan>
    <Hijos>
    <Vivos>
    <Nombre>Isaac</Nombre>
    <ColorOjos>Verdes</ColorOjos>
    <ColorPelo>Casta�o</ColorPelo>
    <Nombre>Paris</Nombre>
    <ColorOjos>Verdes</ColorOjos>
    <ColorPelo>Casta�o</ColorPelo>
    </Vivos>
    </Hijos>
    </Adan>
    <Eva>
    <Hijos>
    <Vivos>
    <Nombre>Jose</Nombre>
    <ColorOjos>Azules</ColorOjos>
    <ColorPelo>Rubio</ColorPelo>
    <Nombre>Marta</Nombre>
    <ColorOjos>Oscuros</ColorOjos>
    <ColorPelo>Casta�o</ColorPelo>
    </Vivos>
    <Fallecidos>
    <Nombre>Miriam</Nombre>
    <ColorOjos>Verdes</ColorOjos>
    <ColorPelo>Casta�o</ColorPelo>
    <Nombre>Dorian</Nombre>
    <ColorOjos>Azules</ColorOjos>
    <ColorPelo>Casta�o</ColorPelo>
    </Fallecidos>
    </Hijos>
    </Eva>
    </Dios>
    I must:
    1)Show datas on a Tree, with the exception that "ColorPelo" and "ColorOjos" values should not be displayed on the tree.
    2)When clicking over one leaf (for example: Miriam) on the right side of panel, should write the values of "ColorPelo" and "ColorOjos", verdes and casta�o.
    Don�t know where start. Any idea will be welcome
    Thanks in advance

    Sorry, the xml above was wrong, this is right xml:
    <Dios>
         <Adan>
              <Hijos>
                   <Vivos>
                        <Nombre>Isaac</Nombre>
                        <Caracteristicas>
                                  <ColorOjos>Verdes</ColorOjos>
                                  <ColorPelo>Casta�o</ColorPelo>
                        </Caracteristicas>
                        <Nombre>Paris</Nombre>
                        <Caracteristicas>
                                  <ColorOjos>Verdes</ColorOjos>
                                  <ColorPelo>Casta�o</ColorPelo>
                        </Caracteristicas>
                   </Vivos>
              </Hijos>
         </Adan>
         <Eva>
              <Hijos>
                   <Vivos>
                        <Nombre>Jose</Nombre>
                        <Caracteristicas>
                                  <ColorOjos>Azules</ColorOjos>
                                  <ColorPelo>Rubio</ColorPelo>
                        </Caracteristicas>
                        <Nombre>Marta</Nombre>
                        <Caracteristicas>
                                  <ColorOjos>Oscuros</ColorOjos>
                                  <ColorPelo>Casta�o</ColorPelo>
                        </Caracteristicas>
                   </Vivos>
                   <Fallecidos>
                        <Nombre>Miriam</Nombre>
                        <Caracteristicas>
                             <ColorOjos>Verdes</ColorOjos>
                             <ColorPelo>Casta�o</ColorPelo>
                        </Caracteristicas>
                        <Nombre>Dorian</Nombre>
                        <Caracteristicas>
                             <ColorOjos>Azules</ColorOjos>
                             <ColorPelo>Casta�o</ColorPelo>
                        </Caracteristicas>
                   </Fallecidos>
              </Hijos>Finally I know how to do first point, when creating the nodes(recursively):
    if( (children != null )&& *!root.getNodeName().equals("Caracteristicas")*)
    numChildren = children.getLength();
         for (int i=0; i < numChildren; i++)
         node = children.item(i);
         if( node != null && *!node.getNodeName().equals("Caracteristicas")*)
    ...

  • How to hide elements from displaying

    Hi
    I have a code
    <td><b><jbo:RenderValue datasource="dsProducts" dataitem="ProductName"/><sup><%=symbol%></sup></b><br/.
    But I want to supress it from displaying.How can I do that?
    Thanks in advance.

    Hi
    I have a code
    <td><b><jbo:RenderValue datasource="dsProducts" dataitem="ProductName"/><sup><%=symbol%></sup></b><br/.
    But I want to supress it from displaying.How can I do that?
    Thanks in advance.

  • How to get multiple out parameters from a pl/sql stored procedure in ADF Jdeveloper 11g release2

    I´m trying to call from AppModuleImpl a stored procedure from my oracle DB which receives one input parameter and returns 5 out parameters. 
    I´m using jdeveloper 11g release2  ADF and I have created a java bean "ProRecallPlatesBean " with the atributes and accesors and I serialize it. just like in this article http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcadvgen.htm#sm0297
    This is my code so far:
    public ProRecallPlatesBean getCallProRecallPlates(String numPlates) {
    CallableStatement st = null;
    try {
              // 1. Define the PL/SQL block for the statement to invoke
              String stmt = "begin CTS.Pk_PreIn.proRecallPlates(?,?,?,?,?,?); end;";
              // 2. Create the CallableStatement for the PL/SQL block
              st = getDBTransaction().createCallableStatement(stmt,0);
              // 3. Register the positions and types of the OUT parameters
              st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.VARCHAR);
    st.registerOutParameter(4,Types.VARCHAR);
    st.registerOutParameter(5,Types.VARCHAR);
    st.registerOutParameter(6,Types.VARCHAR);
    // 4. Set the bind values of the IN parameters
    st.setString(1,numPlates);
    // 5. Execute the statement
    st.executeUpdate();
    // 6. Create a bean to hold the multiple return values
    ProRecallPlatesBean result = new ProRecallPlatesBean();
    // 7. Set values of properties using OUT params
    result.setSpfVal(st.getString(2));
    result.setTransportTypeVal(st.getString(3));
    result.setTransportCompanyVal(st.getString(4));
    result.setCompanyDescrVal(st.getString(5));
    result.setDGAPrint(st.getString(6));
    // 8. Return the result
    return result;
    } catch (SQLException e) {
    throw new JboException(e);
    } finally {
    if (st != null) {
    try {
    // 9. Close the JDBC CallableStatement
    st.close();
    catch (SQLException e) {}
    In Jdeveloper I went into AppModule.xml JAVA>Client Interface section and expose "getCallProRecallPlates" Then I can see "getCallProRecallPlates" in Data Controls, I drag and drop it to a JSF page, an input text component and a button are generated in order to put in there the procedure input parameter (numPlates).
    I don't know if I'm on the right track.
    When I click the button, the "result" variable is supposed to be filled with data from the stored procedure. I want each of those values to be displayed in Output text or input text adf components but I dont know how. Thank you very much in advance I´m a newbie and i'll appreciate your help!

    What version are you on?
    Works fine for me on my 11g:
    SQL> create or replace procedure testxml (clob_out out clob)
      2  is
      3     l_clob   clob;
      4     l_ctx    dbms_xmlquery.ctxhandle;
      5  begin
      6     l_ctx := dbms_xmlquery.newcontext ('select * from dual');
      7     l_clob := dbms_xmlquery.getxml (l_ctx);
      8     clob_out := l_clob;
      9     dbms_xmlquery.closecontext (l_ctx);
    10  end testxml;
    11  /
    Procedure created.
    SQL>
    SQL> variable vout clob;
    SQL>
    SQL> exec testxml (:vout)
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print vout
    VOUT
    <?xml version = '1.0'?>
    <ROWSET>
       <ROW num="1">
          <DUMMY>X</DUMMY>
       </ROW>
    </ROWSET>But definitely you can optimize your proc a bit: Try
    create or replace procedure testxml (clob_out in out nocopy clob)
    is
       l_ctx    dbms_xmlquery.ctxhandle;
    begin
       l_ctx := dbms_xmlquery.newcontext ('select * from dual');
       clob_out := dbms_xmlquery.getxml (l_ctx);
       dbms_xmlquery.closecontext (l_ctx);
    end testxml;
    /

  • How to generate a project report for a BPM project in Oracle Jdeveloper 11g

    Hi,
    Till Oracle 10g we can generate a project report by right clicking on project name in BPM studio project navigator.
    Is this facility available with Jdeveloper 11g for BPM project as I am not able to generate the report.
    If this is possible than please let me know how can i generate.
    Thanks
    GG

    Hi there,
    I would also like to know when the Project Report functionality will be available for 11g.
    My client have several BA's who are crying out for documentation and exported diagrams, which are exactly what the Project Report features provided.
    Any ideas if it will come back?
    Cheers,
    Chris

  • How to set File Encoding to UTF-8 On Save action in JDeveloper 11G R2?

    Hello,
    I am facing issue when I am modifying a File using JDeveloper 11G R2. JDeveloper is changing the Encoding of the File to System default Encoding (ANSI) instead of UTF-8. I have updated the Encoding to UTF-8 in "Tools | Preferences | Environment | Encoding" option and restarted the JDeveloper. I have also updated "Project Properties | Compiler | Character Encoding" option to UTF-8. None of them are working.
    I am using below version of JDeveloper,
    Oracle JDeveloper 11g Release 2 11.1.2.3.0
    Studio Edition Version 11.1.2.3.0
    Product Version: 11.1.2.3.39.62.76.1
    I created a file in UTF-8 Encoding. I opened it, do some changes and Save it.
    When I open the "Properties" tab using "Help | About" Menu, I can see that the Properties of JDeveloper are showing encoding as Cp1252. Is it related?
    Properties
    sun.jnu.encoding
    Cp1252
    file.encoding
    Cp1252
    Any idea how to make sure JDeveloper saves the File in UTF-8 always?
    - Sujay

    I have already done that. That is the first thing I did as mentioned in my Thread. I have also added below 2 options in jdev.conf and restarted JDeveloper, but that also did not work.
    AddVMOption -Dfile.encoding=UTF-8
    AddVMOption -Dsun.jnu.encoding=UTF-8
    - Sujay

  • How to connect sybase database in JDeveloper 11g using JConnect

    Hi
    How to connect sybase database in JDeveloper 11g using JConnect? Please help.

    User,
    It would help if you explained Sybase Jconnect instead of leaving us to google.
    At any rate, it appears you need to create a library definition in JDeveloper, add the appropriate JConnect JAR files to the library's classpath, and then add the library to your project.
    John

  • How to use a ".generate" file in JDeveloper 11g ?

    hi
    Using JDeveloper 11g (11.1.1.0.1) I created a Database Diagram and dropped both SCOTT.EMP and SCOTT.DEPT tables on it, creating Offline Database Objects.
    After that I used the "Generate..." option from the right-click menu on the SCOTT Offline Database Source in JDeveloper, to generate a SQL script.
    Step 6 of 6 allowed me to "Save settings for reuse", resulting in a ".generate" file (see GenerateSQLFromDatabaseObjectsStep6Of6.png).
    question
    How should I be able to reuse such a ".generate" file, the right-click menu does not have a "Generate" option (like JDeveloper 10g has) or something similar, see GenerateSQLRightClickMenuForGenerateFile.png.
    many thanks
    Jan Vervecken

    Thanks for your reply Susan.
    You were not able to access it via metalink as it was categorized as an internal bug rather than a production version bug. Since it has now been fixed it is unlikely that I can get it changed to allow it to be seen via metalink.about "unlikely", see also ...
    ... Steve Muench : "Re: Request for "WHERE  -   IN" Combination with Bind Variables."
    ... Keimpe Bronkhorst : "Re: Generics : compiler option : unchecked conversion warnings"
    ... Brian Duff : "Re: Surround With Try/Catch : comments issue"
    ... Frank Nimphius : "Re: Jdev 11g: Warnings in structure window for jspx (makeCurrent)"
    But there is probably an explanation.
    regards
    Jan

  • How to develop custom skin in JDeveloper 11g?

    Hi All
    I am using JDeveloper 11g(11.1.1.3.0). Could anyone please tell me how to create custom skins.
    Regards
    Venkat.S

    Thank you very much Navaneeth.. now I am able to create custom skin.
    Now one more help, currently I am using "fusion" as default skin how to extend it with our custom skin. So that i can use few features of "Fusion" skin and few from my custom skin.
    If I disable inputtext it will be in "Grey color" i need it in white color. how to do it?

  • How to add adf faces in component pallete of jdeveloper 11g?

    how to add adf faces in component pallete of jdeveloper 11g?

    Hi,
    the replacement of ADF Faces HTML components in JDeveloper 11 is Trinidad. For existing applications, a migration path will be provided in JDeveloper 11 production. I wouldn't recommend configuring ADF Faces in JDeveloper 11.
    You an configure ADF Faces Components in JDeveloper 11 by :
    - Tools --> Manage Libraries
    - Create a User Library
    - select ADF Faces adf-faces-impl.jar
    - Enure the namespace is not af or afh but something different to not cnflic with teh ADF Faces RC components
    Note that adding the ADF Faces components to the component palette will not make them show in the ADF binding context menu nor will it automaticaly set up the web.xml file. The components are available as any other JSF library set
    Again, I wouldn't go this way ;-)
    Frank

  • How to implement adf skins in JDeveloper 11g

    How to integrate CSS in ADF using JDeveloper 11g without Trinidad.

    Is there any particular reason for NOT wanting to use the trinidad-config.xml? Using Jdev11g, it is very easy, requires no extra jars and have no external dependencies. Also, its [better |http://technology.amis.nl/blog/4169/adf-11g-why-use-skinning-why-not-use-simple-external-css-stylesheets] to do it using skins.
    Julian.

Maybe you are looking for

  • AP Payment term

    Hi, I need to create a payment term for invoices dated from the 25th of the prior month through the 24th of the current month, payment is due in full (net) by the 25th of the next (proximo) month. e.g. Invoice range 06-25-2010 to 07-24-2010 due in fu

  • Calling secured webservice from java

    Hi Experts, I am trying to call a secured webservice from java. I got the code to call a non secured web service in java. What changes do i need to do in this to call a secured webservice. Please help me. Thank you Regards Gayaz calling unsecured web

  • Apps work in one location but not another

    Some apps (iheartradio and tvguide) work fine from my home wifi, but not in another wifi area (at work, which has better wifi).  Other apps such as pandora work fine at both locations.  What is the difference and how can I get all apps to work everyw

  • How to generate external network number based on WBS element number

    Hi all(experts) I am new to PS and I have a requirment. <u>To derive network no. from WBS identifier.</u> Enhancement is CNEXOO12 Function module is EXIT_SAPLCOKO_002(data transfer for Network number). I wnat to know how to use the above enhancement

  • Can we create a object for servlet

    and can we use constructor inside a servlet .If yes at what situations we can use