Re: [flexcoders] selected combobox item to datagrid issue

2006-12-04 Thread Husain Kitabi
the same type of elements inside? (maybe having the name and price properties is enough ) - Original Message From: Husain Kitabi [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, December 3, 2006 4:04:52 PM Subject: [flexcoders] selected combobox item to datagrid issue Hi

[flexcoders] selected combobox item to datagrid issue

2006-12-03 Thread Husain Kitabi
Hi I am having to select an object in combo, on change event of combo, selected item should be displayed in datagrid.. I have the following code private function addChargeToTable():void{ if(chargeCombo.selectedIndex !=0) chargeDataProvider.push(chargeCombo.selectedItem); }

[flexcoders] flex 2 starter

2006-10-03 Thread Husain Kitabi
HiI am having an application built a year ago on flex 1.5. Now i am upgrading it to flex 2 and have to add additional functionality. The app shall be integrated intoa JBoss 4.0.4 server.Can anyone please advise where to start from? Do i have to download the Flex Dataservices 2 pack and work

Re: [flexcoders] layout components from right in HBox

2006-06-04 Thread Husain Kitabi
dth a width of 100% as the first element of your hbox. cheers, ralf On 6/3/06, Husain Kitabi [EMAIL PROTECTED] wrote:Hi How to layout components in HBox where if i want to add a button it should appear on the right end of the HBox.Thankshussain Yahoo! Messenger with Voice. PC-t

[flexcoders] layout components from right in HBox

2006-06-03 Thread Husain Kitabi
Hi How to layout components in HBox where if i want to add a button it should appear on the right end of the HBox.Thankshussain Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Flex-Struts configration

2006-02-04 Thread Husain Kitabi
I am just wondering why would you require struts and flex. anyway, look into web.xml fileSrikanth [EMAIL PROTECTED] wrote: Hello,Could you please explain the confiration and Integration of the Flex and Struts? Please send a sample code/link for that.Thanks in advance,with Regards,Srikanth

[flexcoders] checkbox cell renderer

2006-01-22 Thread Husain Kitabi
Hi I have a datagrid with a checkbox renderer. I want to know if checkbox in each row is checked or not. My datagrid is asmx:DataGrid id="classgroupOfModule" dataProvider="{moduleClassgroupList.currentItem.classgroups}" width="100%"mx:columnsmx:Arraymx:DataGridColumn headerText="Select"

RE: [flexcoders] checkbox in repeater

2005-10-25 Thread Husain Kitabi
Hi This works!! Thanks.Matt Chotin [EMAIL PROTECTED] wrote: You should have access to mods as a 2-d array. mods[i][j] every mods[i] is the array of checkboxes for the listModules repeater. For (var i:Number=0; i mods.length; i++) { For (var j:Number=0; j mods[i].length; j++) {

Re: [flexcoders] checkbox in repeater

2005-10-23 Thread Husain Kitabi
Pl help!Husain Kitabi [EMAIL PROTECTED] wrote: Hi I am having a repeater - repeater - checkbox. mx:Repeater id="list" dataProvider="{courseDtos}" mx:HBox mouseDown="slideOpen(event.target.repeaterIndices[0])" mx:Label text="{list.currentItem.courseN

[flexcoders] Combobox cell renderer and dynamic dataprovider

2005-10-18 Thread Husain Kitabi
Hi, I am having a datagrid which requires a ComboboxCellrender in one column. I created the renderer but am not able to pass an array dynamically as dataprovider. Also I require to set the label: and data: value of the combo's items. My dataprovider would be an array of value objects. Has

RE: [flexcoders] scrollbars on panels

2005-10-17 Thread Husain Kitabi
accordion container. Now the scroll disappeared from the HBox and appeared in the accordion. My requirement is a panel. Regards HusainManish Jethani [EMAIL PROTECTED] wrote: On 10/15/05, Husain Kitabi [EMAIL PROTECTED] wrote: mx:HBox xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns=&qu

Re: [flexcoders] scrollbars on panels

2005-10-16 Thread Husain Kitabi
] wrote: On 10/15/05, Husain Kitabi [EMAIL PROTECTED] wrote: mx:HBox xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" xmlns:lsmclassgroup="com.lsmonline.client.dto.*" xmlns:lclassgroupView="com.lsmonline.client.view.course.classgroup.*" height="

Re: [flexcoders] scrollbars on panels

2005-10-15 Thread Husain Kitabi
is a HBox with 2 panels. I require each panel to have its own scroll bar. What I am getting now is scroll bar on HBox. I do have the percentage height set. I also tried the vScrollPolicy. Using vScrollPolicy shows the scroll area but no bar. Pl advise Thanks HusainManish Jethani [EMAIL PROTECTED] wro

[flexcoders] DataGridColumn display issue

2005-10-14 Thread Husain Kitabi
Hi I have a value object ClassgroupVO.as classgroupVenue:String; classgroupCapacity:String module:ModuleVO - ModuleVO.as moduleName:String; In my datagrid column i want to display moduleName. My dataprovider is an array of ClassgroupVO value objects sent

RE: [flexcoders] DataGridColumn display issue

2005-10-14 Thread Husain Kitabi
OTT? Please tell me about labelFunction. Thanks HusainAllen Manning [EMAIL PROTECTED] wrote: Custom cell renderer might be a bit OTT for this, labelFunction would be agood start.Best,Allen-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Darron J.

RE: [flexcoders] events issue

2005-10-03 Thread Husain Kitabi
Hi Thanks for reply. I just found out that I had created controller object in more than one place. This was the cause. It is now sorted. Thanks again HusainAbdul Qabiz [EMAIL PROTECTED] wrote: Hi, Can you post the sample-but-complete code, so that we can see what is going wrong? -abdul

[flexcoders] events issue

2005-10-01 Thread Husain Kitabi
Hi I am having a problem with button click event. When I click a button, it makes a call and talks to the remoteObject. But it does that 5times! If I click login button, it logs me into the application but shows 5 alert windows saying I have logged in - it has to show just one.Onthe server

RE: [flexcoders] remoteobjects

2005-09-28 Thread Husain Kitabi
For single page applications my remoteObjects work well.. My problems come when I use viewstacks. I am not sure if I am declaring my remoteservices in the right place. At the mo, i do it in the canvas where my form is. Regards Tracy Spratt [EMAIL PROTECTED] wrote: Perhaps this

[flexcoders] remoteobjects

2005-09-27 Thread Husain Kitabi
Hi What is the best way to create a remote object in an application. My application has viewstacks/accordions. And how to call that remoteobject in my delegate actionscript. Regards Husain __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best

[flexcoders] alert throwing error

2005-09-22 Thread Husain Kitabi
Hi I use a simple alert in my mxml script. function abc(){ alert(moduleSelectedItem); } It throws me this error1 Error found. Error /WEB-INF/flex/user_classes/com/lonline/client/view/course/classgroup/classgroupRegister.mxml:29 There is no method with the name 'alert'. Any ideas? Regards

RE: [flexcoders] namespace problems

2005-09-21 Thread Husain Kitabi
Hi Can you please comment again.I'm just stuck at that error. Regards HusainTracy Spratt [EMAIL PROTECTED] wrote: Same situation? Accordion also has deferred Instantiation as the default. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

RE: [flexcoders] namespace problems

2005-09-21 Thread Husain Kitabi
Hi How would my classpath element look like if i have my mxml in ui/lsmflex/login/mxmlcomponents I have my AS files in user_classes of flex. Regards HusainHusain Kitabi [EMAIL PROTECTED] wrote: Hi Can you please comment again.I'm just stuck at that error. Regards HusainTracy Spratt [EMAIL

RE: [flexcoders] namespace problems

2005-09-20 Thread Husain Kitabi
Hi Tracy Tks again for your email. The problem seems to go off temporarily only to come back again! Btw, my still searching for my second issue: I have one more problem rising here. How wouldi call my value object inmy command or delegate class from an accordion in a stack. Regs Husain Tracy

Re: [flexcoders] Re: checkbox in repeater tag

2005-09-09 Thread Husain Kitabi
Hi Rajesh Thanks for your email I dint get the last part though. You can pretty much convert this to use with checkbox. How to convert combobox into checkbox? Regards Husain Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi,I had the same problem, I found out that you cannot dynamicallycreate