Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Menu does not work in Chrome

VerdascaNov 28 2017 — edited Dec 6 2017

Hi everyone

JDeveloper Version 12.2.1.0.0

I'm having a problem in ADF using the af:menuBar, af:menu and respective af:commandMenuItem in Chrome.

Problem:

Basically when I click on my menu button it does not open the options I have or in other words it does not display the menu options. This problem only happens in Chrome with the page scroll in the middle or below (if it's on top or not moved, it works). I tested in Firefox and IE and it works fine.

The menu is inside a table (a column) and I removed all the css applied and other style classes, but no effect. I really need help with this because I need the page to work in Firefox, IE and Chrome. But Chrome is really giving me a hard time to solve this (it works in firefix and IE :/ ). Is this a ADF or Chrome or af:table bug? I have notice that this happens also to the sortable icons of the table, when I click in the up or down arrow icon (with the scroll page in the middle or below, this is very important because it only happens in this situation) it does not sort the column :/

My Code:

....

<af:panelGroupLayout id="pglListView" styleClass="AFStretchWidth" layout="vertical">

                <af:table value="#{bindings.ServiceCategoryListVO.collectionModel}"

                          styleClass="AFStretchWidth DSPTableList" var="row"

                          emptyText="#{dspentitiesmanagementuiBundle.NO_DATA}" rowBandingInterval="0" id="t1"

                          columnStretching="column:c1" varStatus="vs">

                    <af:column sortProperty="#{bindings.ServiceCategoryListVO.hints.ServiceCategoryName.label}"

                               sortable="true" headerText="#{dspentitiesmanagementuiBundle.SERVICE_CATEGORY}" id="c1"

                               width="300px" styleClass="AFStretchWidth"

                               inlineStyle="#{row.DeletedBool ? 'background-color: #e9e7e5; color:#696969 !important;' : ''}">

                       .......

                    </af:column>

                    <af:column headerText="" styleClass="AFStretchWidth" id="c2" width="100px"

                               inlineStyle="#{row.DeletedBool ? 'background-color: #e9e7e5;' : ''}">

                        <af:panelGroupLayout id="pgl2" layout="horizontal" styleClass="AFStretchWidth">

                            <af:spacer width="5px" id="s5"/>

                            <af:menuBar id="mb1" styleClass="DSPMenuBar">

                                <af:menu id="m1" styleClass="DSPMenu">

                                    <af:commandMenuItem text="Restore"

                                                        id="ppContextArchive"

                                                        actionListener="#{pageFlowScope.ServiceCategory.updateEntityState}"

                                                        styleClass="DSPMenuItem">

                                        <f:attribute name="serviceCategoryId" value="#{row.ServiceCategoryId}"/>

                                        <f:attribute name="serviceCategoryDeleted" value="#{row.DeletedBool}"/>

                                    </af:commandMenuItem>

                                </af:menu>

                            </af:menuBar>

                        </af:panelGroupLayout>

                    </af:column>

                </af:table>

            </af:panelGroupLayout>

......

I appreciate any help or suggestions. Thank you all for your time.

This post has been answered by William Perez Soto-Oracle on Dec 1 2017
Jump to Answer

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 3 2018
Added on Nov 28 2017
3 comments
737 views