Issue Details (XML | Word | Printable)

Key: SHALE-341
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: mario buonopane
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

Problem t:datascroller does not work in shale dialog

Created: 27/Nov/06 08:17 PM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: None
Affects Version/s: 1.0.4-SNAPSHOT
Fix Version/s: 1.0.4

File Attachments:
  Size
File Licensed for inclusion in ASF works Datascroller.war 2006-11-28 08:16 AM mario buonopane 3.62 MB
File Licensed for inclusion in ASF works Datascroller2.war 2006-12-01 03:58 AM Craig McClanahan 3.58 MB
Environment: windows tomcat/websphere


 Description  « Hide
I have a simple page with a t:dataTable and a t:datascroller. The datascroller does work correctly if the page is not part of a Shale Dialog. If I put this page in a Shale dialog, the datascroller does NOT work correctly (does not change page and always shows the first page).

 



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #481140 Fri Dec 01 03:56:17 UTC 2006 craigmcc When BasicDialogContext.advance() was called with a null outcome, we were
correctly staying in the same state (to emulate JSF standard navigation
behavior), but we were *incorrectly* recreating the view. This would destroy
any accumulated information in the component tree and cause it to be
reinitialized, which was the proximate cause for this particular sample app
failing.

Change things so that a null outcome causes us to stay in the same state
*without* recreating the view. Thanks to Mario Buonopane for the concise
reproducible test case, and to Gary for pointing right at the problem area.

SHALE-341
Files Changed
MODIFY /shale/framework/trunk/shale-dialog-basic/src/main/java/org/apache/shale/dialog/basic/BasicDialogContext.java

Repository Revision Date User Message
ASF #481357 Fri Dec 01 19:52:06 UTC 2006 rahul Do not recreate view on null outcome.
Reported by: Mario Buonopane, SHALE-341
Investigation and patch by: Gary VanMatre and Craig McClanahan
Files Changed
MODIFY /shale/framework/trunk/shale-dialog-scxml/src/main/java/org/apache/shale/dialog/scxml/SCXMLDialogContext.java