Adf Input Text with formatted xml Content

Hi,
I have a requirements where I get an xml content in one line
as suppose <xml ><a><a1></a1><a2><a2></a><b></b></xml>
I want this Input text to render it proper fromat like
<xml >
    <a>
        <a1>
        </a1>
         <a2>
         <a2>
   </a>
   <b>
  </b>
</xml>I tried to set wrap property to soft
but it is not affecting
Please tell me any component that will properly structure the input xml
How can I do this.

User, please tell us your jdev version!
There is no component AFAIK. You may want to try the rich text editor, but if I remember it correct it won't do what you want.
My solution would be to write a custom converter and format the code in the converter to show it then in the inputText.
Timo

Similar Messages

  • Adf input text related

    I have a "input text with list of values" field.
    Is there a way to to ignore case in this field please? (currently if I enter a value as "test" it says it is not valid even though there is a value "TEST" available.)
    Is there a property setting?
    Thanks

    i am not sure if this is supported fro af:inputTextlistofValues.. but you can try
    1) having a content style as "text-transform: uppercase" which will transform the text entered in Uppercase.. and forces uppercase all the time
    2) removing any validation that is applied to this component.. by removing the validator tag.. if its available.. as suggested above

  • Input Text with LOV in table, the search list will be limited with 25 row?

    Hi, experts
    I got a strange problem with JDev 11.1.1.5.0, I created Input Text with LOV in Data View for one attribute with default setting, the LOV worked fine when I drop the DC with 'ADF form'; but when I drop it with ADF Table, the search function will just show 25 rows, I can see it try to fetch data when scroll down just like form, but then nothing happened, only the first 25 rows will be show without any error log.
    Any special configuration needed for LOV in table? or a bug in LOV?
    many thanks.

    You can change the range size on the VO which you use for the LOV. If you only want to change it for the VO the lov uses, select the VO in question in the application module data model and clic edit. There you enter -1 fro raneg size.
    If you want to change it globaly for this VO you open the VO and select the Tuning section and check 'all at once' which should get you all rows. Be careful that the VO don't return too much rows. A LOV wiht more then 50 rows is too big. In this case you may choose an other component.
    Timo

  • Problem with "Input text with List of Value"

    Hi,
    I have a table where i am storing country code using "Input text with List of Value". I want a another non base table item where i would like to show the "Country Name" of the select LOV. Kindly let know a way to implement the LOV where it returns the "Country code" to base table item and "Country name" to the non base table item.
    thanks
    Sanjay

    Hi,
    I am getting lazy in chasing down the JDeveloper release by the ADF Faces component mentioned.. So I ask: Which verson of JDeveloper are you on ?
    Frank

  • Copy text with formatting in acrobat api

    Is it possible to copy the text with formatting via plugin api to a file?please provide methods or samples to achieve this functionality.

    Hi Irosenth,Test Screen name, I'm getting issues while formatting ,this pdf
    http://dprs.datamatics.com/ismart/doublecolumn.pdf
    displays results as like
    87  away aside; Q2’s ‘awry’ is generally (‘No, no, not I’, etc). preferred (e.g. by Oxf), presumably as 97 I know F’s reading is less accusatory a rarer and stronger reading, though than Q2’s ‘you know’, which is pre-Hibbard prints ‘away’. Either could be ferred by Oxf. a misreading of the other. 99 *the . . . Then . . . lost Jenkins, Oxf
    89  Nymph . . . orisons Jenkins sees in and Hibbard all conflate to read ‘the Q2/F’s shared spellings evidence of F . . . their . . . lost’. The only word that following Q2. strictly requires emendation is F’s
    96  No, no Hibbard conflates with Q2’s ‘left’ for lost, which seems a likely ‘No, not I’ to produce a metrical line error.
    But it suppose to show as
    Please clear me why the formatting has been lost?what's the alternative in this situation???
    Reply ASAP....THANKS

  • Problem with displaying XML Content well formatted.

    Hi all,
    I am developing a website which have one functionality to display XML content which is received from some other party.
    I am using TextArea for displaying this XML content on my webpage. As this XML content is not at all formatted it looks very ugly for a human to read.
    I want this XML content to be displayed well formatted, As Mozilla Firefox display it hierarchically and well formatted.
    Kindly give some suggestion for displaying XML well formatted on a webpage.
    Any comments from you people will help me.
    Thanks
    typurohit.

    The following link is a XML-based document. An XSL stylesheet transforms the XML document to HTML in the web browser. Feel free to grab a copy of the stylesheet to use as a guide.
    http://www.masonicartbook.com/production.htm
    Good luck!

  • Storing text with format

    I have a requirement like this.I have to store the textframes' text into a xml file and I should also be able to reproduce the textframes along with original format(text color,underline,bold etc) from xml.I thought of using rtf format.
    I want to know how to convert the textframe text into rtf(to a pmstring).
    Is there any other format to store in xml file other than rtf ?which is simpler ?
    Thanks in advance.

    You shouldn't have any trouble re-displaying it in a TextArea.
    Do you explicitly remove the linebreaks at some point?
    So somewhere along the way it is "losing" the linebreaks.
    Is it received at the java end with linebreaks?
    Is it stored in the database with linebreaks?
    If you view source in the HTML does it show the value with linebreaks?
    How are you putting the value into the text area ta2?
    The standard way would be <textarea> ${myTextHere} </textarea>
    If that has carriage returns in the value, then they should come straight out into the second textarea.
    If you are just displaying the data OUTSIDE of a text area, on an html page, then things are different, because HTML ignores whitespace by default.
    You could use <pre> tags around the value to stop it being messed with. ie <pre> ${myTextHere} </textarea>
    Or alternatively replace all newlines in the value with "<br>" - which is the HTML to say "go to the next line"
    Cheers,
    evnafets

  • ADF Input Text not showing

    Hi All,
    Can anyone help me out. I am using Jdev 10.1.3.3 and when I dragged the componet from Data Control as Input ADF W/ label and run the page the input text doesn't appear only the lable.
    Thanks in advance

    Maybe the component is set to read only in your page? If not , make sure the view object on which this component is based is updatable (or at least this particular attribute).
    At least in 11g an input text will be just output text in case the VO is not updateable.

  • ADF-Input text

    Hi all
    How can I get input text value by managed bean?
    Thanks in advance

    Hi,
    Supposing your input text is bound to some VO attribute, then you can use ADFUtils#getBoundAttributeValue.
    I you don't have ADFUtils, then look for it in the fusion order demo: http://www.oracle.com/technology/products/jdev/samples/fod/index.html.
    Olivier

  • How to enter local language in ADF Input Text?

    Hai,
    Iam using jdev 11g.
    There is an Input Text in my jspx page.
    I want to enter the data in that field according to the regional settings language.
    can anyone please help.
    Briston Thomas

    hai,
    In the database,the field is set as NVARCHAR2 .If i copy paste and commit the corresponding language word directly to database,it is showing correctly when fetching in to text field...If i directly paste the word in the text field and saved,the data is showing differenly after fetching from DB..Why is it happens..Is it related to DataBase settings?..please advise..

  • ADF Faces: af:input text with autosubmit and tabbing

    We have a series of af: inputText fields in a table. The autosubmit attribute is set to true so that we can process the change and also update some totals in the table. Only trouble is the user has to tab out of the cell twice. The first tab submits the change, the second moves the focus to the next cell.
    This really is not user friendly. Any ideas to fix/workaround this???

    G'day RZ
    How are you doing the PPR? Using the partialTriggers attribute or programmatically in your ValueChangeListener?
    This is what I tried:
    A page:
    <af:inputText label="Label 1"
                  binding="#{backBean.inputText1}"
                  id="inputText1"
                  autoSubmit="true"
                  valueChangeListener="#{backBean.doSomething1}"/>
    <af:inputText label="Label 2"
                  binding="#{backBean.inputText2}"
                  id="inputText2"
                  autoSubmit="true"/>
    <af:inputText label="Label 3"
                  binding="#{backBean.inputText3}"
                  id="inputText3"
                  autoSubmit="true"
                  partialTriggers="inputText1"/>And in my backing bean the following ValueChangeListener:
    public void doSomething1(ValueChangeEvent event) {
      String value1 = inputText1.getValue() == null ? null : inputText1.getValue().toString();
      String value2 = inputText2.getValue() == null ? null : inputText2.getValue().toString();
      inputText3.setSubmittedValue(null);
      inputText3.setValue(value1 + value2);
    }On running the web page, entering a value in inputText1 and tabbing out, the cursor correctly moves to inputText2 with inputText3 being updated via the PPR and ValueChangeListener.
    So I'm guessing you're doing something interesting in your ValueChangeListener to exhibit the problem you're seeing.
    With apologies if I'm telling you to suck eggs here, but best start with the basics and eliminate them first.
    CM.

  • InDesign CS3 crashes when applying styles to pasted text with formatting.

    Running InDesign CS3, v. 5.0.2 on Windows XP, SP2
    InDesign is crashing whenever I do the following:
    1. Paste or place text from Microsoft Word -- with existing formatting preserved.
    2. Apply any character or paragraph style to that text.
    This happens 100% of the time when I try to recreate the error. It happens on more than one computer. It never used to happen in IDCS2. It's not a missing font issue.
    I've tried recreating the InDesign preference files, but it didn't work. (See help file at http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400616&sliceId=1)
    Any suggestions would be hugely appreciated! This is slowing down my work a ton, and manually adding things like underline is killing me. If it persists, I'll have to roll back to CS2. :(

    We had exactly the same issue - but it only seemed to happen when a "Hyperlink" character style came in with the pasted text. In fact, the crash only happened when we tried to apply a paragraph style to a paragraph that had a hyperlink in it.
    Our solution: before we try to do anything else, we delete the "Hyperlink" character style. I can't guarantee that this will solve your issue, but it has worked for us (so far!) in those rare cases when we cut & paste Word text.
    We have never had this issue when we import ("Place") the Word file - that's generally a better workflow anyway.
    -Bill

  • [CS3 JS] How to associate text with an XML tag

    Hello,
    I have a script that allows one to create or modify an XML tag after one selects text, a text frame or an existing XML tag. It works fine for making the XML tag but it does not associate the text or text frame to the tag. To do that I have to right click on the selection and use the context menu to Tag Text or Tag Frame.
    I want to make this automatic but cannot see how to script it.
    Thanks for any help

    I figured out the problem (which of course creates other interesting problems).
    In the line:
    var elementRef = rootElement.xmlElements.add (tagRef);
    I forgot to add a reference to the xmlContent. It should read:
    var elementRef = rootElement.xmlElements.add (tagRef, whatToTag);
    However, this script is designed to create a dialog box where one can either create a tag along with attributes or edit an existing one. I'll post it when I am done, but there is one hangup. The script not only changes the name of a selected xml tag but all tags with the same name. How can I get it to change only the selected tag? Below is the boiled down script that duplicates that problem.
    Thanks,
    Tom
    var myDoc = app.activeDocument;
    var selObj = app.selection[0];
    var TagIWantToChange = selObj.markupTag;
    var newTagName = "PleaseWork"; //This line replaces all the coding to create a dialog box where the tag name could be edited.
    TagIWantToChange.name = newTagName;

  • Cell.text with multi line content

    Hello anybody.
    Here is my code .
    story_title = [[NSMutableArray alloc] init];
    scripture_location = [[NSMutableArray alloc] init];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    cell.text = [story_title objectAtIndex:indexPath.row];
    cell.lineBreakMode = UILineBreakModeWordWrap;
    cell.text = [scripture_location objectAtIndex:indexPath.row];
    return cell;
    How can i make multi line in single cell . My code is diplayed last array list content. The line break is not working.
    Please help me with example
    Nalan.

    Double click on the text box and look in properties. There are many different options there including text wrap.
    (of course I'm referring to a form field and not a bunch of text that was included in the original document)

  • ADF input text horizontal scrollbar?

    JDeveloper 11.1.2.1.0
    I'd like to create a user feedback messages area (read-only) using ADF that behaves in the same way as log windows do in JDeveloper. A multi-row af:inputtext is close to meeting the requirement except:
    - if a line is too long for the window then a horizontal scrollbar should appear but inputtext wraps the line instead
    - the window is not scrolled to the bottom by default
    Does anyone know of a way to implement these behaviours for an inputtext? Or is there a more suitable component?

    wrap=off forces inputtext to a single line which is no good. I want multi-line output, wrapping only if any line exceeds the window width.

Maybe you are looking for