Setting text (like HTML) to TextFlow Dynamically

Hi
I have a <s:RichText /> tag and in that I have a <s:TextFlow /> ...
I want to show specific data each time in my <s:TextFlow /> tag, like:
     <s:div>              
          <s:span color="#ff0000">
               some text here
          </s:span>
          <s:br />
          <s:div  >                   
               <s:img id="img1" source="Sunset.jpg" />
          </s:div>
     </s:div>
that will show in run time, like this:
   some text here
These data with all <s:div />, <s:p /> and others tag will be in one string variable.
How can I bind this string to my textFlow object to show this result?!

I find the way, myself!
We can use this code for this purpose:
     <fx:Script>
         <![CDATA[
             import flashx.textLayout.conversion.TextConverter;           
             var str:String="<TextFlow xmlns='http://ns.adobe.com/textLayout/2008'><div><span color='#ff0000'>some text here</span><br /><div><img id='img1' source='Sunset.jpg' /></div></div></TextFlow>";
         ]]>
     </fx:Script>
     <s:RichText id="richtext1"
                 textFlow="{TextConverter.importToFlow(str, TextConverter.TEXT_LAYOUT_FORMAT)}" />
Cheers...

Similar Messages

  • Dynamic text box, HTML Text with Image

    Hello Everyone,
    I am using Flash version 8. I have used the text tool and
    created a dynamic text box and have attached the UIScrollBar
    component to it. This text box is configured to allow the use of
    html text to be inputted to it. I have code that reads a file which
    contains a list of text files that I then read and place them into
    the text box. The user can use the scroll bar to scroll through all
    the text.
    I have created an image that is a picture of the tab portion
    of a file folder. On the tab I have place some text. This was all
    done in Photoshop. This tab image is used to separate the different
    stories in the text box. The image is save as a jpeg file
    Everything you have just read works with out any problems.
    Now for the problem!
    This image is only 20 pixels tall and the text is not very
    readable. As we all know the HTML tags are very limited in Flash 8.
    Ideally I would like to put the text and image in to the text
    box as I would normally do. Then place text on top of the image and
    have it all scroll properly with in the text box.
    I have taken the tab image and converted it in to a graph
    symbol and then put the text on top of the image. This looks good;
    however I don’t know how (or if it is even possible) to place
    the graphic symbol in to the text box at the correct place within
    the text.
    Does anyone have ideas on what may work? Remember that the
    image I am working with is only 20 pixels tall which is why the
    text quality on the image is so poor.
    Thank you all for any help you may provide,
    Steve

    Yes Tim I am using the <img> tag and I know that I
    can’t place text over the image. I have set the height and
    width to be the exact size of the image. However When you go to the
    webpage it will open the movie to the maximum size based on the
    resolution of your display; however I do maintain the aspect ratio
    of the movie. For testing I did set a fix size to the size of the
    movie. Sometimes the fix size (1000x750) looks better and sometimes
    a larger size (example 1280x1024). I believe that the main problem
    is the fact the size of the image is 670 pixels wide by 25 pixels
    high and of the 25 pixels the text is only 18 pixels tall. In
    Photoshop this makes it about a 1.75 point font. As you can see the
    real problem is that I don’t have enough pixels to make up
    the text. This is why I am looking for an alterative way to create
    the text.
    I tried importing the image into flash as a graphic symbol
    and then using the text tool to create the text. The results looked
    real sharp, the text was nice and crisp (just what I wanted). The
    problem is that I could not find a way to place the graphic symbol
    into the dynamic text area like id did using the <img> tag.
    This symbol needs to scroll as you scroll the text in the text
    area.
    This is why I am asking for help. I am looking for some ideas
    that may work.
    Thank you,
    Steve

  • HTML tags in Dynamic Text

    I am planning on building a website in flash with 90 percent
    of the site in dynamic text. Will flash read the html tags in a
    text file as text or html and code it as a browser would.

    yes, Flash will accept HTML tags, and there are a couple of
    different methods to make this work. But in my limited experience,
    it's a little tricky, and both require a little extra Actionscript
    to make them function. I read some info about this in some of the
    tutorials, but I can't point to them at the moment.
    First, one can use use the ' yourtext_txt.htmlText =
    yoursource_txt; ' method to read a plain text line that contains
    HTML tags. However there are some parameters that need to be set up
    before it will function properly, and there are several optionals
    to choose from, but it seems most importantly to set the HTML
    property to true as in ' yourtext_txt.html = true; ' but there
    still are several different things requried, especially if your
    looking for dynamic on-the-fly changes to different sections of
    text. here's a snipit I'd been working on that uses a similar
    system with arrays:
    did that work, huh? thought I was adding code.
    Another method is to use a CSS or by defining your own
    stylesheet tags within Flash Actionscript. This method seems to
    work better when using LoadVars, where you would define the
    ContentStyle. First you define the StyleSheet, then apply it to the
    dynamic text area (I'll try this again), here's a snipit: (OK I
    think i get it the code will attach to the end of this post, so I
    post the second set in a following post)
    These are just some examples though, from my own
    experimentations, and of course onw would define thier own
    variables. I'm no expert, but I hope this gets you going, just a
    few ideas.

  • Set Text of Container to HTML not working

    I have a div tag named "theAnswer" on a page. When the user
    clicks the "Submit" button, I want some text to appear inside the
    div that has HTML formatting.
    The HTML code for the text I want to appear is below:
    You are correct!  We are committed to conducting
    business with
    the highest degree of integrity, complying with legal
    standards and
    regulations and serving others with respect, fairness and
    caring.  Click here for <a
    href="javascript:;"
    onClick="MM_openBrWindow('../docs/
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
    Info</a> or click Continue.
    After I put in the Behavior to "Set Text > Set Text of
    Container to", choose the correct Div tag, and paste the above into
    the "New HTML" field, when I click the Submit button, I get the
    following appearing in the div "theAnswer" exactly how it appears
    below as text without it being actual formatted HTML.
    You are correct!  We are committed to conducting
    business with
    the highest degree of integrity, complying with legal
    standards and
    regulations and serving others with respect, fairness and
    caring.  Click here for <a
    href="javascript:;"
    onClick="MM_openBrWindow('../docs/
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
    Info</a> or click Continue.
    It's not formatted as HTML, it just comes out exactly what
    the coding is. Why?!

    Let's see the page, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jim Rehmann" <[email protected]> wrote in
    message
    news:g6a3in$dv4$[email protected]..
    >I have a div tag named "theAnswer" on a page. When the
    user clicks the
    > "Submit" button, I want some text to appear inside the
    div that has HTML
    > formatting.
    >
    > The HTML code for the text I want to appear is below:
    >
    > You are correct!  We are committed to
    conducting business with
    > the highest degree of integrity, complying with legal
    standards and
    > regulations and serving others with respect, fairness
    and
    > caring.  Click here for <a
    href="javascript:;"
    > onClick="MM_openBrWindow('../docs/
    >
    >
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
    >>More
    > Info</a> or click Continue.
    >
    >
    > After I put in the Behavior to "Set Text > Set Text
    of Container to",
    > choose
    > the correct Div tag, and paste the above into the "New
    HTML" field, when I
    > click the Submit button, I get the following appearing
    in the div
    > "theAnswer"
    > exactly how it appears below as text without it being
    actual formatted
    > HTML.
    >
    >
    > You are correct!  We are committed to
    conducting business with
    > the highest degree of integrity, complying with legal
    standards and
    > regulations and serving others with respect, fairness
    and
    > caring.  Click here for <a
    href="javascript:;"
    > onClick="MM_openBrWindow('../docs/
    >
    >
    Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
    >>More
    > Info</a> or click Continue.
    >
    > It's not formatted as HTML, it just comes out exactly
    what the coding is.
    > Why?!
    >
    >

  • [svn:fx-trunk] 8024: Fixed an injection where setting the 'content' property of Spark text component to a TextFlow would cause you to get a TextFlow nested inside a TextFlow .

    Revision: 8024
    Author:   [email protected]
    Date:     2009-06-19 16:59:25 -0700 (Fri, 19 Jun 2009)
    Log Message:
    Fixed an injection where setting the 'content' property of Spark text component to a TextFlow would cause you to get a TextFlow nested inside a TextFlow.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-21906
    Reviewer: Carol to review
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21906
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as

    Well, I've already solved one of the two issues
    In order to display the icons on my buttonbar buttons, I just needed to point at {hostComponent.data.data} instead of {hostComponent.data}. I'm not sure why, but {hostComponent.data} in my skin class is a handle on my instance of ButtonBarButton, not its "data" property. Any explanation is welcomed
    I still have got the first issue though. Oddly enough my design works if I put an mx Image instead of the spark BitmapImage for the client logo. That will do the trick for the moment but I'd prefer to deliver a 100% pure spark component in my prototype, and I can see no reason why BitmapImage works inside my ButtonBarButtons and doesn't otherwise...

  • Today (16 July 2014) incoming email messages are displayed in plain text otnly. The view message as menu, is set to original HTML, Tried other options too.

    Tried change view message body as (already set to original HTML) . Tried all settings, no change.

    If you can never see remote images because the "Show Remote Images" button is always missing check that permissions.default.image is set to 1 using the config editor.
    http://kb.mozillazine.org/Privacy_basics_%28Thunderbird%29

  • Render Text as HTML

    Has anyone else had trouble with the Render Text As HTML function in CS4? I want to use two different fonts in the one textfield. Looks fine in Flash but when I export the swf, only the first font is used.

    Yeah this has happened to me a few times since I started this thread a few weeks back.
    Say for example, I have a paragraph of black text set in Helvetica Neue 55 Roman on the stage. I change the colour of some words to red and change some other words to Helvetica Neue 75 Bold. When I export the swf, the words that are set in red are still visible but those words set in 75 Bold are MISSING COMPLETELY, not just changed back to 55 Roman. Back in the Flash file if I select the text which is set in 75 Bold and look to the properties panel it tells me that the text is set in 27 Ultra Light Condensed even though by looking at the stage I can see that the text is clearly set in 75 Bold. What the duck?!?
    I'm thinking it's another CS4 bug. They fixed a few bugs in the update back in May but this particular issue hasn't been resolved I guess.
    Prabug, it sounds like you are loading your text dynamically and applying CSS styles. Is that correct?

  • "Render text as HTML" feature broken in Flash CS6

    ******BUG******
    Concise problem statement:
    Classic text field set to render in html mode does not display the left margin correctly for the 2nd and subsequent paragraphs once you exit edit mode on the text field.  Instead, all paragraphs render as though they have the same left margin as the first paragraph.  It displays incorrectly at runtime as well.
    Steps to reproduce bug:
    1. Create a "classic text" mode text field as dynamic text with "render as html" button checked and set to multiline.
    2. Enter a title line, press enter, then create a second paragraph, press enter, then create a 3rd paragraph.
    3. Select the 2nd paragraph and increase the left margin.
    4. Select the 3rd paragraph and set the left margin to something different than the 1st or 2nd paragraph.
    5. Deselect the text field to finish editing.
    Results:
    While editing the text field, the left margins on the second and third paragraphs are displayed correctly with independent values, but once you finish editing it and deselect the text field, the entire text field displays as though all paragraphs have the same margin as the first paragraph.  If you resume editing, the indentation re-appears, so it's not lost, but it's not being displayed correctly unless you're in edit mode for the text field.  It also displays incorrectly at runtime in the final SWF.
    Expected results:
    The indentation should be visible regardless of whether I'm in edit mode for the text field.
    This feature (html mode display of text) is unusable at design time or runtime, because the text field does not display correctly unless you're actively editing it.
    FYI: Things like different colors, fonts, etc. seem to be preserved, but anything related to paragraph formatting is lost.  If I trace the htmlText at runtime, it's clear that none of the unique paragraph formatting was preserved from the editor, because all paragraphs seem to have taken on the same textformat attributes as the first paragraph.

    If I was going to do everything in ActionScript, I wouldn't have bought Flash Professional, I'd have just compiled with the flex compiler for free.  99% of my stuff is pure AS3 anyway, with a lot of drawing commands and even embedded objects like pixel shader binaries.  It's just annoying that I can't use the Flash Professional visual designer as intended to perform WYSIWYG layout, because paragraph formatting is broken.  It's not copying the values from the UI into the final HTML for the text field.  I find like 3 new serious bugs every single day I use Flash, and for the amount of time I spend debugging the IDE and filing bug reports, Adobe should be paying me to use their product, not the other way around.
    The only real "workaround" to perform proper paragraph formatting in the visual editor is to use the TLF, which should have been integrated into the Flash Player to begin with instead of existing as an RSL that has to be specially referenced by any project that uses it, cluttering the external library reference list.  Someone needs to build a Flash IDE inside Flash that specifically generates classes for library symbols with all the necessary code in the constructor to build the symbol, so it runs online and is truely WYSIWYG (perhaps something like Gliffy: http://www.gliffy.com/gliffy/#templateId=blank&signup=1 (this link bypasses login)
    I still can't get a static text field to look the same as the dynamic one.  The closest I can get it match is by setting render as HTML on and setting the field to multiline, but characters still shift slightly.  TLF text, on the other hand, has perfect consistancy, and edit mode lines up perfectly with non-edit mode, which is exactly how it should have operated from the beginning (like back in MX days).
    Then of course there is this problem: http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/

  • How to set the height of a textarea dynamically

    Hi,
    I have been trying to set the ui.textarea's height dynamically and I am not able to do it. This is what I am doing.
    <ui:textArea binding="#{assignment$EditResult.textArea2}" id="textArea2" style="height: 90%" text="#{currentRow.value['comments']}"/>
    The height is being ignored and it is set to the default size. How can I set the height of this component to fit to the size of its cell, which is dynamic?
    Thanks for your help.

    Thank you for your help! It worked for something like this:
    getTextArea2().setStyle("color : red");
    but this does not work still.
    getTextArea2().setStyle("height: 90%");
    I think it still does not know the size of the cell at this point yet. But this is a good tip, thanks anyway!
    ~Kazzie

  • Set Text of Layer Question

    A Very Easy Question.
    I attempt to "set text of layer." I click on the plus sign on
    the behaviors window, and set text to layer. A cute little box pops
    up. In the Layer drop down box is a host of "unnamed
    <span>"s. None of my divs are listed. In the body of this
    page are Plenty of ID'd divs. I have named layers out the wazoo.
    Why Are My Named Layers Not Listed In the Layer Drop Down
    Box?

    > seen it done many times over in rss readers, although
    when I look at the
    > page
    > source I secretly hope that it's not as complicated as
    it appears.
    It would depend entirely on your level of HTML expertise.
    One way to solve the problem would be to use an IFrame to
    contain the
    external content on the page, but a frame is a frame is a
    frame. By that I
    mean that IFrames usually provide all the user problems that
    frames do.
    > With the accordion widget I'm using as the main visual
    feature of the site
    > I'm
    > creating, I find it unnacceptable to think I'll have to
    reload the entire
    > page
    > every time a user wants click on something to view
    information; I thought
    > programming like that was a thing of the past.
    Linking from one page to another is how static HTML pages
    work. Having a
    single page to display multiple content elements as loaded
    from a database
    requires that the page return to the server to fetch new
    content from the
    database on each click. Either method requires a page
    refresh.
    Linking to content that is placed within an IFrame doesn't
    require this page
    refresh, but carries other disadvantages as mentioned above.
    Does that help at all?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "iiinsomniiiac" <[email protected]> wrote in
    message
    news:[email protected]...
    > Well, my apologies for not knowing exactly what you mean
    by
    > "round-trip"ing -
    > but - I suppose I'm simply looking for the easiest way
    to do just what I
    > explained: an onclick event that loads an html file into
    a div or td.
    > I've
    > seen it done many times over in rss readers, although
    when I look at the
    > page
    > source I secretly hope that it's not as complicated as
    it appears.
    >
    > With the accordion widget I'm using as the main visual
    feature of the site
    > I'm
    > creating, I find it unnacceptable to think I'll have to
    reload the entire
    > page
    > every time a user wants click on something to view
    information; I thought
    > programming like that was a thing of the past.
    >

  • Otomatic set text and push button

    I want to ask one question about ASP.NET htmlparser.
    I want to go one url and i want to find textboxes and buton .
    After that i will set a value in this textbox and i will push the button.But i want to work this otomatically.I used agilepackage and i went to adress otomatically,i wrote  XPATH and  i found what i want to textbox and i set in my code
    this XPATH.
    var node =document.DocumentNode.SelectSingleNode("/html/body/div/div/div/article/form/input");
    But this node is null ...I want to text website's textbox element.
    How can i take text box. I will set textbox  like down code.
    node.SetAttributeValue("lookupTarget","blabla");
    After that i will buton XPATH adress like node and i will RaiseEvent("onclick")
    HtmlElement button = doc.GetElementById("btnbuton");
    button.RaiseEvent("onclick");
    Thanks for help.

    Hello,
    This forum is used to discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including
    Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.
    For issues regarding Xpath, there is a specific forum, I will move this issue to there for a better help.
    Edit:
    Oh, I am very sorry for my mistake that I move your thread to this wrong forum. You can ask it here:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=xmlandnetfx
    Really sorry.
    Thanks for your understanding.
    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.

  • Setting Text of Layer Conflicts

    Hello everyone. Thank you for taking the time to check this
    out!-)
    Attempting to accomplish:
    In a single parent browser window, I have a layer containing
    an image (that is viewable because it has already been initiated by
    a "set text of layer" behavior), and a second layer containing a
    text link that I would like to coordinate multiple behaviors.
    Behavior 1: On Mouse over, set text of layer (PHOTOLAYER) to
    JPEG2
    Behavior 2: On Mouse Out, set text of layer (PHOTOLAYER) to
    JPEG1
    Behavior 3: On Click, Set text of layer to JPEG2
    Behavior 4: On Click, Open new browser window containing new
    html page (SECONDWINDOW.html)
    Code:
    <a href="slideShows/SECONDWINDOW.html" target="TARGET"
    onclick="MM_openBrWindow('slideShows/SECONDWINDOW.html','TARGET','width=886,height=750');M M_setTextOfLayer('PHOTOLAYER','','&lt;img
    src=&quot;assets/JPEG2.jpg&quot;
    width=&quot;944&quot;
    height=&quot;403&quot;&gt;')"
    onmouseover="MM_setTextOfLayer('PHOTOLAYER','','&lt;img
    src=&quot;assets/JPEG2.jpg&quot;
    width=&quot;944&quot;
    height=&quot;403&quot;&gt;')"
    onmouseout="MM_setTextOfLayer('PHOTOLAYER','','&lt;img
    src=&quot;assets/JPEG1.jpg&quot;
    width=&quot;944&quot;
    height=&quot;403&quot;&gt;')">LINKNAME</a>
    Further explanation:
    When I test this, noted Behaviors 1, 2 and 4 work fine.
    However, I'm not getting the JPEG2 on click.
    Any ideas as to why this isn't working? Or, is there a
    simpler way of coding this whole thing? Any help is appreciated.
    Thank you in advance!

    Change this -
    MM_setTextOfLayer('PHOTOLAYER','','<img
    src='assets/JPEG2.jpg' width='944'
    height='403'>')"
    to this -
    MM_setTextOfLayer('PHOTOLAYER','','<img
    src=&#39;assets/JPEG2.jpg&#39;
    width=&#39;944&#39;
    height=&#39;403&#39;>')"
    and this -
    onmouseover="MM_setTextOfLayer('PHOTOLAYER','','<img
    src='assets/JPEG2.jpg'
    width='944' height='403'>')"
    to this -
    onmouseover="MM_setTextOfLayer('PHOTOLAYER','','<img
    src==&#39;assets/JPEG2.jpg=&#39;
    width==&#39;944=&#39;
    height==&#39;403=&#39;>')"
    and this -
    onmouseout="MM_setTextOfLayer('PHOTOLAYER','','<img
    src='assets/JPEG1.jpg'
    width='944' height='403'>')">LINKNAME</a>
    to this -
    onmouseout="MM_setTextOfLayer('PHOTOLAYER','','<img
    src==&#39;assets/JPEG1.jpg=&#39;
    width==&#39;944=&#39;
    height==&#39;403=&#39;>')">LINKNAME</a>
    It's the improperly nested quotes that is killing you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Muskieman5000" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello everyone. Thank you for taking the time to check
    this out!-)
    >
    > Attempting to accomplish:
    > In a single parent browser window, I have a layer
    containing an image
    > (that is
    > viewable because it has already been initiated by a "set
    text of layer"
    > behavior), and a second layer containing a text link
    that I would like to
    > coordinate multiple behaviors.
    >
    > Behavior 1: On Mouse over, set text of layer
    (PHOTOLAYER) to JPEG2
    >
    > Behavior 2: On Mouse Out, set text of layer (PHOTOLAYER)
    to JPEG1
    >
    > Behavior 3: On Click, Set text of layer to JPEG2
    >
    > Behavior 4: On Click, Open new browser window containing
    new html page
    > (SECONDWINDOW.html)
    >
    > Code:
    > <a href="slideShows/SECONDWINDOW.html"
    target="TARGET"
    >
    >
    >
    onclick="MM_openBrWindow('slideShows/SECONDWINDOW.html','TARGET','width=886,heig
    > ht=750');MM_setTextOfLayer('PHOTOLAYER','','<img
    src='assets/JPEG2.jpg'
    > width='944' height='403'>')"
    >
    > onmouseover="MM_setTextOfLayer('PHOTOLAYER','','<img
    > src='assets/JPEG2.jpg'
    > width='944' height='403'>')"
    >
    > onmouseout="MM_setTextOfLayer('PHOTOLAYER','','<img
    src='assets/JPEG1.jpg'
    > width='944' height='403'>')">LINKNAME</a>
    >
    > Further explanation:
    > When I test this, noted Behaviors 1, 2 and 4 work fine.
    However, I'm not
    > getting the JPEG2 on click.
    >
    > Any ideas as to why this isn't working? Or, is there a
    simpler way of
    > coding
    > this whole thing? Any help is appreciated. Thank you in
    advance!
    >

  • Setting text to overflow into another text component in flex

    This was pretty easy when I've done it in html but I can't find any info on how to incorporate this into flex. I want to get this sort of thing into my app where once the text reaches the bottom it wraps underneath the bottom of the left hand image the way it does in the top product here in this html site:-
    http://www.imageproduct.co.uk/acatalog/glass_mirror_tvs.html
    I've tried to emulate this and I have a top left container containing all my images which is within a hbox and also within this hbox on the right is my text. The text box has it's height and width set to 100 so it takes up 100% of the h box height wise and the remainder of the width left over from the product image which resizes based on what product is selected. The  maxHeight of the h box is set to 400 (my images only go up to this size) but what I want is when the textbox exceeds this it will 'overflow' into another text box below the image/text like in that example. I have no clue how to implement this though.
    Can anyone help me out?

    Thanks coldMiner,
    I tested that. I presume that it can be expanded to go
    page1_txt, page2_txt, page3_txt (replacing test_txt and rest_txt)
    and so on. And I can see how it works for the text string, but how
    do I import an external text file to replace the string?
    Thanks,
    Art

  • Setting a renderer for an element dynamically at runtime

    Currently i am searching for a UI feature : Generating a HTML table by setting the renderer for each cell dynamically at runtime. E.g. depending on some state dependency(e.g. authorization issue) i want to render information in a cell in one case as a hyperlink or a in the other case as a informational text (instead of the hyperlink).
    My question : is that feature in JSF Framework implemented or adaptable? Viewing some JSP/JSF code, the definition of the renderer seems to me to be determined at compile time, and there is no example how to do as described above.
    Any hint appreciated, Joerg

    I agree with keyurva proposal. This rendererType is dynamically set based on the state.
    2nd is if all the cell are the same component type, you even can extends the component to override the getRendererType() method making to returne a different value based on the state.

  • Converting PDF CLOBS to text or HTML

    I would like to run though all the PDFs (stored as CLOBS) in a database table and copy them to a text or HTML CLOB. Doing this beforehand will should allow me to rapidly index and snippet-ify these fields duirng queries.
    How exactly can I use the built-in facilities in Oracle Text to do this?
    Roger Ford has had some great input on my snippet performance problems and had this to say:
    "The key is to pre-convert before indexing. You can do that with a pl/sql procedure that uses ctxdoc.policy_filter or ctxdoc.ifilter."
    The Reference Manual, page B-2, has this to say:
    "This technology [AUTO_FILTER] also enables you to convert documents to HTML for document presentation with the CTX_DOC package."

    I apologize for posting prematurely....
    I should be able to use CTX_DOC.FILTER as Roger suggested.
    I think I can just loop through every PDF in the table and dump each converted PDF to the result table. I will set the query id to the key from the PDF table thus allowing me to get at the metadata.

Maybe you are looking for

  • Printing pictures via bluetooth to a bluetooth printer that is not online

    i was wondering if iphone will be able to send a picture or file to a bluetooth printer that is not online i'm out in the field alot and need to print pictures right there i have a bluetooth printer in my van. my old phone would send via bluetooth an

  • Using webutil_file_transfer in 10G forms

    I am looking to upload a pdf blob from a table in the database to a physical directory on the the application server. Then use web.show_document to display the the pdf in a browser to the user. I currently use the following to display the pdf. webuti

  • Import / Export problems

    Hi team. I have a 4.6 C version an the import / export works fine. But in the SAP ERP Central Component 5.0 I do the Export. Review the abap memory and se the areas, but empty. And when I do the import the data are clear. Do you have any idea. And i

  • Aperture with Apple Mail

    I want to show the Apple Mail Photo Browser from Aperture to Apple Mail. It just shows iPhoto only. In setting Aperture the photo browser, it has not worked. Aperture Version 3.2.2

  • F4 changes in Classic ALV Grid

    Hi I'm using REUSE_ALV_GRID_DISPLAY , I have a Requirement to display F4 for MRP Group based on the plant in ALV GRID  DIsplay. How Can I capture F4 event and modify Standard F4 by using normal ALV. Thanks for all your suggestions and time.