I've got what I think are all of the metadata tags listed here:

http://nondocs.blogspot.com/2007/04/metadata.html

I don't know what all of them do, including the ones Kenneth asked about,
but I'm working on it.

- Dan Freiman

On 5/1/07, Jurgen Beck <[EMAIL PROTECTED]> wrote:

   You can find some of them explained here, but that is not the complete
list either:


http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=metadata_141_01.html

Jurgen

Kenneth Sutherland wrote:

  Does anyone have information on the various metadata tags that can be
used in flex. I've been going through some of the source files to find out a
way of getting my custom component to tell a model to update itself.

Some of the tags I've seen that I don't know what they do are

[DataBindingInfo]

[DefaultBindingProperty]

[DefaultTriggerEvent]

I've seen others but I won't to list everything here.



I've searched Livedocs and I can't find somewhere where all the tags with
explanations are listed.



Also if someone knows about models being updated can you advise on the
below problem



If my model is

<mx:Model id="requiredFields">

                                    <theForm>

                                                <all>

                                                            <name> {
name.text }     </name>

                                                            <birth>  {
DoB.selectedDate }</birth>

                                                </all>

                                    </theForm>

                        </mx:Model>

<myValidator:FormValidator id="formValidator"  source="{requiredFields}"
property="all"/>



            When I call the validator the information it gets from the
model is the text from the text input which is updated everytime the user
changes the said text input, but the date comes from a custom date entry
component and the model doesn't get the latest date from the component. It
would seem like the binding isn't working or my custom component isn't
firing of the required events for the model to update itself when the user
changes the date.



I've tried getting my custom component to fire of the following events

[Event(name="change", type="flash.events.Event")]

            [Event(name="valueCommit", type="mx.events.FlexEvent")]

As well as making the getter function for selectedDate [Bindable], but the
model still doesn't pick up on any changes after the component has been
initialised.



Cheers for any info.



*Kenneth.*

Reply via email to