Bug 323677 - IMasterDetailsDelegate - need prepareItemApplied(...) method
Summary: IMasterDetailsDelegate - need prepareItemApplied(...) method
Status: REOPENED
Alias: None
Product: Riena
Classification: RT
Component: ridget (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 2.1.0.M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 02:14 EDT by Elias Volanakis CLA
Modified: 2011-08-03 14:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Volanakis CLA 2010-08-26 02:14:44 EDT
The following requirement has been expressed:

A method that is executed at the beginning of the apply operation in the MasterDetailsRidget. It has been suggested to add a method prepareItemApplied() (similar to prepareItemSelected()) to the delegate.
Comment 1 Elias Volanakis CLA 2010-08-26 02:51:52 EDT
Resolved.
Comment 2 Patrick He CLA 2010-08-26 20:24:53 EDT
Just a question here, is it possible that this prepareItemApplied() method can reject the item to be actually applied? 

Currently the delegate.isValid() method is called to check if the item can be applied. However as a multi-tier application, for example, sometimes maybe the client think the object "is valid" but we cannot apply it for some other reason? Cases may be to attach some listener to it and allow listeners to reject apply action. So we do not want the copyBean() method to be called.
Comment 3 Elias Volanakis CLA 2010-08-27 12:31:36 EDT
Reopening to consider addtl. req.
Comment 4 Elias Volanakis CLA 2011-08-03 14:36:59 EDT
Reassigning to default assignee.