Re: [flexcoders] repeater width problem

2011-08-23 Thread Tandon, Rishi
mx:Label doesn't wrap the contents. Use ms:Text instead. Rishi From: steveroger_flex steveroger_f...@yahoo.com To: flexcoders@yahoogroups.com Sent: Tuesday, August 23, 2011 11:03 AM Subject: [flexcoders] repeater width problem   Hello Friends, I am trying

[flexcoders] repeater width problem

2011-08-22 Thread steveroger_flex
Hello Friends, I am trying to implement one functionality using repeater. But facing one problem. Code snapshots. public var ArrData : Array = [{label: 'Option 1', value:'opt1'},{label: 'Option 2', value:'opt2'},{label:'Option 3', value:'opt3'},{label:'Option 4', value:'opt4'}]; mx:HBox

[flexcoders] repeater binding

2009-04-20 Thread johndoematrix
hi am trying to bind a text component to a selected item in a repeater but i get the following error Error: Repeater is not executing. at mx.core::Repeater/get currentItem() at custom_comps::home/creatednewzPopup() at custom_comps::home/___LinkButton1_click() this is the

[flexcoders] repeater error that i dont understand

2009-04-09 Thread stinasius
hi i have a repeater component that bound to the selection of a datagrid. it works perfectly the first time i select an item from the dtatgrid but when i select another item i get this error that i don't understand. please advise. here is my repeater and the error i get mx:Repeater

RE: [flexcoders] repeater error that i dont understand

2009-04-09 Thread Tracy Spratt
: [flexcoders] repeater error that i dont understand hi i have a repeater component that bound to the selection of a datagrid. it works perfectly the first time i select an item from the dtatgrid but when i select another item i get this error that i don't understand. please advise. here is my

Re: [flexcoders] Repeater Selected Index

2009-01-25 Thread Haykel BEN JEMIA
If tab2 is selected then you should see the content of tab2. If you are seeing the content of tab1, then it seems like after refresh you are putting the data of tab1 in tab2. What happens when you select the other tabs when you are in this situation after refresh? Are the tabs displaying the

[flexcoders] Repeater within a Repeater(Nested Repeaters) Issue

2009-01-16 Thread shakeb_sikander
Hi All I spend Hours today but fail to find what exactly wrong with inner Repeater not binding any data and I could see only Outer repeater's data. I am attachig code for reference Both repeater's dataprovider are arraycollection. mx:Repeater id=rptCatagory

Re: [flexcoders] Repeater within a Repeater(Nested Repeaters) Issue

2009-01-16 Thread Fotis Chatzinikos
Your code does not seem to contain any nested repeaters... mx:Repeater id=rptCatagory dataProvider={Application. application.Catagory} mx:Label text={rptCatagory.currentItem.Name http://rptcatagory.currentitem.name/} data={rptCatagory.currentItem.Id http://rptcatagory.currentitem.id/} */

Re: [flexcoders] Repeater within a Repeater(Nested Repeaters) Issue

2009-01-16 Thread Fotis Chatzinikos
Sorry, I was wrong I missed the label closing statement... Do not pay any attention to my previous reply :-) On Sat, Jan 17, 2009 at 2:39 AM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: Your code does not seem to contain any nested repeaters... mx:Repeater id=rptCatagory

[flexcoders] repeater problems and localization

2008-11-27 Thread fotis.chatzinikos
Hi, i am using a repeater to draw dynamic grid rows with labels and togglebutton bars. The following works initially, but when the localizedMessages object is updated and a binding event fires the repeater breaks with the following error: Error: Repeater is not executing. at

Re: [flexcoders] repeater problems and localization

2008-11-27 Thread Fotis Chatzinikos
Made it working by removing the reference to localizedMessages and inserting the localized messages inside the dataprovider for the repeater... Is that the proper way to do it? On Thu, Nov 27, 2008 at 3:16 PM, fotis.chatzinikos [EMAIL PROTECTED] wrote: Hi, i am using a repeater to draw

RE: [flexcoders] repeater problems and localization

