ph tags using pre ?

Group,
Using WLP 8.1, I am displaying simple text/html from a document using a
placeholder. WLP surrounds the content with <pre> tags thus violating my
carefully formatted HTML :)
What determines this use of <pre> tags and how do I prevent the use? I have
tried uploading various different types of documents, but I always get the
<pre> tags and I don't see any configuration options to take care of this -
may I have overlooked something.
The ph tag is pretty simple:
[=============================
<ph:placeholder name="/placeholders/information.pla"/>
=============================]
My information.pla is :
[=============================
<?xml version="1.0" encoding="UTF-8"?>
<placeholder
is-complete="true"
xmlns="http://www.bea.com/servers/p13n/xsd/placeholder/1.1.1"
xmlns:cq="http://www.bea.com/servers/p13n/xsd/content/query/1.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/placeholder/1.1.1
placeholder-1_1_1.xsd">
<name>information</name>
<type>Ad</type>
<description/>
<mixGlobals>true</mixGlobals>
<contentQueries>
<queryDefinition>
<queryName>InfoQuery</queryName>
<cq:contentQuery logic="and">
<cq:contentPropertyComparison logic="and" name="title"
propertySet="BEA Repository/article" type="string">
<cq:equals>
<cq:literal>information</cq:literal>
</cq:equals>
</cq:contentPropertyComparison>
</cq:contentQuery>
<queryPriority>normal</queryPriority>
</queryDefinition>
</contentQueries>
</placeholder>
=============================]
TIA
Claus Ljunggren

Not currently. I will enter a request for that to be added.
One of 2 things is happening here:
1. Your browser is telling the server, during the file upload, that the
Content-Type of the file part is text/plain, or
2. Your browser isn't specifying the Content-Type of the uploading file,
in which case rfc1867 says the default Content-Type of part of a
multi-part upload is text/plain.
Either case is unusual for a .htm or .html file. Are you using a
different file extension for your files? The browsers have their own
content-type-from-filename-guesing logic, and they would probably use it
in this case. If you aren't using .htm or .html, there's probably some
way to tell your browser that your file extension is really text/html.
In IE, I believe it falls back to using the os file associations. I'm
not sure what Netscape/Mozilla, Opera, Konqueror, and the others do.
Greg
Claus Ljunggren wrote:
Greg,
Is there a way to override this behaviour without writing a new upload
mechanism. I mean isn't it possible to force a certain content-type through
the administration page during upload?
TIA,
Claus Ljunggren
"Gregory Smith" <[email protected]> wrote in message
news:[email protected]...
When the binary primary property of the node being displayed via
<ph:placeholder> has a mime type of text/plain, the rendering system
will surround it with <pre></pre> so that it renders in-line as formatted.
Check your CM_PROPERTY table to see what BINARY_CONTENT_TYPEs you're
getting when you upload your content. The admin tools use the
Content-Type the browser specifies on the file upload, so you might be
getting a default Content-Type set.
Greg
Claus Ljunggren wrote:
Group,
Using WLP 8.1, I am displaying simple text/html from a document using a
placeholder. WLP surrounds the content with <pre> tags thus violating my
carefully formatted HTML :)
What determines this use of <pre> tags and how do I prevent the use? I
have
tried uploading various different types of documents, but I always getthe
<pre> tags and I don't see any configuration options to take care ofthis -
may I have overlooked something.
The ph tag is pretty simple:
[=============================
<ph:placeholder name="/placeholders/information.pla"/>
=============================]
My information.pla is :
[=============================
<?xml version="1.0" encoding="UTF-8"?>
<placeholder
is-complete="true"
xmlns="http://www.bea.com/servers/p13n/xsd/placeholder/1.1.1"
xmlns:cq="http://www.bea.com/servers/p13n/xsd/content/query/1.1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/placeholder/1.1.1
placeholder-1_1_1.xsd">
<name>information</name>
<type>Ad</type>
<description/>
<mixGlobals>true</mixGlobals>
<contentQueries>
<queryDefinition>
<queryName>InfoQuery</queryName>
<cq:contentQuery logic="and">
<cq:contentPropertyComparison logic="and" name="title"
propertySet="BEA Repository/article" type="string">
<cq:equals>
<cq:literal>information</cq:literal>
</cq:equals>
</cq:contentPropertyComparison>
</cq:contentQuery>
<queryPriority>normal</queryPriority>
</queryDefinition>
</contentQueries>
</placeholder>
=============================]
TIA
Claus Ljunggren

