= event.target.text.length;
doLater(this, setSelectionLater, [2, 3]);
}
function
setSelectionLater(startIndex, endIndex)
{
Selection.setSelection(startIndex, endIndex);
}
- Original Message -
From: Doodi, Hari - BLS CTR
To: flexcoders@yahoogroups.com
Sent: Wednesday
;
Selection.setSelection(len, len);
- Original Message -
From: Doodi, Hari - BLS CTR
To: flexcoders@yahoogroups.com
Sent: Monday, November 28, 2005 3:33 PM
Subject: [flexcoders] setFocus() problem.
Hi all,
I am having problems with setFocus( ) function. What I am doing
Hi all,
I
am having problems with setFocus( ) function. What I am doing is
I have a textInput control with id name tobdetail_ti and in the .as file I am
calling the following line of code so that if user press tab the cursor should
be in this field. Focus is transferred as desired but
Hi,
Can
some one suggest me which event is the best event to handle a situation like -
user changes the content of textinput and tabs out of it ? I tried change
event and found that this event is firing for each change, meaning for every
key board press while entering text in it. I
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] setFocus()
problem.
Try:
this.tobdetail_ti.setFocus();
var len:Number =
this.tobdetail_ti.text.length;
Selection.setSelection(len, len);
- Original Message -
From: Doodi, Hari - BLS CTR
To: flexcoders
PROTECTED] On Behalf
Of JesterXL
Sent: Monday, November 28, 2005
3:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
TextInput control
focusOut
- Original Message -
From: Doodi, Hari - BLS CTR
To: flexcoders@yahoogroups.com
Sent: Monday, November 28
There is no such event. You'll
need to create your own dirtyFlag that gets set to true when the change occurs,
and have focusOut inspect if the dirtyFlag is true, and if so, fire your new
changed and focus out event.
- Original Message -
From: Doodi, Hari - BLS CTR
;
}
function focusOut()
{
if(textDirty)
{
textDirty = false;
dispatchEvent({type: changeAndFocusOut, target:
this});
}
}
- Original Message -
From: Doodi, Hari - BLS CTR
To: flexcoders@yahoogroups.com
more performant than
rendering say 100 items.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doodi, Hari - BLS CTR
Sent: Tuesday, November 08, 2005 3:26 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Repeater endIndex ?
I
Hi All,
I
have a situation where in I get data from database as an array of VO of length more
than 5 but I have to display only first 5 records. Is there any way to ask
repeater to stop at index 4? Is there any repeater property like endIndex
as opposite to startIndex. I need those
:
Alert.show(this.deptForm[i].getChildAt(n).text);
Debug this.deptForm[i] to
make sure it is referencing what you expect.
Tracy
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Doodi, Hari - BLS CTR
Sent: Wednesday, October 26, 2005
3:02 PM
To: 'flexcoders
: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Doodi, Hari - BLS CTR
Sent: Wednesday, October 26, 2005
3:02 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] How to
access control attributes inside a repeater
I tried
.
Alert.show(this.deptForm[i].deptDesc.text
Hi,
I would like to know how to access text property of an TextInput control in a
Form which is repeated inside a repeater? Here is what I was doing..
I have two mxml file one department.mxml
with repeater tag in it and another deptComp.mxml
has form component with TextInput
| icfconsulting.com
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Doodi, Hari - BLS CTR
Sent: Wednesday, October 26, 2005 10:14
AM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] How to
access control attributes inside a repeater
Hi,
I
I think the best way to pass values to
popup window is to use init object methodology.
Declare variables in myPopup.mxml
For example
var firstName:String;
var
lastName:String;
In the parent mxml file
Create an object. Assign values to above
said attributes.
Example
var
Hi,
I would like to know how to disable an image
control through action script. I did some testing but could not succeeded. Here
is the code I was testing. Any help appreciated and thanks in advance.
Even though enabled=false I am able to click
on the image and able to see the Alert.
the length of array you are assigning as dataProvider to
Repeater.
If you can post the
sample-but-complete code here, we can see what is going wrong here..
-abdul
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Doodi, Hari - BLS CTR
Sent: Tuesday, October 04, 2005 8
Hi experts,
Is
it possible to use mx:Form/mx:Form tags in side mx:Repeater/mx:Repeater
tags. The situation is I have to display 5 months data on one screen. I was
able to display One month data came from remote object call. Now my next task
is to display 5 months data. I thought it
Hi,
Can
some one help me out to do the following. I am making a remoteobject call on a
java class which returns a java VO populated with values. I did created a mxml
file with Form in it. Form has textinput controls matching VO attributes. Now
my question is how to see values when I
the NetConnectionDebugger available in your Flex
installation directory in the folder. That's what I use to see my
values before getting them diplayed in my Flex apps.
--- In flexcoders@yahoogroups.com, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:
Hi,
Can some one help me out to do
Hi All,
I
am new to validations. I have a situation where in I have to validate user
input such that if user enter FirstName then user must enter LastName. This
should took place only when user click saveButton. I was asked to
do custom validation class for this.
Can
some one help
Hi All,
I was recently been assigned to look in to 508 Accessibility with
Flex. I did read article at macromedia web site and found it was very
informative. But I found no where mentioned how to use accessible
components meaning.. where to import these components from and what is the
Hi All,
I have an mxml component extending TabNavigator called
MyTabNavigator.mxml. Also I have application mxml in which I am using
MyTabNavigator called tabNavigation.mxml.
Now I want to know how to access functions implemented in
tabNavigation.mxml from MyTabNavigation.mxml. I
(..) or
mx.core.Application.alert(..)
-abdul
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doodi, Hari - BLS CTR
Sent: Friday, June 24, 2005 6:26 PM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] Referencing application object in an mxml
component
Hi All,
I
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doodi, Hari - BLS CTR
Sent: Friday, June 24, 2005 8:08 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Referencing application object in an mxml
component
Hi Abdul,
Thanks
Hi All,
I have same situations and unable to resolve.
Can we request macromedia development/research group to provide a
new event called changing to TabNavigator controls which should fire
before change event and provide mechanism either go ahead or revert the
navigation. This way
Hi All,
I have a situation with TabNavigator - where in before user navigate
to next tab I have to do some validations on data they entered and if no
errors then only I let the user go to next tab. In order to achieve this I
need to trap some event before change event can occure. From my
: [flexcoders] DataProvider
?
Try having your Java
class take a List instead of a SchedPriceVO[]. The List should contain
your VO objects.
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR
Sent: Friday, June 10, 2005 11:23
AM
To: 'flexcoders
Hi All,
Is it possible to send a DataProvider, created dynamically in action
script, back to server? This is what I am trying to accomplish
In my mxml file I make a RO call to java class and java class returned an
array of VOs. I stored them in an action script variable called
design b/c if MyPojo Java class changes, then I have
to manually change my ActionScript class. urr...what
am I missing?!
--- Doodi, Hari - BLS CTR [EMAIL PROTECTED] wrote:
Try this.
mx:script...
var newObj:Object = new MyPojo(); // constructor of
your POJO
function addToGrid
Hi Mohanraj,
I have a similar requirement. I don't want to reinvent the wheel. If
you don't mind can you post your code so that I can tailor to my
requirements. Thanks!
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari -
BLS CTR
Sent: Monday, May 23, 2005 3:25 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] creating
row in datagrid at runtime
Hi,
I would like to extend
Hi All,
One small and very simple question I can not figure it out how - How
to get the value from a cell of datagrid?
I am tried the following but in vain. Please some one help me out. Thanks in
advance.
Function setData(event:Object)
{
Jeff,
Thanks for response, you mean
Var dataValue =
myDataGrid.getItemAt(event.itemIndex).getColumnAt(event.columnIndex).columnN
ame;
I don't want the name of the column user is modifying but I want the value
entered by the user. I am sorry if I confused you. If you have an example
code
Hi Jeff,
Thank you very much for the help and the code. That helped me a lot in
understanding getColumnAt() and getItemAt(). Thanks agin.
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jeff tapper
Sent: Tuesday, May 24, 2005 11:55
editField() to update the dp with the entered
data. I bet your dataProvider has a line but it is empty.
Tracy
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR
Sent: Monday, May 23, 2005 3:25 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [
Hi,
I
would like to extend the scope of this thread by asking How to make this newly
added row as a part of the dataprovider? What I mean is I am able to create a
new row in datagrid by using your methodology. But when I try to access data in
my POJO, I am getting nullpointer
We had the same problem but the way we did
roundabout to this is - declare a var with a value with "\n"
char in it and then bind this var to datagrid headertext property as shown
below.. It did work for me.
var ordappl=Order\nAppl;
.
.
.
mx:DataGridColumn headerText={ordappl}
you are bound to get an error as follows!
Operator '+' must be
followed by an operand
Regards
Sree
Doodi, Hari - BLS CTR wrote:
Yes, it is working. I can
see Order and Appl in two lines in my datagrid.
Thanks!
Hari
-Original
Message-
From: flexcoders@yahoogroups.com
Don't we have to have a mapping AS class (with Object.registerClass()
method)in order to pass back the dataprovider to POJO?
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Monday, May 16, 2005 1:48 PM
To:
Hi,
Is it possible to update the model declared using mx:Model tag as soon as
user changes a corresponding form element?
For example: I have a following model
mx:Model id=empModel
empID/
empName/
empAddress/
empCity/
empState/
empZipCode/
Hi Steve,
I found some problems with chapter 20 about parameters to
Object.registerClass( )method. After the code snippet Text says This line
of code register our mapping between the fully qualified server-side value
object class name(the first argument) to the constructor of our client-side
it's being linked in.
e.g., in your MXML
application:
mx:Script
var dummy :
MyASVOClass;
/mx:Script
HTH,
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doodi, Hari -
BLS CTR
Sent: Monday, May 09, 2005 6:26 AM
To: 'flexcoders
] On Behalf Of Doodi, Hari - BLS CTR
Sent: Wednesday, May 04, 2005 6:26
AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Re:
saving data from datagrid
Thanks for the advice and
clue. I did check the NetworkMonitor and found that array has values as shown
below.
In the example
);
with MXML
mx:RemoteObject id=ro ...
mx:method
name=updateMethod
mx:arguments
myArray{myDataGrid.dataProvider}/myArray
/mx:arguments
/mx:method
/mx:RemoteObject
João Fernandes
--- In flexcoders@yahoogroups.com, Doodi,
Hari - BLS CTR
[EMAIL PROTECTED] wrote:
Hi All,
I have a updatable
@yahoogroups.com, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:
Hi All,
I have a updatable datagrid on my screen. I did get data from the
RemoteObject call from java backend (an array of value objects).
Data got
displayed on screen well and user can make updates. Now my question
is how
can I send
Hi All,
I have a updatable datagrid on my screen. I did get data from the
RemoteObject call from java backend (an array of value objects). Data got
displayed on screen well and user can make updates. Now my question is how
can I send this data from datagrid back to my javaclass thru RemoteObject
Hi all,
Is there any changing event for TabNavigator container? The reason being...
I have THREE tabs in TabNavigator and whenever user enter/change data on
individual tab and try to navigate to another tab without clicking save
button I required to display an confirmation alter and based on the
Hi Abdul,
That will be ok - Passing all values as Strings - with Free Data
Entry form but what about editable DataGrid? Do we have to grab value from
each cell and pass them? This method is too much of . Is there any
workaround method so that I can pass DataProvider as an argument
Hi guyes,
I know you guys are very busy, did any one had any chance to look at my
problem? Thankful to any help!
Thanks!
Hari
-Original Message-
From: Doodi, Hari - BLS CTR
Sent: Friday, April 01, 2005 8:41 AM
To: 'Abdul Qabiz'
Subject: RE: [flexcoders] making synchronous method calls
Steve,
The link you mentioned below is taking to working with session data , but
I couldn't find any info about How to set values into sessions. What I am
expecting is something like this..
flashgateway.Gateway.getHttpResponse().getSession().setAttribute(attr1,va
lue1);
If you don't mind can
Hi all,
I am getting Error: flashgateway.io.ASObject error message
displayed on weblogic server console when I try to send data back to java
class to save on to database. Can't I pass Object class object over to java
class thru flashgateway using RemoteObject ? I appreciate any
-Original Message-
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 1:11 PM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] un-selecting a row in datagrid
Hi,
Does any one know how to un-select an already selected row in a datagrid?
Situation
Yes, they should match.
Thanks!
Hari
-Original Message-
From: Jeff Krueger
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005
7:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
object mapping properties
Sorry if this is an obvious one, but
I
Hi Rich,
If you don't mind can you post the working example? I have a similar
requirement to work on. Thanks in adnvance.
Thanks!
Hari
-Original Message-
From: Rich Tretola [mailto:[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 8:50 AM
To: flexcoders@yahoogroups.com
Subject:
:/
mx:TextArea id=_ta text= width=200 height=200/
/mx:VBox
/mx:Application
Hope that helps..
-abdul
-Original Message-
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 8:48 PM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] Key class
Hi,
Does any one know how to un-select an already selected row in a datagrid?
Situation is like this, user can navigate data either by selecting an item
from datagrid or by clicking PrevBtn or NextBtn. When user selected an item
from DG and then used PrevBtn or NextBtn then data displayed on
Hi list,
I need some help/explanation about Key class. Based on the examples
mentioned in the live docs as well as in Action Script Language Reference I
created the following mxml files. I want to use the Key class to allow the
user use key board to access UI Objects, but no success. Any help
Hi,
I have a situation where in I have to make function call in sequence
(synchronous method calls). I am getting image file names along with product
information by making RemoteObject call. I am making a function call on
result event. Inside that function I am setting individual data to
] = attachmentfname.text;
Alert.show(schedulefname.text+ +continuationfname.text+
+attachmentfname.text,file names);
receiver_lc.send(scheduleViewer, rec_setFileName, fnameArray);
}
-abdul
-Original Message-
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]
Sent
] making synchronous method calls ?
So your problem fixed or you still having it?
-abdul
-Original Message-
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 12:07 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] making synchronous method calls
or a message
saying event.result is not an array...
Let us know, what do you see?
-abdul
-Original Message-
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 1:09 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] making synchronous method
from
top left to center of the image?
Thanks!
Hari
-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED]
Sent: Friday, March 25, 2005 11:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] image scroll
On Fri, 25 Mar 2005 08:58:12 -0500, Doodi, Hari - BLS CTR
from
top left to center of the image?
Thanks!
Hari
-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED]
Sent: Friday, March 25, 2005 11:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] image scroll
On Fri, 25 Mar 2005 08:58:12 -0500, Doodi, Hari - BLS CTR
image not for
entire window. Thanks in advance.
Thanks!
Hari
-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 5:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] image scroll
On Thu, 24 Mar 2005 16:16:18 -0500, Doodi, Hari - BLS
Hi,
I think it is stupid question but I could not figure it out. I have
an image in a Loader and I am not getting vertical as well as horizontal
scroll bars when I zoom in the image. How to get scroll bars (both) on an
image when user zoom it? I even tried with canvas but no help. Please
in advance.
Thanks!
Hari
-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 9:38 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] which container ?
On Tue, 22 Mar 2005 09:26:16 -0500, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote
Thank u v much for the info. I will look into them but I did look at the
explorer sample but found drag and drop with ref with datagrid but what all
I want to move a image around in a container(mostly a canvas as Manish
advised in earlier mail). Does canvas has dragEnter, dragDrop...etc
container ?
On Tue, 22 Mar 2005 10:13:54 -0500, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:
Does canvas has dragEnter, dragDrop...etc
attributes as DataGrid has.
Yes, the Canvas does have 'dragEnter', etc., but you'll have to write
handlers for those. For example, you would write a handler
Matt,
Many Happy Returns of the "{day}"
Thanks!
Hari
-Original Message-
From: Steven Webster
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 4:57
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] BIRTHDAY:
THE FATHER OF DATA BINDING
I believe iT is
Some times removing width attribute for the last column does the trick.try!
Thanks!
Hari
-Original Message-
From: Yukari Machiyama [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 1:53 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Setting colunm width in a
for mx:Array tag
On Mon, 14 Mar 2005 15:13:56 -0500, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:
thought of achieving this by assigning result object from remote object
method to a Array and keep track of current product index accordingly
populate Form Items. But to my surprise there is no property
returning? If it doesn't return an array, you
could create a function that processes the result of the remote object
function and manage it that way.
Doodi, Hari - BLS CTR wrote:
Hi,
I need to develop a UI such that when user click 'Prev' button
system should display previous product info
Hi all, is it possible to have a stand alone popup , may be can not call it
a popup, means when user click on a button my application should open an
other part of application in a brand new browser window. This second window
should appear even if main parent window is minimized but should be
Hi members,
I am new to Flex coding. I did learn a lot from coenraets web site
and also from richinternetapps.com. I do really appreciate them for letting
others to see their code and learn from it.
I do have couple of issues to resolve. I did try search on Livedocs and
other websites for
75 matches
Mail list logo