2008-11-27 Thread Tracy Spratt
would be referencing a local variable. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fotis Chatzinikos Sent: Thursday, November 27, 2008 10:03 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] repeater problems

[flexcoders] Repeater giving bogus Binding warnings?

2008-10-20 Thread Josh McDonald
Hey Guys, I'm getting binding warnings that don't make any sense. Here's my repeater code: mx:Repeater id=remittanceRepeater dataProvider={ selectedPayment.remittanceFiles } mx:HBox verticalAlign=middle mx:TextInput width=140 text={ remittanceRepeater.currentItem.remittanceFile }/

RE: [flexcoders] Repeater giving bogus Binding warnings?

2008-10-20 Thread Tracy Spratt
McDonald Sent: Monday, October 20, 2008 2:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater giving bogus Binding warnings? Hey Guys, I'm getting binding warnings that don't make any sense. Here's my repeater code: mx:Repeater id=remittanceRepeater dataProvider

Re: [flexcoders] Repeater giving bogus Binding warnings?

2008-10-20 Thread Josh McDonald
*To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Repeater giving bogus Binding warnings? Hey Guys, I'm getting binding warnings that don't make any sense. Here's my repeater code: mx:Repeater id=remittanceRepeater dataProvider={ selectedPayment.remittanceFiles } mx:HBox

[flexcoders] Repeater control and custom Component

2008-10-16 Thread lysfael
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

[flexcoders] Repeater children

2008-09-12 Thread Maciek Sakrejda
I'm trying to use a repeater to configure n different bars in a foo (e.g., in pseudo-code foo bars:Array = [ { bar1, bar2, bar3 ]; ... where each bar is something like bar label:String baz:String ... ) each of the bars has a baz that can be one of five different Strings. My current

Re: [flexcoders] Repeater children

2008-09-12 Thread Maciek Sakrejda
flexcoders@yahoogroups.com Subject: [flexcoders] Repeater children Date: Fri, 12 Sep 2008 11:21:37 -0700 I'm trying to use a repeater to configure n different bars in a foo (e.g., in pseudo-code foo bars:Array = [ { bar1, bar2, bar3 ]; ... where each bar is something like bar label:String

RE: [flexcoders] Repeater Component

2008-08-28 Thread Tracy Spratt
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Pearce Sent: Thursday, August 28, 2008 1:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Repeater Component Had a similar issue. The trick is to use {index of currentItem} and not currentIndex, as currentIdex

[flexcoders] Repeater Component

2008-08-27 Thread jitendra jain
Hi friends, I have one repeater component that dynamically constructs a Check box and two input boxes using a masterDataProvider(array collection). Now i have another data provider childDataProvider(array collection). How can i assign values of childDataProvider to repeater ?? Please help.

RE: [flexcoders] Repeater Component

2008-08-27 Thread Mike Pearce
_ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jitendra jain Sent: Thursday, August 28, 2008 1:30 PM To: flex group flex Subject: [flexcoders] Repeater Component Hi friends, I have one repeater component that dynamically constructs a Check box and two input boxes

[flexcoders] Repeater with controls of different heights (Flex 2)

2008-08-25 Thread simonjpalmer
Hi, I have a custom control which determines it height from a member variable in a value object that it is passed. I want a collection of these controls to appear in a vertical list on a page, each control being a different height. In the past I have been using a Repeater, and that works great

Re: [flexcoders] Repeater with controls of different heights (Flex 2)

2008-08-25 Thread Howard Fore
Maybe try the custom control as a itemRenderer on a list? You'd probably have to tweak the control some but then you could just set variableHeight = true on the list and be done with it. On Mon, Aug 25, 2008 at 10:17 AM, simonjpalmer [EMAIL PROTECTED]wrote: Hi, I have a custom control which

Re: [flexcoders] Repeater not repeating

