Expand/collapse PanelBox behave differently on wls integrated and stand-alone wls

12.1.3 jdev

WebLogic 12.1.3

I have a test page which Expand/Collapse PanelBox according to a logic managed bean when a button is clicked. User can also manually click on the small triangle to open/close the group box.

If I run my integrated weblogic Server page of jdev, everything works fine. PanelBox develops or reduced depending on the result of my bean managed after that I click on a button. After that I have manually expand/collapse it, by clicking the button again can expand or collapse the group box.

But when I deploy my test on stand-alone weblogic server, by clicking on the button can expand/collapse the box. But if I manually expand/collapse the box for once, while clicking on the button after will not not expand/collapse the box not more.

I check all the associated adf jars on integrated wls and wls autonomous. I have not noticed any difference.

No idea why the same code behaves differently on different servers? Any suggestions that pot I should double check?

Thank you.

The difference has something to do with the doctors that we have configured on wls. We did the following and now the panelbox open/close correctly.

1 Add a class to extend ComponentChangeFilter.

SerializableAttribute public class RejectPanelComponentChangeFilter extends ComponentChangeFilter {}

@SuppressWarnings("compatibility:-4979717484313581204")

private public static final long serialVersionUID =-3565272558295489717 L;

public RejectPanelComponentChangeFilter() {}

Super();

}

Public ComponentChangeFilter.Result accept (ComponentChange, componentChange, UIComponent uIComponent) {}

If (RichPanelBox instanceof uIComponent & "disclosed".equals (((AttributeComponentChange) componentChange) .getAttributeName ()) ") {}

Return ComponentChangeFilter.Result.REJECT;

}

else {}

Return ComponentChangeFilter.Result.ACCEPT;

}

}

}

2 and in the bean of backup of the page with panelBox on the PanelBox setter, follow these steps:

{} public void setFinderCriteriaPanelBox (RichPanelBox finderCriteriaPanelBox)

this.finderCriteriaPanelBox = finderCriteriaPanelBox;

int filterCount = ((UIXComponentBase) finderCriteriaPanelBox) .getComponentChangeFilters () .length;

If (filterCount == 0) {}

finderCriteriaPanelBox.addComponentChangeFilter (new RejectPanelComponentChangeFilter());

}

}

Tags: Java

