Mix of HTML and ADF tags

Hello

I created something WYSIWYG for Studio area of Site definition. End users contribute content via the content Server - Site Studio contributor, and it allows the use of HTML tags.

I created a model that has the following:

< div class = "mystyle" >

<value af:outputText = "#{node.propertyMap ['RD_NEWS:TEXT'] .asTextHtml}" = "false" id = "ot1" leak inlineStyle = "max-width: 100px; » />

< / div >

But, I noticed that the class "mystyle" is not applied to the outputText apparently ADF generated another < div > tag and applied to the inner < p > paragraph tags. With exhaust = 'false', the styleClass defined on af:outputText is ignored.

How can I apply the css class to #{node.propertyMap ['RD_NEWS:TEXT'] .asTextHtml}?

Hello

First check this source element WYSWYG. Special css is always override the css level of the particular element content model.

Check that inlinestyle is working or not. Also troubleshoot using link below

http://docs.Oracle.com/CD/E23943_01/WebCenter.1111/e10148/jpsdg_content_presenter.htm#JPSDG11524

for example

inlineStyle = "background-color: #0A9FC0;" color: white; text-align: left; padding: 5px; » />

destination = "#{' / faces/News/Home-Viewer? news_id ='} #{node." PropertyMap ['dDocName'] .value} " styleClass ="newstitle"/>.

Check out the full article

http://docs.Oracle.com/CD/E29542_01/doc.1111/e27603/cont_cp.htm#WCPAA13028

Thank you

Amey

Tags: Fusion Middleware

