For some reason the includeInLayout property is being ignored on a certain form item. Below is the code I’m using, the 2nd Form Item in the repeater is taking up space despite setting includeInLayout to false.

 

Any ideas?

 

<?xml version="1.0" encoding="utf-8"?>

<mx:Form xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" paddingTop="0" paddingBottom="0">

      <mx:Script>

            <![CDATA[

                  import com.quba.symphony.model.events.CustomFieldVO;

                  import mx.collections.ArrayCollection;

                  import com.quba.utils.Utils;

 

                  [Bindable]

                  public var dP : ArrayCollection;

                  [Bindable]

                  public var cI : CustomFieldVO;

            ]]>

      </mx:Script>

      <mx:FormItem id="fItem" width="100%" height="100%" label="{ cI.Name }">

            <mx:Repeater

                   id="rpCustomFieldItemRB"  dataProvider="{dP}" height="100%">

                        <mx:FormItem  >

                              <mx:RadioButton id="rbCustField" label="{ rpCustomFieldItemRB.currentItem.Value }" labelPlacement="right" />

                        </mx:FormItem>

                        <mx:FormItem id="fiExtraInfoRbg" label="{ rpCustomFieldItemRB.currentItem.ExtraInfoPrompt}" visible="false" includeInLayout="false"  >

                              <mx:TextInput/>

                        </mx:FormItem>

            </mx:Repeater>

      </mx:FormItem>

</mx:Form>

__._,_.___

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to