[Seaside] Dirty Components

Michael Niessner michael at niessner.us
Thu Mar 26 21:36:33 UTC 2009

Does seaside have any concept of dirty components?

Like is the following scenario possible?

--- UserListComponent (displays a list of users)
--- UserDetailsComponent (displays details of a user)
--- EditUserComponent    (some editable fields for the user)

Have the UserListComponent and UserDetailsComponent observe  
EdituserComponent and mark themselves as dirty if a specific change  
occurs (for example: UserDetailsComponent would be dirty for any  
change, but UserListComponent would only mark itself as dirty if the  
name changed).

Then submit the form via ajax, have the EditUserComponent save the  
changes, and then let seaside respond by rerendering just the dirty  

Michael Niessner

More information about the seaside mailing list