ADF: conditionally disable a field in a table - but not the entire file

Hello people!

I want to implent the following:

Suppose I have a table showing all employees. There is a flag that indicates whether or not the employee is a Manager.
If the flag is Yes, "Salary" field (and only in this area) should run in read-only (or disabled). In other words, this scenario is that, if an employee is a Manager, no one can change his salary (too bad...).

I tried the isAttributeUpdatable, but this will make the whole of the noneditable file.
I tried EL in turn it off and the read-only column attribute (something like #{bindings.managerFlag.inputValue == '1'?) "true": "false"}), but it did not work at all. "

Do you have any suggestions?

Thank you very much in advance!

>
(something like #{bindings.managerFlag.inputValue == '1'?) "true": "false"} "
>

Try #{bindings.managerFlag.inputValue == '1'}

Tags: Java

Similar Questions

  • Write a string and an integer and a table all in the same file?

    Hello

    I am currently it several different types of values with LabView.

    I have a shot, a few numbers and several paintings.

    Thus, for example, I have a timestamp of the chain, several values of "integer" amplitude of the signal for example, RMS value, frequency and I have several paintings - table of signal, the FFT (PIC and location) values.

    Basically, I'm trying to find a way to write all the values in a single file. I can write all the individual types to separate files (so I can write the RMS, amplitude and frequency to a single file, some of the tables in the other)
    but is it possible to write a string and an integer and a table all in the same file?

    Pointers would be much appreciated,

    Thank you

    Paula

    Your file will be all text... any format in a table of text, to build as a single table, "table chain worksheet", to write to the file.

    (I'm sure this has been on the forums before... a search it would have thrown upward)

  • SWF is MIA on a field, but not the other?

    I have a modest Web page which I use primarily to set up the occasional photograph of the family:

    http://www.staggclan.com

    .. .and that contains a Flash xreferencing file a Flash video. That's what it is supposed to look like: http://www.dfwaug.net/test/index.html.

    As you can see - the video works very well in this last example (it's the same hierarchy). But why don't you see the video on my site? You can take a look at the source for staggclan.com on this page and you can see that I'm NOT xreferencing my hard drive and I am referencing an image that has not been downloaded (although I was - you would see at least one indicator 'broken image'). It does not even include space for where this video should be - it's as if he was not yet placed there.

    For the life of me I don't know what the problem is. Why is - that will work in a field, but not the other (both hosted by 1 & 1. com)? One who can correctly solve this problem for me will find me ETERNALLY THANKFUL.

    All the best.

    I'm just using DW8 to insert this .swf on a page. Obviously, I had deleted by mistake the "Scripts" folder is published with the course when I put on my server - so - no multimedia.

    Its a long time I have been using DW since now, we mainly use eLearning software rapid development. Gawd how I miss DW. Fortunately, I get to 'play' with it from time to time on the home front and have since updated my 'official' home-homepage which is now showing the video correctly:

    www.staggclan.com

    It was certainly a learning experience...

    Kevin

  • Field name uncreated table but cannot change even in oracle 6i report

    I have an emp information report, I've increated ename field width of 10 to 15 characters in the table and insert the name of length 15 characters in the emp table, but when I ran it report its name of the character 10 showing in the report, I tried to update the width of the name field in the report, but I cannot do the same.

    Can someone please help and let me know how can I increase width of name field in the report.

    Published by: Mohan Kumar on May 13, 2013 08:34

    I know it's really stupid in the reports, but you must use a workaround:
    Open the query and modify just with something wrong (such as adding a space somewhere). This will cause the generator of reports for re - analyze the query.

  • Forms to fill out and Distribution: to flatten author text but not the form fields

    OK people, first time posting on this forum, but certainly not my first time looking for answers!  I was quite managed with other issues if I think I myself stumped on this one.

    I created the form fillable 'generic' I'm going to use to distribute to various contacts for some upcoming projects that we will participate in.  Because each project will be different, instead of having to create a new form every time, I hope that with my base model form I can enter various information with the type writing tool and somehow to protect this information to be edit/delete while allowing my contacts to enter their information in the form fields.

    I tried to apply the different variants of security features, but the downside of this is that it does not "distribute" my form so that it can be track with Adobe Tracker.  The only way I can successfully distribute this form for the masses and track responses is if all the security settings of the document are disabled.

    I hope that this logic all how I explain it.  Because the information (not the form fields) on the document sent to the changes each week, I was hoping there would be one easier way other than creating a form to complete for each new.  I'm not an expert of Actions, but it would be possible to create an Action that would "flatten" the text of the type writer only?  That would at least prevent third parties to manipulate or remove information that I placed on the document.

    This free tool based on JavaScript for Acrobat is what you need: http://www.uvsar.com/projects/acrobat/flattener/

    The typewriter tool creates a type of text box, so that you would select just this box to flatten.

  • Programmatically set the size of a table control (not the number of col and lines)

    Hi all

    I am trying to create a little VI, in which the user selects the number of columns and rows in a table, and after clicking on a button 'OK', the table control is displayed in the control panel (to be filled in by the user). To do this, I use the nodes property to the number of columns and lines. I have no problem with that.

    However, I want to "limit" the size of the control table (control of himself, not the dimensions of the table) and make use of vertical and horizontal table, the scroll bars. I want to avoid it is that passes type 100 user and 100 lines and appears a huge table control.

    I could tho this by using an array instead of an array, via the node property "size", but I would use an insead table a table.

    Thank you very much

    Daniel

    With a table control, you cannot set the display size to be anything other than a multiple of a complete cell.

    If you are limited to a number of lines and columns.  If you want to resize with more control you also need to resize the control within the Bay, accessible via the property 'picture Element '.

    Another option (but seems huge exaggerated) is to place your table in a secondary and set the size of the secondary to the size you need and enable scrollbars for her.  It is not an option that I would choose but if it helps...

    Have it, your description of your user interface sounds not very intuitive.  How the user knows at any time exactly what cell they access if they have to scroll backwards?

  • Graph of a table, but not all of the ranks of it?

    I'm graphic of a data table so that several waveforms appear on my graph of the waveform. The table has 500 lines, but I will not draw everyone, only the first row, 20th, 40th, 60th,..., 500th row. I was thinking of using a loop for to extract the lines, I need using the VI "subset of the table", but I don't know how to configure the inputs. In addition, if there is a better way, can someone let me know? Thank you!

    Had some access to LabVIEW. Something like that? For scalability, you probably want to replace the constant 500 with a function to get array size. That way if the size of your table changes, you will ensure you will always get all the data without modifying the code

  • Visible data in a 2D table but not in the Table connected control

    In the attached drawing, you will see that I take control of Table in table form, change the items to help replace a subset of table and then return the resulting table in the Table control.

    I can see my data in "Table of output" and a probe on this thread, but my Table control is empty.  The Table control is 10 columns of 50 lines.

    Can someone tell me why there is no data for the Table control?

    Please do not ask I post the VI because it is big, ugly and not mine to post.

    I can't believe.

    I couldn't see the data because it was out-of-frame.  My Control Panel flashed down a 30 line window and my data was in the first line only.

  • Build the name of guard of the table of the last element, but not the others. Workaround solution?

    Hello

    Sorry if this has been posted before, I did the search first, but can't find anything.

    Problem is that I have two configurations which are identical and must be ordered by a single vi. Given that they are the same, they are configured with the same sets of parameters so I decided to create a cluster of these and then build an array of clusters. In this way I need to use only a thread and if I need a given parameter I can get it easily from here (or so I thought) and also because I need to see if anything changes I can compare a thread instead of each of the parameters.

    The gui has the list of parameters, then in the block diagram I group them appropiately, using "Bundle name" and then each bundle in a table by using "build the table. Problem is when I have the index in the array for the first place of the configuration and usage to unbundle the parameters I need, using "ungroup by name" (although if I use "Unbundle" the same thing happens) and lo and behol, the output names come from the configuration of the second, not the first.

    Here's the curious thing, though, even if the names are all wrong, that the values are correct. I could live with that, but it's more boring it will be another very difficult user to understand the schema more this is just a proof of principle to test with two, eventually there will be eight or more and who's going to get really confusing.

    Is there a way to get around this? Even if it is to change the names after unbundling.

    Check the attached vi to see what I mean.

    I think you forget an important point on the tables.  The only thing that may be different between each element of a table is its value.  The elements in the array must all share the same properties.  This would therefore include the names of the different elements that make up the cluster that is a table element.

    It seems that the last group that builds in the table is the one that defines the names of the items that are in the element of the cluster.  You must give all elements of the array with the same name within the cluster.  Or use a cluster of clusters rather than a table of cluster to create your data structure.

  • Define a field as a Focus but not clickable

    Hey devs,

    I'm doing a field that can be worn but not clicked on, I searched the forum and found different solutions. I have finally come to this:

    FontField fontField = FontField(FOCUSABLE | nouveau Field.VISUAL_STATE_FOCUS |) Field.USE_ALL_WIDTH) {}

    protected boolean navigationClick (int status, int time) {}
    return true ;} ;} ;

    However the menu always appears when I click on the field. Clues?

    Thanks a lot for your help...

    Try the substitution of navigationUnclick as well.

  • [ADF, JDev12.1.3] 'Enter LOV': how to show the magnifying glass (but not the inputText)?

    Hallo,

    I have associated with an LOV entry field (FieldA) and I configured the LOV to return the value for the field LOV itself plus other 2 values to fill other 2 fields (FieldB and FieldC).

    So I have:

    FieldA |... | (Magnifier)

    FieldB |... |

    FieldC |... |

    I would like to see the magnifying of the LOV FieldA field but not his inputText.

    Is it possible to do this? If so, how?

    Could I choose the magnifying glass should appear next to what area?

    Thank you

    Federico

    You can add: contentStyle = "" display: none; "to your component LOV;"

    Dario

  • Privileges - hide the data on the table, but allow the visualization of the table structure?

    I was wondering if there is a lien that would allow someone to be able to view a table exists, its column names, but hide the contents of the actual data in the table?

    I know he has a right to SELECT which, if not given it seems just totally hide the table

    Thanks in advance

    I was wondering if there is a lien that would allow someone to be able to view a table exists, its column names, but hide the contents of the actual data in the table?

    The solutions are:
    -grant SELECT on DBA_TAB_COLUMNS ;
    -a custom view SYS. CUSTOM_TAB_COLUMNS selects from DBA_TAB_COLUMNS, which is filtered for specific schemas/tables.
    -Fine grain access
    -Security label

    Published by: user11181920 on October 23, 2012 11:15

  • Need to hide, obscure, hide the field entry, but not the field itself

    Hello

    I did it just now and I used the UGLY way. I had the user to enter in their value, and then on the calculation and the field trip, I changed the value of * asterisks. That sucked because I had to save the entry in an additional variable and it just made my code a big mess. I know there is a better way to do it via script format or typo (I hope!), but I can't wrap my head around how things work. Can someone please help me understand?

    I need to take the value typed into a field and simply hide to hide the value of any person who could open the form later.

    Thanks in advance.

    Properties - tab field Options (make sure you check spelling, Multiline, allow the rich text formatting and comb are not checked to activate it).

  • Able to add colspan with jQuery to table on one page, but not the other.

    I am able to use jQuery to add an attribute colspan to one of the rows in the table on a regular with products catalog page, but when I try to do a catalog that has instead of product catalogs, I see not the colspan attribute when I inspect the lines of the table.

    The catalog I'm talking about is http://www.thesanfordcenter.NET/suite-menu . The catalogue is secure. I have set up a temporary account and a password if you want to view the pages.

    ID: test

    Password: account 1

    I wonder if this is a problem with my jQuery or maybe what layout, I have jQuery on. Any help would be appreciated. Thank you.

    This page has some errors coming JavaScript on it.  If you press Ctrl-Shift-J or Cmd-Shift-J on a Mac in Google Chrome you will bring up the javascript console.  Anything in red is usually a javascript error or a 404 error for assets that are not found... you should always try to clean them.

    In this case, your "expstickybar.js" file is loaded on this page, and he introduces a "jQuery.noConflict (); statement that basically removes the possibility of using the variable ' $' as a quick trigger jQuery methods.  This is not the case on the pages of your catalogue main is because you only reference this script with a relative url: 'expstickybar.js', so when you are on your catalog at http://www.thesanfordcenter.net/suite-menu/appetizers page then it is looking for your javascript to http://www.thesanfordcenter.net/suite-menu/appetizers/expstickybar.js files so it is not find it is coming as a 404 error.

    A fast solution would probably be to try to remove or comment on this first line in expstickybar.js that says "jQuery.noConflict ();".  This might work, but it is also possible that it will break your expstickybar.js script. If this does not work, you should probably go into each of your statements of jQuery in your pages and wrap them up in a function that explicitly said to use the variable "$" for jQuery:

    (function ($) {}

    YOUR OLD JAVASCRIPT HERE

    (}) (jQuery);

    On a side note, also included two libraries jQuery in your site and that is never a good idea... you have jQuery 1.4.2 loading in the HEAD of your page or the page template and then you are also to load jQuery 1.6.2 in the BODY of your page or your page template.  You must use one or the other.  1.4.2 is old enough now, so if I was you, after you try to correct the mistake of jQuery.noConflict () you have got going, you need to move this jQuery 1.6.2 reference in your BODY element and replace it with jQuery 1.4.2 marked in your HEAD.

    Also - you should change your reference in your page templates to make the "expstickybar.js" a URL relative to the root instead of a relative URL of the file.  Change:

  • date field formulas return but not the time

    Hello everyone, I currently have a field in my database to store a date and time. However, the corresponding field in my forms generator seems only to display the date and not the time. Does anyone have an idea why this is happening?

    Thank you.

    Also, check if you have defined a format mask. If so, make sure that the time format is included.

Maybe you are looking for

  • BT Stack selling or free license - but not for sale and not free

    Hi team Toshiba You did a good job over the years with the bluetooth stack. I think that your development team is the only professionally developed battery bluetooth for windows. It's happened that I bougt garage a SONY VGN-BX197XP laptop a few years

  • Extended automatically Y460p

    Anyone here who is having the same problem? I turned off turn off the monitor after x minutes even installed the new copy of windows and tried testing the memories. It happened after that that they changed the motherboard after a problem with on/off

  • Cannot install the update system for Xperia E1

    I can't upgrade my Xperia E1 to the latest version 20.1.A.2.13. My mobile Update Center shows me the update of the system. I can download the update, but when I click on install I get an error it says not able to install the new version of the softwa

  • Cannot delete images in the supplier portal

    Hello Sadly absolutely nothing happens if I click on "Remove picture" under "Portal vendor / product management / graphics. I want to manage the screenshots of my application. Please help or give some advice.Thx.

  • Unsupported printer driver

    I am a new user. I tried to post a question a few minutes ago, but am not sure if the question has been received by the community or not. Here I refer my question. I have a portable Linovo and a Canon Lasershot LBP 2900 printer model. Laptop computer