I wanna format the datas receive before passing them to dataProvider
of the repeater.

--- In [email protected], "Ralf Bokelberg"
<[EMAIL PROTECTED]> wrote:
>
> I'm not sure if you can subclass mx:Repeater. What are you trying to
> do with your repeater subclass?
> 
> Ralf.
> 
> On Mon, Oct 20, 2008 at 12:16 PM, lysfael <[EMAIL PROTECTED]> wrote:
> > Re,
> >
> > I made a component based on the repeater, to have the control on the
> > datas.
> >
> > and i use it like i should use a repeater.
> >
> > i have an error on the compil.
> >
> > Symbol
> > '_com_probtp_IG_ContactsModule_components_F0010WatcherSetupUtil' is
> > multiply defined in
> > _com_probtp_IG_ContactsModule_components_F0010WatcherSetupUtil.as
> > and
> >
C:\Code\CC_Views\PB19664_IG_ClientLeger-project_Dev1_View1\vob0003-vob\IG_ClientLeger-project-component\IG_ModuleCore\libs\IG_ContactsComponents.swc(_com_probtp_IG_ContactsModule_components_F0010WatcherSetupUtil).
> > IG_ModuleCore
> >
> > i use the component like this
> >
> > <comp:Prep id="F0010_T0056" specialDatas="{datas as XML}">
> > <mx:Button id="F0010_B0031" width="100%"/>
> > </comp:Prep>
> >
> > where the setter specialDatas format the datas and set
> > this.dataProvider with the correct datas.
> >
> > --- In [email protected], "lysfael" <schwazel@> wrote:
> >>
> >> Hello,
> >>
> >> Sorry for the absence,
> >>
> >> These datas are an example of the datas that i get from my
HttpService.
> >>
> >> <lg ID="F0010_T0056-0">
> >> <c ID="F0010_48-0">OUV</c>
> >> <c ID="F0010_49-0"></c>
> >> <c ID="F0010_50-0">00005</c>
> >> </lg>
> >> <lg ID="F0010_T0056-1">
> >> <c ID="F0010_48-1">ETA</c>
> >> <c ID="F0010_49-1"></c>
> >> <c ID="F0010_50-1">00005</c>
> >> </lg>
> >>
> >> These datas should match the repeater F0010_T0056 which contains the
> >> following components :
> >> TextInput Id = F0010_48
> >> Label Id = F0010_49
> >> TextInput Id = F0010_50.
> >>
> >> In the other post Tom Chiverton told me this
> >>
> >> "You could use a setter method (i.e. public function set
> >> myDatas(d:*):void{}). If you need more control over what happens,
or a
> >> changeWatcher inside the component observing the public bindable."
> >>
> >> Like you said i think i'm making it harder than what it needs to be.
> >> I'll think a bit for a much more simple solution and keep you posted.
> >> I think to do something like Tom said.
> >>
> >>
> >>
> >>
> >> --- In [email protected], "Tracy Spratt" <tspratt@> wrote:
> >> >
> >> > Yes, I still think Lysfael may be approaching this incorrectly,
> > probably
> >> > making it harder than it needs to be. There is rarely a good
> > reason to
> >> > use the document model hierarchy to manipulate data driven
components.
> >> >
> >> >
> >> >
> >> > Lysfael, can you explain again what you are trying to do?
> >> >
> >> >
> >> >
> >> > What data is the dataProvider for the repeater?
> >> >
> >> >
> >> >
> >> > Is that data different from the data you are trying to show in the
> >> > repeated controls?
> >> >
> >> >
> >> >
> >> > Tracy
> >> >
> >> >
> >> >
> >> > ________________________________
> >> >
> >> > From: [email protected]
> > [mailto:[EMAIL PROTECTED] On
> >> > Behalf Of Amy
> >> > Sent: Thursday, October 16, 2008 5:51 PM
> >> > To: [email protected]
> >> > Subject: [flexcoders] Re: Repeater control and custom Component
> >> >
> >> >
> >> >
> >> > --- In [email protected]
> > <mailto:flexcoders%40yahoogroups.com>
> >> > , "lysfael" <schwazel@> wrote:
> >> > >
> >> > > Hello,
> >> > >
> >> > > Since it's not the same problem as the old one, i post a new
> > topic on
> >> > > this, i hope this way to do enter in the ToS.
> >> > >
> >> > > I created a component Box-Based, which contains a repeater
and some
> >> > > other attributes.
> >> > >
> >> > > Since my english isn't perfect i'll post part of the code i
produced
> >> > > and tell you what's the problem now.
> >> >
> >> > There is no point using a repeater from AS. This is one component
> > that
> >> > you should use in MXML if you want to use it.
> >> >
> >>
> >
> >
>


Reply via email to