]
Ilya Shaikovsky reopened RF-1916:
---------------------------------
JS error occurs if contextMenu is attached to panelBar.
-------------------------------------------------------
Key: RF-1916
URL:
http://jira.jboss.com/jira/browse/RF-1916
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: FF, IE
Reporter: Sergey Halipov
Assigned To: Ilya Shaikovsky
Fix For: 3.2.0
<rich:panelBar height="400" width="500">
<rich:panelBarItem label="Create a modern rich user interface look-and-feel
with skins-based technology">
Ajax4jsf provides a skinnability feature that allows easily define and manage
different color schemes and other parameters of the UI with the help of named skin
parameters. Hence it is possible to access the skin parameters from JSP code and the Java
code (e.g. to adjust generated on-the-fly images based on the text parts of the UI). Note:
skinnability is not an equivalent of traditional CSS, but a complement.
</rich:panelBarItem>
<rich:panelBarItem label="Test the components, actions, listeners, and pages as
you are creating them">
An automated testing facility is in our roadmap for the near future. This facility
will generate test cases for your component as soon as you develop it. The testing
framework will not just test the components, but also any other server-side or client-side
functionality including JavaScript code. What is more, it will do all of this without
deploying the test application into the Servlet container.
</rich:panelBarItem>
<rich:contextMenu event="oncontextmenu" attached="true"
submitMode="none">
<rich:menuItem value="Zoom In"
id="zin"></rich:menuItem>
<rich:menuItem value="Zoom Out"
id="zout"></rich:menuItem>
</rich:contextMenu>
</rich:panelBar>
Error in FireBug:
this.header has no properties
[Break on this error] this.header.onclick=this.headerOnClick.bindAsEventListener(this);
panelbar.js.jsf (line 196)
Panel bar don't work after page loaded, context menu works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: