Panel refresh during resize

Hello, everyone!
I have a trouble working with resizing a components placed on the panel group layout.
When i resize a panel an appropriate actions are invoked and panel resizes but the content of a panel doesnt refresh, it is still old.
How can i make a refresh a panel during resize?
Thanks.

Hi.
This is a runtime problem.
The first way I resize a panel - is programmatically call a procedure like this:
function collapseVertSplitter(arg) {                   
comp = AdfPage.PAGE.findComponent('psVertical');
comp.setProperty("collapsed", arg);
There are two methods which are invoked during resize:
onMapWidthResize = function (event) {
var tElem = document.getElementById('mapPanel');
var tWidth = tElem.offsetWidth;
var newWidth = (tWidth - 20);
document.getElementById('distCanvas').style.width = newWidth + 'px';
document.getElementById('mover').style.width = newWidth + 'px';
document.getElementById('maptable').style.width = newWidth + 'px';
document.getElementById('maptable').style.clip = 'rect(0px 600px ' + newWidth + 'px ' + '0px)';
document.getElementById('mvMap').style['width'] = newWidth + 'px';
var source = event.getSource();
AdfCustomEvent.queue(source, "MapWidthSizeListener", {width : newWidth}, true);
event.cancel();
and the second one:
onMapHeightResize = function (event) {
var tElem = document.getElementById('mapPanel');
var tHeight = tElem.offsetHeight;
var newHeight = (tHeight - 70);
document.getElementById('distCanvas').style.height = newHeight + 'px';
document.getElementById('mover').style.height = newHeight + 'px';
document.getElementById('maptable').style.height = newHeight + 'px';
document.getElementById('maptable').style.clip = 'rect(0px ' + newHeight + 'px ' + tElem.offsetWidth + 'px' + ' 0px)';
document.getElementById('mvMap').style['height'] = newHeight + 'px';
var source = event.getSource();
AdfCustomEvent.queue(source, "MapHeightSizeListener", {height : newHeight}, true);
event.cancel();
This methods are called from the client listener:
<af:clientListener method="enforcePreventUserInput"
type="propertyChange"/>
<af:clientListener type="propertyChange"
method="onMapWidthResize"/>
<af:serverListener type="MapWidthSizeListener"
method="#{MViewer.mapWidthSizeChange}"/>
<af:clientListener method="enforcePreventUserInput"
type="propertyChange"/>
<af:clientListener type="propertyChange"
method="onMapHeightResize"/>
<af:serverListener type="MapHeightSizeListener"
method="#{MViewer.mapHeightSizeChange}"/>
The second way to resize a panel - is manually drag a mouse pointer.
So, when I manually resize a panel - everything is okey, but if a call a method collapseVertSplitter() - a panel resizes but the content of a panel doesnt refresh.
Can it be a problem that when an action is invoked the panel by this moment has not resized yet? Maybe i need something like "after resize" event handler?
The version of JDeveloper is 11.1.1.3.0.
Thanks.
Edited by: user8019201 on Feb 2, 2011 2:15 AM

Similar Messages

  • Some Panels will not Resize

    Working on Windows XP SP2, IDCS3. A friend's paragraph panel and one other panel will not resize. All other panels function normally.
    We tried:
    - Resetting her preferences
    - Resetting her panels
    - Closing and reopening the particular 2 panels
    - Moving the panels to different parts of the screen (docked, undocked)
    No luck. Any ideas?

    Hit http://www.pixentral.com.
    Read the directions. When the image you upload is processed and displayed, scroll down below it and copy ALL of the code in the box next to "HTML". (Ignore the "Forum" code box)
    Paste that copied code into a message here. It will generate and display a thumbnail; clicking on the thumbnail takes you to the full size image you uploaded.

  • Making tab panel content auto resize

    I'm using a SlidingTabPanel which has dynamic content. How can I get the panels to dynamically resize according to the amount of content in each panel?

    No,
    This is one the limitations of the sliding panels, it needs a wrapper div, with a minimum height in order to make the divs inside the wrapper slide. If you want such functionality on your site, you might want to create a custom effect for that using the SpryEffects library.
    http://labs.adobe.com/technologies/spry/articles/effects_coding/index.html

  • Black screen (or screen refresh) during the process of start up. T400, Vista home basic.

    My 2 weeks old T400 Vista home basic can start up successfully. But every time when I start or restart it, during the start process, after inputting the password, there are 4 times of black screen (or screen refresh). Is it normal? Thanks. 

    Hi Ashley,
    Folder share: http://www.ifelix.co.uk/tech/3022.html
    Screen Share: http://www.screenrecycler.com/home.html
    Printer share: http://applejac.typepad.com/applejacmacintosh_users/2007/03/mac_osxwindows.html might help (not sure...)
    Chat: Maybe this can help...: http://discussions.apple.com/thread.jspa?threadID=1753612&tstart=-1
    Take care
    Stefan

  • How to keep a "front panel" open during another sequence?

    Hello everybody,
    I'm new on the TestStand forum and I have a question for my project.
    I need to make a test sequence with several sub-steps: Barcode reading, Data reading, Data analysis etc... and all these steps in a "For" or "Do... while" loop under TestStand.
    Before doing the loop, I want to create a "global HMI" step using labview, with on the front panel, the status of each sub-steps. I need to update the status of each sub-step after their execution. 
    The sequence TS is:
    Step Action Labview: HMI.vi (display front panel when calling vi)
    Loop for
    Barcode reading
    Data reading
    Data analysis...
    That's why I need to keep the front panel of "HMI.vi" always open to updated /display the status of each sub-step. (something like colors of a LED). I doner 't want to call the HMI.vi after each sub-step.
    I understood it's a multi-threading process and the reference of HMI.vi should always be active during all the "for loop", but I don't how to keepthe reference.
    Could you please kindly show me how to do it under TestStand (verstion 4.1) with LV (7.1).
    Many thanks in advance, 

    Hi zuzu,
    A UIMessage is typically used as a method to alert and pass information from your sequence or code modules to the User Interface. 
    For a good discussion on this, refer to the section titled "Communication from the Test to the User Interface" here:
    Developer Zone Tutorial: Best Practices for NI TestStand User Interface Development
    However, you can register a callback to listen for these UIMessages in other parts of your code besides the UI as well. That's what we are doing in this case with the floating panel.
    So basically, in your "Update HMI" step, you would post a UIMessage using RunState.Thread.PostUIMessage.
    This posts the UIMessage, and you can pass whatever value you want from  the "Update HMI" step to the HMI.vi.
    For information on the function call, refer to:
    NI TestStand Help: Thread.PostUIMessage
    In this case, we are sending a UIMessage with message code 10200, along with 2 pieces of data, Locals.Progress (a numeric) and "TestProcedure" (a string).
    Typically, you can pass a Number, a String, a Boolean and a Variant with each UI Message. If you need to send multiple pieces of data of the same type (your second question), then you should bundle them together into an array or cluster (container) and pass it via the ActiveX parameter.
    See the following forum posts for more details:
    reference a numeric array in PostUIMessageEX
    HOW To pass more than one numeric data with ActiveX postUIMessage
    Jervin Justin
    NI TestStand Product Manager

  • In Pages 5.0, new Format Panel sidebar keeps resizing my page.

    After new Format or Setup Panel sidebar slides back to the right as expected, that part of the page is gone, hiding the text on the right of the page. I am forced to resize my document back to its original size, so I can see my full text again. However, sidebar does not misbehave when my page is full-screen or with Numbers application. Is there any fix available, please?
    As it is, I am forced to keep the sidebar on all the time, but I'd rather see it only when I need it. For me, it is really important to have as much screen space as possible for texts only, keeping everything else out of sight. Please, help me.

    This is a problem with using Pages 5 with its fixed sidebar.
    Have you thought of just using Pages '09 which should still be in your Applications/iWork folder?
    Peter

  • Modal panel refreshing the parent

    Hi ,
    I am facing a strange issue.
    I have a parent page and a modal panel opening from the parent. The modal panel displays a data table with pagination.
    When a move to each page(by clicking the page number) of the data table, the parent page getting refreshed and the it gets more darker and darker!!!!(I believe because of the modal nature of the child panel).
    I have included the modal panel as a jsp include
    <jsp:include flush="true" page="/jsf/accountGroupLov.jsp"/>
    Inside accountGroupLov.jsp , i have a dialog panel, where i render the data table.
    <p:dialog  header="#{finmsg.accountGroup_search}" modal="true" width="400px" rendered="#{accountGrpLovHandlerBean.lovVisible}"
         Where I am using primefaces dialog component.
    I dont want the parent page to be refreshed each time I navigate to different pages of the data table in the modal panel.
    Can anybody give a clue?
    Thanks in advance.
    Shaiju

    Hi,
    I have a similar scenario where I want to insert the data to a table and then close the popup window on a 'Apply & Return' button.
    On the button I have set target as URL and URL Target as javascript:passBack2();
    passBack2() is the call to java script I am using from Denes Kubicek application.
    <script language="JavaScript">
       function passBack2()
          doSubmit();window.opener.doSubmit();window.close();
    </script>I have PL/SQL process(After Submit) which triggers on this button to insert the data into the table.
    But when I invoke the popup and enter the data and click on 'Apply & Return', it navigates back to the calling page and refreshes it without executing the PL/SQL process.
    Any thoughts on this please.
    Thanks,
    Raj.

  • LV 2009 SP1 corrupts front panel VI during 'save' operation

    My best guess is that corruption happens during 'save' operation.
    Steps:
    1. Slightly modify vi.
    2. Run it, then stop and exit with saving of changes. (Saving takes unusual big amount time and cpu/memory resources)
    3. Try to open vi and get the message "LabVIEW:Generic error... error code 3:Could not load front panel."
    4. Exit from LabView
    5. Start LabView and got the message "The last time you ran LabVIEW, an internal error or crash occurred at loaddata.cpp, line 3070"
    Tried to reinstall LabView but it didn't help.
    Any advice?
    Thanks,
    Boris

    There were a lot of things that you did not post so I skipped through them.
    Did a diagram clean-up and saved without issue.
    maybe you should duplicate what I did (load with sub-VI and X-Controls adn save) to see if it is still corrupted for you. If not start adding stuff back in until you find what causing the crash.
    So no crash on my machine.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Catalyst+awesome35 panel refresh problem

    Hello,
    met anyone problems with this combination and panel update problem?
    I tried catalyst stable and beta from arch wiki, and awesome 3.5.1 and 3.5.2 ... And I have problem that, when I switch to any nonempty tag, then my upper panel(tasklist,taglist) will not be refreshed(re-render,update ....). There are still old applications visible. I must take some action, for example focus window, or when CPU widget refresh, then it will be fine and right tag/task list appears.
    I tried:
    catalyst 13.4   13.11
    awesome 3.5.1   3.5.2
    X 1.13   1.14
    In all combinations I have this problem.
    I tried
    awesome 3.4, with this version all is OK, but I dont want learn deprecated configuration.
    I tried
    open source vga drivers, with this driver all is OK. But it consumes much more power.
    Thanks for help.
    Last edited by kubco2 (2013-10-14 09:19:51)

    Not sure if it could help but I had a problem in awesome 3.5.1 (and wasn't present in 3.4). And I think the problem you describe is the same I had.
    In /etc/X11/xorg.conf put this
    Section "Extensions"
    Option "Composite" "Disable"
    EndSection

  • Panels refuse to resize, re-dock and behave strangely

    Working on ID CS5, Mac. For no apparent reason whenever I drag a panel out of the dock it refuses to resize, and once out, will not be dragged to a new position. Any attempt to resize makes it spring back and not response. I have reset preferences, I have re-installed InDesign and then reset preferences again, but all to now avail. Panels behaviour is fine in Photoshop, so it does not appear to be a CS5 problem.

    Mac, OS 10.6.4.
    I've just realized that exactly the same thing happens in Illustrator (but not in Photoshop)

  • CC: Panels do not resize smoothly when dragging between them

    When I drag between two panels, to adjust the vertical space of two stacked panels, the movement is not smooth. Sometimes it even continues to resize in a jerky fashion, after I've stopped dragging. This started to be a problem in CS6 and continues in CC. Is there a way to fix it?

    Hi,
    Thanks for posting it on the forums. Illustrator team is currently investigating this issue.
    As a work-around I suggest you to keep your App Frame ON. (menu Windows >> Application Frame).
    With Best Regards,
    Raghuveer

  • Swatches panel won't resize to fit colors in gradient order in Photoshop CC?

    I just upgraded to Creative Cloud and one problem I encountered was having my colors displayed in the gradient order when the swatches panel is attached to other panels and gathered on the right. You can tell this in the following screenshot of the panels here:
    When separated from the rest, having the panel floating the colors are able to be displayed correctly. As seen here:
    Is there no way I can have this configuration and still have it attached to the other panels? I've noticed that the panel that prohibits it to be resized to the proper size is the layers panel. How can I fix this?

    When panels are docked together, they can only be resized down to the greatest  minimum width in the bunch, in this case, the Layers panel. What I do is set the panel to use Large Thumbnails, and then increase the width so that the colors line up.
    However, if the Swatches panel is docked with the Brush panel (which is v e r y  w I d e), Large Thumbnails aren't large enough, and you can line the colors up.
    Another thing you can do is stick some extra swatches (can be any color you like) on the right side of the panel, probably two for every row.

  • CSS Styles Panel - Refreshing

    I've recently started using Dreamweaver, and am learning
    using the Tutorials on-line.
    I was successfully following the CSS design tutorials,
    However now, whenever I edit a document (or create a new
    one), the CSS Styles panel "
    unloads" and tells me that I have made changes to the code,
    and "must click Refresh or press F5"
    This did not happen before / yesterday.
    Is there a setting somewhere which has been switched off?
    This is annoying since it means that I cannot use the
    predictive text features of Dreamweaver
    like typing "<div " and seeing the options.
    manually editing the CSS file still provides the auto-text.
    Thanks,
    Rem

    Adendum;
    It's also happens to the Tag panel, and Properties.
    This even happens if no style sheet is linked
    ??????

  • Preventing applet from repainting/refreshing on resize

    hi,
    anyone has any idea on how one can prevent an applet from repainting the GUI screen when the applet is resized (minimized, maximized etc). i have a chat applet, but whenever the applet is minimized, all the present chat transcripts are lost and a new/refreshed window is displayed. how can we prevent this from happening? in effect, i want my applet to be displayed in the same state as it was before it was minimized.
    is there something i am missing?
    thanks,
    Satyen

    hi all,
    is this doubt really difficult, or i am missing something so very obvious, that no one out there wants to point it out.
    any suggestions would be very helping. and please, i am not looking for code snippets, any pointers/suggestions to the solution of the problem would suffice.
    thanks,
    Satyen.

  • Xfce4.8 down panel refreshes and is annoying

    Hello. I have Xfce4.8 installed and i have that panel down there, for launching apps. The problem is, when i play some videos in SMPlayer, or doing anything, surfing the Internet, it refreshes (nearly all icons on it disappear, and reappear after 2 seconds), while the video hangs for that time (e.g. panel is refreshing 2 seconds and the video is hanging that much) and the sound is going. It happens very often, and it is really annoying. It wasn't happening earlier, how do i fix this ? If needed, i can post xorg.0.log
    Thanks in advance

    Thanks for pointing that out. I deleted the contents of that folder, logged out and in again, but it's still happening. The interesting thing is, i have a thumbnail image, big 5 KB and it shows an image from the blank desktop, without any open programs. I have running - dropbox client, screenlets, sylpheed client, wicd, workrave. I don't remember about updating anything and making problems

Maybe you are looking for

  • Not able to create a material document with movement type 103

    I am not able to create a material document with movement type 103, The system is populating the value as 101 . How do I create a matdoc with movement type 103?

  • How to create relationship to call PO13 in ABAP program.

    Hi, Could anybody help me how to create relationship (like PO13) in abap program. Do we have any Function modules or any other way? Regards, Ram.

  • Inheritance and mouse handler problem

    I have a super class and two subclass which is extend the super class. I add a mouse handler in one of the subclass. The problem is that the other subclass also affect by the mouse handler. How can i avoid that?? here is the code public abstract clas

  • Software (firmware) upgrade for N80??

    Hi, i've noticed you can now update your firmware over the air, found it on the Nokia website: http://www.nokia.co.uk/nokia/0,1522,,00.html?orig=/softwareupdate However, i have an N80 and was wondering why the N80 is not in the list of selected hands

  • Magic Mouse on Vista or W7

    Hi i have MacBook Pro i would like to buy the new Magic Mouse when its available in stores but will it work on windows also ?