Possible to insert html text or ADF component into header of panelWindow?

Hi Experts,
Is it possible to replace the content of a panelWindow's header with anything other than another image?
for example with ADF components? or with html-formatted text?
I'm creating a Microsoft-Ribbon like widget and trying to use panelWindows as the backbone for the menu-bar popup.
The header will contain the title of each sub-menu-bar, hence my question... (btw, if anyone has a better way of doing
this - do suggest :)
many thanks in advance,
p.s.: it'd be great to simply get rid of the header alltogether and just add a individual panelGroupLayouts comp in a row,
but it looks like I would lose the close-button functionality in that case...

Hi!
The way to go is to use panelGroupLayout or even better some more sophisticated layout (like panelBorder or panelStretch) to build your own window. To build close button - just use clientListener (google for Frank's blog posts on using client side scripting in ADF RC for opening/closing popups). Then, you can package all this into reusable custom component... (leaving facets to include your external markup where needed) And you have your ADF Rich "widget"!
I did it many times for similar purposes. Custom components are great thing in ADF RC. And they are intended for just such an case as you described.
Regards,
PaKo

Similar Messages

  • Is it possible to insert a text field over an image?

    I am creating a web form, and I would like to insert a text field over an image - basically, the person completely the form will be able to see how the text she write will look on the image.  Is this possible in FormsCentral?  Or is there a work around?

    This is something that is not supported.

  • Inserting html snippets for paypal buttons into templates

    I can insert html snippets(for pay pal buttons) into an iweb page that I've created but if I go to the slide shows and try to add a button to those it puts the buttons on ALL the slides. Any remedy as I'd like to use the photo templates AND pay pal buttons.

    Welcome to the Apple Discussions. Cyclosaurus posts some code to add items to the gallery page of a slideshow. I believe the post in in this thread: http://discussions.apple.com/thread.jspa?messageID=8426989#8426989
    Here are some of his other posts about album pages that might be of some help:
    http://discussions.apple.com/thread.jspa?messageID=8851990#8851990
    http://discussions.apple.com/thread.jspa?messageID=7511242&#7511242
    He's the resident expert on Javascript here and can do just about anything with it.
    OT

  • Is it possible to insert a text field in formatted text?

    I am attempting to create a standardized letter that will allow my secretary add names, addresses, etc., without having to re-format the letter every time.  Is this possible to do in FormsCentral or should I be using a different program?  Thanks!

    HI!,
    I think you should separate programming for AS3 and for FLEX,
    this is beacuse they both use different class packages. If you want
    your classes to be FLEX compatible you need to extend them from
    Flex Objects and not from AS3 Objects.
    In sum, if you want your class to be processed by let's say
    the application object then you need to extend it from
    mx.core.UIObject.
    This is because there are lots of methods that FLEX uses to
    place your class on the screen that are not used by normal AS3
    applications.

  • Programmtically insert text into header of panelWindow?

    Hi Experts,
    Is it possible to replace the content of a panelWindow's header with anything other than another image?
    for example with html-formatted text?
    I'm creating a M$-Ribbon like widget and trying to use panelWindows as the backbone for the menu-bar popup.
    The header contains the title of each sub-menu-bar, hence my question... (btw, if anyone has a better way of doing
    this - do suggest :)
    many thanks in advance,
    p.s.: I could just get rid of the header all together and just add panels in a row but then I'd lose the close-button
    functionality...

    User,
    You'd be better off posting this in the 11g forum
    JDeveloper and OC4J 11g Technology Preview

  • Is it possible to insert (or add) a blank page into the middle of an existing chapter of a book created with iBooks Author?

    I have one LONG chapter in my book and feel is necessary to make some edits that include additional pages within the chapter itself.  But when I INSERT a page or press the +Page prompt as I have my chapter open to the place I wish to insert a page, the new page appears only at the END of the chapter and not at the point within the chapter that I would want the new blank page to appear.  What gives?  Another under developed software bug, or....?
    Anyone else have the same issue and has been able to overcome it?

    A new page is always dropped at the end. The only option I have found is simply to copy and paste everything down one - or as you want to adapt it.  I assume its not a text only book or the text would flow and add pages as required.
    Its not a bug or under developed.... its  the Apple Way

  • Text is not copying into Header Text Type from Contract to Order & Invoice

    Salute Masters!!
    I have done related configuration in VOTXN for Sales Document & Billing.
    After creation of Contract, given Text in New Header Text Type, itu2019s not copying into Sales Order or Invoice.
    Although, which was configured earlier one, for that Header Text Type, text is copying into Order & Invoice both properly.
    Firstly; I have given the same Access Sequence for the New Header Text Type, It was copying the same matter which was given into Old Header Text Type, then I have created new Access Sequence & assigned changed Access Sequence for the New Header Text Type, even then it is not copying.
    I have checked other Configuration those are OK!
    Assignment of Sales Document Type to Text Determination Procedure, it is OK!
    Please provide the solution.
    Thanks in advance.
    Warm Regards,
    Sanjai Srivastav

    Hi
    Hope the issue is resolved , if not please check these settings - VOTXN
    1. Create Text Type for your Sales order -S001 and Billing Invoice - B001
    2. Create Access Sequence - Z001.
    3. Include your Both Text Type in respective Procedures.
    Now
    WHen you will assign the Text into your Text Procedure - Assign same Access Sequence in both the case.
    In your Sales Order text procedure - Assign
    1. Assign Text Type S001  and Access Seq Z001
    2. Select the Access Seq on the left side in the VOTXN T-Code , a POP up will come and then input Your Access Seq into that
    3. You will get another screen, Here give the Seq No-1 and VBBK Header Text and Again Assign TEXT type S001.
    Now go to Invoice Text Procedure
    1. Assign Text Type B001 and Access Seq Z001 and SAVE.
    Once you will do that the step 2 and 3 will automatically get copy in the backend.
    To Check
    2. Select Access Seq on left side and in the Pop Up input access Seq. Now there you will see the system has copied the
    fields from the Order.
    Now try running the scenario. same you can do for Contract and Order.
    Hopefully this will Help you.
    please let me know if any concerns
    Thanks
    RB

  • Inserted HTML and Images

    Is it possible when inserting html in Muse, to have images within the html text? If we will be using Adobe Catalyst, what will I need to do to properly code the images into the text?

    Hello,
    You can use the <img> tag between the text. More info on : http://www.w3schools.com/tags/tag_img.asp
    In place of Image Path, use "/Assets/Filename.extension" (replace filename.extension with the filename of the image).
    After that use File>Add files for upload and select the image so that it gets added to Assets folder when you Publish the site.
    You might not be able to preview it but you can use File>Export as HTML and view the whole site exported in a local folder.
    Regards,
    Sachin

  • Insert HTML and export to PDF problem (ID CS6)

    Greetings,
    A new feature in Indesign CS6 is to insert HTML snippets in an Indesign document via the Object > Insert HTML option.
    This will insert a frame in the page containing the rendered HTML content.
    There are several issues that I have encountered using this feature in Indesign CS6. Can anyone advise if these are bugs/ux issues and provide any alternatives/solutions.
    1) After inserting any HTML content (even the default "This is an HTML snippet"), when I try to export to PDF format (Interactive or Print), the  HTML content or rather its frame container is rendered in black. I've noticed that the HTML content is exported as a image so all I get are black rectangles.
    There is no problem when I try to export to HTML format.
    2) There seems to be a paste size limit in the Insert HTML text area/field as I can only paste 16566 characters of HTML code. (Haven't checked yet if the limit is in characters or tags or newlines).
    3) How can you set such that the HTML object frame will span multiple pages for cases where the HTML content is larger than the height of the page? Since it is not a text frame, I can't find a threading feature or a possible workaround. Or is the "Insert HTML" feature not really applicable for PDF export workflows but only for epubs?
    Thanks

    Oh ok. I guess direct HTML import is still not possible in ID CS6 (either import as XML or convert to DOC/RTF) for PDF export.
    Thanks

  • Buttons to send html text to textfield

    How do I insert html text to a dynamic textfield?
    The textfield's instance is called myDynamic. The first button is called button1_btn. I've read on htmlText and multiline, but I can't figure out how to simply attach a text to a button and, when the button is pressed, the htmlText is sent to the field.
    var firstText = "";
    firstText.multiline = true;
    firstText.htmlText = "<p>test.</p>";
    button1_btn.addEventListener(MouseEvent.CLICK, myInner);
    function myInner (m:MouseEvent):void {
      myDynamic.htmlText = firstText;

    That should be working, but for some reason it's not, so I'm guessing the problem lies with the textfield, because I tested the button by changing the function to gotoAndStop and it seems to be working, but only under some odd condition. I created the textfield manually, not with AS3, but that shouldn't make any difference, since I gave it an instance name. I work with scenes (not my choice) and I'm noticing some odd behavior, and I wonder if it may have anything to do with my problem.
    For example, when I change the function to gotoAndStop (1, "del2"), the button, which is directed to del2 (part 2) will not work if you click on del3 (part 3) right away; however, if you click on del2 first, then on del3 again, and you click the button, then it's working. As for the textfield, it won't work either way; the only thing I've noticed is that if you go to del2 and back to del3, a mystical "e" appears. I wish I could explain myself better, so instead I invite you to check it out (it will only take you 20 seconds).
    How to reproduce the 'error':
    1. Go to http://studenter.miun.se/~stti1400/test2.swf;
    2. Click on Del3;
    3. Click on the yellow button in the upper left corner, under "1" (it doesn't work);
    4. Now click on Del2;
    5. Click on Del3;
    6. Notice the "e"; now click the same button as before (it takes you to del2).
    In case you want to check the fla-file: http://studenter.miun.se/~stti1400/test2.fla
    I played around a bit, changing the text of the variable to something else, like "okokokokok"; the "e" doesn't appear then. I first thought the "e" was a fragment of the text, with the rest of the text not showing.

  • Swing JEditorPane how to divide a html text in equals pages

    Hi,
    I want to load a html text from a file into a JEditorPane and divide its content in pages with the same number of lines. I want to create a look like in pdf or microsoft word. I found somewhere an example wich create the editor as I want but it is made using shapes and draw them.
    The look is that that I want, but being shapes they aren't editable or selectable.
    Can you give me any ideea how can I make this?
    Thanks in advance!

    You can use this
    http://java-sl.com/Pagination_In_JEditorPane.html
    And this
    http://java-sl.com/JEditorPanePrinter.html
    To see my attempts to achieve the behaviour
    Regards,
    Stas

  • HtmlDocument.insertString() no render html text :-(

    I have a chat pane that is a jtextpane.
    When a user writes into the chat i use document.insertString to append the user text.
    This works ok.
    But now, i want to add hyperlinks to the chat pane, so a user could double-click on them and browse on internet.
    So i set a HTMLEditorKit in the textPane.
    When a user writes into the chat i use document.insertString to append the user text....
    But if the text is html, like < html>< b>hello</b></html>
    In the chat pane appends exactly the same: < html>< b>hello</b></html>
    If i want to display the rendered html text i have to execute:
    chatPane.setText(chatPane.getDocument().getText(0,chatPane.getDocument().getLength())); <-- this works ok
    But this solution is more expensive if the text grows. And it is a chat, the text always grows!
    Is there another solution to append html text (and render it) into a jtextpane or jeditorpane ???
    Can i create hyperlinks without the htmleditorkit?
    Thanks in advance.
    jcpa1

    I executed doc.insertString(0,"text",null);
    null is the AttributeSet. But i dont know which attribute set i have to use.
    Please a little help :-(

  • Scrolling component into view programmatically without using javascript

    Hi,
    Is it possible to scroll an adf component into view programmatically without using javascript?
    I know of <af:scrollComponentIntoViewBehaviour> that can be added to a command component , but is there a way to do that programmatically in a bean?
    Problem with using javascript is its not guaranteed to work in different browsers.
    Regards,
    Rakesh.

    Hi John,
    Thanks for the reply.
    If i use the af:scrollComponentIntoViewBehavior, then i wont be able to achieve my desired functionality.
    In my use case, i want the id, of the component that needs to be scrolled into view, to be determined in the server listener of the button which is not happening.
    Code snippet in jspx page is as follows:
    <af:commandButton id="cb1" immediate="true">
    <af:clientListener method="clickButton" type="click"/>
    <af:serverListener type="customEvent"
    method="#{pageFlowScope.bean.doScroll }"/>
    <af:scrollComponentIntoViewBehavior id="#{pageFlowScope.bean.compId}/>
    </af:commandButton>
    And the java code for method doScroll is something like :
    public void doScroll (ClientEvent clientEvent)
    //logic to determine compId goes here
    compId = "id";
    So, the problem here is "compId" is set to some value when bean is loaded and the id in the af:scrollComponentIntoViewBehavior will be set to that value forever.
    I cant find any way of telling it to re-read the "compId" value, say after clicking the button. I can refresh the button in the server listener to update the compId .
    But the updated compId will come into picture from *next click*. This is because, after the button is clicked, "scroll" action happens first and then serverListener executes.
    Is there a way to change order of this execution like "execute server listener first and then do the scrolling thing" ?
    Regards,
    Rakesh.
    Edited by: 927925 on Jul 27, 2012 2:02 AM

  • ADF/Struts Generated tag code variations? Struts html:text vs Html input

    Hi,
    JDev 10.1.2.1
    ADF/Struts
    I noticed that the JDev IDE generates different code for a same component/binding combination.
    Example:Data Control of type Input form with same VO selection.
    Generated code for 1 field:
    case 1)
    JSP code:
    <tr>
    <td>
    <c:out value="${bindings['TitleLang1'].label}"/>
    </td>
    <td>
    <html:text property="TitleLang1"/>
    </td>
    </tr>
    HTML output:
    <tr>
    <td>
    Short Title Language 1
    </td>
    <td>
    <input type="text" name="TitleLang1" value="Preliminary Demo">
    </td>
    </tr>
    case 2)
    JSP code:
    <tr>
    <td>
    <c:out value="${bindings['TitleLang1'].label}"/>
    </td>
    <td>
    <input type="text" name="<c:out value='${bindings.TitleLang1.path}'/>" value="<c:out value='${bindings.TitleLang1}'/>"/>
    </td>
    </tr>
    HTML output:
    <tr>
    <td>
    Short Title Language 1
    </td>
    <td>
    <input type="text" name="VB_TitleLang1" value="Preliminary Demo"/>
    </td>
    </tr>
    Case 1 generated code is obvious to me, the html name of the field equals the field binding id.
    In Case 2, the VB_ prefix is added and the binding variable references bindings.fieldName.path?
    Could someone explain me the second flavor?
    When should we use the path reference and replace the Struts html:text tag with html input tag?
    Thanks
    Fred

    I dont think you can mix static values and rt expressions together in attribute values.
    String onBlurString = "dontLeaveItEmpty(this);referenceEntered(" + recordNumber + ")" ;
    html:text styleClass="textFieldInTable" name="refrences" property="referenceName" onblur="<%=onBlurString%>" />cheers,
    ram.

  • HTML Viewer: Copying images+text to another component

    Hi folks,
    I'm working on a Java app for a research project where I'd like to be able to view a webpage in one panel (with some HTML viewer) and then be able to select pictures AND text from it (web browser-style), click a button, and have it copy the images and text (even the HTML code behind it would be sufficient) to some JTextArea or whatever.
    In other words, I'm trying to find an HTML viewer or browser which will be able to select both text and images and be able to copy the selection (as the real objects or even as HTML code, either way) so that it could be sent to some other component.
    I believe that JEditorPane supports viewing HTML, but you can only copy text from it. So, can anyone recommend an API class or even some 3rd party software (no funds since it's academic research, so free is preferable) that can do anything close to this? Alternatively, does anyone know of some other work around -- for example, selecting in IE or another browser, then dragging it onto some component into the Java app?
    Thanks a ton for any help!
    -Jon

    Try this..
    create a new flex project and add a folder called "src"
    create a new MXML component named "VideoComp.mxml" and copy/paste
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var videoWidth:int = 300;
    [Bindable]
    public var videoHeight:int = 300;
    ]]>
    </mx:Script>
    <mx:Label text="Vidoe" />
    <mx:TextInput text="{videoWidth}" id="w" change="this.videoWidth = int(w.text);" />
    <mx:TextInput text="{videoHeight}" id="h" change="this.videoHeight = int(h.text);" />
    </mx:VBox>
    create a new MXML component named, "SharingComp.mxml" add copy/paste this..
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var videoWidth:int;
    [Bindable]
    public var videoHeight:int;
    ]]>
    </mx:Script>
    <mx:Label text="Sharing Comp." />
    <mx:Label text="{videoWidth}" />
    <mx:Label text="{videoHeight}" />
    </mx:VBox>
    and here is the main.mxml file
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:src="src.*">
        <mx:Script>
            <![CDATA[
                private function doSomething():void
                 sharingComp.videoHeight = videoComp.videoHeight;
                 sharingComp.videoWidth = videoComp.videoWidth;
            ]]>
        </mx:Script>
       <src:VideoComp id="videoComp" />
       <mx:Button click="doSomething()" label="copy" />
       <src:SharingComp id="sharingComp" />
    </mx:Application>
    Hope this helps,
    BaBo,

Maybe you are looking for

  • How can I load an Excel File to a pipe-delimited .csv File

    In SSIS I am attempting to process a .xls File and I have a C# script that is reading the .xls File. My issue is this...I have some fields that have an embedded comma in them. Those fields are designated by a double quote though ". I have included my

  • Audio Jack in front not working.

    Hi, when I bought my HP Pavilion p6823w Desktop PC, from walmart I hooked it up correctly.  When I booted for the first time, I got a Blue Screen of Death, and the problem system repair said it was my IPOD cord was plugged into a USB port.  Without

  • Radio buttons not working after resetting

    I have a form with two radio buttons for each question.  Each question is in its own frame "Q1," "Q2," etc.  I also have a btn_Reset created to reset the form, i.e. reset all radio buttons and return to "Q1" frame.  All buttons work as they should, i

  • TS1389 where is the itunes settings in the store?

    I need authorization on my laptop to download my music and can not find the settings in store...any help?!?!

  • Advice on perfect line up

    Now I use Logic Studio with the Focusrite Saffire preamp/converter. I want to upgrade my gear to pro level. What would be the best preamp and/or audio converter to make a real sound improvement? I only need two inputs. I have a budget up to € 2000,-.