Hello Michel,

ViewHelper is made for separation code from content.

Example: you can specify in mxml file button, and on click event ask
ViewHelper to invoke function.


Excerpt from View:

//attaching ViewHelper to the view
<view:myViewHelper id="myViewHelper" />

//Button that invoke function from ViewHelper
<mx:Button label="Submit" click="myViewHelper.myFunction()" />

Excerpt from ViewHelper:
   public function myFunction()
   {
            //some actions
   }


Best regards
Stanislav

On 10/27/05, Michel Bertrand <[EMAIL PROTECTED]> wrote:
>
>
> Hello !
>
> How can I use ViewHelper on Cairngorm ?
>
> Could anybody give me a sample ?
>
> Thanks in advance,
> Michel Bertrand | Desenvolvimento | DATASUL Tecnologia
> Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções
> de tecnologia
>
>
> --
> Flexcoders Mailing List
> FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
> ________________________________
> YAHOO! GROUPS LINKS
>
>  Visit your group "flexcoders" on the web.
>
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to