Similar Messages

  • Problem to pre tag use in jeditorpane

    hi all,
    i am using JEditroPane with HTMLEditorKit. I am using <pre> tag to set the Tab space. But problem is that, when i write continuously, its can't line break also when i print the editor contents, it will not print the exact contents.
    If i remove <pre> tag it prints the contents but formatting( Tab space) has remove.
    Please help me, how can i get rid of this situation..
    Thank you

    Thanks to your reply. Its nice..
    I am trying to line break explicitly. but can't find any way. Is there any way to get the cursor position (Location) that when the cursor exced the location i expliditly line break that positon .. or any other way...
    Please help me..
    Thank you

  • Beginner question - using pre for flexibility in text?

    Hi,
    Apologies for the beginner question, but I am struggling to work out whether it is more sensible to use <pre> in all my texts, as it seems more flexible.
    It seems that when I use <p> - paragraph - I can't use multiple space bars to align certain bits of text, but more disruptively I have gaps between text when I press Enter (I guess this defines the paragraph, but isn't always wanted).
    Well, basically, <pre> seems more flexible, but it behaves strangely sometimes. What do other people use?
    Many thanks!
    Ivan Reshetilov
    http://www.ivanreshetilov.co.uk

    Hi Ireshe, just a beginner like you.  Have never heard of <pre> tags, use <p> tags.  If you hit SHIFT enter after a sentence this puts in a <br> tag or line break which basically leaves a blank line between text.
    If you add     &nsbp;    or lots of them between words this gives you an extra space between letters.  How all your paragraphs sit on the page is defined by CSS.  E.g.
    p {
         margin:0;
         padding: 5px 0 0 10px;}
    This would place all text within <p> tags on your page, with a 5px gap at the top, no space to the right or bottom and 10px space to the left.  Hope this helps, good luck!
    Amanda
    www.kimberleywebdesign.com.au

  • Custom Report using pre-defined template

    In 2012, How to create custom report using pre-defined reports template in below format?
    Column1 :- Device Name
    Column2 :- When installed (Date & Time)
    Column3 :- Success (Date & Time)
    Column3 :- Failed (Date & Time - With which error code)
    Column4 :- Not Installed
    Regards,
    Onkar.

    Here is what you need to do.
    Start by writing the SQL query that you want.
    Clone one of the existing report
    Replace the SQL query with the new query.
    Update the columns with what you need.
    http://www.enhansoft.com/

  • Can i use pre pay card on my iPhone 4s while visiting romania

    can I use pre pay card on my iphone 4s while visiting romania

    As long as the sim card slot isn't locked then yes you should be able to if it is true GSM.

  • How to remove tag using filter

    I want to use a filter to remove tags already on emails. I can add tags using a filter but cannot see how to remove tag using filter.

    The FiltaQuilla add-on provides a "remove tag" option.
    https://addons.mozilla.org/en-US/thunderbird/addon/filtaquilla/
    http://www.ramsden.org.uk/3_How_to_install_Add-ons_in_Thunderbird.html
    But, out of interest, what's the use case for removing tags by filter? Tags are normally used to facilitate or prompt human intervention and I don't immediately see the value of clearing a tag in a filter. Why tag if a filter will be dealing with it anyway?

  • Is it possible to find the meta tags used in a different website?

    I have a potential client that wants to know the meta tags used in a different site from his own. Is that possible?

    View page source in browser.  FYI: Major search engines don't pay attention to Meta keywords.  So I don't think there's much to be gained from this.  What matters most is the actual page content.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Using pre-query with 2 characteristics in rows?

    Hi @all,
    I need your help regarding the following problem:
    There are multiple conditions in one query, I'd like to do in a certain sequence.
    Because these multiple conditions in BEx where processed as "AND", for example
    companies must be part of the Top x and an key-figure of these have to be more than y.
    As a result, we have the top x companies reduced by these companies that doesn't match the key-figure condition. So there were less than x companies.
    That's why we decided to use pre-queries. Because the key-figure is a ratio of the company on a higher level that is "restricted" by a condition, we need two characteristics in rows. That seems to cause some strange results in the main query wherein not all companies where submitted.
    Does anyone know some workaround or any approach for this problem? Please let me know every idea.
    Or do you know another way to set a certain sequence of conditions?
    Many thanks for your help.
    Tobias

    I've found a hint that this can't be done by using replacement path variables. Instead we used several pre-queries.

  • Workflow Help - Using PRE function

    Hi,
    I need to create a workflow on "when modified record saved" trigger event using PRE function. I am currently using this syntax :
    (FieldValue('<IndexedPick0>')='Central') AND (FieldValue('<SalesStage>')='Qualified') OR (FieldValue('<SalesStage>')= 'Approach') OR (FieldValue('<SalesStage>')= 'Quote') OR (FieldValue('<SalesStage>')='Negotiation')
    What we want this workflow to do is to send an email only when a sales stage is modified or changed to the values above in the syntax, not anything else on the opportunity page.
    Waiting for a response.
    Thanks in advance
    Ahmed

    Hi !
    Try this :
    *&#91;&lt;IndexedPick0&gt;&#93; = 'Central' AND &#91;&lt;SalesStage&gt;&#93; &lt;&gt; PRE('&lt;SalesStage&gt;') AND (&#91;&lt;SalesStage&gt;&#93; = 'Qualified' OR &#91;&lt;SalesStage&gt;&#93; = 'Approach' OR &#91;&lt;SalesStage&gt;&#93; = 'Quote' OR &#91;&lt;SalesStage&gt;&#93; = 'Negotiation')*
    This will trigger only when salestage is modified to 1 of the 4 stages and indexedpick0 = 'Central'.
    Hope this will help, feel free to ask more !
    Max

  • Create XML element without closing tag using Visual C++

    I know how to create xml element with closing tag (using WriteStartElement and WriteEndElement methods)
    <tag id="1234">
    </tag>
    but is there a way in Visual C++ to produce xml element like this
    <tag id="1234"/>
    i.e. without closing tag?

    Hi adamay,
    Please refer to this thread.
    http://stackoverflow.com/questions/8182245/create-xml-element-without-closing-tag-using-xslt
    I think you could try the way of write your own class derived from XmlWriter.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • EXIF tag used as 'Description'

    What EXIF tag does iPhoto 09 use as description when I import JPGs? With iPhoto 08 it worked when I set the 'Object Name' before importing but since I upgraded to 09 that does no longer work
    I can still see the description for photos I imported when I still had 08, all that I imported with 09 have no description set.
    Any ideas?

    Added the tags using exiftool, below are all the tags set on my test.jpg file:
    ExifTool Version Number : 7.44
    File Name : test.jpg
    Directory : .
    File Size : 382 kB
    File Modification Date/Time : 2009:02:19 19:48:14-08:00
    File Type : JPEG
    MIME Type : image/jpeg
    JFIF Version : 1.01
    Coded Character Set : UTF8
    Application Record Version : 2
    Object Name : Flagpole on the Coney Island beach
    Country-Primary Location Name : United States
    Province-State : New York
    City : Brooklyn
    Caption-Abstract : Flagpole on the Coney Island beach
    Profile CMM Type : Lino
    Profile Version : 2.1.0
    Profile Class : Display Device Profile
    Color Space Data : RGB
    Profile Connection Space : XYZ
    Profile Date Time : 1998:02:09 06:49:00
    Profile File Signature : acsp
    Primary Platform : Microsoft Corporation
    CMM Flags : Not Embedded, Independent
    Device Manufacturer : IEC
    Device Model : sRGB
    Device Attributes : Reflective, Glossy, Positive, Color
    Rendering Intent : Media-Relative Colorimetric
    Connection Space Illuminant : 0.9642 1 0.82491
    Profile Creator : HP
    Profile ID : 0
    Profile Copyright : Copyright (c) 1998 Hewlett-Packard Company
    Profile Description : sRGB IEC61966-2.1
    Media White Point : 0.95045 1 1.08905
    Media Black Point : 0 0 0
    Red Matrix Column : 0.43607 0.22249 0.01392
    Green Matrix Column : 0.38515 0.71687 0.09708
    Blue Matrix Column : 0.14307 0.06061 0.7141
    Device Mfg Desc : IEC http://www.iec.ch
    Device Model Desc : IEC 61966-2.1 Default RGB colour space - sRGB
    Viewing Cond Desc : Reference Viewing Condition in IEC61966-2.1
    Viewing Cond Illuminant : 19.6445 20.3718 16.8089
    Viewing Cond Surround : 3.92889 4.07439 3.36179
    Viewing Cond Illuminant Type : D50
    Luminance : 76.03647 80 87.12462
    Measurement Observer : CIE 1931
    Measurement Backing : 0 0 0
    Measurement Geometry : Unknown (0)
    Measurement Flare : 0.999%
    Measurement Illuminant : D65
    Technology : Cathode Ray Tube Display
    Red Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Green Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Blue Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Exif Byte Order : Big-endian (Motorola, MM)
    Photometric Interpretation : BlackIsZero
    Image Description : OLYMPUS DIGITAL CAMERA
    Make : OLYMPUS IMAGING CORP.
    Camera Model Name : E-510
    Orientation : Horizontal (normal)
    X Resolution : 72
    Y Resolution : 72
    Resolution Unit : inches
    Software : Version 1.3
    Modify Date : 2008:10:18 13:00:33
    Exposure Time : 1/250
    F Number : 10.0
    Exposure Program : Creative (Slow speed)
    ISO : 100
    Exif Version : 0221
    Date/Time Original : 2008:10:18 13:00:33
    Create Date : 2008:10:18 13:00:33
    Exposure Compensation : 0
    Max Aperture Value : 3.5
    Metering Mode : Multi-segment
    Light Source : Unknown
    Flash : Auto, Did not fire
    Focal Length : 17.0 mm
    Flashpix Version : 0100
    Color Space : sRGB
    Exif Image Width : 2243
    Exif Image Height : 2995
    Custom Rendered : Normal
    Exposure Mode : Auto
    White Balance : Auto
    Digital Zoom Ratio : 1
    Scene Capture Type : Standard
    Gain Control : None
    Contrast : Normal
    Saturation : Normal
    Sharpness : Normal
    GPS Version ID : 2.2.0.0
    GPS Latitude Ref : North
    GPS Longitude Ref : West
    GPS Altitude Ref : Above Sea Level
    GPS Time Stamp : 17:00:35
    GPS Map Datum : WGS-84
    Image Width : 2243
    Image Height : 2995
    Encoding Process : Baseline DCT, Huffman coding
    Bits Per Sample : 8
    Color Components : 3
    Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
    Aperture : 10.0
    GPS Altitude : 5 m Above Sea Level
    GPS Latitude : 40 deg 34' 22.20" N
    GPS Longitude : 73 deg 58' 50.40" W
    GPS Position : 40 deg 34' 22.20" N, 73 deg 58' 50.40" W
    Image Size : 2243x2995
    Shutter Speed : 1/250
    Focal Length : 17.0 mm
    Light Value : 14.6
    Preview recognizes the tag correctly, only iPhoto does no longer do.
    What are your import settings? Do you copy items into the iPhoto library?

  • Reading jsp  tag using xml

    Hello friends,
    I have a problem.
    I have a jsp page in that i have to find a particular tags. using xml
    but i dont know about dtd and. please help me
    example.
    <input type ="text" value= "ss">
    now i want to find the above tag using xml
    so please give me the logic how to find a tag in jsp using xml. ?
    please help me.

    A JSP is for displaying data. Read after me:D-I-S-P-L-A-Y-I-N-G. It has no business parsing or
    reading or calculating anything.
    I don't know what the OP want's to do. Maybe he
    want's to write a application which replaces some
    html tags in JSP files.
    His post can also be interpreted that he want's to
    use JavaScript (DOM)) to find any particular tag.Hello,
    my problem is in our application some programmers have written hardcode in <intput tag> like <input type name ="hardcode" instead taking values from database dictonary.
    so now i have to find the line no. where they have written the hard code.
    for that my pl is asked to solve using dom.
    for that i need to find the html tags.
    but i m not able to do that.
    can u suggest me.
    Regards

  • Building JSF tag using existing Tags

    Hi all
    I wonder if it's possible to create a new JSF tag using existing JSF Tags?
    For example, I have a JSF tag which renders a lable and a textinputfield, let's call it <f:field>
    Now I want to build a new JSF tag, which will re-use the existing tag <f:field>. IS it possible?
    Thanks in advance

    Did you have a chance to look at facelets solution. Facelets provide several approach how to create composition components.
    Sergey : https://ajax4jsf.dev.java.net

  • Overwriting the value of an html:hidden tag using javascript

    Hi!
    Can somebody help me with my problem?
    I need to overwrite the value of my html:hidden tag using javascript, but I dont know how?
    Any help?
    Thanks

    what are you talking about :x
    thats a webapplication question, wrong forum..
    But you are using STRUTS I would say...
    <html:hidden property="hiddenfield"/>This is the proper way of doing it.. but overrighting it
    I don't think you understand why we use that?
    It is only for forms.... we use that for hidden input ... It is common sence not to overrde that value.

  • How to use pre-mapping process operator

    Hi,
    I am using OWB version 10.1.0.4.0.
    There are two source tables namely src1_tb(id1,field1,field2), src2_tb(id2,field3,field4) and a target table namely target_tb(id1,id2,field1,field2,field3,field4).
    It's a simple mapping with a join operator. Here, when I try to use a pre-mapping process operator 'LENGTH', with input from outgroup of join operator (field1) and output linked to an added field( VALUE_LENGTH) in Traget Table, it gives error "VLD-2451: Connection to premapping is invalid" and a warning "VLD-1008 :Referenced mapping column VALUE_LENGTH" does not exist"
    Can anyone please let me know how to use pre-mapping process operator.
    Any help will be greatly appreciated.
    Regards,
    Pawan

    yes, a pre-mapping procedure is not what you want here.
    Pre-mapping procedures run once when the mapping initializes and before the actual ETL is run. IT is a place where you could do some custom data cleansing / validation, populate your own audit loggin tables if you wish, or whatever other things you might like to do.
    For what you are describing, you want to pass the field through an expression object. Drop the Expression on the canvas and drag a link from the field in your OUTGRP to the INGRP on the expression This will auto-create the corresponding ingrp attribute in the expression for that field. Then double-click the expression object to bring up it's properties sheet. You will then want to create an OUTGRP attribute called length_value of type number, and set it's Expression property to length(ingrp1.your_Field_name_here). You can then connect from this outgrp field to your field in the target table.
    Cheers,
    Mike