Similar Questions

  • Expand collapse folders in my documents is not and jumps down and so I have to move the folders I want to actually see this all the time is there a default to always develop?

    Expand collapse folders in my documents is not and jumps down and so I have to move the folders I want to actually see this all the time is there a default to always develop?

    Also I have to move the colum line to the right all the time to see the date size etc. is there a default value or why not microsoft built in a value by default do not cut off the name of the file that I always have to make more time to see the full file name

    Thank you

    Greg

    Hello

    Unfortunately, you cannot save the settings for the fall down in my documents. As this is normal.
    If you want to suggest changes in the design here is the link you can make reference to: Microsoft Connect - back products and bug reports. Microsoft.
    https://connect.Microsoft.com/dashboard/Info/

    To resize the size of the column:
    1. you can resize the column by pointing the mouse on the name of the category.
    2. Once you can drag the slider to the right, double click it to get the optimal size.

    Thank you, and in what concerns:
    Swati Keni-Microsoft Support Engineer

  • GetActivePanel seems to behave differently for ConfirmPopup / MessagePopup and FileSelectPopupEx

    Hello

    I have a GUI with a XY Chart and to change the style of mouse (by default against the hair) and indicate the coordinates of graphic I use a timer control where the callback checks the coordinates of graphic.

    Because it can happen that a pop-up Panel appears, I also check the active panel is the current Panel to avoid having a mouse cursor focus on the pop-up Panel.

    The code is as follows:

    int CVICALLBACK MouseCursorTimer (int command face, int, int event, void * callbackData, int eventData1, int eventData2)

    {

    If ((événement == EVENT_TIMER_TICK) & (UtilityGetActivePanel () == sign))

    {

    the details of the graph using GetRelativeMouseState () and GetGraphCoordsFromPoint)

    ....

    As expected, the cursor will move style according to the position of the mouse. If I view a panel using InstallPopup () (which appears on the top of my chart), the cursor will move if placed default style on the popup panel. So far so good and I was happy--until I discovered that the other popup panels may behave differently...

    If I call ConfirmPopup or the cursor style MessagePopup mouse does not change, for example, it is shown as a focus, even if the mouse is placed over the popup panel.

    Interestingly, FilePopupEx () behaves correctly. Somehow, it seems that the Panel handle returned by GetActivePanel () depends on the pop-up Panel function called... It is by design or can it be fixed?

    Thank you

    Hi Wolfgang,.

    I slightly modified your program adding evidence when you set the cursor cross. It seems that the program sets the cursor again when navigating in the menu, even if the system is not honored by this parameter (it is probably correct that cursor remains that by default within the menu, right?). Question is why the system shows the cursor cross inside the pop-up window, but it is indeed honour your choice!

    As you already put out, the problem checks according to the State of the cursor when the window is issued and is not the type of window: I've added two options in the menu to display a panel with InstallPopup and display it in a floating window with DisplayPopup. This last option is useful to see what is happening in various situations when the window partially overlaps the chart, and you can click on it when coming from the area of tracing and the rest of the main window.

    It seems to me the system honors the cursor style when, within a Panel (perhaps because in this area, there are controls that could be exploited on, who knows?) while is shows the default cursor elsewhere.

    Since when the popup appears the timer code is never executed and change of cursor is done by the operating system, I guess the only solution you must exclude the timer of the cursor when you use in the menu.

    (you will see that I changed from 32-bit configuration: I wanted to check if that changes behavior, but it works the same way)

  • iOS10 live wallpaper behaves differently?

    Hi, I just got my new iPhone Plus 7 and it seems that the Live wallpaper behaves differently than in iOS9.

    Namely, in the old system (on an iPhone 6 more) by varying the pressure on the screen I can control precisely of the wallpaper Live playback speed and easily play to the front/rear.

    In iOS 10 (on the new iPhone 7 more) it seems that the reading speed of the Live wallpaper has no can be controlled by the pressure.

    Is this normal? Or do I use a screen may be defective? Thank you!

    Same here on iOS iPhone 7 10.0.1

  • CoverageInfo behaves different OS > = 4.7

    I found that the CoverageInfo class produced different results on the new BlackBerry OS (4.7, 5.0), according to the JDE used to compile the application.

    Try to compile this piece of code for JDE 4.5 and run on a BIS device with compatible OS > = 4.7 (Storm, Storm 2, Bold 2)...:

    int status = CoverageInfo.getCoverageStatus() & CoverageInfo.COVERAGE_BIS_B;
    if(status == 0){
        System.out.println("No BIS Coverage");
    } else {
        System.out.println("Coverage OK");
    }
    

    Now compile it for a new OS (> = 4.7) and test it again on the same device. Surprised?

    I think that it is a serious problem, because this control is useful for determining if a BIS device has enough coverage to make connections.
    I have not tested CoverageInfo.COVERAGE_MDS yet because I don't have any active BES device available at the moment, but I suspect that the same thing can happen.

    I found that the problem was on getCoverageStatus, which behaves different from isCoverageSufficient. I replaced this line and now it works. Thanks to kyublin on this post for the discovery.

  • Hide icons to expand/collapse tree/TreeTable ADF

    JDev Version: 11.1.1.6

    How to hide ADF tree/TreeTable expand/collapse icons and ToolTips? I tried using the adf tree / selectors treeTable, can still see the ToolTips and icon container box.

    Thank you

    Kala

    Hello

    Hide the icon using css container,

    give, display: none for the container icon in css

    John

  • APEX 4.2 Radio Group NULL value behaves differently than on APEX 4.1.1

    DB version: 11.2.0.3 Linux
    APEX: 4.2
    APEX listener 1.1.4 on tomcat6
    Firefox 16.0.2

    Values NULL Radio Group behave differently than on APEX 4.1.1.
    4.2 creating radio group and selecting:
    Display Null value = Yes
    NULL, Display value = no value (or any string)
    NULL Return Value = (leave blank, for the NULL value returned)

    When the user selects that option 'No value', then APEX point value is set on "on", but on APEX 4.1, the element has the value NULL as expected.

    When you look at the Web page source code, the reason seems to be that APEX does not generate an attribute value for the NULL value (if the browser returns the default "on"):
    <input type="radio" id="P1_X_0" name="p_t01"  ><label for="P1_X_0">No value</label>

    Hi Ilmar,

    same thing here. The best solution I could come up with is to create a process to request again (before the calculation / validation)

    BEGIN
      FOR x IN (
           SELECT *
           FROM (
             SELECT item_name
             FROM apex_application_page_items aapi
             WHERE aapi.application_id = :app_id
             AND aapi.page_id = :app_page_id
             AND LOWER (aapi.lov_display_null) = 'yes'
             AND aapi.display_as_code='NATIVE_RADIOGROUP'
             AND aapi.lov_definition IS NOT NULL
             AND aapi.lov_null_value IS NULL
             AND ROWNUM > 0
        ) x
              WHERE LOWER (v (x.item_name)) = 'on'
      ) LOOP
        apex_util.set_session_state (x.item_name, NULL);
      END LOOP;
    END;
    

    Jens

  • Hide icons to expand/collapse for Table of contents (ToC)?

    Hello

    I have a project that requires the summary function that comes with the table of contents turning. However I do not want a visible knock on it.
    I went to overlay, set it to collapse all and the alpha value to 0%, which pretty much done the work, but I find myself with the arrows to expand/collapse on my slides.
    I read that you can replace these transparent png files and I want to do, but don't know where to find the icons to replace them.
    Can anyone tell me what their file names or folder in which they are stored in please?

    Simply use the navigation buttons to select your transparent png

  • How expand/collapse a HGrid controller programmatically?

    Hi all

    How expand/collapse a HGrid controller programmatically?

    I saw that what follows does not work in ProcessFormRequest: "setAutoExpansionMaxLevels" (throws the following error: bean Web properties cannot be changed in the method of processFormData or processFormRequest controller.)

    My requirement is when I click on a button, the expand, should all work, some features and collapse again return.

    Pls let me know if any ideas.

    Thank you
    Rudra

    Hello

    -Initially wht it shows... ? is it works. B4, click the button.

    Try below:

    If (webBean! = null)
    {
    pageContext.writeDiagnostics (this, "Webean if id", 1);
    webBean.setExpandAllEnabled (false);
    }

    -Let me know it prints the log message or nt... ?

    Concerning
    Meher Irk

    Published by: Meher Irk January 7, 2011 20:25

  • Published movie behaves differently on the web than it does on the local disk

    Hello

    I use basic addEventListeners and functions to create a basis for my home page navigation... when I test the movie on my local drive it fuctions perfectly, but when I download on the www, the movie behaves different... All buttons must be clicked two time to work properly... each uses touch charger UI to load the .swf appropriate clip but on first loading movies do not work correctly, when the same button is clicked again and once again, the film is loaded, it works very well. I noticed does not work because I have a preloader for each video clip that loads and click it on the first, the second click it works and because it works fine on my local drive I'm lost as to what I can do to solve the problem, or what is the problem... Help, please!

    The project is published on: http://sunnysideosc.ca/mainBeta1.htmlif you click on one of the buttons more than once, you will notice the bar preloader only works during the second click on the second time and 'philosophy' of scrolling...

    Thank you;

    Sam

    Here is a basic example of loading in a SWF file, then use:

    var LoadedSWF:Sprite;

    function loadSWF (path: String): void {}

    var swfLoader:Loader = new Loader ();
    swfLoader.addEventListener (Event.COMPLETE, loadSWF_onComplete);
    swfLoader.load (new URLRequest (path));

    }

    function loadSWF_onComplete (event: Event): void {}

    If (LoadedSWF! = null) {}

    removeChild (LoadedSWF);

    }

    LoadedSWF = event.target.content as Sprite;
    addChild (LoadedSWF);

    }

    loadSWF ("MySWF.swf");
    LoadedSWF.myCustomFunction ();

    By operating the complete Manager, event.target is the Loader object. You can technically addChild the Loader object, but I'd rather not because it makes it easier to refer directly to my custom SWF, and because it can make it easier to fade in the loaded movie or other operations once it's finished loading.

    I know that what I just wrote is similar to what you have already, but I felt that it would be useful to give an example. By the look of your code, you seem to be reusing your Loader object. It might work if you used objects separated from Loader loading the separate SWF files better.

  • NAV. does not work in a stand alone, although WLS in integrated only

    Hi all

    I created a simple application of the Fusion Web ADF, containing two view activities related to two respective jspx pages. The first page has a button which, when you press on, transfer the control of flow on the second page. When I run the app in the JDev (Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) integrated WLS and press the button on the first page has travel shows the content of the second page.

    But when the application is in a pressing of WLS (ver. 10.3.1.0) delpoyed stand-alone button transfers control to the second page and will raise an error. I must say that the two pages can perfectly be seen by their URL.

    Could someone advise me what is the problem with that?

    TIA and greetings,
    Yerzhan.

    Published by: yerzhant on Sep 17, 2009 05:21

    Hi Yerzhan,

    probably, you are referencing jspx page and no view id in the URL. so if your the view id is page 1 and page jspx page1.jspx avoid ".jspx.

    Kind regards

    Branislav

  • Expand/collapse all regions

    I have 5 show/hide regions on a page. is it possible to expand/collapse all regions by clicking on a button or link ' show/hide all. any ideas are appreciated.

    Thank you
    Surya

    Hi Surya,

    Yes it is possible. Add later somewhere at the bottom of the page (I tend to create a new HTML box on the point before header and put this kind of thing in the Source):

    <script type="text/javascript">
    showHideAll('block');
    </script>
    

    Once in place, whenever the page is loaded, the function showHideAll() is called immediately, and areas are open. Note that this will occur whenever the page is reloaded - is that ok?

    Andy

  • FPGA Express PID vs Custom PID behaves differently? Whats is wrong

    Hi all

    I try to use labview FPGA Express VI in my application with cRIO 9022. I write a custom PID and compare the result with the FPGA palette express PID.

    It seems that the integral action on the express PID is too large.

    I am using PID as a simple Integrator providing zero gain proportional and derivative and Ki = 1. Which provides a signal error of 0.1 and sampling time of 1/5000, after 10 sec, the Integrator must accumulate 1. As usual, we he reach apprx. 10 sec, the express VI increases quickly until saturation.

    What is the problem with my VI, I'm sure I'm missing something. The reason why I want to express is that it consumes less space and I have to use 5 parallel PID which I just can't get with a custom because it is written not effectively. I attached the VI and the png for your view.

    Thank you all,.

    Some.

    Well, the ZIP file is valid, but I'm on an older version of LabVIEW, so I can not even open your screws, sorry.

    I would check your math. Aid for the VI Express FPGA is clear on the functioning of the calculation. It does not count the sample time - which is one of the reasons that gains are standard. Configured the way you need your code, the error integrated - and therefore the output - increase 0.1 for each iteration of the loop, regardless of the rate of loop - so it will take 100 iterations for output reach 10. You can set your full winnings to take account of the actual loop cycle time.

  • I see a different type of shortcuts and desktop.in satellite A100 - 784 PSAANE

    Hi people,

    I have the Satellite A100-784 PSAANE series... with windows Visa basic home edition...
    For the last 10 days or so I don't know, but I see a different type of shortcuts and the desktop.ini files all over the PC!

    I don't understant that...
    There was some new files in existence to which I do not have access! Some shortcuts came over some of my hidden files are out!

    I mean they are seen hidden at all and as recycler or something!
    I don't know what happened... I find the file desktop.ini anywhere...

    Please if anyone knows what happened please answer...

    Thank you very much..

    I hope that my laptop is not crazy!
    Kind regards
    Perkins

    Don t be angry with me, but who needs to know what you did on your laptop?

    Maybe you have something has changed accidentally or installed any 3rd party applications that could have a bad influence on the settings of Vista (Yes, that is possible) or you get any Virus or malware.

    You may be able to see the hidden files and system, because this option has been activated.
    So, try to activate the hide option in the folder options.

    Or you'll flip the BONE to the beginning!

  • What is the different between Lenovo K3 and Lenovo k5a40

    What is the different between Lenovo K3 and Lenovo k5a40

    Because my order is Lenovo K3 online, but I got Lenovo k5a40

    Note from the admin; post moved here to start a new topic, subject edited accordingly

    There is no difference. Its the same phone. No need to worry.

Maybe you are looking for