2008-06-27 Thread Joseph Balderson
You could always extend ArrayCollection so that the extended-AC notifies its bound objects when its Array source changes. It depends whether you want the code change made to the 'source' of the data (in which case you'd update the AC, not the Array, as Tom mentioned), or the 'destination'

Re: [flexcoders] Repeater not repeating

2008-06-27 Thread Jonathan Branam
How would you do that, exactly? How could your extended ArrayCollection know the Array had changed? It's just not possible. On Fri, Jun 27, 2008 at 1:05 PM, Joseph Balderson [EMAIL PROTECTED] wrote: You could always extend ArrayCollection so that the extended-AC notifies its bound objects

[flexcoders] Repeater not repeating

2008-06-26 Thread Tom McNeer
I need to have a repeater iterate over an array, displaying an instance of a custom component for each iteration. However, for testing, I am simply attempting to output a button with a static label within the repeater. Here's the basic code on the repeater: mx:ArrayCollection id=configAC

Re: [flexcoders] Repeater not repeating

2008-06-26 Thread Jonathan Branam
Tom, It sounds like you are changing the contents of configArray? The ArrayCollection will not notice if you manipulate the underlying Array after the ArrayCollection has been created. You can either manipulate the ArrayCollection directly, or reset the source property on the ArrayCollection

Re: [flexcoders] Repeater not repeating

2008-06-26 Thread Tom McNeer
Jonathan, Thanks for the reply. The ArrayCollection will not notice if you manipulate the underlying Array after the ArrayCollection has been created Thanks. I understand that. But in debugging, I have confirmed that the ArrayCollection does contain the correct contents of the Array -- that

Re: [flexcoders] Repeater not repeating

2008-06-26 Thread Jonathan Branam
Right. The data is there, that's not exactly the problem. The problem is that, although the data is there, the Repeater wasn't told that new data was available. It already looped through the data once when it was empty and it needs to be told that the data has changed. It listens to

Re: [flexcoders] Repeater not repeating

2008-06-26 Thread Tom McNeer
First, Amy, thanks for your suggestion. I had already done this, although it wasn't clear from my note. Jonathan, Thanks for your explanation, and for the solution. Calling refresh() correctly alerts the Repeater. What I guess I don't understand is that the ArrayCollection was always correctly

Re: [flexcoders] Repeater not repeating

2008-06-26 Thread Jonathan Branam
Tom, Sure. It is confusing. I think the concept of the AC being updated and refreshed is the problem. I'd like to help you understand, because it will prevent future frustration! Your quote: I assumed (obviously incorrectly) that if the source of the AC was updated, and the contents of the AC

Re: [flexcoders] Repeater not repeating

2008-06-26 Thread Tom McNeer
Jonathan, Thanks very much for your clear and thorough explanation. One of the major difficulties of discussing matters like this, of course, is semantics. Many common words we might use to describe apparent actions - like update or refresh -- have such specific meanings within the context of

RE: [flexcoders] Repeater not repeating

2008-06-26 Thread Tracy Spratt
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Branam Sent: Thursday, June 26, 2008 2:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Repeater not repeating Tom, Sure. It is confusing. I think the concept of the AC being updated and refreshed is the problem. I'd like

[flexcoders] Repeater items with two states and dataProvider binding resetting state

2008-06-20 Thread dave_defusion
I have a Repeater which is repeating an item with two states (an open state and a closed state), when I open one one of the items I then load some extra data in. When the extra data is loaded the item in the data provider (an array collection) is replaced - that way everything is updated via the

[flexcoders] repeater and swapChildAt

2008-06-16 Thread grimmwerks
Ok - if I've got 4 buttons being created in a repeater -- since children of a component are referenced by that repeater id (ie mx:Repeater id=rep dataProvider={CircleData.getInstance().currentCircleArray} mx:Button id=button / /mx:Repeater It'd be button[x] -- correct? ie

[flexcoders] Repeater Question

2008-05-30 Thread Abu Hamdan
can a repeater be used without a dataprovider, i want to repeat some panels based on a number and i was thinking ofu sing the count property only, but it seems to not work, any suggestions. rubeel -- Rubeel Muhammad Iqbal

Re: [flexcoders] Repeater Question

2008-05-30 Thread Sherif Abdou
why not just a for loop? for(var i:int=0;icount;i++) { }; - Original Message From: Abu Hamdan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, May 30, 2008 7:43:15 PM Subject: [flexcoders] Repeater Question can a repeater be used without a dataprovider, i want to repeat

RE: [flexcoders] Repeater Question

2008-05-30 Thread Gordon Smith
:[EMAIL PROTECTED] On Behalf Of Abu Hamdan Sent: Friday, May 30, 2008 5:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater Question can a repeater be used without a dataprovider, i want to repeat some panels based on a number and i was thinking ofu sing the count property only

Re: [flexcoders] Repeater Question

2008-05-30 Thread Sherif Abdou
[mailto:flexcoders@ yahoogroups. com] On Behalf Of Abu Hamdan Sent: Friday, May 30, 2008 5:43 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] Repeater Question can a repeater be used without a dataprovider, i want to repeat some panels based on a number and i was thinking ofu sing the count

