[richfaces-issues] [JBoss JIRA] Resolved: (RF-3121) panelBar: selectedPanel is being resetted to the first panel after rerender

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Apr 17 17:37:44 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-3121?page=all ]

Nick Belaevski resolved RF-3121.
--------------------------------

    Resolution: Cannot Reproduce Bug
      Assignee: Tsikhon Kuprevich  (was: Nick Belaevski)

	<h:form>
		<a4j:commandLink reRender="panelBar" value="ReRender" />
	</h:form>
	
	<rich:panelBar height="400" width="500" selectedPanel="selectedPanel" id="panelBar">
		<rich:panelBarItem label="Leverage the whole set of JSF benefits while working with AJAX">
			Ajax4jsf is fully integrated into the JSF lifecycle. While other frameworks only give you access to the managed bean facility, Ajax4jsf advantages the action and value change listeners as well as invokes server-side validators and converters during the AJAX request-response cycle.
		</rich:panelBarItem>
		<rich:panelBarItem label="Add AJAX capability to existing JSF applications">
			The framework is implemented using a component library. The library set Ajax functionality into existing pages, so there is no need to write any JavaScript code or to replace existing components with new Ajax one. Ajax4jsf enables page-wide Ajax support instead of the traditional component-wide support and it gives the opportunity to define the event on the page. An event invokes an Ajax request and areas of the page which are synchronized with the JSF Component Tree after changing the data on the server by Ajax request in accordance with events fired on the client.
		</rich:panelBarItem>
		<rich:panelBarItem  label="Write your own custom rich components with built-in AJAX support">
			Component Development Kit (CDK) is a design-time extension for Ajax4jsf. The CDK includes a code-generation facility and a templating facility using a JSP-like syntax. These capabilities help to avoid a routine process of a component creation. The component factory works like a well-oiled machine allowing the creation of first-class rich components with built-in Ajax functionality even more easily than the creation of simpler components by means of the traditional coding approach.
		</rich:panelBarItem>
		<rich:panelBarItem id="selectedPanel" label="Package resources with the application's Java classes ">
			In addition to its core, Ajax functionality of Ajax4jsf provides an advanced support for the different resources management: pictures, JavaScript code, and CSS stylesheets. The resource framework makes possible to pack easily these resources into Jar files along with the code of your custom components.
		</rich:panelBarItem>
		<rich:panelBarItem label="Easily generate images on-the-fly">
			Resource framework can generate images on-the-fly so that it becomes possible to create images using the familiar approach of the Java graphic2D library.
		</rich:panelBarItem>
		<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:panelBar>


> panelBar: selectedPanel is being resetted to the first panel after rerender
> ---------------------------------------------------------------------------
>
>                 Key: RF-3121
>                 URL: http://jira.jboss.com/jira/browse/RF-3121
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.5
>            Reporter: Tsikhon Kuprevich
>         Assigned To: Tsikhon Kuprevich
>
> I have a panet with 4 panelItems. selectedPanel set to 4th panel. After rerendering the panel the first item is expanded instead of 4th.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list