Html editor standart (read only)

Hi,
i thought that Read only section in Html editor standart is to generate that editor in read only state, but when i add some condition it displays only html source, without condition works fine ...
I am quite new in Apex, could it be done? mayby i am setting something wrong or more settings to be done
Thanks
David

David,
Thanks for being patient. I'll get it eventually... ;)
The readonly condition of an item is taken into account PRIOR to rendering the page and should be used when you don not want to make an item editable after the page is rendered. As you've found in the case of some items, it means not rendering the item as you might normally expect to see it. A simple example is a text which is usually displayed as such - an input item of type "text". However, when the readonly condition evaluates to true, the input of type "text" is replaced with an input of type "hidden" and an additional span is added to display the value.
If you wish to toggle an item's readonly property with the page having been rendered, then custom JavaScript code must be used.
Sorry if I'm still off. Let me know...
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen

Similar Messages

  • Render HTML text as read-only field

    Hi,
    I want to display the text entered in a rich text editor as "true" HTML in read-only mode. If I make the field read-only (Read Only = Always), the display is screwed up quite badly. Obviously CSS gets in the way somehow.
    Here's how to see my problem:
    - create a report/form with a text field (e.g. a CLOB, but that doesn't matter), displayed as "Rich Text Editor", and enter some text.
    - create the same report/form again, this time making the field read-only.
    Quite a difference...
    Has anybody a quick answer?
    Thank you,
    Thomas

    Hi,
    yeah, that would be ok. I tried it already, but if I use something like "&P8_HTML.", the HTML text is displayed and not rendered.
    But I followed this up again after reading your advice, and I found that if I enter true HTML code as the region source, it's rendered as expected. The rest was simple:
    - create a separate region for the HTML display (as you proposed).
    - make the region type "PL/SQL (anonymous block)".
    - use "BEGIN \n htp.print(:P8_HTML); \nEND;" as region source.
    Thank you all very much for this instantaneous help!
    Cheers,
    Thomas

  • Problem with HTML in a read only textarea item

    I'm working on a messaging system for our site. For the body of the message, we use a standard textarea item. However, if we come to the messaging page from a certain page in our system, then we pre-load the textarea item, and make it read only. The only problem with this is that there are HTML tags in the body that we try to pre-load. This is causing problems because they aren't being interpreted as tags, but are being displayed as text. If I make the textarea editable, then everything looks fine, it's just when I set the area to be read only that it doesn't work. Any thoughts on how to fix this? Thanks!

    Not always. A user is allowed to edit that area in most circumstances except for when the user arrives at the page coming from 1 page in particular. In this case, then the field is read-only. At all other times though, it is editable.
    As a workaround, whenever I know I'm coming from this page, I set a variable, and if the variable is set, then I use a Display Only item and then hide the Textarea. If the variable is not set, then I hide my Display Only item and show the Textarea. Not very elegant, but it works.

  • External editors and read-only folders

    I'm trying to use LR4 to work on NEF images I'd imported from a read-only directory. While regular LR4 editing works, using an external editor doesn't because LR4 insists on trying to write a file into that read-only directory. Is there a way to persuade LR4 to put the files it uses to communicate with external editors somewhere else? I intentionally want to keep my NEF directories read-only because they're synced with other programs (which would get upset by LR4 sneaking extra files in there) and because I don't want to accidentally alter anything there.

    Not for secondary editors.
    Only the primary Photoshop CSx can open a file wihtout creating it first. Then tiy ba use Save As from Photoshop to choose another location.

  • HTML-DB 1.6 (HTML code for read-only elements)

    Hi everyone,
    We have elements that we want to be readonly or disabled. We put this code under html form elements attributes
    readonly="readonly" style="background:#ddd none;color:#222;"
    It works well.
    But we want other elements to be read-only under a read-only condition type
    (HTML cell attributes on read-only), we want a kind of shadow (like we got with read-only) or a little border. I tried style="border=4px;" but everything still to be the same.
    It’s not easy HTML-DB (1.6) doesn’t offer us very good example.
    How can we do this ? We need help.
    Thanks. Bye.

    Hello,
    Your css style is bad.
    try something like this
    style="border:4px solid #CCC;"
    here is a nice primer on borders in css http://www.w3schools.com/css/css_border.asp
    Carl

  • Read Only HTML Forms using adobe livecycle Output ES

    Hi,
    We have a requirement to display the adobe html forms in read-only format. got to know from adobe consultants that Adobe Livecycle Output ES has this feature. but i am not able to find out any services or components that would give me this functionality.
    Is there a way to get these readonly forms using Adobe Livecycle Output ES.

    Dear Dfoto,
    Thank you so much for being so kind to spend the effort and reply back, I though my question was left behind the sun... but now I am very happy in deed.
    To be more specific, the Form has 2 parts. The first part "Subform1" any one can fill and sign.
    The second part "Subform2", only certain users can fill and sign.
    I think I found a very strong lead to my solution, when I was playing with LiveCycle Desinger few days ago.
    On the Singature Field Advanced Setting, there is a place you can attach the public part of a certificate (Digital Signature) of any user, one or more.
    In this part, you tell LC that only those users "signing parties" can sign the field. I tested it and it worked.
    Now, if I can use this feature via JavaScript to find out if the user who is filling the form, can sign this field, then he can fill the form. If he cannot sign the field, then he cannot fill the form. I can do that by setting the "access" property of the Subform. Another solution is that I can prevent the user from hitting the "Submit" button unless he signes the designated Signature Field.
    I have another small issue:
    I found out that if the Signature field is part of a repeating dynamic Subform, it will not work during run-time. Very bad in deed. While I cannot understand why ?, I tool this as "By Desing" feature.
    Now, if the Signature is locking parts of forms which has dynamic content (repeating subforms), it will always show somthing like "Signature is corrupted or form was changed after it was signed".
    Is this normal ? Is there a way to control Dynamic Forms using Digital Signatures without such annoying issues ?
    Thank you.

  • How to create an HTML editor on Apex with the buttons for editing?

    Hi,
    I would like to have an online editor similar to the one I am using to post this thread with a bold, itallic and links button.
    I see there are HTML editor items, however it doesn't have the bold, font buttons when I create the page?
    Below are from the HELP section.
    HTML Editor Standard - Provides more editing functionality, such as font, format and color, than HTML Editor Minimal.
    Text Area with HTML Editor - Provides basic text formatting controls. Note that these controls may not work in all Web browsers.
    Thanks.
    Edited by: Samantha on Oct 21, 2011 2:12 PM

    Hi,
    Thanks. I went to the item area and did not see it after selecting 'Text area'
    Only these items which do not have the cool editing features.
    Textarea
    Textarea (auto-height)
    Textarea with Character Counter
    Textarea with Character Counter & Spellcheck
    Textarea with Spell Checker
    HTML Editor Minimal
    HTML Editor Standard
    Textarea with HTML Editor (deprecated)

  • Can I suppress HTML escaping in a read-only item?

    I have an item that is displayed as read-only. The item contains HTML markup. HTML DB seems to automatically escape special characters in the item value.
    Is there a way to suppress this?
    For example, I have a text input item with the value:
    <b>Hello</b>
    (that is, it contains the bold elements which I want to output as is).
    HTML DB seems to be escaping the item value so I see the bold elements in the browser and what I see in the page source is: <b>Hello</b>
    There doesn't seem to be "escape special characters" / "don't escape special characters" options for read-only mode like there is for "Display As Text" items. Can anyone suggest a workaround?
    Thanks,
    Eric

    Eric - Text input items are escaped on output whether they are read-only or not. But to answer your question generally, APEX does not emit input items of any type to the browser without escaping them unless there is a guarantee that they have been escaped on input, e.g., when passed in through the URL, or that they acquired their value from within the application. These guarantees apply only to non-POSTable item types such as Display As Text (does not save state) items and a couple others. So in short, we observe the rule (which should be observed by app developers) that it is never safe (from an XSS-protection standpoint) to emit a POSTable item without escaping it first.
    In your case, can you define a safe item type (Display as Text, does not save state) and set its source to the markup-containing item that you are now displaying as read-only? If so, you can conditionally display only the safe one and hide the other.
    Scott

  • Read Only and HTML Table Cell Attributes

    Hi Guys,
    I believe i have come accross a bug - i'm been working on a form that can be filled out and printed - when going into print for sake of the output looking nice i set the form element to read-only.
    As soon as an element such as a drop down box, text feild, text area, etc which display as "[selected value]" in plain text in read only mode, are changed to the read only mode apex seem to ignore the html table cell attributes.
    For example i have a id number in the top left and then a version number in the top right. Both use a text feild; the top left uses 'width="100%"' for it's HTML Table Cell Attribute to push the right cell to the right. and the right cell has 'align="right"'. Now this works fine when read only is off... but as soon as read only is on, both the width and the alignment are totally ignored, and i can't find any sign of them in the code.
    Because this is for printing; using the "disable" on the form element instead of "read only" function, isn't appropriate as disabled will make the elements faded and hard to read when printed, and keeping the elements as is will allow the user to edit information on the print screen - which is not appropriate.
    Is this a bug? Will it be fixed soon? Is there any work around?
    Cheers,
    Alex

    Use the "Read Only Element Table Cell(s) Attributes" in the Read Only region of the Item edit form.
    Scott

  • Editor stuck in read only mode

    Am able to connect to a 9i database, but am unable to edit any code. Logon appears successful, connection made, and am able to query the database. However, when I open stored procedures for editing, the edit window doesn't respond to any keystrokes.
    The editor behaves as though I were in some kind of read-only mode. However, when I exit the procedure, I am prompted to save "changes".
    James Brockman

    Logged this as a SR on Metalink and the problem seems to be down to use of colons in my connection names.
    I was using a naming convention of
    host:SID     for accounts connecting as system and
    host:SID:schema     for accounts connecting as specific schema
    Which nicely groups and orders my connections by host. Sadly this prevents edit of stored pl/sql units (package, procedures, functions)

  • Write-protect mode is currently active. The editor is now in read-only mode

    How do i get the portal out of write protect mode.   No matter what i change to do, i get the message
    Write-protect mode is currently active. The editor is now in read-only mode.
    this shows up in the log
    10/06/10 16:21:21 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/com.sap.pct.bi.tct.BI_Administration..
                         Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception during
    deploy: Import aborted - write protect mode is active.

    Hi David,
    Do the following steps:
           1.       Start the Visual Administrator .
           2.       Choose Global Configuration   u2192Server  u2192Services u2192com.sap.portal.pcd.gl .
    The properties of the service are displayed:
                                a.      Pcd.Pl.WriteProtectActivated defines whether or not write-protect mode is activated. By default it is set to false .
                                b.      Pcd.Pl.WriteProtectCause  describes the reason that write-protect mode is activated. This information appears in the log files.
           3.       Deactivate write-protect mode by entering false  as the value for Pcd.Pl.WriteProtectActivated .
           4.      C lick Update and then click Save .
    A confirmation dialog box opens.
           5.       To apply the changes to all cluster elements, click Yes .
           6.       To reset the default values, click the Reset Default Global Properties icon .
    This will deactivate the write protect mode.
    Thanks and Regards,
    Syam.

  • HTML (Editor) region should scroll vertical only

    Hi,
    I have a HTML Editor . I want to restrict the width of it. I mean I want vertical scroll only, not horrizontal. For long sentences,it should go to next line after limit .
    Thnx in adv.

    Hello,
    I think that it would be difficult to make because the size and font of text can be different. You have to write difficult javascript algorithm for determining row size, for pasting <br> tag at the end. Anyway you will have to change standard Apex HTML Editor component, that is not recommended. Don't waste your time for this and find another way for solving you problem.
    Best Regards, Kostya Proskudin

  • Does anyone know how to remove read only status from html document header

    Greetings, I am trying to insert a slideshow widget inot a dreamweaver site using a dynamic web template (DWT). I get the error message unable to insert because header is read only. Any ideas of how to fix this?

    People hate it when I do this, but I'm going to get on my soap box again.
    If you are not an expert or at least highly proficient at modifying XHTML and CSS code, you should NOT be working with DWT files. Until you FULLY understand how to edit and modify nested, editable, parent and child regions, you will have nothing but trouble working with DWTs.
    I've been writing CSS, HTML and XHTML for seven years and I don't mess with DWTs because I'll admit I'm a control freak and I can't stand having any part of a web page locked up by another file.
    Use the pre-designed pages in DW, or download a layout from one of the many sites that have them, but until you are an expert at codework, stay away from templates (dwt). You'll save yourself a lot of headaches.

  • HTML DB - Read only - Disable elements

    Hi everyone,
    I made a javascript to disable elements when my user is in a particular group. It's ok. But, I want my disable elements look a like "not disable elements". My disable elements are less attractive for the eyes. The only difference that I want is disabled := 'true' or disabled = 'false'.
    I try also Read only.... but the frame of my elements disappears. How I can add attributes to those elements (check box, textfield, radio group button) to look a like "not disable elements" ?
    Thanks. Bye.

    Hello,
    Your css style is bad.
    try something like this
    style="border:4px solid #CCC;"
    here is a nice primer on borders in css http://www.w3schools.com/css/css_border.asp
    Carl

  • Textarea with HTML editor is not working

    Hi all,
    This is producing me a real headache.
    I created the simplest application in the world with one Textarea with HTML editor, and the editor control does not show the usual tool bar for fonts, color, alignment, etc. Just a ordinary textarea.
    Moreover, this was working before... I moved to another location in my work (me, not the server). Yes, I thought about the Internet Explorer, but Firefox has the same issue.
    So any idea I can try to make this work?
    I have another applications already in production with the same issue.
    Need help!!!!!!!!!
    Thanks in advance.
    Lukas.
    Application Express 2.1.0.00.39
    Oracle Database 10g Express Edition Release 10.2.0.1.0
    Internet Explorer 7.0.5730.11
    Firefox 1.5.0.11
    Windows XP Service Pack 2
    1 G Ram
    Pentium D CPU 2.80GHz

    Lukas,
    I would go and integrate FCKEDITOR (http://www.fckeditor.net/ ) into your application.
    Here are instructions on how to achieve this (sorry but only in German):
    http://www.oracle.com/global/de/community/tipps/einbinden_fckeditor/index.html
    It basically means:
    1) copying the files from fckeditor under the /images directory
    (you can use the instructions here: http://daust.blogspot.com/2006/03/where-are-images-of-application.html)
    2) creating two shortcuts INCLUDE_EDITOR_SCRIPTS and EDITOR
    3) placing the shortcut INCLUDE_EDITOR_SCRIPTS into the page html header and
    4) placing the shortcut EDITOR into the post element text of your plain textarea element
    That's it.
    BTW, FCKEDITOR has been included in Apex 3.0 as a standard item type.
    Regards,
    ~Dietmar.