[flexcoders] Repeater Value

2008-05-14 Thread Rubeel
I am trying to get a value of multiple fields that are repeated in a repeater outside of the repater when the user clicks on it. if the repeater is getting results from a datasource, i want them to click on a result and then it should update the labels outside of the repeater. i guess i am

RE: [flexcoders] Repeater Value

2008-05-14 Thread Gordon Smith
Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rubeel Sent: Wednesday, May 14, 2008 8:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater Value I am trying to get a value of multiple fields that are repeated

[flexcoders] repeater with TextArea -- TextArea not sizing to internal text?

2008-04-03 Thread grimmwerks
I'm using a Repeater to loop through chunks of text and toss them in a VBox. Trouble is all the text boxes are the same = there doesn't seem to be a way to set a box to it's own internal text size? I'd like the boxes to be all different heights, just enough to view the text. Help?

[flexcoders] repeater

2008-04-03 Thread Willy Ci
did anyone ever see this error message? Type was not found or was not a compile-time constant: repeater. [Generated code (use -keep to save): Path: repeater-generated.as, Line: 205, Column: 14] the repeater just not working, and this error message show up all the time, even I delete the repeater

RE: [flexcoders] repeater with TextArea -- TextArea not sizing to internal text?

2008-04-03 Thread Tracy Spratt
: [flexcoders] repeater with TextArea -- TextArea not sizing to internal text? I'm using a Repeater to loop through chunks of text and toss them in a VBox. Trouble is all the text boxes are the same = there doesn't seem to be a way to set a box to it's own internal text size? I'd like the boxes

RE: [flexcoders] repeater

2008-04-03 Thread Tracy Spratt
Of Willy Ci Sent: Thursday, April 03, 2008 2:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] repeater did anyone ever see this error message? Type was not found or was not a compile-time constant: repeater. [Generated code (use -keep to save): Path: repeater-generated.as, Line: 205

RE: [flexcoders] repeater with TextArea -- TextArea not sizing to internal text?

2008-04-03 Thread Alex Harui
Use Text and not TextArea? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Thursday, April 03, 2008 9:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] repeater with TextArea -- TextArea not sizing to internal

[flexcoders] Repeater not initializing

2008-02-29 Thread renzeullo
Hi, Im having a weird problem with a repeater. Im using two repeaters, each with a different set of ArrayCollection type dataProviders. It is initialized like this. [Bindable] private var ac2:ArrayCollection; private var _ac1:ArrayCollection; [Bindable] public function get

[flexcoders] Repeater

2008-02-26 Thread Paul Kukiel
Hi, I have a repeater: mx:HBox top=10 bottom=40 left=10 right=10 mx:Repeater id=productsRepeater dataProvider={languageData} mx:Button id=buttonsArray label={productsRepeater.currentItem.name} toggle=true / /mx:Repeater /mx:HBox

[flexcoders] repeater

2008-01-09 Thread bmilesp
Hello everyone, is it me or is the event.currentTarget.getRepeaterItem() very limited in the information it contains? I have a custom component that uses a repeater to generate a number of comboboxes. when i change a combobox value, i want change=Alert.show(value) (value being the current

RE: [flexcoders] repeater

2008-01-09 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bmilesp Sent: Wednesday, January 09, 2008 11:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] repeater Hello everyone, is it me or is the event.currentTarget.getRepeaterItem() very

