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.

Similar Messages

  • Problems with Conditional Display and Read Only

    Hi Everybody,
    I have a form to Add/ Modify Table Info.
    I have column which stores numeric value (like no. of purchases, no.of returns etc.,) and I have a text field with this Database column as Source.
    In some cases the value is a foreign key (Id of the Owner, Buyer etc.,) to another table. In such cases, I want to display a select list containing people information. Is that possible?
    This is what I did to achieve that
    I added a select list with info from second Table. Made both the text field and the select list to conditional display and conditional read only.
    My understanding is that When an item is made read only it should not be saved to the Database.
    But while Updating I am getting the following Error
    ORA-06550: line 1, column 130: PL/SQL: ORA-00957: duplicate column name ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored.
    Any can anybody help me out on this?
    Thanks
    Nimmi

    My understanding is that When an item is made read only it should not be saved to the Database
    No, all page items with a Source Type of "Database Column" will be used by the Automatic DML process to insert/update the database. Form inputs with the "disabled" HTML attribute set are not POSTed to the server.
    Try to create 2 items, one Select List and other Text Field but setup their conditions such that only one of them is rendered on the page at any given time. That might work.

  • Re: office:mac 2011 problems with xcel docs becoming read only

    Hi
    I have office 2011 loaded on my Macbook Pro.  When I save my xcel docs and then try to reopen, I get a message to say that the doc has been locked (by me) and is read only.  If I agree to the read only, the doc opens and then another mess comes up saying that the document HD:Users:etc.xlsx is available do I want to edit.  If I choose the yes option, I then am asked to save under a different name.  Why does this keep happening.  I am new to Mac. Tks yr help

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  'resetpassword' (without the 's) and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/

  • Problem with HTML viewer

    Dear All ,
    I am facing a problem with HTML Viewer . My senario is as follows :
    1. I have created one HTML page . On that page there are 4 Images
    2. I imported that HTML page in SAP with the help of transaction SMW0
    3. I Called that HTML page in my ABAP program using the method "load_html_document" of class cl_gui_html_viewer
    4. This is happening perfectly ok on the machine on which all this developement was done.
    But the issue is when I execute my ABAP program on a different machine , those Images on that HTML page are not displaying.
    Can you please guide me how to remove that machine dependancy?
    Regards,
    Nikhil

    Hi Nikhil,
    Please check if the image is properly imported properly. Also check if there is any option which you might have forgotten while imported like dependeency.
    Regards
    Abhii...

  • Problems with SharePoint2010 and Adobe Reader X

    hi all,
    i have a big problem with SharePoint2010 and Adobe Reader x. We can open .pdf Files from SharePoint but not Safe. The Error Message is "
    SharePoint, SQL and OS are installed in English. The problem is that the site was probably created from a German template. One would have to create the site from an English template and then add the other languages by MUI. It is a matter which language site in the settings under Language Settings is uppermost to:
    how can the problem be solved?it looks like here, the reader still an error..
    andre

    Hi,
    Could you repost the error-message that you see in Adobe Reader? The problem might be because of a known bug in Microsoft SharePoint server 2010. Certain required field types are missing in the German/French site templates which cause a SOAP request on the server to fail. A workaround is to add these field types to the library. You could add these fields manually or using a script. You could look for following field types which might be missing from the site template.
    "Content Type ID","Approver Comments","Name","Document Modified By","Document Created By","File Type","HTML File Type","Source URL","Shared File Index","Title","Template Link","HTML File Link","Is Signed", "Document ID Value", "Document ID", "Content Type", "Created", "Created By", "Modified", "Modified By", "Has Copy Destinations", "Copy Source", "Approval Status", "URL Path", "File Size", "Item Type","Sort Type", "Effective Permissions Mask", "ID of the User who has the item Checked Out", "Is Checked out to local", "Checked Out To", "Unique Id", "Client Id", "Virus Status", "Check In Comment", "Edit Menu Table Start", "Edit Menu Table End", "Server Relative URL", "Encoded Absolute URL", "Property Bag", "Level", "Is Current Version", "Item Child Count", "Folder Child Count", "Select", "Edit", "UI Version", "Instance ID", "Order", "Workflow Version", "Workflow Instance ID", "Source Version (Converted Document)", "Source Name (Converted Document)", "Document Concurrency Number","Relink", "Merge", "Path"
    Thanks,
    Richa

  • Problems with html content in box

    Hi! I have a problem with html content. For example photoswipe. If I import the folder with the index.html of photoswipe as an article all works fine. If I link it trough the folio overlay creator/webcontent) into a box in indesign dps, it stays empty. Seems like it doesnt find the images/paths??
    Klaus

    This sounds familiar. PhotoSwipe doesn't seem to like working in a web content overlay unless the JavaScript and other source files are uploaded within HTMLResources. This means editing your local HTML file so that paths to the JavaScript, images and CSS files begin by pointing to HTMLResources virtual folder (../../../HTMLResources/) before their subfolder and filenames. It's worth a try.

  • I have problems with outgoing call no audio, only works with speaker. I bought my iphone on december 2011.

    I have problems with outgoing call no audio, only works with speaker. I bought my iphone on december 2011.

    Had the same problem, no audio on incoming or outgoing calls and only could hear the conversation of the call if I put on speaker. It seemed to start after I did a recent IOS update this past month. I tried restart, reset and restore of my iPhone but nothing changed. It appears not to be a software issue but a hardware problem. I got my phone this past summer so it was still under warranty and got it replaced.

  • Problems with my Acrobat IX reading images

    I have just started having problems with my Acrobat IX reading images.  I have now noticed that when I open up a PDF, the images are now blacked out with a black box. These are all documents that I have been able to read just fine in the past.  I have done some research online and have found others who are having the same problem but I cannot find a solution.  Some solutions I have found are to make sure on the printer settings that it reads large images which I have done and that it prints in color which I have also done.  When I print out the document, it prints just fine, I just cannot read it on the screen.
    Please any help would be greatly appreciated.

    Thank you so much for taking the time to respond but nope. unfortunately I have tried that a few times, both clicking and unclicking the view large images with no luck. Since I have Acrobat IX Adobe wont help me.  Any other suggestions? Should I just uninstall and reinstall this program?? When I Google this problem it appears that a lot of people are having this problem.

  • Read only text Items uses the maximum width

    Folks,
    I have a form with 3 regions and each region has 6 or more text items each with a different width (40, 30 24, 2...). I am using a Read Only Condition Type on all these items to disable them. I am setting the background color as bgcolor="#DCDCDC" in the Read Only Element Table Cell Attributes.
    All my elements are disabled (Gray color) but with the maximum width of 40 bytes. I don't want a 2 byte text item 40 bytes long and grayed out. How can I set a specific width for individual items in Read only Condition? Please help
    Thanks
    Raje.

    Try this alternative by disabling the HTML Form Item at the required process point.
    I added this JavaScript to the HTML Header of the page which will allow me to disable the required item, plus set its background and color:-
    <script language="JavaScript1.1" type="text/javascript">
        function disableFormItem(p_item, p_background, p_color){
                        disItem = document.getElementById(p_item);
                        disItem.style.background = p_background;
                        disItem.disabled = true;
                        disItem.style.color = p_color;
    </script>In the Region Footer of the Region where my items are located I added this JavaScript code:-
    <script language="JavaScript" type="text/javascript">
       ** Only disable the required Form Items if the Primary Key value is present,
       ** in this case it is P12_UEI. (Won't be present for new records as populated
       ** by on-insert db trigger and sequence.)
       if (html_GetElement('P12_UEI').value > 0)
          disableFormItem('P12_URESI', 'lightyellow', 'black');
          disableFormItem('P12_UZI', 'lightgray', 'black');
          disableFormItem('P12_UBI', 'lightgray', 'black');
    </script> The resulting page is a lot better looking than using the APEX read only text item.
    Regards,
    Phil

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • Problem with HTML email formatting

    I'm using Firefox 4.0.1. I have a job function that requires me to use web page based email. When responding to emails, Firefox automatically places the cursor at the bottom of the chain as opposed to the top of the chain as in previous versions. I need for the response to start at the top of the page. This is the way it worked in my previous version of Firefox and no settings in the email program have been changed. In fact there is no setting in that program to specify where the response will go. I'm assuming the cursor placement is being determined by Firefox. Please help me change it.

    Oooops forgot the link
    http://www.adlerhealth.com/ad122607/ad122607.htm
    "Ken Binney" <[email protected]> wrote
    in message
    news:fljkp6$9kc$[email protected]..
    > Look at this HTML email.
    > The email message is only about 7.5kb because all it's
    images are on a
    > webserver.
    >
    >
    >
    >
    > "[email protected]" <[email protected]>
    wrote in message
    > news:flj9fg$qrg$[email protected]..
    >> I've made a few email newsletters, but the problem
    that I have is that I
    >> can't
    >> use a lot of images because when the email is sent
    it has a large file
    >> size.
    >> The images themselves are very big files, like under
    10 kb, is there
    >> anyway to
    >> add multiple images to an email while still keeping
    the file size down.
    >> Also I
    >> have a problem with the formatting of the email.
    When the html is placed
    >> into
    >> an email the spacing isn't right, it usually is the
    images that I have
    >> problems
    >> with. If this is any help I make the newsletters out
    of tables. I'd
    >> appreciate any tips you can think of.
    >>
    >
    >

  • 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 Distribuction Of Acrobat Reader 9.0 (GPO)

    We have some problems with the distribution trought GPO of reader 9.0.
    We had follow this instruction
    http://www.adobe.com/devnet/acrobat/pdfs/deploying_reader9.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/gpo_ad_9.pdf
    but, if the english version work fine, the italian version its bugged.
    We have download the files exe from your website (version ITA), and we have repackaged in msi version, but when we tried to do a manual install of the msi, the program dont work fine (for example the icon its not associated correctly to pdf files, some programs for example our management software dont recognise pdf files).
    I repeat, its not a problem with GPO or our IT infrastucture, becouuse the english version its work fine. We have problems only with the italian version.
    Thanks.

    You can download  Microsoft Installer Cleanup tool from
    http://majorgeeks.com/download.php?det=4459
    regards,
    Rohit

  • Problem with Adobe Pro and Reader on terminal server

    Hi,
    We have have a Terminal Server environment with Adobe Pro and Reader. We have security for Adobe Pro, so only certain user has access to Adobe Pro and all users has access to Adobe Reader.
    Some users receive many email with pdf's attachments in Outlook and need to print these attachments. They use the Outlook function to print email and attachment automatically. The users who has access to Adobe Pro can print attachment automatically with no problem.
    The problem is user who only have access to Adobe Reader. The user can't print attachment automatically with the email, only the email is printed. But, they can open attachment and print with Adobe Reader. But, it's impossible to open each attachment because there are so many.
    Thanks for your help.
    Jonathan

    Hi,
    So if I understand correctly,
    1. You have installed Acrobat Pro & Reader on a Terminal server.
    2. You have created a security group in your Active Directory Users & Computers for users having access to Acrobat
    3. You have set permissions on C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe and C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrotray.exe on the terminal server and provided access only to the security group created above.
    4. Users are accessing the Terminal server through RDWeb or connecting remotely through MSTSC (RDP) or using a .RDP file
    5. Users get emails with PDF attachments and print the mail directly without opening the PDF in Reader.
    Users check the box to print the attachments with the mail (see snapshot below):
    Some questions:
    1. What is the OS and platform (x86 or x64) of the terminal server?
    2. What are the versions of Acrobat & Reader on the terminal server?
    Thanks,
    Vinod

  • Secure Shared Disks: With a disk password - read only?

    I would like my roommates to be able to access my hard-drive, but only read-only. I know I can set the allow guests setting on, and let them read-only that way, but I would also like for them to have to enter a password, so I am surprised I can't do both. Any ideas?

    Thomas Rossin wrote:
    When the computer goes to make a backup I get the dialogue box which states that it cannot back up because the disk is a read only disk. It is 1T size and has plenty of room backing up most but not all of a 500 GB drive. Is there a way to move the files to a new 1.5T drive I have and have Time Machine recognize the new drive with all the saved data? If I simply drag the file from Time Machine to the new formatted Time Machine Drive (Extended - Journaled) it says the drive is not the correct format for a backup drive. Frustration abounds!
    If I clone the drive using Disk Utility will I not also clone the problem which exists?
    Whoa! Slow down. Try a +*Repair Disk+* on the existing drive, per #A5 of the Time Machine - Troubleshooting *User Tip* at the top of this forum.

Maybe you are looking for