-
1. Re: DropDownMenu + Opera9.10 does not work
ilya_shaikovsky Sep 18, 2007 1:13 PM (in response to baz)Right now I'm just opened livedemo.exadel.com/richfaces-demo in my Opera browser :) Works as expected.
The only difference - my Opera version is 9.22 -
2. Re: DropDownMenu + Opera9.10 does not work
baz Sep 19, 2007 1:03 AM (in response to baz)So i investigated further. Result:
when using submitMode="ajax", as in the demo, the menu works in opera
without submitMode the menu only works in IE and firefox.
Ciao,
Carsten
BTW: my Opera version is now 9.23 -
3. Re: DropDownMenu + Opera9.10 does not work
ilya_shaikovsky Sep 19, 2007 7:27 AM (in response to baz)just checked using
<h:form> <rich:dropDownMenu value="menu" > <rich:menuItem value="Item 3" action="#{bean.action}"></rich:menuItem> </rich:dropDownMenu> <a4j:log></a4j:log> </h:form>
Action called successfully. -
4. Re: DropDownMenu + Opera9.10 does not work
baz Sep 19, 2007 7:45 AM (in response to baz)That is interesting
Perhaps this can narrow down our problem:<rich:toolBar> <h:form> <rich:toolBarGroup location=""> <rich:dropDownMenu value="Seed Multiplication"> <rich:menuItem submitMode="ajax" value="View fieldplans" action="/fieldplan/html/ViewFieldplan.xhtml" /> </rich:dropDownMenu> <rich:dropDownMenu value="Field Evaluation"> <rich:menuItem value="View fieldplans" action="/fieldplan/html/ViewFieldplan.xhtml" /> </rich:dropDownMenu> </rich:toolBarGroup> </h:form> <rich:toolBarGroup location="right"> <h:form> [...] </h:form> </rich:toolBarGroup> </rich:toolBar>
With this structure only the item with submitMode=Ajax work in Opera.
In IE and Firefox both items work.
This is the same case on all our computers.
Ciao,
Carsten -
5. Re: DropDownMenu + Opera9.10 does not work
ilya_shaikovsky Sep 19, 2007 8:15 AM (in response to baz)I think you need to read about JSF navigation, if you mean the navigation, placing such strings in action attributes.
-
6. Re: DropDownMenu + Opera9.10 does not work
baz Sep 19, 2007 8:30 AM (in response to baz)Sorry, i forgot to mentioned that my project uses seam. And with that setuop i can place page adresses in links. This works perfectly.
But surely it could be factored out into JBPM or *.pages.xml or something like that. -
7. Re: DropDownMenu + Opera9.10 does not work
baz Sep 20, 2007 5:07 AM (in response to baz)The dropDown Menu does not work in Opera (9.23) in this constellation
<ui:component ...> <rich:toolBar> <h:form> <rich:toolBarGroup > <rich:dropDownMenu value="Collection" > <rich:menuItem value="List " action="list" /> </rich:dropDownMenu> </rich:toolBarGroup> </h:form> <rich:toolBarGroup location="right"> <h:form> [...] </h:form> </rich:toolBarGroup> </rich:toolBar> </ui:component>
But if you do it this way round<ui:component ...> <rich:toolBar> <rich:toolBarGroup > <h:form> <rich:dropDownMenu value="Collection" > <rich:menuItem value="List " action="list" /> </rich:dropDownMenu> </h:form> </rich:toolBarGroup> <rich:toolBarGroup location="right"> <h:form> [...] </h:form> </rich:toolBarGroup> </rich:toolBar> </ui:component>
the menu links work, but the menu is rendered vertically:-(
Also, you can put the form around the whole toolbar and it works with opera. But in our case we need the two forms:-(
So the only workaround is to use submitMode="ajax"
There is now an issue for this:
http://jira.jboss.com/jira/browse/RF-970 -
8. Re: DropDownMenu + Opera9.10 does not work
sergeyhalipov Sep 24, 2007 12:16 PM (in response to baz)Your code is incorrect. Toolbar group must be a direct child of toolbar component. You can put the form around the whole toolbar or put the form inside each toolBarGroup.
-
9. Re: DropDownMenu + Opera9.10 does not work
baz Sep 25, 2007 1:53 AM (in response to baz)Hello,
thanks for the response.
For a working solution we can put each DDmenu in a separate form, or put all DDmenus in a panelgrid (so that they are aligned horizontally) and embed the grid into a form.
Just for information: Why does it work with firefox and IE?
Ciao,
Carsten