[flexcoders] Repeater problem

2008-01-08 Thread Merrill, Jason
I've got two different repeaters in my flex app. One renders checkboxes, one doesn't. The one that works is wrapped inside a canvas in an accordian component, and the items don't render until that section is clicked by the user. The second one is just rendering inside a canvas on a panel.

[flexcoders] Repeater and click

2007-12-20 Thread Giro
Hi, I have this code mx:Repeater id=newRepeater dataProvider={newsRequest.lastResult.news.noti} count=2 mx:Label y={20+(newRepeater.currentIndex*35)} text={newRepeater.currentItem.data} color=0xcc/ mx:Label y={32+(newRepeater.currentIndex*35)}

Re: [flexcoders] Repeater and click

2007-12-20 Thread Christophe Jolif
Hi Giro, Once initialization has been done which is the case when the click event happened, you must use the getRepeaterItem() method of the repeated component instance instead of currentItem property. Hope this helps, Giro wrote: Hi, I have this code mx:Repeater

Re: [flexcoders] Repeater and click

2007-12-20 Thread Ali Erken
this is your code click=openSite(newRepeater.currentItem.url) use this click=openSite(event.currentTarget.getRepeaterItem().url) On Dec 20, 2007 11:57 AM, Giro [EMAIL PROTECTED] wrote: Hi, I have this code mx:Repeater id=newRepeater dataProvider={

RE: [flexcoders] Repeater and click

2007-12-20 Thread Tracy Spratt
=[EMAIL PROTECTED] width=100% height=100% / /mx:HBox From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ali Erken Sent: Thursday, December 20, 2007 6:21 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Repeater and click

[flexcoders] Repeater question

2007-11-21 Thread kpjj31
When using the repeater, is it possible to set the index or currentItem.

Re: [flexcoders] Repeater is not executing when changing the dataProvider

2007-11-21 Thread Tina Scurlock
[EMAIL PROTECTED] Date: Nov 20, 2007 3:00 PM Subject: [flexcoders] Repeater is not executing when changing the dataProvider To: flexcoders@yahoogroups.com *I am having the same problem. Was there ever a solution for this issue? * RE: [flexcoders] Error: Repeater is not executing

Re: [flexcoders] Repeater question

2007-11-21 Thread Paul Andrews
- Original Message - From: kpjj31 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 21, 2007 8:35 AM Subject: [flexcoders] Repeater question When using the repeater, is it possible to set the index or currentItem. What would the point be for doing

RE: [flexcoders] Repeater is not executing when changing the dataProvider

2007-11-21 Thread Tracy Spratt
: Wednesday, November 21, 2007 9:00 AM To: Douglas Knudsen; flexcoders@yahoogroups.com Subject: Re: [flexcoders] Repeater is not executing when changing the dataProvider This is my source. Whenever the emplViewButton button is clicked, it retrieves new XML data. Thank you so much!! Tina mx:Panel

[flexcoders] Repeater is not executing when changing the dataProvider

2007-11-20 Thread Tina Scurlock
*I am having the same problem. Was there ever a solution for this issue? * RE: [flexcoders] Error: Repeater is not executing. Tracy Spratt Tue, 27 Mar 2007 17:04:46 -0800 First you are not doing the repeater quite right. Try this: mx:Repeater dataProvider={_main._newss} id=newsRepeater

RE: [flexcoders] Repeater is not executing when changing the dataProvider

2007-11-20 Thread Tracy Spratt
: [flexcoders] Repeater is not executing when changing the dataProvider I am having the same problem. Was there ever a solution for this issue? RE: [flexcoders] Error: Repeater is not executing. Tracy Spratt Tue, 27 Mar 2007 17:04:46 -0800 First you are not doing the repeater quite right

[flexcoders] Repeater

2007-09-27 Thread Philip Bedi
Hi Guys, I have run into a situation where I am stuck. The scenario is like this, I have got an array collection like this: [Bindable] private var testDP:ArrayCollection = new ArrayCollection(); var questionOpt:QuestionOptionVO = new QuestionOptionVO(); questionOpt.questionID=1;

[flexcoders] repeater items overlaying on each other

2007-09-10 Thread alehrens
I'm trying to use a repeater for an array of 5 objects and all 5 overlay on top of each other. I'm missing something simple I think. Please help me figure out what it is... The code is below... mx:Label text=RSS Feeds fontSize=20 fontWeight=bold/ mx:Canvas id=mainRSSCanvas width=100%

RE: [flexcoders] repeater items overlaying on each other

2007-09-10 Thread Tracy Spratt
, September 10, 2007 3:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] repeater items overlaying on each other I'm trying to use a repeater for an array of 5 objects and all 5 overlay on top of each other. I'm missing something simple I think. Please help me figure out what

