MenuButton behave weird in Chrome, but work fine in FF

UI Components for JSF
Post Reply
KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

04 Jan 2011, 18:07

so I suppose to have a menu button and some text after that. No space and line break between. Look like this

Image, but as soon I select and item from the menubutton.
it seem to create a line break. Like this

Image

This behavior only happen in Chrome and Safari. Note I surround my code with f:view

here is my code

Code: Select all

                    <p:menuButton value="#{MainPage.institution}">
                        <p:menuitem value="stanford" update="activate"
                                    actionListener="#{MainPage.setInstitution('stanford')}"/>
                        <p:menuitem value="washingtion" update="activate"
                                    actionListener="#{MainPage.setInstitution('washington')}"/>
                        <p:menuitem value="wfu" update="activate"
                                    actionListener="#{MainPage.setInstitution('wfu')}"/>
                    </p:menuButton>
                    .edu<br/><br/>  

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

User avatar
bumble.bee
Posts: 723
Joined: 29 Sep 2010, 21:39
Location: United States

04 Jan 2011, 21:37

There is a related issue discussed here:

http://primefaces.prime.com.tr/forum/vi ... 60&p=28263

Looks like menus in Chrome and Safari don't go together well.

KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

05 Jan 2011, 06:07

I hope 2.2 final release will have this fixed. I heard, that it suppose to come soon. Not sure when. It's been quite for a while.

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests