Af:showPopupBehavior aligns popup window at top-left window JDev 11.1.1.0.0

Hi,
I am using af:showPopupBehavior to show a popup. I have specified alignid but popup is not align to my component. It is shown at left corner at the top of my browser. I also retried removing alignid and take default setting. No luck.
Here is my code:
<af:panelGroupLayout clientComponent="true" *{color:#ff0000}id="pg1"{color}* layout="scroll" inlineStyle="max-height:#{pageFlowScope.maxHeight == null || pageFlowScope.maxHeight == '' ? '250': '100'}px">
<af:popup id="detailedMessage" contentDelivery="lazyUncached"
launcherVar="source" eventContext="launcher">
<af:outputText value="#{AMFMessagingServiceInstance.currentMessageOwnerId}" escape="false"/>
<af:setPropertyListener from="#{source.attributes.detailedText}" to="#{pageFlowScope.detailedtext}" type="popupFetch"/>
<af:setPropertyListener from="#{source.attributes.detailedText}"
to="#{AMFMessagingServiceInstance.currentMessageOwnerId}" type="popupFetch"/>
</af:popup>
<af:commandButton clientComponent="true" id="alginMe" visible="false" text="test"/>
<af:forEach items="#{pageFlowScope.messageListener.messages}" var="message" varStatus="msgVS">
<af:panelGroupLayout clientComponent="true" layout="horizontal" valign="top" id="testing2">
<f:facet name="separator">
<af:spacer width="20" height="30"/>
</f:facet>
<af:panelGroupLayout id="pg2" clientComponent="true" layout="vertical" inlineStyle="padding:10%;">
<af:image id="image1" shortDesc="#{message.text}" source="#{message.imageFileName}" rendered="#{message.imageFileName != ''}" clientComponent="true">
<af:clientAttribute name="detailedText" value="#{message.detailedText}"/>
<af:showPopupBehavior popupId="detailedMessage" triggerType="click"
{color:#ff0000}*alignId="pg1"*{color}/>
</af:image>
</af:panelGroupLayout>
</af:panelGroupLayout>
</af:forEach>
</af:panelGroupLayout>
I am using this code fragment as a region. JDev version is 11.1.1.0.0. I also noticed if I change popup content deliver type to "lazy", I kind of got desired alignment, but I can't cache my popup window content as it is changing.
Appreciate any help.
Thanks,
Feng

Hi,
I think the problem comes from using the af:forEach element, which only stamps the components. Components that are stamped don't have a client object and just cannot be used for alignment. I think that using af:iterator is the way to do it so instances of the components are created.
Frank
Edited by: Frank Nimphius on Feb 12, 2009 7:16 AM

Similar Messages

  • Entered text alignment in middle, not top left...how to fix?

    I have a text field that's about .5" tall. When a user enters information into the field the entered content begins in the middle of the area. As they enter more information the center alignment seems to go away and the text moves up to simulate top left alignment (the field has expand to fit on also). So, 1) do I have to make the cell smaller for it to have top left alignment and subsequently throwing off the look of the form or 2) is there a way to get the cell to have top left alignment?
    Thanks for any help!
    Becky

    You can align the input to top, middle or bootom as well as right, left or center. These settings are contained on the font palette. The palette is probably not visible to you, so go to the Window Menu and turn the font palette on (or hit the shift F4 shortcut key). Now click on th eobject you want to align and look at the Font palette. Jsut below the Tabs is a line that says what you are editinng (by default it is set to caption and value). Change it to edit just the value. Now you can set the alignment by clicking on the paragraph tab and choosing the options that you want.

  • Align page to the top left ?

    Hi everyone !
    First of all all my thanks to this great forum, it solved lots of questions in advance.
    Here´s one I couldn´t find an answer to:
    Most of the internet pages I know don´t have the page automatically centered in the browser, but have it aligned
    to the top left. So that on openinig the page you hardly ever
    see the browser background. Only if increasing browser size the background will come up on the bottom and left.
    I know that the iweb behaviour of placing the page automatically center can´t be altered easily, but maybe there is a way to do this via html ?
    Thanks for the answer !
    G5 Mac OS X (10.4.9)
    G5   Mac OS X (10.4.9)  

    iweb ! Ok, so I should try to see the page source,
    find the text about window/browser placement and do
    what people do, who can read and write Jawa/html. Hm
    LOL! many people had tried to look at my page source and didn't see much there.
    I´m afraid that´s not me, but maybe you can point me
    to the lines to alter ? Besides: iweb´s behavior of
    There is no need to look for the code, iWeb code is very structural so adding the following line to the end of your page (after /html>) will do the job:
    <script type="text/javascript">document.getElementById('body_content').style.marginLeft = '0px';</script>
    Do not add the above to HTML code if you use .mac blog and its commenting system. Alter (.mac blog) HTML will potentially mess it up.

  • Field alignment gets locked to top-left for last field on subform

    Periodically I experience a problem with the last field on a subform. Whatever field alignment I set using Output Designer, when central pro processes the data the and aligns the data topleft. This is a particular problem when outputing financial data which I need to right align because the number of digits before the decimal point is variable. I usually work around this by adding dummy fields at the end of the subform, but this does not always fix it.
    Any ideas as to what causes this? (so that I can avoid it)
    Or any software fixes for it?
    Are there any tools for examining the content of the .ifd or .mdf files, as this may through light on the cause.
    Adobe Central Pro Output Server version = 5.5 (also affects 5.4)
    Presentment target = PDF
    Windows version = 2000 professional
    Many thanks in advance, Stephen

    Thank you for the feedback.
    I have changed a some of the field positions/widths and changed the alignment from top-right to middle-right and the problem seems to have gone away.
    I could not see a way of determining the printable regions of the page. The output I am crfeating is a PDF file.
    I am still concerned that I don't understand the problem well enough to avoid it in the future.
    Stephen

  • When I open Firefox within a few seconds I get a wierd popup in the top left corner that says "want more options?" Anyone know what this is?

    Its a small box with a picture of a mouse that wants me to click and it will not let me do anything else, I can't close firefox without task manager or click on any other areas.
    http://i54.tinypic.com/2n246ch.png

    Does this only happen on specific pages?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can try to disable notifications as a test (you may want to reverse this).
    You can try to set the dom.webnotifications.enabled pref to false on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config

  • Aligning elements to grid on top left corner

    Hi everyone,
    I often use the snap to grid which is nice to organize stuff.
    However, I was wondering is it possible to align the elements
    specifically to the top left corner of the grid, or top right corner etc..
    Ted.

    No.. that isn't what I meant.. what I meant is when you have snap to grid activated (It's hard to show it here but suppose that my table is a grid with equal sized squares) . I have an irregular text object A.. that aligns automatically to the top left of the grid squares.. I want it in the bottom right corner.
    A
    I later found out that it doesn't do it with text object.. but if I convert the text to outlines.. I can then align it to the bottom right corner of the grid squares.
    Ted

  • How to put Panel with GridBagLayout to top left edge

    Morning everybody!
    So, i got a small question. When i have a panel with a GridBagLayout, the components are always aligned to the center of the panel... Is there a posibility to align them to the top left edge?
    Regards, michael

    Thanks!
    But i solved the problem myself. I just put the panel with the GridBagLayout into on with BorderLayout.
    Now it's okay. Maybe this solution is a dirty one, but it works!
    I wasn't able to make any changes with anchor. No matter which value, nothing changed....
    Regards, Michael

  • Flash CS4: Top/left alignment is 8 px from top/left in browser??

    Hi there. another newbie to Flash. My vision is to have a colored square at the top of the site Im working on which should span across the entire browser window. I have created a square 1280 x 100 pixels in size and imported it to the stage, alignment is set to x=0, y=0 ad alignment. The scene is the same size as the square I 've imported. When I view my Flash creation its displayed 8 pixels from the top left corner of the browser window. The flash file only contains the square and nothing else. Please take a look at the 3 files I've attached: issue-scrreen1-3.jpg. The first 2 screens are my Flash, properties and library screen shots. The third screen shot is my browser window.
    Any help on this issue will be very much appreciated.

    Thanks a lot Ned. It worked!
    </script>
      <link href="header.css" rel="stylesheet" type="text/css">       // I HAVE ADDED THIS LINE! TO MY FLASH  GENERATED HTML
    </head>
    This does work until I regenerate/recompile/publish the header.html the next time.
    If I put the code in a seperate CSS file, can I then link it into the flash.fla file?

  • Whenever I reply to an e-mail the window comes up but without the paper airplane in the top left corner.  The only way to send the reply is to close it and save as a draft.  Then I can pull it up from Drafts and it has the airplane on it.

    Whenever I reply to an e-mail the window comes up but without the paper airplane in the top left corner.  The only way to send the reply is to close it and save as a draft.  Then I can pull it up from Drafts and it has the airplane on it.

    Launch Mail.
    Click "New Message" in the Toolbar.
    When the new message window opens up, click "View" menu in the menu bar.
    Select "Show Toolbar" from the dropdown.
    or
    Select "Customize Toolbar from the dropdown.
    When the Customize Toolbar sheet drops down, drag  "Send" button
    or  drag "default set" into the toolbar.
    Click "Done".

  • My MacBook Pro just turned itself off while installing Windows 7. It has now got a black screen with a white flashing bar in the top left corner...what can I do?

    I was just installing windows 7 onto my MacBook Pro. I selected to have 200GB for Windows and the rest leave for Mac.
    I clicked install and the bar filled up as it should do. However, once the install had completed, my MacBook turned itself off. I assumed this was normal. Now, my MacBook has a black screen with a white flashing underscore in the top left corner.
    What is wrong and what should I do?

    Hold down the Option key when starting up then on the sceen that comes up select Mac OS X to boot from.
    The Win 7 install didn't go well and is hung in some way. You should use boot camp assistant to remove the win partition and start over.
    Make sure you are using a Retail version of Win 7. A Branded OEM version, like ones from Dell and HP, will NOT work to install Windows 7 on your Mac.

  • Under Windows 7, 64-bit, Firefox intermittently will not open a new window - all I get is a grey screen, with a tiny part of my homepage displayed in the top left corner of the screen.

    The problem began after a recent Firefox update. Occasionally, when I try to open a new Firefox window, all I get is a grey screen with a tiny section of my homepage visible in the top left corner of the screen. NOTE: Firefox stores all of these aborted attempts, as, whenever I close it and then re-open it, the first time I open a new window it automatically opens all of the windows that had originally failed to open.
    == This happened ==
    Every time Firefox opened
    == on or about June 26, 2010

    Got the exact same problem aswell, finally fed up with it now as i just started up firefox and 14 new windows opened because of this bug, luckily my computer can handle them but someone with a slower processor it would have been a nightmare, needs fixing ASAP.
    Reverting back to 3.6.3 until this issue is solved. (link for anyone wanting to do the same below)
    http://www.filehippo.com/download_firefox/7345/

  • I have a small window quickly popping up and disappearing in the top left corner of my screen?

    I apologize in advance if this has been covered elsewhere, but I have been searching and haven't found anything yet. And thank you for any help you can offer, it is greatly appreciated.
    Every 15 seconds or so a small, empty window will pop up in the top left corner of my screen and then vanish instantly. It opens and closes in a blink, so quickly that I am not able to interact with the window in any way. However, it shows up momentarily as a firefox tab on my bottom panel, so I know it is a firefox problem.
    It is only an issue because whenever it pops up I am exited from fullscreen if I am watching a video online, and anything that I am typing while the window pops up will be ignored.
    I am currently running Linux Mint Olivia 15 Cinnamon. However, I had the exact same problem when I was running Windows 8. In both cases, firefox has been installed, uninstalled, and reinstalled, which does not fix anything. I have updated firefox since it started happening, which also did not fix anything.
    It was very tricky, but I did manage to get a screenshot of the box while it was open.
    The same question was asked here, but never resolved: https://support.mozilla.org/en-US/questions/953373

    Does this only happen on specific pages?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can try to disable notifications as a test (you may want to reverse this).
    You can try to set the dom.webnotifications.enabled pref to false on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config

  • Save file to window never stays in center, it always goes back to the top-left. how do i make it stay in the center?

    When I decide to save a file or a image on any site, The window that comes up to "save to" never stays in the center where I want it, It will always open on the top-left portion. How can I make it save its windows setting?

    help?

  • How to replace the LabView logo at the top left corner of running VI windows

    Hi All
    I need to replace the Labview logo (at the top left corner of the windows) when my VI is running. Same thing applies for any of the pop up windows I have in my program. 
    I have a .jpg file of the logo I would like to replace the Labview logo with. I would appreciate any help on the best way to go about this.
    Thanks in Advance

    > It's also worth bearing in mind that since you have a .jpg there are free online converters that will generate the .ico file from your .jpg if you don't have access to a graphics package that allows you to make .ico files.
    > Is there a way to convert the current logo I have .ico??
    Seems like I am now able to read into the future. Better play the lottery at the weekend!
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Anytime I move my mouse my current window disappears. I move the mouse to the top left corner and then I comes back. How can I turn this off?

    Anytime I move my mouse my current window that is open disappears. When I move my mouse to the top left corner it comes back. How do I turn this off? It's not a Zoom issue, it disappears completely. Help please.

    Are you running 10.6 Snow Leopard as your profile indicates?
    If so, it sounds like maybe an Expose or Active Screen Corners issue?
    Go to Apple > System Preferences > Expose & Spaces > Expose and
    1. experment with the Active Screen Corners selections
    2. take a look at your F key settings for Expose
    3. lastly check your Dashboard settings

Maybe you are looking for