[flexcoders] repeater creating children of viewstack

2007-06-07 Thread Ariel Jakobovits
mx:ViewStack id=viewStack width=100% height=100% backgroundColor=#FF backgroundAlpha=1 paddingLeft=5 paddingRight=5 paddingBottom=5 mx:Repeater id=editorsRP dataProvider={dynamicFields} repeatEnd=organizeViewStack(); width=100% height=100%

Re: [flexcoders] repeater child click event

2007-06-05 Thread Tom Chiverton
On Monday 04 Jun 2007, nhp_ny wrote: mx:Repeater ... mx:LinkButton id=myLB click=onClick(Event.currentTarget)/ /mx:Repeater how can i fire the click event of repeater child component myLB[0]? just to simulate a mouse click on that component. Err, just call onClick() yourself ? -- Tom

[flexcoders] repeater child click event

2007-06-04 Thread nhp_ny
mx:Repeater ... mx:LinkButton id=myLB click=onClick(Event.currentTarget)/ /mx:Repeater how can i fire the click event of repeater child component myLB[0]? just to simulate a mouse click on that component.

Re: [flexcoders] Repeater Children?

2007-05-15 Thread Tom Chiverton
On Monday 14 May 2007, Chad Callahan wrote: When I declare buttons in my code-behind class as a Button type, I get no compiler errors. But, when the component renders I get a run-time error saying cannot convert [] to Button. SO, I tried declaring it as You could try stopping it in the

[flexcoders] Repeater Children?

2007-05-14 Thread Chad Callahan
I have a Repeater component with it's data provider set to an array. Within the Repeater there is a button. My MXML class extends a code-behind class. I need to be able to loop on the buttons from within the code-behind class. I gave the Button mxml tag an id of buttons. When I declare

[flexcoders] Repeater refresh bug?

2007-05-09 Thread Alain Thibodeau
Hi All, I am having a problem with nested Repeater controls not refreshing properly to reflect the data that is bound to the data provider for each of the Repeater controls. My problem is related to the following: I have two classes, say Parent and Child which are as follows: [Bindable]

[flexcoders] Repeater and Chart Legend issue

2007-04-09 Thread Claude Hussenet
I would to use the repeater class to create multiple instances of a tab.Each tab displays the same chart with a different data provider.Everything is working when I don't include a legend. See source code below.However ,if I uncommented out the legend I am getting the following example :

RE: [flexcoders] Repeater and Chart Legend issue

2007-04-09 Thread Ely Greenfield
items, and failing. It should be something like: dataProvider={lineChart[tabRepeater. currentIndex]} Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Monday, April 09, 2007 9:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] Repeater and Chart Legend issue

2007-04-09 Thread Claude Hussenet
: [flexcoders] Repeater and Chart Legend issue I would to use the repeater class to create multiple instances of a tab.Each tab displays the same chart with a different data provider.Everything is working when I don't include a legend. See source code below.However ,if I uncommented out

Re: [flexcoders] Repeater Refresh

