-
1. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
maksimkaszynski Apr 2, 2008 2:28 AM (in response to powerhouse_b)My first question is - are you using JSP of Facelets?
-
2. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
powerhouse_b Apr 2, 2008 3:04 AM (in response to powerhouse_b)I am using Faceletes on Jboss 4.2.1.
-
3. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
opr Apr 2, 2008 5:02 AM (in response to powerhouse_b)I am using JSPs and facing the same problem after upgrading from 3.1.4 to 3.2.0.
Any ideas are welcome -
4. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
powerhouse_b Apr 2, 2008 5:27 AM (in response to powerhouse_b)In my case, I have modified the pages, removing the expanded attribute and using a binding to provide the same functionality.
-
5. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
bpons Apr 2, 2008 5:29 AM (in response to powerhouse_b)I have the same problem on a facelets application (JBoss 4.0.5, SEAM 1.2)
I created an issue in RichFaces JIRA, but it was promptly rejected :
http://jira.jboss.com/jira/browse/RF-2922?page=all
Maybe we should reopen this one... -
6. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
bpons Apr 2, 2008 5:39 AM (in response to powerhouse_b)@powerhouse :
Can you clarify this workaround?
I would be kinda interested :o) -
7. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
powerhouse_b Apr 2, 2008 8:25 AM (in response to powerhouse_b)In my case, i had to preserver the expanded panelMenuGroup of a panelMenu after reloading the page. I had a session scope bean that held the expanded menu and a method that returned a boolean if the panel menu was expanded, passing the name of the panelMenuGroup:
expanded="#{leftMenuState.currentMenuExpanded(messages.MenuGroup_Employees)}
Because the expanded did not work any more, did something like this for every panelMenuGroup:<rich:panelMenuGroup id="employeeMenu" label="Salariati" action="#{leftMenuState.expandMenu(messages.MenuGroup_Employees)}" binding="#{leftMenuState.employees}">
On the the leftMenuState bean, I have aprivate HtmlPanelMenuGroup employees = new HtmlPanelMenuGroup(); //... public void expandMenu(String menu) { employees.setExpanded(false); /./.. if (menu.equals("MenuGroup_Employees")) employees.setExpanded(true); //.. }
So all attributes of the panelMenuGroup can be accesed and modified from the code.
That's all. If you have any questions, I will be more the happy to help. -
8. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
maksimkaszynski Apr 2, 2008 9:18 AM (in response to powerhouse_b)Expanded property should be read-write.
For some reason, in 3.1.4 it was read-only. -
9. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
bpons Apr 2, 2008 10:50 AM (in response to powerhouse_b)Ok thx for your answer.
I'm not sure it applies to my case though, since i expanded the menu depending on a param passed by the content part of the ui composition.
Guess i'll have to find another way :o( -
10. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
sergeysmirnov Apr 2, 2008 10:55 AM (in response to powerhouse_b)"sintaxeror" wrote:
I created an issue in RichFaces JIRA, but it was promptly rejected :
http://jira.jboss.com/jira/browse/RF-2922?page=all
Maybe we should reopen this one...
Try <h:inputText value="#{2==2}" />
If it works, reopen. -
11. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
bpons Apr 2, 2008 11:01 AM (in response to powerhouse_b)@maksim :
And what would be now a simple way to dynamically assign true or false to expanded attribute without having to rely on a binding like powerhouse did?
I mean it was quite simple before
in a page named test.xhtml for example :
<ui:include src="nav.xhtml">
<ui:param name="selectedItem value="test"/>
</ui:include>
and in the corresponding panelMenuGroup in the nav.xhtml i just had to set expanded="${selectedItem == 'test'} -
12. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
opr Apr 2, 2008 11:05 AM (in response to powerhouse_b)@powerhouse
I tried your workarround, but it does not work :-(
I am using JSF 1.2, Rich Faces 3.2.0 in Tomcat 6
With version 3.1.4 we were using the workarround storing the "expanded"-Attributes in a session scoped bean. Worked perfectly.
Now with 3.2.0 even when binding the whole panelMenu after submitting the page my menu is collapsed and if I do not find a solution soon, I will collapse too....
Any Ideas? -
13. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
bpons Apr 2, 2008 11:10 AM (in response to powerhouse_b)@Sergey :
What do you mean?
expanded="<h:inputText value='#{2==2}' />"> ?
Parse error without any doubt... -
14. Re: seam 2.0 - problem upgrading to richfaces 3.2.0 GA from
sergeysmirnov Apr 2, 2008 11:21 AM (in response to powerhouse_b)<h:form> <h:inputText value="#{2==2}" /> </h:form>