Maybe you are looking for

  • How do I enable users to attend on Lync 2013 meeting on Windows 2008 R2 Terminal Services/XenApp 6?

    Hi, We are not using Lync internally. But some of my users need to attend Lync 2013 meetings. We run a Windows 2008 R2 Terminal Services/XenApp environment. Users are not allowed to install applications. In the past, I was able to install administrat

  • Artwork off artboard disappears

    My artwork disappears if it's not on an artboard; how can I change this so graphics off to the side are still visible even if they're not on an artboard?

  • Designitems moved automaticaly one column to the left

    Hi, I just upgraded to frondend SP 14 patch 1  (GUI 6.40, BI 7.0) When i insert a button (or analysis grid or navigation pane,...) and I possition my button on B15, the button is placed on A15 and B15! has anybody else have this problem? Joke

  • Clarification of earlier post

    Original post: I am trying to make a fairly simple program that will keep track of dealers at a car dealership. When I use in.read() and get to a point to where I hit Enter, it interperets that as 2-3 keystrokes of Enter. In my switch menu, it gives

  • Symbol as part of an e-mail address...

    hello. I use Mac Mail. Every time I try to type in a friend's e-mail address in a new mail message, a symbol pops up in the address field as part of the actual address. I delete that part of it, but as soon as I hit the "enter" button (so that the cu