2007-03-26 Thread Ariel Jakobovits
, March 24, 2007 6:48:59 PM Subject: Re: [flexcoders] Repeater Refresh ArrayCollection is the path to enlightenment, yes, but a metaphysical nudge along this path is binadability [Bindable] public var myArrayCollection = new ArrayCollection( myArray); DK On 3/24

Re: [flexcoders] Repeater Refresh

2007-03-26 Thread Kevin
thanks. I think the ArrayCollection is the key. Using addItem instead of push makes all the difference. It now works. - Kevin On Mar 24, 2007, at 6:04 PM, Jeffry Houser wrote: I've done this with an ArrayCollections, but never with an Array. The code would be something like this:

[flexcoders] Repeater Refresh

2007-03-24 Thread Kevin
I have a repeater (adding TextInput fields) that is bound to an ArrayCollection on my model. I was hoping that essentially I could add a row by just pushing a value into my ArrayCollection on the model. However, this isn't working. I assume I need to also refresh the repeater, but can't

Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Kevin
here is a little test to illustrate what I am trying to do (except it doesn't work.) I was hoping that updating the dataProvider would add another item to the repeater... mx:Script ![CDATA[ public var myArray:Array = ['test1','test2','test3'];

Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Jeffry Houser
I've done this with an ArrayCollections, but never with an Array. The code would be something like this: mx:Script ![CDATA[ public var myArray:Array = ['test1','test2','test3']; public var myArrayCollection = new ArrayCollection(myArray); public function addItem():void{

Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Douglas Knudsen
ArrayCollection is the path to enlightenment, yes, but a metaphysical nudge along this path is binadability [Bindable] public var myArrayCollection = new ArrayCollection(myArray); DK On 3/24/07, Jeffry Houser [EMAIL PROTECTED] wrote: I've done this with an ArrayCollections, but never with

Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Jeffry Houser
Right you are! IF I had tested it, I would have caught that error. ;) At 09:48 PM 3/24/2007, you wrote: ArrayCollection is the path to enlightenment, yes, but a metaphysical nudge along this path is binadability [Bindable] public var myArrayCollection = new ArrayCollection(myArray); DK

Re: [flexcoders] Repeater Refresh

2007-03-24 Thread Tim Walling
You need to use something like ArrayCollection which dispatches events. Your repeater should then pick up the changes and add the new item. Tim On 3/24/07, Jeffry Houser [EMAIL PROTECTED] wrote: I've done this with an ArrayCollections, but never with an Array. The code would be something

[flexcoders] repeater and id

2007-01-21 Thread dex
hello! im not sure im using repeater in right place, but i need to add new input text fields with button and NumericStepper. The problem is that when im trying to assign text inputs id id=a{String(rp.currentItem)} i get an error: 'a{String(rp.currentItem)}' is not a valid identifier. Is it

Re: [flexcoders] repeater and id

2007-01-21 Thread Ralf Bokelberg
The id needs to be a constant value, you can't use dynamic values for it. It looks like you are trying to implement a naming scheme like a1,a2,a3,... You can achieve something similar by naming your TextField just a. Now you can access the different TextFields like an array, eg. a[0], a[1],

[flexcoders] Repeater and RadioButtonGroup; Can it be done?

2007-01-18 Thread wlbagent
I'm trying to use Repeaters to create multiple RadioButtonGroups. I get the following compiler error Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child. RadioButtonGroup is non-visual so short of creating my own class how

[flexcoders] Repeater flicker

2007-01-09 Thread graysonpierce
Hello, After finding out that horizontal list doesn't do variable width, I switched my code to a repeater. The repeater has (sometimes) changing arraycollection as the dataprovider and a few UI controls nested in it, like a button and a label. Anytime an item in the arraycollection changes it

[flexcoders] repeater and style

2006-12-19 Thread bghoward3
hi is there a way to remove the vertical gap between itmes when usiing a repeater, i see about a 10 pixel space between item list vertically id like to remove it completely thanks for any info

RE: [flexcoders] repeater and style

2006-12-19 Thread Tracy Spratt
: [flexcoders] repeater and style hi is there a way to remove the vertical gap between itmes when usiing a repeater, i see about a 10 pixel space between item list vertically id like to remove it completely thanks for any info

