[JDev12c, ADF] How to make a readonly form which shows InputTexts in boxes

Hallo,

I would like to create a form read-only af:form a datacontrol wherein the text in each field is sourrouned in its box.

I see I can make this setting the attributes VO true Updatable property but in this way the contents of the boxes is editable.

The VO is a basic database query must be sure... but however I don't want to let the user edit the fields différance.

Thank you

F.

You can have the same look you mentioned. But to do 2 things.

1. the value disabled = "true" for all the input text which will give you a non editable field, but not the same style an input text enabled
2 customize the skin only a little for entering text like:

af: inputText:disabled: happy {

background-color: #FFF;

background-image: url(/ADFDemo1-ViewController-context-root/afr/fusion/inputText_bg.png);

background-repeat: horizontal;

Color: #333333;

}

You can have the image "/ ADFDemo1-ViewController-context-root/afr/fusion/inputText_bg.png" to inspect the element of your browser as http://localhost:7101/ADFDemo1-ViewController-context-root/afr/fusion/inputText_bg.png

Tags: Java

Similar Questions

  • Simple question - how to make a readonly field

    Simple question - how to make a readonly field

    Hi DougBlincoe!

    I think you're looking for this:

    1. create the element. See "creating a Page level item.

    2. navigate to the appropriate page definition:

    Go to the Home Page of the database.

    Click the icon of the Application Builder.

    Select an application.

    Select a page.

    The definition of Page appears.

    3. under items, select the name of the element.

    The attributes for the element page.

    4. to display an item under certain conditions:

    Scroll up to Conditions.

    Make a selection in the list Type of Condition.

    Enter an expression in the fields provided.

    * 5. To make an element read-only: *.

    Scroll to display playback settings.

    Make a selection in the playlist only Type of Condition.

    Enter an expression in the fields provided.

    Click on apply changes.

    Here, you will get more information about this:

    # Create the item. See ["Creating a level of Page element" | http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/bldapp.htm#BCEFHBHG].
    # Navigate to the appropriate page definition:
    # Go to the Home Page of the database.
    # Click the icon of the Application Builder.
    # Select an application.
    # Select a page. ------------------Definition of Page appears.
    # Under items, select the name of the element. ------------------Page attributes for the element.
    # To display an item under certain conditions:
    # Conditions scroll.
    # Make a selection in the list Type of Condition.
    # Enter an expression in the fields provided.
    # To make a read-only element:
    # Scroll the display reading settings.
    # Make a selection in the playlist only Type of Condition.
    # Enter an expression in the fields provided.
    # Click on apply changes.

    Here, you can read more information about this:

    http://download.Oracle.com/docs/CD/B25329_01/doc/AppDev.102/b25309/bldapp.htm#sthref805

    I hope this helps!

  • How can I add a formula which attaches to other boxes in adobe acrobat pro 11?

    How can I add a formula which attaches to other boxes in adobe?  I can easily put it in excel or word but the difficulty to do in acrobat pro 11.  It is for a contract and required for add, subtract, and multiply different numbers around the page they came.

    This tutorial is a good starting point: http://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations

  • How can I change my photo which shows on the screen of my account.

    Original title: How can I change my photo which shows on the screen of my account.

    I have a picture on my account sign in the screen that I don't like.  Please tell me how to change and put a different picture.  I looked and looked, but can't find how do.

    I have a picture on my account sign in the screen that I don't like.  Please tell me how to change and put a different picture.  I looked and looked, but can't find how do.

    Hello

    Go to the start screen, then click on your account name in the upper right.

    Select change image account.

    In the next window, click on the Browse button.

    Navigate to the image you want to use, and then select it.

    Click the choose Image.

    Concerning

  • How to make a horizontal form report

    Hello

    How to make the report a horizontal form (reports 10g) I do not find this option...

    Emel

    You must set the DIRECTION under the data model - the system to the LANDSCAPE parameters
    under section hand presenting model properties set width and height

  • How to make a web page which changes each time the user refreshes? Is it possible to Muse?

    Hi, I would like to make a simple site where the main text in the center of the page changes whenever the user refreshes the page in their browser. I guess I'll have to do a master and several pages that are all the same except for changes in the text, but I don't know how to make sure each update goes to another page and not just the home page? Is it still possible in the Muse?

    This is an example of what I'm going: : procatinator:

    Thank you!

    You can't do it with only Muse. Would be probably pretty simple to do with a bit of Javascript. Check the widget directory such that it is possible that someone has made a widget for random content. If not, maybe I'll do one this weekend. ;-)

  • [JDev12c, ADF] How to get the value of a field from the selected line in af:table and...

    Hallo,

    I want to double click on a line of an af:table to call a page that displays a form (based on a View object) with the details of the selected line.

    I need to go to the second page the value of a field on the line that is selected on the first page.

    How can I do this? In particular, how can I get the value of a field from the selected line? How can I call the second page on double-click on the af line: table?

    Thank you

    F.

    Why would user, you need to pass a value of the line to the shape?

    The framework selects the line you want to display in the form. All you have to do is to show the form with the selected line. It is the framework automatically as long as you use e vo even the same data control.

    Timo

    Post edited by: Timo Hahn
    And the handling double-clicks is described here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/56-handle-doubleclick-in-table-170924.pdf

  • How to make MessageStyled readonly text

    Hi all


    I have a requirement, I have a custom page that has items to an advanced tableRN MessageLovinput, MessageTextInput, MessageStyledText, MessageChoice, now I have to make these fields readonly according to certain conditions.
    now how to messageStyledText readonly element.
    I can't SPEL, but how to messageStyledText readonly element? programmatically is possible?
    can someone suggest me please.
    and iam thinking readonly advanced table instead on making the different fields readonly, is this possible?

    any quick response appreciated...  :-)
    Thanks to you all.

    1. create an existing Boolean attribute transient vo.
    2 define the syntax of the SPEL in the property read-only for the attributes of the table that you want to make read-only.
    3. in controller call method in AM
    4. in AM: yourVO.setAttributeValue ("yourBoolAttr", Boolean.FALSE);

    That's all. your field is read-only

    Edited by: user6400327 the 07.11.2011 02:53

  • simulate pressure in illy? or show me how to make a radial form progressively more peas

    Hello

    I'm doing a similar shape to the lower right RADIUS in this image.

    Looks like a radial who then had illy 3D effects applied to it.

    I can use the transform each command under effects for a radial, but this isn't a perfect circle.

    I can't make a brush with simulated pressure, otherwise, I'd half a circle and apply that brush and then use the transformation of each order.

    For the most part, I can understand how this form, I can't understand how make a half circle with a big point at the Center and gradually more dots notifies the ends.

    Can you help me?ist2_12880138-abstract-3d-icons.jpg

    1. Make a scatter brush
    2. Expand
    3. Then each race individually

    Don't know an easier way to draw individually no, but sometimes it's a good thing, that your work is not easily replicated.

  • How to make a data form?

    I am trying to add a 'Form' data entry for a spreadsheet on my Mac. I found that there is an 'X' which led to a compound shape fields on a spreadsheet on my iPad.  Is there such a thing on the Mac version of numbers?

    No, the numbers for the Mac currently have no forms.  I think that thinking must be that they are less needed on a larger screen.  You can make a suggestion via numbers > provide comments numbers in your menu.

    SG

  • How to make a button form create a pop up or make the text appear on the screen?

    I need help creating a fake site. Everything I want is when the user clicks on the button submit to a text box below the submit button or a message box pops up saying: "Please fill in all information." or "an email has been sent.

    The email is not real, no e-mail will be sent to the person entering the details.

    If the user does not have all the information, I would like information for stay and the message box, or the text to appear.

    If the user has put all the information, I want the message or text box to appear, but information disappear as the form was reset.

    Someone at - it a solution?

    Someone who knows how to code the buttons to do the other sections of the page appear, or become visible.

    Here is the code for the form... now you need to copy and paste it instead of what you already have, which is configured incorrectly.

    Membership

  • How to make the vector form

    Image1.gif

    Needless to say, I'm new to Illustrator... I hope that my request is very easy to explain "how"...

    I want duplicate meanings that it be a vector so it scales smoothly and large.

    Any help will be appreciated.

    Thank you

    All you really need to draw are 3 equal trails.

    This is the basic premise. You will need to play with it a little to get the path correct forms.

  • How to make 2 different forms for 2 different users with a single report?

    Hello

    I have a report based on a table with many columns.
    There are two different groups of people who will use this report.
    These two groups of people need to have different forms in order to complete the information as to specific columns.

    How can I allow users from the first group to use a report and the second group, users use a (different from the first) second form - first group will have to fill in the information for the first 5 columns and the second group will fill in information for the last 5 columns. However, the two groups should see all the report.

    Thank you in advance.

    Hi Rita,.

    OK - do you want to have two separate pages, one for each type of user?

    If so and you want one button to manage this for you, it is possible that the page a button can be calculated using a function.

    Create a new branch on your page and set the Type to "branch to function returning a page.

    As part of PL/SQL, you should return a string that represents the page number to create a branch to. How you do this depends on how you identify the type of user. For example:

    IF IsAdminUser(v('APP_USER')) = 'Y' THEN
     RETURN '2';
    ELSE
     RETURN '3';
    END IF;
    

    This requires that you have a function called IsAdminUser that checks if the current user is an admin user - if they are, the function returns "2", "3" is returned.

    Set this button to be triggered by the button. Remove any other branch which is also triggered by the same button that only a branch can be performed.

    Andy

  • How to make a new form in the Mainmenu submenu options?

    Hi you all form gurus.

    I desperately need your help.  Because I did receive one of the answers to my question, just thought to move the original title for the content below and edited the title and we hope to get more attention to my request for help:

    Why a new form in the submenu of the Mainmenu options is grey out?

    I added a new form as one of the options in a submenu in the Mainmenu.mmb.  But the new form is gray in the submenu.  The new form has been compiled OK without any errors, and I was able to create an executable file.  After addition of the new form of the form of application security, but the new form is always grayed out (not accessible). What seems to be a problem here!  (It's probably a very simple/simple problem of these gurus of forms there.)  BTW, we are always in forms 6i w / Oracle 10.2.

    Thanks in advance for any help.

    Hi all

    Finally, I thought about it and share the solution with you all.  I changed the article "Enabled" section in the palette property of the new item in the menu of the 'NO' to 'Yes' and because of this my new accessible form (i.e. it is is more gray in the submenu option.)  The thing that made me for awhile was enabled is set to 'NO' for all other submenu items and my way of thinking, that's why the new form must be different from the rest of the elements.  Lessons learned here is never assume anything until you try it.

    See you soon!

  • [JDev12c, ADF] How to associate a workflow already existing with a new workflow model

    Hallo,

    When I started at the develop my application, I created some defined the workflow.

    Now, I created a workflow template and I would like to associate it with the workflow created earlier.

    How can I achieve this?

    Thank you

    Federico

    You must enter the code inside the task-flow-definaiion below.

    /Web-INF/task-flow-template.XML

    task-flow model

    Thank you

Maybe you are looking for

  • Feedback: Apple

    Is there a way to restore power to the application overview? So far, the app is not listed on the apps on apple feedback page.

  • You can view a tv on a laptop W500 signal?

    I know that the question sounds crazy - why would anyone want to do that? - but RockSmith, a guitar on our Xbox360 learning program, can also be configured as a relatively sophisticated (for the price) amp-more-effect-bridge which will mix our live g

  • Finished SystemToast SIGNAL not

    No idea why this is happening? Is this a bug? void HelpPage::showToastNotification() { SystemToast *toast = new SystemToast(this); toast->setBody("Success."); toast->button()->setLabel("Open"); QObject::connect(toast, SIGNAL(finished(SystemUiResult::

  • Development of 10 Blackberry

    I am currently developing an application using blackberry10 through QNX Momentics. I have already installed this IDE. And installed VMWare but when I try to run the Simulator with VmWare, it's not showing anything the last line of the screen is [SERV

  • How to set up a new folder?

    I have Windows 8. !!! Nothing seems simple. I just want to create a new folder... That's all