How Can I hide InputText Field?

Hi everybody..
How can I hide a InputText Field from a af:table?
I need to pass a value to a specific attribute. but I´d like to hide from user...
is that possible?
thanks again.

The "rendered" attribute.
<af:inputText rendered="true" />
<af:inputText rendered="false" />
I believe it supports EL.

Similar Messages

  • How can I hide a field a table from SE16

    Hi all,
    I have an urgent requirement, can anyone help me? How can I hide or mask any field of a table from SE16. Also how can I restrict the user not to put a restriction on a particular field of a table so that this field should not be accessed for SQVI/SQ01.
    Awaiting for reply.
    Useful answers will be rewarded immediately with full points.
    Tnx.

    You could hide the column, by using the standard functinoality of the ALV output, you would need to hide the column, and save a default layout.  This way the next time you come into this display, the column will not be there.
    Regards,
    Rich Heilman

  • How can I hide or make visible the fields at the order and at the delivery?

    How can I hide or make visible the fields at the order and at the delivery?
    Thanks in advance.

    Hi,
    For sales order, use user exit :
    MV45AFZZ and FORM userexit_field_modification.
    For deliveries, use BADI :
    LE_SHP_DELIVERY_PROC (see with Tcode SE18) and method CHANGE_FIELD_ATTRIBUTES.
    Create implementation in ref to this badi with Tcode SE19.
    Regards,
    Lionel

  • How can i hide elements of a view?

    Hi,, i've got a question about, how can i hide an element of a view?, this element colud be a group, a label, an input field, any element that i can put in the view layout.
    My view has an ALV, an inputfield and a Table with a button, so when i click on a line of the alv, it shows data in the table and in the inputfield, and when i click on the button of the table, i want to hide the table and the inputfield, until i clik on the alv again to make appear  the table and the inputfield.
    how can i hide those element?,,,,,,,,thanks

    Hi Luis Garcia,
    It can be done easily by <b>context binding</b> the visibility property of the table and input field UI element to a node attribute whose type would be WDY_BOOLEAN.
    1. Initially the node attributes default value would be 'X'.
    2. When you click the button in the ALV, in the event handler of that button change the binded node attribute value to ' '.
    3. When on lead selection of the table again change the binded node attribute field value to 'X'.
    4. Below is the sample code to read the binded node attribute and toggle the visiblity attribute to 'X' if it is ' ' and vice versa.
      data:
        Node_If                             type ref to If_Wd_Context_Node,
        Elem_If                             type ref to If_Wd_Context_Element,
        Stru_If                             type If_Main=>Element_If ,
        Item_VISIBILITY                     like Stru_If-VISIBILITY.
    * navigate from <CONTEXT> to <IF> via lead selection
      Node_If = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_If ).
    * get element via lead selection
      Elem_If = Node_If->get_Element(  ).
    * get single attribute
      Elem_If->get_Attribute(
        exporting
          Name =  `VISIBILITY`
        importing
          Value = Item_Visibility ).
    if Item_visibility is initial.
    item_visibility = 'X'.
    else.
    item_visibility = ' '.
    endif.
      Elem_If->set_Attribute(
          Name =  `VISIBILITY`
          Value = Item_Visibility ).
    endmethod.
    Hope it helps.
    Regards,
    Maheswaran.B

  • How Can I hide search help button in alv ?

    Hi Sdn .
    I want to hide search help button in my alv ..
    My  gs_fcat-f4availabl  = 'X'. is not active ..  but  there is search help button  .
    How Can I hide button .
    Regards  .
    Serkann

    donnot pass any values in field catalog for reference field and reference table.
    or dont use any standard data element

  • How can  i append a field directly to xtract structure.

    (with out going to communication structure) while doing xtraction, if i hv a requirement to append a field directly to xtract structure. how can i append that field.

    hai satish,
    Follow these steps:
    go to rsa6 --> select your data source --> double click on the it --> double click on extract structure  --> Click on append structure.
    enter ur Enhancing Field names,
    go back to rsa6 in change mode---> remove hide check for newly added field..
    now go to se37 ---> EXIT_SAPLRSAP_001(for transaction data )
    Ur having some Include program Modify according to Ur fields.
    Thanks,
    kiran.

  • How can we hide the coloumn in h:datatable

    Hi Friends,
    How can we hide the coloumn in h:datatable. <h:dataTable id="catalogueTable" rows="10" width="100%" binding="#{searchCatalogue.catalogueTable}" value="#{searchCatalogue.screenList}" var="catalogue" >
                                                <h:column >
                                                    <h:selectOneMenu id="searchModes" value="#{catalogue.selectedType}">
                                                        <f:selectItems value="#{catalogue.searchModesList}" />
                                                    </h:selectOneMenu>
                                                </h:column>
                                                <h:column>
                                                    <h:outputLabel value="#{rb.ofthesewords}" />
                                                </h:column>
                                                <h:column>
                                                    <h:inputText id="searchTerm" value="#{catalogue.searchTerm}" style="width:100%" />
                                                </h:column>
                                                <h:column>
                                                    <h:outputLabel value="#{rb.in}" />
                                                </h:column>
                                                <h:column>
                                                    <h:selectOneMenu id="currCustIndx" value="#{catalogue.currCustIndx}" >
                                                        <f:selectItems value="#{catalogue.customIndexList}" />
                                                    </h:selectOneMenu>
                                                </h:column>
                                                <h:column>
                                                    <a4j:commandButton value="+">
                                                        <a4j:support event="onclick" action="#{searchCatalogue.addOneRowAction}" oncomplete="visibleListView()" reRender="catalogueTable,suggMsg" />
                                                    </a4j:commandButton>
                                                </h:column>
                                                <h:column>
                                                    <a4j:commandButton value="-" >
                                                        <a4j:support event="onclick" action="#{searchCatalogue.removeOneRowAction}" oncomplete="visibleListView()" reRender="catalogueTable,suggMsg" />
                                                    </a4j:commandButton>
                                                </h:column>
                                            </h:dataTable> Initially i want to hide the this coloumn
                                                     <h:column>
                                                    <a4j:commandButton value="-" >
                                                        <a4j:support event="onclick" action="#{searchCatalogue.removeOneRowAction}" oncomplete="visibleListView()" reRender="catalogueTable,suggMsg" />
                                                    </a4j:commandButton>
                                                </h:column> so how can i hide this one.
    Edited by: Edukondalu_Avula on Nov 4, 2008 8:33 PM

    at initial time i want to hide that coloumn(+means commandbutton coloumn). when i click + symbol button i want to show the datatable with all the coloumns at this time how can i show the hidden coloumn
    Edited by: Edukondalu_Avula on Nov 5, 2008 12:51 AM

  • How can we insert a field when it is null and not present in database?

    I am working on a report in CR XI..i have strucked ata point where i am unable to find solution..my report has fields like Financial supply and physical supply..as a froup...but both are not displaying on all pages as there are no values to be displayed in them..even though how can i display both fields in all pages ..no matter what the figures are but i need these both fields to be displayed..plz help me out?

    Â Â Â Regards
    Â Â Â Sunil
    I have tried ur formula but unable to get the solution...
    as there are already the same fields with existing records..all i want is how to get the field where the values doesnt exist....i.e..fin supply and phy supply exists in one zone and doesnt have values in other zone...so huv to insist the physical field into the table?

  • How can I add a field to a Repeating Frame in the body of a 9i Report

    How can I add a field to a Repeating Frame in the body of an Oracle 9i Report whose source is in a higher group?
    I want to change an Oracle 9i report. The report has no header or trailer but only a body. The body has the parent frame fields & a repeating frame with four fields, A, B, C & D. They all seem to be in one group. I want to add another field E to the repeating frame whose source is from the 'header'.
    I added the field & created a boiler plate & then added the new field, E to the original group A, B, C & D. In the Property Inspector for the field, I pointed the source to the source column in the main query. However, when I run the report, I receive the error "Invalid body size". Some notes on Metalink indicate that this could be due to margins being out of the printable area.
    Moreover, after making the changes & after having unsuccessfully run the report, when I try to open the Page Layout for the report, I get no details.
    Thanks,

    Hi,
    i also got same query can u pls tell me elaborately, if u can can u pls send some code.
    Thanks & Regards
    Jagadeeshwar.B

  • How can I hide the class file ??

    Hi !
    I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. Thinks

    See these....
    http://www.saffeine.com/
    http://www.jarsafe.com/
    I recently read this. This will help you.
    http://developer.java.sun.com/developer/qow/archive/160/index.jsp
    Enojy....
    Rajesh

  • How can I have two fields with the same name if it makes sense?

    Hello, folks :)
    I have a pretty hard time figuring out how I can have two text fields with the same binding name.
    The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
    I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
    How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
    Thanks for your replies :)
    P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
    One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.

    I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(

  • How can i hide my extension number when i make outgoing calls

    Hi All,
    How can i hide my extension number when i make outgoing calls,what configuration should i make on the call manager server.
    Regards,
    Lester

    We use a Route Pattern that mimics the telco feature *67. The RP is *679.xxxxxxx with a Transformation mask of 000000000 (just to get beyond the individual blocking on some private lines.

  • How can I hide a JPanel?

    I have some JPanels and using the mouse motion listeners you can scribble on them. I want to be able to switch between these panels but the problem is the drawings get wiped off when I use repaint() and frame.add(panel).
    Any ideas how else I could try doing this?

    Ok thanks everyone. I've taken the MyPanel class from here http://java.sun.com/docs/books/tutorial/uiswing/painting/step3.html
    class MyPanel extends JPanel {
        private int squareX = 50;
        private int squareY = 50;
        private int squareW = 20;
        private int squareH = 20;
        public MyPanel() {
            setBorder(BorderFactory.createLineBorder(Color.black));
            addMouseListener(new MouseAdapter() {
                public void mousePressed(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
            addMouseMotionListener(new MouseAdapter() {
                public void mouseDragged(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
        private void moveSquare(int x, int y) {
            int OFFSET = 1;
            if ((squareX!=x) || (squareY!=y)) {
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
                squareX=x;
                squareY=y;
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
        public Dimension getPreferredSize() {
            return new Dimension(250,200);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);      
            g.drawString("This is my custom Panel!",10,20);
            g.setColor(Color.RED);
            g.fillRect(squareX,squareY,squareW,squareH);
            g.setColor(Color.BLACK);
            g.drawRect(squareX,squareY,squareW,squareH);
    }Now if I use this class to make two panels, how can I hide one and bring the other one up and vice versa, using two buttons? setVisible() still doesn't work properly.
    Here's the whole code.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.SwingUtilities;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.BorderFactory;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseMotionListener;
    import java.awt.event.MouseMotionAdapter;
    public class PanelTest extends JFrame {
        private MyPanel panelOne;
        private MyPanel panelTwo;
        private BorderLayout layoutManager;
        private PanelTest() {
            layoutManager = new BorderLayout();
            this.setLayout(layoutManager);
            panelOne = new MyPanel();
            panelTwo = new MyPanel();
            panelOne.add(new JLabel("This is Panel One"));
            panelTwo.add(new JLabel("This is Panel Two"));
            setCurrentPanel(panelOne);
            JButton switchButton = new JButton("Switch");
            switchButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    if(getCurrentPanel() == panelOne) {
                        setCurrentPanel(panelTwo);
                    } else {
                        setCurrentPanel(panelOne);
            this.getContentPane().add(switchButton, BorderLayout.SOUTH);
            this.pack();
            this.setVisible(true);
        private void setCurrentPanel(MyPanel panel) {
            this.getContentPane().add(panel, BorderLayout.CENTER);
            panel.revalidate();
            panel.repaint();
        private JPanel getCurrentPanel() {
            return (JPanel)layoutManager.getLayoutComponent(BorderLayout.CENTER);
        public static void main(String[] args) {
            new PanelTest();
    class MyPanel extends JPanel {
        private int squareX = 50;
        private int squareY = 50;
        private int squareW = 20;
        private int squareH = 20;
        public MyPanel() {
            setBorder(BorderFactory.createLineBorder(Color.black));
            addMouseListener(new MouseAdapter() {
                public void mousePressed(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
            addMouseMotionListener(new MouseAdapter() {
                public void mouseDragged(MouseEvent e) {
                    moveSquare(e.getX(),e.getY());
        private void moveSquare(int x, int y) {
            int OFFSET = 1;
            if ((squareX!=x) || (squareY!=y)) {
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
                squareX=x;
                squareY=y;
                repaint(squareX,squareY,squareW+OFFSET,squareH+OFFSET);
        public Dimension getPreferredSize() {
            return new Dimension(250,200);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);      
            g.setColor(Color.RED);
            g.fillRect(squareX,squareY,squareW,squareH);
            g.setColor(Color.BLACK);
            g.drawRect(squareX,squareY,squareW,squareH);
    }Edited by: atom.bomb on Mar 30, 2010 11:25 AM

  • How can I hide a text label as I would a control or indicator?

    As I have multiple indicators that must have the same identifier to the operator I can not use the indicator label as the items identifier. At times I want to hide the indicator and label. How can I hide the label? Please recall a text label just sits on the front panel as desired. It isn't within a raised or lowered box. In the attached sample I would like to hide "MyLabel" when the date indicator is hidden.
    Attachments:
    Test_Label.vi ‏35 KB

    Here�s a way. Its a little involved, but it will work:
    1. Customize a control or indicator to remove the border (I used a string control)
    a. Right click on the control or indicator, go to �Advanced � Customize�
    b. Click on the wrench on the tool bar to enter edit mode
    c. Select the border and drag it off to the side
    d. Reduce the size of the border to a single pixel (it won�t let you delete it)
    e. Rubber band a box around the 1 pixel border to select it and use the cursor keys to move it within the �white space� of the string control. It will effectively disappear. You will NOT be able to move it with the mouse as LV will try to resize the border instead of moving it.
    f. Using the color tools �suck up� the background color of your vi and �paint� i
    t into the white space of the control.
    g. Make the control the correct size to hide your label(s). Make sure it is right as you will NOT be able to resize the control outside of the �customize� function (i.e.: while on your front panel)
    h. Click on the tweezers to go back to customize mode.
    i. Give your control a descriptive name
    j. Right click on the control, go to �Visible Items� and uncheck �label� to hide the label.
    k. Save your new control
    2. Back on your front panel, place your new control over what you want to hide and programmatically make it visible or invisible as desired.
    I have included a copy of your original vi, modified to hide and unhide your label. I have also included the customized string control that accomplishes this. You may resize the control as needed by �customizing it as described above.
    The only disadvantage to this method is that if you want to hide multiple labels they must be in the same area of the front panel. Otherwise you must have seve
    ral �hiding� controls.
    An advantage is that you will not have to make the original control or indicator (i.e.: the date indicator) visible or invisible as it can be hidden as well.
    Hope this does what you want.
    Good Luck.
    Attachments:
    Test_Label.vi ‏27 KB
    InvisibleString.ctl ‏6 KB

  • How can i hide a tex message on my screen? i have a 4s?

    how can i hide a tex message on my screen when my phone is locked? i have the 4s

    Settings>Notifications>Messages>View in Lock Screen>OFF
    Message was edited by: The Huntress

Maybe you are looking for