[flexcoders] Repeater Control

2006-12-16 Thread KP
Hi All, I have xmllist which has structure like root student nameABC/name /student student namePQR/name /student student name123/name /student student nameXYZ/name /student student nameRST/name

Re: [flexcoders] Repeater Control

2006-12-16 Thread Lachlan Cotter
Hi Kumar, I fear one of us does not grasp the concept of the repeater class. The way I understand it, it's for repeating the instantiating of a child object, not for repeating the firing of events per se. I think the solution to your question here is not unlike the slideshow example.

Re: [flexcoders] Repeater Control

2006-12-16 Thread leds usop
It looks like i overlooked what you really need. I thought you want elements to APPEND 2 elements (ormore) at a time. My bad. Anyway the code only requires a few changes to achieve that result. Although i really think use of repeater is not necessary unless you want to display say, 30 elements at

Re: [flexcoders] Repeater Control

2006-12-16 Thread leds usop
actually you dont realy need a repeater to do that. you can instantiate a label control everytime your timer dispatches an event instead: create new label control instances, set their text to the current xml items being read. however, you will have to handle the placement (x,y) to avoid having

[flexcoders] Repeater issue: only one control generated

2006-12-15 Thread koldfuzun
I am using a repeater to loop over an array of array collections. The array outputs fine when I dump it to HTML, containing 4 array elements, and each element contains a valid recordsset. When I use the repeater in Flex only one datagrid is generated, the very first. I get no errors, nothing.

Re: [flexcoders] Repeater issue: only one control generated

2006-12-15 Thread Ralf Bokelberg
The following code works fine for. Maybe your grids are layered on top of each other? - snip ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Repeater children resetting comboboxes

2006-11-08 Thread phildouglas
Hey all I have a Repeater repeating a component of mine containing a few ComboBoxes and a TextInput, and using an ArrayCollection as dataProvider. I have set the Repeater to use recycleChildren=true, however when I perform addItem() on my ArrayCollection, the ComboBoxes are being set to

RE: [flexcoders] Repeater children resetting comboboxes

2006-11-08 Thread Tracy Spratt
in the dataProvider. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of phildouglas Sent: Wednesday, November 08, 2006 12:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Repeater children resetting comboboxes Hey all I have a Repeater

[flexcoders] Repeater Question/help

2006-08-30 Thread Jeremy Rottman
I am using a repeater to display information from my application. In my cfc, I return an array of structures to my flex app. This array, holds all the information about the file I am trying to display. The problem I am having is this. In the array I have an array object that tells me what side

[flexcoders] Repeater problems with currentIndex

2006-08-19 Thread dreuimar
Hey everyone, I am basically trying to do this: mx:Repeater width=100% id=r dataProvider={frames} mx:Button label=Frame {r.currentIndex} click=selectedFrame = frames.getItemAt(r.currentIndex) as Presentation/ /mx:Repeater After creation, the buttons all reflect Frame 0, Frame 1, etc...

Re: [flexcoders] Repeater problems with currentIndex

2006-08-19 Thread Oriol Gual
Yup, replace this:click=selectedFrame = frames.getItemAt(r.currentIndex) as Presentationwith this:click=selectedFrame = frames.getItemAt(event.currentTarget.getRepeaterItem ()) as PresentationThe error appears because the repeater itself has stopped creating it's children when you click on a

[flexcoders] Repeater

2006-08-01 Thread rafael_magalhaes007
Hello, At flex 2 final, I am trying to use the control repeater. The following error is occurring: ___ Type was not found or was not a compile-time constant: repeater. [Generated code (use -keep to save): Path: repeater-generated.as, Line: 186, Column:

[flexcoders] Repeater problem

2006-07-18 Thread Steve Cox
All, Ive a little problem Im struggling to get my head around. Basically I have an ArrayCollection containing a CustomField object. This object contains various fields in addition to an ArrayCollection called CustomFieldItems which contains further objects. These CustomFieldObjects

  1   2   >