Similar Questions

  • Help filter the HTML and script tags.

    I have my first php site runs fully almost ready to go live, except that I have not allowed for filtering of tags HTML and scripts from my forms, form fields, and the URL.

    User input has been validated to match my criteria, values are escaped before the entry of the database.

    I'm usually plans to use preg_match against different regex filter HTML and script tags and some of my forms that already have in place when you post (all the php) but for the rest of the filtering, I have some queries, concerns and questions about php filter_var for sanitation.

    First of all:

    My free text fields need work.

    I need to allow users to be able to type a description of the use of General punctuation.

    Would this work: (not sure if the regular expression is correct and if it isn't the best way to address filtering)

    If isset Post textfield

    allow only letters, numbers, General Liposuction and 265 character limit

    $check = ' / ^ [a-zA-Z0 - 9\s.-,] {$1-265} / '.

    {If (preg_match (& check, {$_GET ['textfield']}))}

    allow

    } else {...

    Or is there a better way to do it with filter_var, this would allow users to type what they needed and just remove whatever it is a threat, such as:

    If isset Post textfield

    $var = $_POST ["textfield"]

    (filter_var ($var, FILTER_SANITIZE_STRING);)

    then check match my criteria

    If ok enter the database

    Second:

    On the URL where the variables are passed is - that enough to filter variables using one of the methods above, this would actually use only a verification of the figures or letters of my variables (no punctuation). Or still is there a better way to do it with the filter_var: OR am I misunderstanding the filter_var function, it seems too easy is it really get rid all the bad things.

    {if (isset($_GET['var1']))}

    (filter_var ($var1, FILTER_SANITIZE_URL));

    }

    then continue with the code

    Finally again to about the url, even though the variables are not passed when a page is loaded must I verify that the url is just the url? And how can I do this? Using filter_var?

    As always, any help is very appreciated.

    Thank you in advance.

    Given that the information comes from the berries of $_GET and $_POST, use filter_input().

    If you control $_POST ["textfield"]:

    $sanitized = filter_input(INPUT_POST, 'textfield', FILTER_SANITIZE_STRING);
    

    $sanitized contains the string stripped of all tags.

    If you are var1 through the table control $_GET:

    $clean_var1 = filter_input(INPUT_GET, 'var1', FILTER_SANITIZE_STRING);
    
  • Flash embed tag does not obey the dimensions of percentage, even with html and body to 100%

    For some reason, I can't get this swf file to show the height and the width of 90%. I tried to add a style sheet in the header to explicitly set the html and body to 100%, but this is not always enough. can you see if there is a problem in the code?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    
    <html>
    <head>
    <title></title>
    <style type="text/css">
    html, body {
      	margin: 0;
    	padding: 0;
      	height: 100%;
    	width: 100%;
    }
    </style>
    
    </head>
    
    <body>
    <center>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="90%" height="90%" ID="Captivate1">
      <param name="movie" value="tutorial.swf">
      <param name="quality" value="high">
      <param name="menu" value="false">
      <param name="loop" value="0">
      <embed src='tutorial.swf' width='90%' height='90%'  quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'/>
    </object>
    
    <BR>
    <p>
    <align=center><a Href="javascript:window.close();">Close Window</a>
    </p>
    
    </center>
    
    </body>
    </html>

    This can happen because of the < center > element that does not have a height and a width specified. Don't forget to specify the dimensions for all containers if you use percentages, otherwise you can end up with 90% of 0 or a default value.

  • Extension and customization of the ADF tag lib

    Hi all

    Now I'm expanding the ADF tag library.

    We want to customize the tag all of the ADF.

    for example. change all the letters in the capital of inputbox.

    Y at - it a tutorial for customizing ADF tag lib?

    With respect,
    WP

    TPO

    ADF Rich Faces is not open source, no. The only way I know for you to get the source is to have a support contract with Oracle JDeveloper, then to file a Service request for the source code, they will provide as soon as the appropriate legal agreement.

    John

  • Transfer of Sony Handycam Digital video to PC via Sony Pixela Image Mixer Ver 1 and USB cable

    Hi, anyone know why I can only transfer blocks of 12mins record from my Sony handycam DCR-TRV27E instead of a complete file to record DV 1 h? Using the Pixela Image Mixer Ver 1 and USB cable provided by Sony. My PC is running on Microsoft Windows XP Professional version 2002 Service pack 3.

    Appreciate the tips on how to correct the problem.

    Thank you.

    Hi, anyone know why I can only transfer blocks of 12mins record from my Sony handycam DCR-TRV27E instead of a complete file to record DV 1 h? Using the Pixela Image Mixer Ver 1 and USB cable provided by Sony. My PC is running on Microsoft Windows XP Professional version 2002 Service pack 3.

    Appreciate the tips on how to correct the problem.

    Thank you.

    ==========================================
    Have you tried to transfer the video via FireWire IEEE 1394
    (Sony i.LINK) connection (not USB) directly into Movie Maker?

    Maybe this article would provide a few ideas:

    How to import video with Windows Movie Maker, video transfer
    http://forums.VSO-Software.fr/how-to-import-video-with-window-Movie-Maker-transfer-video-T7272.html

  • tag with html content - supported tags?

    In one of the beta label could now handle html in its data from text content:

    Label.setText(")

    ASDF

    ")

    But I was not able to find the html tags are supported... someone has seen a document concerning the supported tags or knows what are the supported tags?

  • Fixed header and anchor tags

    Warnings: I am new to this forum and use HR 2015 since the end of May. I am somewhere between beginner and intermediate with CSS and HTML, and I don't know anything about javascript or JQuery.

    I tweaked the catalogue office with multi-screen presentation homepage so that it has a fixed header and content scrolls to the top under the header. It works well and looks beautiful up by clicking on a link to an anchor, for example when using the MiniTOC to navigate through a topic. The anchoring of the charges under the heading at the top of the window of the browser instead of under the header at the top of the visible space.

    After studying the problem, I had hoped that I had found a fix to it that hashtag connects this whim is the browser window, but it did not work.

    More research and digging in HR how to configure its bookmark anchors and found out that bookmarks are configured with one

    < a name = "blabla" > < / a >

    tag for anchors instead of one

    < h1 id = "blabla" > blah di blah < / h1 >

    tag.

    According to W3 Schools, "the < a > name attribute not is not supported in HTML5. Use the id attribute instead. "It's disappointing, given that the choice of output is Multiscreen HTML5.

    Can anyone offer a solution that works with apparently outdated HR < a name = "MiniTOCBookMark1 > < /a > format?"

    Thanks in advance!

    P.S. I am posting this at the end of the day and I won't work again until the morning of August 22, 2016, so if I do not answer questions of clarification immediately, please don't think I'm ignoring you.

    I have a header no scroll, and I just added the following to my screen layout stylesheet (targeting IE only):

    a[name]                    {

    padding-top: 130px;

    }

    Adjust the value of the pixel to function.

    I had a play on Chrome, and seems the following to run it:

    {[name]

    padding-top: 130px;

    margin-top:-130px;

    Display: block;

    }

  • you attempt to add a web form of Business Catalyst to my site Web of Adobe Muse (via insert html) and the shape is cut all the content below where to place the html area.

    You attempt to add a web form of Business Catalyst to my site Web of Adobe Muse (via insert html) and the shape is cut all the content below where to place the html area. I tried the basic troubleshooting and it's only when I insert a form of Catalyst Business that my web page is cut, where is the bottom of the form. I use this code when you insert form BC in Muse,

    "< div class ="bulletin of information-form"> < form name ="catemaillistform58787"onsubmit ="return checkWholeForm58787 (this)"method ="post"action =" http://theincitejournal.BusinessCatalyst.com/CampaignProcess.aspx?ListId=53681& OPTIN = true & PageID = / index.html"> < div class ="form"> < div class ="item"> < label for ="CLFullName"> full name < / label > < br / > < input class ="cat_textbox_small"type ="text"name ="Full name"id ="CLFullName"maxlength ="255"/ > < / div > < div class ="item"> < label for ="CLEmailAddress"> E-mail address < / label > < br / > < input class ="cat_textbox_small"type ="text"name ="EmailAddress"id = '" "CLEmailAddress" MaxLength = "255" / > < / div > < div class = "item" > < label > Enter Word verification in box below < / label > < br / > {module_captchav2} < / div > < div class = "item" > < input class = "cat_button" type = "submit" value = "subscribe" id = "catlistbutton" / > < / div > < / div > < script type = "text/javascript" src = "http://theincitejournal.businesscatalyst.com/CatalystScripts/ValidationFunctions.js" > < / script > < script type = "text/javascript" > '

    The only settings I did took the H3 header on opt-in and page navigation after the action to get rid of the opt in BC function as default. I tried to download the source code as well and I'm having the same problem. The web Page is here " copy " and a version of what I was creating the page to look like here is ' home ' As you can see, the 'House' version allows me to scroll past where I would have placed the shape box while the 'copy' stops at any user to parade before. I have called the shape slightly from the "development" of British Colombia under the style sheets tab and still tried to trouble shoot and get rid of the code to see if it affects something and it did not add style. For some reason only the HTML to the form is but I cannot understand what the section of the code would do that. Any ideas?

    I see that you have inserted a script tag open that you forgot to close, which generates errors on the page and prevent it from be returned correctly. You should ensure that the code that you insert in the Muse is syntactically correct.

    - Abhishek Maurya

  • indentation of the HTML/head/body tag

    A question preferably, I like to indent the content of my tags html, head and body (see code examples).

    It was a boring soft than Dreamweaver don't indent by default when a new page is created. I have finally is broken down and hunted for a preference to solve this problem.

    In the category layout of the Code, I found the tag library Editor, who seems to have the exact settings I need. However, even with content formatted value and Indented for the html, head and body tags, recently created pages don't have still not any withdrawal.

    I wasn't able to find any other settings related to this. Does anyone know of a solution? As I said, it's just a minor annoyance. Indenting manually is not a huge deal.

    Actually, nevermind. I answered my own question. I was able to modify the default documents in the Adobe Dreamweaver CS3\configuration\DocumentTypes\NewDocuments\ folder, and the changes that I've made to these files appear when I create a new document. Seems like this another parameter should have worked too well.

  • Firefox icon is missing on the html and display as icon of white paper files

    Sir/Mam,

    I'm using Firefox for the past 7-8 years & I think he is more comfortable browser, but now I install window7 & Firefox is the browser default but it icon on the html and htm files becomes blank white paper after some time & its so boring. Please help me with this problem. I read so many articles on the internet and tried, but in vain.

    Hi Olivier,.

    Have you checked to make sure that Firefox is still your default browser and it is the default program to open these types of files? I also found some articles that might help here and here.

    I would like to know if any of this information was helpful. I hope this helps!

  • Is it OK to mix 2 GB and 4 GB in an iMacbook Pro (early 2011)?

    Is it OK to mix 2 GB and 4 GB of DDRAM in an iMacbook Pro (early 2011)?

    Yes. Just to note that Macs are picky about the memory and should get only a memory of the place that ensure that proper operation with your Mac. Crucial and OWC/MacSales are places. Working memory that not always match the Apple card do

  • The speaker volume in the computer sound control mixer is up and works well with the speakers, but with headphones, I can hardly hear.

    Original title: the headphone volume

    How can I activate the volume for headphones? the speaker volume in the computer sound control mixer is up and works well with the speakers, but with the headdphones that I can barely hear

    Hello
     
    1. who is the operating system installed on the computer?
    2. What is the brand and model of headphones?
    3A this works much earlier?
    4. What is the brand and model of the sound card?
    5. have you ever tried to play the Audio using different media player applications and check?
    6. have you tried to connect the headset to another computer or phone and check if it works well?
     
    I suggest you follow these methods and check.
    Method 1: Run the audio troubleshooter.
     
    Method 2: Set the earpiece/microphone as default device and check.
     
    a. right click on the volume icon in the system tray at the right corner on the desktop.
    b. Select the playback device, go to torecording tab.
    c. make a right click and headphone/microphone as the default device.
    d. click on apply and ok.
     
    If above steps fails, proceed to method 3.
     
    Method 3: I suggest to disable the improvements and check.
     
    a. right-click on the icon "speaker" at the bottom right of the screen.
    b. Select "playback devices".
    c. right-click on the helmet.
    d. Select Properties
    e. click improvements
    f. check Disable all improvements
    g. click OK
     
    You can read this article for more information:
     
    Tips for solving common audio problems

    You can also contact the manufacturer of headphones and check.
     
    I hope this helps!
  • Open windows help (HTML) and Windows Help and support of the 100... each program file, I opened

    Original title: help and Support.

    Open windows help (HTML) and Windows Help and support of the 100... each program file, I open... I disabled the assistance and support of windows, it did not stop... PL, help me...

    I once formatted the c drive, but it did not stop... It consumes the pagefile (util) and more problem occure... Please help me!

    Hello

    Step 1: Search for the issue in the clean boot state.

    Step 2: Online virus and malware scanner and check.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Step 3: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Reference:

    Using the event viewer

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=true

    Understanding of event viewer

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=true

    Procedure to view and manage event logs in Event Viewer in Windows XP

    http://support.Microsoft.com/kb/308427

  • Can I mix 6 Gbps and 12 Gbps SAS HDD?

    Hi all

    I use R350 server. As data are growing rapidly and my storage server is almost full. Therefore, I intend to buy more disk. Unfortunately, 6 Gb/s SAS HDD is end of line.

    Thus,.

    1. can I mix 6 Gbps and 12 Gbps SAS HDD in my R350 Server?

    2. If it is possible to do, I owe nothing to rebuild my RAID?

    For your information, I use RAID-5. My RAID controller is H730

    Help, please. Thank you.

    You can make use of the re - configure feature of the PERC H730 expand RAID 5. While in OMSA, go in->-> PERC H730-> virtual disks and storage under available tasks drop-down list, select reconfigure and Execute. See the schematic illustration below:

    On the next page, select the physical disk that you want to add and follow the instructions accordingly.

  • Html and css site design

    Hello

    Does anyone have a nice easy way to create widget BB pages in a normal browser before moving a Widget? I'm going nuts making a tweak, debugging of pressing, in expectation of the build to succeed, checking my widget, tweaking some css more etc etc.

    I'm sure I saw an article somewhere on how to do it outside of the Simulator, but I'll be damned if I can find it again

    any help much appreciated

    see you soon

    Lee

    The easiest way that I do is the following:

    (1) put my source of the widget on a shared folder on a web server

    (2) set my config.xml file to have its starting point to the page on my web page server

    (3) whitelist the domain where my source of the widget is on my web server

    (4) adds a Menu item "Refresh" in a common *.js file do a refresh of the standard browser

    (5) to build and run the widget in the Simulator

    So I can make all the settings in HTML and CSS I love and you simply press the element menu to update in the Simulator.

    The only time wherever I need to re - build, it's if I modify a config.xml file.  Then when I'm satisfied, I simply change my config.xml file to package resources locally and make a final test.

Maybe you are looking for

  • iOS 10 Photo Focus Glitch

    Hey. For several months now with no problems at 6s. A few days ago, I updated to iOS 10. Today, I used camera first time after the update and discovered that, after that I started the default camera app, developed hanged. I mean that the application

  • BEFSR41 connectivity problem

    I have an old router BEFSR41 V.2 that I pulled from the closet to use.  I can't have internet connectivity once I install it.  I ping the router at 192.168.1.1 but always no internet.  The router is dead?  Should I update the firmware?  I can't find

  • Keep to withdraw safely hardware popup

    Original title: remove the device icon Hi, my safely remove hardware icon keeps flashin and and I have nothing connected to my USB ports that must be deleted.  I have tried everything to make him stop and I can't.  Is there something that can be done

  • Cannot find the driver for the sound card.

    My sound card has been downloaded without driver, 05/04/13. I have a dell computer, windows 7. Also, my video card has been downloaded without driver.

  • BlackBerry smartphone Trackball detector of movements

    Hi... anyone know what is the effect of a track detector defective ball of movements on a 9630? I replaced two trackballs tries to fix the problem than to have no horizontal movement - [left - right] only the vertical work.     Thank you Concerning m