Maybe you are looking for

  • When making a cellular call the other person cannot hear me. FaceTime + Skype Work OK!

    Hi Guys, I have an iPhone 4 (non 'S') 16GB Black. I have the most strangest problem I've ever had on iPhone (I've had every gen so far). Here is the problem: I make a standard cellular call and the other person is not able to hear me. If I make a Fac

  • Connecting an HD monitor to intel iMac

    Hi, I think this is a fairly simple question--I'm going to be editing some footage in HD and the director is planning on renting an HD monitor to use. What I need to know is what kind of cables I would need to get this system up and running. Is there

  • Material damage in transit STO Process

    Hi Experts, We have below requirement. Kindly suggest. During stock transfer from factory to depot if material got damage in transit, then all the materials should go to factory. and they must take the excise duty credit. In this case either we can c

  • Report Painter- Scaling in the Column Attributes

    Hi all, I would like to ask for some help/assistance on report painter We have customized reports using Report Painter. These reports normally use the thousands ('000)as the number format (scaling). The problem we are encountering now is that users w

  • Foreign Keys and import of tables (ORA-02297)

    How can i get all the foreign keys for a particular schema, basically i'm trying to import tables into a particular schema so i'm trying to disable the constraints, truncate the table , import data and then enable the constraints. but i'm having erro