- Implement nsISupports for nsXFormsControl so that we can QI to it
- Add a Refresh() method to nsXFormsControl, which will soon be called on all form controls by the model, in response to a refresh event. - Move mInstanceNode onto nsXFormsControl, since all controls will have one. - Move creation of input to OnCreated so that we always have a visualContent to return. - Move binding of input control from DocumentChanged to AttributeSet - Implment Refresh for InputElement, which fetches the value from the instance data and sets it in the text or checkbox control. git-svn-id: svn://10.0.0.236/branches/FORMS_20040722_BRANCH@163108 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
#include "nsIDOMXPathEvaluator.h"
|
||||
#include "nsIDOMXPathResult.h"
|
||||
#include "nsIDOMXPathNSResolver.h"
|
||||
#include "nsXFormsModelElement.h"
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsXFormsControl, nsXFormsControl)
|
||||
|
||||
nsXFormsModelElement*
|
||||
nsXFormsControl::GetModelAndBind(nsIDOMElement **aBindElement)
|
||||
|
||||
Reference in New Issue
Block a user