|
mario buonopane made changes - 28/Nov/06 08:16 AM
Revised version of the example application that includes the Shale JARs that will be in the 20061201 nightly build. With these jars, the data scroller works as expected inside a dialog.
Craig McClanahan made changes - 01/Dec/06 03:58 AM
Gary's comment about BasicDialogContext.outcome(), on the user mailing list, was spot on. When the incoming outcome was null, we were staying in the same state (as expected), but we were mistakenly recreating the JSF view (with the same view id). This would cause the loss of any data that the components had stored in the component tree, which happens to include where <t:dataScroller> maintains its state information.
The fixed code will be in the 20061201 version of the nightly build. Mario, you'll note that Shale has gone through a pretty major refactoring since the 20060831 code you are working with, and the various pieces of functionality have been separated into separate JAR files. That way, you only need to include the pieces of Shale that you need for a particular app. Check the documentation on the website <http://shale.apache.org/> for more on how to configure each of the elements.
Craig McClanahan made changes - 01/Dec/06 04:01 AM
Rahul Akolkar made changes - 23/Jan/07 04:40 PM
Jeff Turner made changes - 09/Aug/07 07:17 AM
Antonio Petrelli made changes - 08/Jan/09 08:57 AM
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
if you run the dataScroller.jsp page directly (http://xxxx/Datascroller/dataScroller.faces) the t:datascroller works fine.
If you run dataScroller.jsp in a Shale Dialog does NOT work fine. To test this case run the url http://xxxx/Datascroller/ and then click the "Start" button.