Static display LOV discriptions in a read-only table

Attempts to display a read-only table. The user will then select a line to edit.

If the table is editable the LOV displays very well. If it is read-only, it shows only the raw values. The majority of my LOV is static.

Is there a way to display descriptions instead of the ID?

see you soon
James

In the view object, define a list of values in the field (as usual).

When you create the table, remove the default column (in general the output text) and replace it with a single column select (should be automatic if the view has the LOV - so drag and drop)

Now, open the properties of the field by selecting the poplist in the column and change the unique selection of read only = true.

It will be much better that decode, who has a number of fixed - so it's the table led - as records are added - the list will always work.

Tags: Java

Similar Questions

  • How to display a LOV display attribute in a read-only table?

    Guys and girls,

    With the help of Studio Edition Version 11.1.1.3.0.

    It seems that there is a certain messages on the forums about something similar to this, but nothing (that I can find) involving really read only tables.

    I have a tree table which shows a BOM. A BOM is a list of raw, subassemblies, assemblies, intermediate, sub-components, components, parts and the quantities of the two required for the production of a finished product.

    In this table tree, PARENT, CHILD, and QTY columns are displayed and are held in the BOM table. PARENT and CHILD have a LOV defined with a NAME attribute, which comes from the object View of PARTS. When I view the table tree on my. JSFF, PARENTS and CHILDREN show their number of DBSequence which had been assigned to them and is stored in the Schedule table, as opposed to the value of NAME through their LOV. A user would probably as the component name, rather than the sequence number.

    I could simply add this attribute of NAME in my view BOM with a JOIN clause object and display it like that, but it feels as if I am needlessly complicate my view object.

    How can I display the Display NAME attribute in a read-only table?

    Thank you
    Will be

    Hi Will,

    I'm sure you'll be stuck with that in a situation of read-only. You can bring in the description as a reference attribute in your VO, and it should work.

    John

  • SelectOneChoice and read-only Table

    Hi Experts,

    I am very new in ADF and try to put up a form that contains a component of SelectOneChoice based on a display object.
    I have a table with a variable binding and try to run the Object(underlying read-only table) view with the value that is selected in SelectOneChoice read-only. I added a managed method bean on valueChangeListener control SelectOneChoice and successfully getting the selected value.
    Now I'm getting a reference to the ViewObject and layout NamedParameter and then running it. Here is my code:

    {} public void ChangeValue has only (ValueChangeEvent valueChangeEvent)
    int s = ((Integer) valueChangeEvent.getNewValue ()) .intValue ();
    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) bindings.get ("SanLovVO1");
    listBinding.setSelectedIndex (s);
    currVal int = Integer.parseInt (listBinding.getSelectedValue () m:System.NET.SocketAddress.ToString ());
    System.out.println ("selected value:" + currVal);

    DCBindingContainer bc = (DCBindingContainer) (BindingContext.getCurrent () .getCurrentBindingsEntry ());
    ApplicationModule am = bc.getDataControl () .getApplicationModule ();
    ViewObject vo = am.findViewObject ("SR1");
    vo.setNamedWhereClauseParam ("p_san_header_id", currVal);
    vo.executeQuery ();
    }

    I defined a variable binding (p_san_header_id) in the object View (SR-1), then using this variable of liaison with the query of the view object. I also give a default value to the variable binding.
    Now the problem is: when page gets loaded, I can only read table has records but when I select a value in SelectOneChoice, I am not able to see changed in the table read-only if get running code managedBean and autoSubmit is true for SelectOneChoice.

    Pls help me. This is my first attempt in ADF with Jdev 11.1.1.2

    Thank you
    Sumit

    I put the default value based on the value returned by the database for selectOneChoice on the loading of the page. I just determine the index value of the corresponding value coming from the db and put it in the page scope of stream.
    Then, I put it in the value of the selectOneChoice attribute.

  • How to have a createinsert operation and display a read-only table

    Hello

    I am a newbie to the ADF. I wonder how to do that? -I want a form where the user can see certain values of data read-only in a table but be able to add new lines and commit / save.

    I used an editable table, an entity based view object object and operation of createinsert. If I leave the editable table as-is (all cells are editable) add new using createinsert line works well. But if I change the cell in design view read-only, even the new line added is created in read-only, so essentially the user cannot enter any values in there.

    How can I separate the property read-only so that the table looks like read-only, but they can add new lines?

    Thank you!
    Kassouri

    Hello

    the way forward on this issue is to show a table reading and when the user clicks a command to create a new line, open a pop-up dialog box with an entry form to create the new row. After that. refresh the tabel to show change

    Frank

  • Refreshing a view read-only table based

    Hi all

    JDeveloper 11.1.1.5.0; Operating system: Windows7

    Location: On page 1, we have 3 tables: the first two are master detail (like dept and emp), the third is a stand-alone table that is based on a view read-only (like a list of all employees who do not have a Department).
    On the third Board, we have a column that contains a commandLink. This commandLink call action, which in turn calls an another taskflow as an inlineDocument (so as a popup).
    This another taskflow has as behavior: critical use existing transaction if controls data possible and share with the taks stream call. Within this taskflow we take a few parameters to create a new line to connect a Department employee to a service (in our case, we use a table between dept and emp). We also conduct a transaction commit and rollback, depending on the choice of the user.
    If the user commits the changes also perform us a query against the view of the employees without a Department (as we see in logging the query and the new number of rows) and then we return to the calling page.
    We see the second table is refreshed and showing the new data, but does not update the third table.
    We are sure that bc has the right number of files, but this is the iterator that always show the additional record.
    When you click a button on the page, causes the table to refresh and show the correct number of lines, also by closing and reopening the panelbox, around the table, give a correct result.

    What can we do to make the iterator refresh during the return of the taskflow (= popup)?

    What we tried:
    * Changing the properties of the iterator to always refresh or any other combination possible.
    * With the help of the removeFromCollection on the line method. But this only works if the view contains entities behind (which is a bit strange, given that the definition of the method in the documentation).
    Adding features behind the view
    * By using the property afterListener to call a method. The problem here is that we don't have a DCBindingContainer at our disposal. So not access iterators.
    * In the afterListener make a call of navigation (handleNavigation). Navigation did not.
    * With the help of the partialTriggers on the third table or panelBox, pointing to the commandLink. Once we do that, no discount no longer, not even the second table.
    * With the help of the partialTriggers on the third table or panelBox, pointing to the second table. Yet once, nothing happened.
    All this without any success.

    What else can we do to make the third refreshes table itself automatically after the return of the popup?

    Thank you for all your comments and remarks.

    Filip Huysmans.

    Published by: Filip Huysmans on 15 June 2012 10:14

    Published by: Filip Huysmans on 15 June 2012 10:15

    Try to create a method call before you go back to the workflow & refresh the collection here.
    Have a look here - http://jjzheng.blogspot.com/2010/11/manually-refresh-row-in-table-after.html specifically for the workflow & this http://jjzheng.blogspot.com/2010/08/manually-refresh-row-in-table-after.html

  • Result to select that one ADF option allows to check read only table

    I'm new on using ADF and try to understand some things.

    Here's what I want to do.

    On the same page, I want to select a choice and a reading not results table. I will fill the table only reading based on the result of the choice of a select. Can someone tell me what I need to do to make this work?

    Or if there's an article out there that someone can tell me.

    Thank you

    In this case,.
    You create a read-only ViewObject (let's call it vo1) who will have something like: select distinct first_name of employees
    Then, you create a link between that regular VO and VO employees based on the field name like join field.
    Then you drag vo1 in a JSF page in a navigation list, and then you drag the employees in the Details vo area which lies beneath the vo1 in the data control palette.
    That's all.

  • Impossible to turn off read-only - and I already checked the Security tab

    Hello, I use Vista Ultimate.  I'm on my home computer and have full administrative rights.  Have a big problem trying to get the recovery off the power on a personal folder read-only.  It is NOT a folder on a network or is a system folder.  When I go in the folder and click on the Security tab, ALL users have full right to make any changes.    No error displayed whenever I then deselect read only on the general tab, click on or .  But when I re - open the folder and check the properties, read-only is still active.  It's driving me crazy.  HELP!?!?!?!

    And Yes, I tried this:

    "To view or to remove the read-only or the attributes of system files in Windows Vista

    1. Click on start, run, type cmd and press ENTER...
    2. To view the syntax for the Attrib command, Type attrib------? at the command prompt.

    To remove the read-only attribute and to set the system attribute, use the following command:

    attrib - r + s drive:------------

    For example, to remove the read-only attribute and set the attribute to system for the C:\Test folder, use the following command:

    attrib - r + s c:\test

    Be aware that some programs may not operate correctly with folders for which the read-only attribute and the system attribute are granted. Therefore, use the following command to remove these attributes:

    attrib - r s by car:------------

    For example, to remove both the read-only and the attributes to system for the C:\Test folder, use the following command:

    attrib - r-s c:\test

    If the run command is not listed in the start menu, follow these steps:

    Click Start, click principally made programs, accessories, and then click Run."


    And get an error that says: parameter Incorrect Format.

    Have you checked to see if the files in the folder are effectively read-only or if the only problem is that the file is checked in read-only?

    You may need to go higher in the chain of record because some properties are inherited (see advanced security of the folder until you come to one where the special permissions list including all permissions that are inherited for administrators or your user account). It does not stick because you don't have the permissions and/or ownership to allow you to make the change.  You must have permissions to full right for all folders (both on the main page and in the special permissions list) and you will have to take possession of the records as well.  Then change the ownership and permissions for yourself and administrators and don't forget to check the box for all files and subdirectories.  This should give you what you need to make the changes.  Here is some information that might help.

    To view your permissions, right-click on the file/folder, click Properties, and check the Security tab.  Check the permissions you have by clicking on your user name (or group of users).  Here are the types of permissions, you may have:http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).)  Here's how to change the permissions of folder under Vista:http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/. To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article:http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.

    To solve this problem with folders, folders takeownership or the reader (as an administrator) and give you all the rights.  Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for files and folders/player who can change the required permissions.  Here is more information on the ownership of a file or a folder:http://www.vistax64.com/tutorials/67717-take-ownership-file.html. To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article:http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.

    I hope this helps.

    Good luck1

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Hello ADF read only form

    Ok

    I'm using Idev 11 g
    "ADF read-only Table" to list 5 records and 5 columns of data.

    Records are displayed. BUT, off 5 Columns - a column cdate Date. and I want the USER to be able to update the Date column (don't forget that it's READ only table).

    Issues related to the:

    1 > 11 g what are the steps to convert this column to Date only in the form of input text so that the user can update the date

    2 > ADF this SINGLE table DROP reading does NOT come with button submit automatically. Since then, if I am able to convert / and LET the user be able to change the DATE, THEN I should be able to PRESENT this table alone RERAD to update the DATE in the database. HOW can I optimize button "SUBMIT" for this TABLE READ ONLY gets presented WITH the new date. ??

    Finally, BUT IMPORTANT. Suppose that I have to create a FORM WITH 5 ENTRIES TEXT. Actually I FORGOT TO select the CHECKBOX "AUTOMATICALLY LINK THE FORM INPUTS to BACKING BEAN OPTION" in the creation of JSF page.

    Now, JSF page WAS created with the values of INPUT 5.

    Now, I realized, oops I forgot select the Option 'Auto BIND.


    Question: WHAT ARE THE STEPS, I IMPLEMENTED THE LATTER to POWER LINKING THESE 5 FIELDS of ENTRY of TEXT IN THE SUPPORT of the BEAN as PARAMETERS to BING?

    THX
    pp

    Interesting... Check to see if it appears in another section of the property inspector. Otherwise, you can add links support bean 'manually' as follows:

    (1) in the jspx page add a binding property to the tag af:inputText. Example:

    backing_HrMain is in this case your backing bean and myINputText is the RichInputText variable in your backing bean

    (2) in your bean support add the RichInputText variable myINputText and getter/setter for it. Example:

    Private RichInputText myINputText.

    {} public void setMyINputText (RichInputText myINputText)
    this.myINputText = myINputText;
    }

    public RichInputText getMyINputText() {}
    Return myINputText;
    }

    Nick

  • Reading only question backup Tablespace

    HII!
    I tried to read-only Table backup space. So, first change the tablespace to aid
    SQL > alter tablespace users read-only;
    Tablespace altered.

    2. then taken backup of all the data files by using the copy of the OS command.

    Now, the issue I'm facing is that can I change the read_write mode table space? If Yes, then how? Help, please...

    I tried to read-only Table backup space. So, first change the tablespace to aid
    SQL > alter tablespace users read-only;
    Tablespace altered.

    2. then taken backup of all the data files by using the copy of the OS command.

    Now, the issue I'm facing is that can I change the read_write mode table space? If Yes, then how? Help, please...

    Yes you can do it,

    SQL > alter tablespace users read write;

    After the successful restoration.

    sys@11GDEMO > select tablespace_name, status of dba_tablespaces where nom_tablespace = "CKPT"

    STATUS TABLESPACE_NAME
    ------------------------------ ---------
    CKPT ONLINE

    sys@11GDEMO > alter tablespace ckpt read-only;

    Tablespace altered.

    sys@11GDEMO > select tablespace_name, status of dba_tablespaces where nom_tablespace = "CKPT"

    STATUS TABLESPACE_NAME
    ------------------------------ ---------
    CKPT READ ONLY+.

    sys@11GDEMO > alter tablespace ckpt read write; +

    Tablespace altered.

    sys@11GDEMO > select tablespace_name, status of dba_tablespaces where nom_tablespace = "CKPT"

    STATUS TABLESPACE_NAME
    ------------------------------ ---------
    CKPT online+.

    sys@11GDEMO >
    Published by: CKPT July 6, 2011 11:22

  • Display object is read-only on the static Table

    Greetings,

    I create a static af:table in JDeveloper 11.1.2.4.0 JSF,.

    temporally with 3 columns, so I can create rows and select data. When im to create as many lines and select data from all 3

    Select a column of choice, to save on the different table using methodAction.

    I do all the 3 columns can always be updated, but when im going to create a line, he throws me error in the table read-only.

    Keep in mind that temporally static table have no primary key.

    What should I do to work around this error?

    Thanks in advance for any help.

    See u object created by using wizard to only view real object?  Maybe that can be the cause...

  • Display-only in read-only model available?

    Hi people,

    I work with Apex 4.2.4 + Bootstrap 3.2.0

    Only display items, BS to a paragraph:

      <div class="form-group">
       <label class="col-sm-2 control-label">Email</label>
       <div class="col-sm-10">
       <p class="form-control-static">[email protected]</p>
       </div>
      </div>


    Apex uses however < span > s for display-only in read-only items, and the items are not in the same line as the labels :-(

    < span id = "P202_COUNTRY_NAME_EN_DISPLAY" class = "display_only" >... </span >

    Is it possible to say that instead of using a span, it must use a < p > at Apex?

    Or what I need to add a CSS class of span with padding-top .display_only?

    Thank you!

    Jules

    Jules123 wrote:

    I work with Apex 4.2.4 + Bootstrap 3.2.0

    Only display items, BS to a paragraph:

     


     
     

      class="form-control-static">[email protected]


     

     

    Apex uses however s for display-only in read-only items, and the items are not in the same line as the labels :-(

    ...

    Is there a way to say Apex that instead of using a span, it must use a

    ?

    No, but you can use the properties of the element Pre/Post text element to wrap the generated APEX span of the

    ...

    tags.

  • Is this a bug? HTML is not escaped in the conditional read only LOV page elements

    Then test my application for injection HTML filling HTML for each column in my data injected datamodel HTML running when a field only LOV ready, I noticed



    I have dynamic LOV in use in my form, so their share, users can select. That sometimes I don't want to make them able to change a value, they chose earlier.

    For this reason I condtionalu readonly my LOV. by using the conditional read only an option for the items on the page.



    That's when a dynamic LOV made readonly HTML code inside is done instead of escaped



    is this a bug or is it intentional?

    At least, I think I should be able to choose the behavior.



    Geert

    Geert - Thanks for the info. I think that's not a bug. With the read-only option, it displays the data as it would for a display text (does not save the State) items for which source of HTML element, that is, unescaped. If you want the text escaped by using your dynamic lov query simply use htf.escape_sc:

    Select htf.escape_sc ('data') d, 1 r of the double

    Scott

  • How to add the transient attribute for LOV (object of the view read-only)

    I have a view called CustomerView and attribute DepartmentId is present in it.

    Also exists DepartmentView and CustomerView.DepartmentId has an LOV from this point of view.

    I need to add a transient attribute to CustomerView which express the DepartmentName attribute in the LOV.

    Because of the view are read-only there is no entity object don't match them.

    How can I write the groovy for the transitional object expression.

    The name of the view accessor Lov's DepartmentView1

    Looking for your help. Thank you.

    Hi gcoban

    I do not understand your question correctly,

    you are not able to write to the expression property in viewObject?

    or you want to know how to write groovy for that?

    for writing groovy you need viewAccessor and you who have, you can try as Alejandro Tovar Lanz suggested

    or you can write code in RowImpl to fill in the name of the Ministry of the accessor

    See -https://blogs.oracle.com/adf/entry/combo_lov_how_to_display

    Thank you

  • How to display the box around a text field read-only - Jdev 11.1.2

    Hello:

    In an ADF Web application:

    I have an af:inputText field, but I want to say read-only. So I put the readonly = true property, but when I did I lost the video box around the field. How can I make the text read field only but keep the box around the text display? I also tried setting to off but then it displays in gray. Is it possible to have the look of text just like a field of regular text input field but make unmodifiable?

    Thanks for the help.

    Hello

    I think that you should use the disabled property and with skinning, change the color of what you want.

    For example:

    af|inputText:disabled::content {
    background-color: White;
    font-size: 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #000000;
    }
    

    Kind regards

  • Table read-only with a LOV on VO attribute

    Hello

    I have a VO ('X') which appears as a table in read-only. 'X' has an attribute called "SubscriptionId". The value of "SubscriptionId" is a foreign key to another table called "subscription". My "Subscription" database table contains a column named "Description".

    Example:

    'X' has an attribute "SubscriptionId" = 14

    DB table "Subscription" has a line that looks like this:

    14, "A description of subscription" (where "A description of the subscription" is the "Description" column)


    I created a LOV for "SubscriptionId" on my 'X' VO, whereas it should show the value of 'Description' of "Subscription" instead of the "SubscriptionId".

    If I view my VO 'X' as a form, I can see my LOV (for 'Description').

    However, when I view my VO ('X') as a table in read-only, it is not adhering to the LOV I set on my VO and instead watch the "SubscriptionId".

    What do I need do differently on my table to show the "Description" instead of the foreign key "SubscriptionId"? I want just a text output of the Description, not a list of choices.

    Thank you

    Joel

    Hello
    In simple passerby just put property ReadOnly from the list of choices in the coloum = true
    for example

    headerText = "#{bindings." DocTransactionView1.hints.EmpId.label}.
    ID = "c2" align = "center" >

    label = "#{row." Bindings.EmpID.label}.
    required = "#{bindings." DocTransactionView1.hints.EmpId.mandatory}.
    shortDesc = "#{bindings." DocTransactionView1.hints.EmpId.tooltip}.
    ID = "soc4" readOnly = "true" >


Maybe you are looking for