Re: [flexcoders] selected combobox item to datagrid issue

2006-12-04 Thread Husain Kitabi
ve 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

[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 into a JBoss 4.0.4 server.   Can anyone please advise where to start from? Do i have to download the Flex Dataservices 2 pack and wor

Re: [flexcoders] layout components from right in HBox

2006-06-04 Thread Husain Kitabi
can use a spacer width 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

[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: http://groups.yahoo.com/group/flexcoders/files/f

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 file   Srikanth <[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,Srikan

[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 as       cellRenderer="com.lsmonline.client.view.util.CheckBoxCellRenderer"/>         Sh

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;

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.             I need the values of mods. I tried the following in my script   function getSelectedModules(){   var len= list.dataProvider.length; var str = ""; f

[flexcoders] checkbox in repeater

2005-10-22 Thread Husain Kitabi
Hi I am having a repeater -> repeater -> checkbox.             I need the values of mods. I tried the following in my script   function getSelectedModules(){   var len= list.dataProvider.length; var str = ""; for(var j=0;j for(var i=0; i str = str + '\n' + listModules[j].mods[i].lab

Re: [flexcoders] Troubleshooting namespaces

2005-10-19 Thread Husain Kitabi
Try this xmlns:yourNamespace="com.app.services.*" Make sure you have the classpath set in flex-config.xml I hope this helps Richard Rodseth <[EMAIL PROTECTED]> wrote: I'm trying to follow the pattern described in the Webster/McLeod book where the mx:RemoteObject tags are in a separate services.x

[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 anyone

RE: [flexcoders] scrollbars on panels

2005-10-17 Thread Husain Kitabi
l with 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:> http://www.macromedia.com/2003/mxml&

Re: [flexcoders] scrollbars on panels

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

Re: [flexcoders] scrollbars on panels

2005-10-15 Thread Husain Kitabi
tried the vScrollPolicy. Using vScrollPolicy shows the scroll area but no bar.   Pl advise Thanks HusainManish Jethani <[EMAIL PROTECTED]> wrote: On 10/15/05, Husain Kitabi <[EMAIL PROTECTED]> wrote:> I have a>> Canvas>  HBox> Panel1> Panel2

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

[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

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. On the server co

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 examp

[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? Regar

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 <[

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-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 would i call my value object in my command or delegate class from an accordion in a stack.   Regs Husain Tra

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 dynamical

Re: [flexcoders] Re: Jboss throws out of memory error

2005-08-31 Thread Husain Kitabi
Hi I am using Sun JDK 1.4 What does those parameters signify.   Regards Husainkaibabsowats <[EMAIL PROTECTED]> wrote: Most likely its a JVM issue.  What JVM are you using?If its Sun's set the -Xms and -Xmx parameters.Renaun--- In flexcoders@yahoogroups.com, "relisanhard52"<[EMAIL PROTECTED]> wro