Thanks for your reply.
Our problem, however, is
that the screen is ready and rendered before the remote object completes its
call.
We already show the busy
cursor for the remote object, but this is not preventing the view from
rendering completely before the remote call returns
Hi flexcoders,
in a single DataGrid I need to use in 3 columns 3 instances of
ComboBox-based CellRenderers, that is 100% same functionnalities,
except from the ComboBox's data provider [different lists]. Yet I was
using a static dataProvider in my cellRenderer class, but I can't with
3 ComboBox
Does the list component in Flex not have setPropertiesAt()
? This method of the list takes two arguments:
1) the index of the row in the list you want to modify (listen for a
change event and then check the selectedIndex property of the list).
2) a style object which allows 2
Hi Blake,
You cant have bindings in
Validators, so the compiler is parsing required={usePurchaseOrder.selected}
to either true or false and it looks like true from what youre
saying. Itd be good if the compiler helper a bit more here, but it doesnt.
We dont think Cairngorm store
Re: where to place logic for deciding when to disable a
button using Cairngorm Architecture
I'd not use ViewHelpers here; what I'd consider is holding
a State object in your ModelLocator. Essentially, you only want a button
to be displayed once the application has reached a particular
I have something working, there might be a simplier
solution but that's all Ihave (see
attachment);))
?xml version="1.0"
encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Script[Embed(source="icon.gif")]var
myIcon:String;//reference to list selectedIndexvar
Im getting this again Branch
between 46842 and 79852 around line 0 exceeds 32K span.
There was a solution how you can find the branch in code
that caused this, but unfortunately I cant remember what it was and
where I found it.
So, has anyone got the information on how to find
Hello Flex Coders,
I want to be able to expand the Type-ahead filtering concept
of a filtering custom dataprovider to a dataset of about 5,000 items.
Im in the early stages of planning this and am
thinking of a combination of an Implicit Paging Dataprovider (aka Matt Chotins
large
On 8/10/05, Tariq Ahmed [EMAIL PROTECTED] wrote:
Got a simple model:
mx:Model id=sectionModel
region revenue=1/
region revenue=2/
region revenue=3/
region revenue=4/
/mx:Model
And I got a function that just hard code updates the values:
function
On 8/10/05, Jawad Anwar [EMAIL PROTECTED] wrote:
This might seem trivial but every time I ran a sample code on my local flex
server, it shows the page in Grey Background (by default)
So I tried using my own style sheet with a white background but didn't work.
Put this in your CSS file:
I am having a problem with a simple text validator. See code below:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Model id=form
title{tiTitle.text}/title
/mx:Model
mx:StringValidator field=form.title listener=tiTitle
On 8/10/05, adit sathish [EMAIL PROTECTED] wrote:
I want to have datagrid scrollbar colors to be same as datagrid row color
without changing the style for scrollbar for whole app. I have tried using
scrollTrackColor property but it is not working.
Try setting themeColor on the DataGrid.
On 8/10/05, dval823 [EMAIL PROTECTED] wrote:
If no data is entered into the field, the validator does not trigger.
If you enter data, and then delete the data, the validator is
triggered. Or, if using the min and max example, if you enter data
of the wrong length, the validator is
Hi,
Im trying to set the caret to the end of the
textfield. I have a keyUp event handler that adds the dot . automatically
for the text entered. The problem is that when the dot is added by actionscript
the caret stays behind the added dot while typing, so the dot gets misplaced
and the
Hi r0main,
I've just realised that you don't need to set the columnName to 0,1,2 etc on
the individual columns. Instead of getDataLabel(), use
getCellIndex().columnIndex - it'll do the same thing.
Cheers,
Ali
--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
Office:
Mika,
Have you looked at:
Selection.setSelection(stringLength,stringLength)
HTH,
Allen
www.prismix.com/
From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika Kiljunen
Sent: 10 August 2005 13:25
To: flexcoders@yahoogroups.com
var fm =
getFocusManager();fm.setFocus(MyTextField);Selection.setSelection(0,MyTextField.text.length)
Philippe
Maegerman
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Allen
ManningSent: mercredi 10 août 2005 14:32To:
flexcoders@yahoogroups.comSubject: RE:
Thanks, but it wont help. If I type
in 23 my handler adds a dot to it and the text becomes 23.
Your code sets the 23
selected and caret is there (not after the added dot as it should be), the
thing is that it should show 23. and caret after that, and no selection.
-Mika
Thanks a lot again :-)
In fact I managed to have my solution working as well:
Defined a custom DataGridColumn:
class com.r0main.ComboBoxDataGridColumn extends
mx.controls.gridclasses.DataGridColumn {
[ChangeEvent(dataProviderChanged)]
private var _dataProvider:Array;
MyTextField.text.length+1
maybe ;)
Philippe
Maegerman
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Mika
KiljunenSent: mercredi 10 août 2005 14:47To:
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Caret positioning
problem
Thanks, but it wont
help.
You wishbut no, does not work (already
tried it) L
-Mika
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman
Sent: 10. elokuuta 2005 16:16
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Caret
positioning problem
Don't ask me how I found it, I tried all kind of things
likesetInterval, doLateretc ...
MyTextField.text =
MyTextField.text + ".";MyTextField.redraw();var fm =
getFocusManager();fm.setFocus(MyTextField);Selection.setSelection(0,MyTextField.text.length)
Enjoy++
Philippe
Maegerman
And it worked like a charm.
Thanks a lot!, Manish.
-Jawad
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Wednesday, August 10, 2005 8:07 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Beginners Questions - Can't
I'm trying to implement a tree with a checkbox renderer, but so far with no luck.
I've tried the example at macromedia,
http://www.macromedia.com/support/documentation/en/flex/1/cellrenderers/cellrenderers13.htmlbut it doesn't work properly. It behave in a strange way, basically as soon as
Yeah, I just found that if you split the two commands into separate
functions, and associate them with the click event on two bottons.
Then pressing the first button (to add the dot) and then pressing the
second button (to select the end of the string), then it works.
Nice find on the redraw().
Thanks a lot man, finally it works!
I thought Id try that also but didnt
get to that one yet. I was just about to send a fictive KEY.DOWN event cause it
sends the carret to the end of the text (at least it should) But this is
far better.
Thank you Philippe!
Give respect for
Well I thought it was a question of timing so I tried doLater() and
setInterval(), and it wasn't working.
When tracing the text length in the second function called by doLater, it was
showing the right value, gr!!
Then I tried with static text 23. in the field and setSelection(0,3) and
Mika,
I've just seen some wacky behaviour with using that function on the
keyUp. If you type too quickly it skips adding the period. Also, if
you try to delete (backspace) after typing, you get into a loop or it
recreating the period. However, if you hit backspace really quickly
you can get
Yep, I know. But that's what they want so I'll just try to make it work
somehow. Hopefully it will turn out ok.
-Mika
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Niklas Richardson
Sent: 10. elokuuta 2005 16:56
To: flexcoders@yahoogroups.com
If I select a node on a tree dynamically (by clicking somewhere else
in the application), how do I scroll the tree automatically to see
the
selected item (it's a long list).
Cheers,
Iain
Yahoo! Groups Sponsor ~--
font face=arial size=-1a
Very close to what I need...How to change the image if I click back
on the same item. The idea is that I want to permit no selection
in the list.
Thanks
--- In flexcoders@yahoogroups.com, Niklas Richardson
[EMAIL PROTECTED] wrote:
Hi Guys,
I started going down the same root as Philippe,
Try using vPosition.
On 10/08/05, digital_eyezed [EMAIL PROTECTED] wrote:
If I select a node on a tree dynamically (by clicking somewhere else
in the application), how do I scroll the tree automatically to see
the
selected item (it's a long list).
Cheers,
Iain
--
Flexcoders
any ideas on this? Seems to pull this off, have to extend the List
comp with custom dragdrop stuffs.
DK
On 8/8/05, Douglas Knudsen [EMAIL PROTECTED] wrote:
http://livedocs.macromedia.com/flex/15/flex_docs_en/0623.htm
has
The DataSource object created by Flex contains the following data
Thanks, I did it with this:
tree.firstVisibleNode=tree.selectedNode;
Cheers,
Iain
--- In flexcoders@yahoogroups.com, Niklas Richardson
[EMAIL PROTECTED] wrote:
Try using vPosition.
On 10/08/05, digital_eyezed [EMAIL PROTECTED] wrote:
If I select a node on a tree dynamically (by
Mika, I have been wrestling with the 32k
issue for about 18 months, including banging on the MM folks on this list
mercilessly. If there was ever anything posted on this list (or anywhere
that is googlable), that would help find WHERE the problem is I probably would
have seen it. And it
Dear everyone.
Recently, I programmed a code on Flex , ASP
and XML, to post data and read data from XML. It works
successfully. I would like to ask about:
Q: Do you have any ideas about how to change a specific data in
the XML file?
Q: Do you know any MXML ASP XML applications
Hello Flexcoders,
I ran into this issue today: I have a combobox
populated with some data. The labels length is quite
long, so I would like to have a tooltip displayed when
scrolling the mouse over an item from the list. I saw
showDataTips, showScrollTips for the list control
but not for the
Hi Ahmed,
Q: Do you have
any ideas about how to change a specific data in the XML file?
You can write ASP script to read/write/update data
ina XML file. You need to use MSXML API in ASP to do
so.
Q: Do you know
any "MXML ASP XML" applications that work on changing data, and not only
Another link:
http://www.4guysfromrolla.com/webtech/xml.shtml
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of AhmedSent:
Wednesday, August 10, 2005 10:03 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Changing Data in
XML
Dear
everyone.
Recently, I
Does this work this way?
comboBox.dropDown.showDataTips = true?
ComboBox contains a List, so you can get the reference of list using
'dropDown' property of ComboBox and then set List properties on it, as
shown above.
-abdul
-Original Message-
From: flexcoders@yahoogroups.com
theCombo.getDropdown()
Philippe
Maegerman
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Abdul
QabizSent: mercredi 10 août 2005 18:17To:
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Combobox :
Display tooltip scrolling over the elements
Does this work
On 8/10/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
Does this work this way?
comboBox.dropDown.showDataTips = true?
ComboBox contains a List, so you can get the reference of list using
'dropDown' property of ComboBox and then set List properties on it, as
shown above.
Correction: There's
You can't have bindings in Validators, so the compiler is parsing
required={usePurchaseOrder.selected} to either true or false - and
it looks
like true from what you're saying. It'd be good if the compiler helper
a bit
more here, but it doesn't.
I was hoping that wouldn't be the case. Is
Hi guys I have a simple question. Does my command need to have the
logic to manage the exceptiosn I recive from remoting and decide what
to do depending on the exception? or does that belong on the view
helper? Thanks for any feedback you can give with this.
Omar Ramos
Omar,
I think 'onFault' or 'onStatus' is a method of the Responder.
Allen
www.prismix.com/
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Omar Ramos
Sent: 10 August 2005 18:10
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairgorm
For what you're wanting to do, you're best bet will be to drop into
ActionScript and change your validators at runtime.
I've been working on this trying to figure out the best way to handle
it. The compiler nicely informs me that id tags aren't supported on
validators, so it appears setting
Its a combination. Your command will catch the error, then it should
call a ViewHelper function to do anything that is in regards to the
View.
The Cairgnorm Shopping Cart example has Alerts for most of the on
Fault calls. So it kinda of depends on what you want to have done.
If you want to
Blake,
I would take the click event from your checkbox and map that to an event
handler which enables/disables your StringValidator.
function setValidator(event)
{
if (event.target.selected == true)
{
Hi folks,
I'm attempting to create a series of chiclet-shaped images in a
variety of different colors.
Ideally, I'd like to create a set of mx:Image objects array them
on a canvas or HBox, and then programmatically set a fill or
foreground color for each.
Is something like this possible?
Yeah I mean from the server I mite send difrent types of errors for
the same invocation. The logic for handeling the type of error and
taking action on the view corresponds on the command or the
viewhelper?
On 8/10/05, Allen Manning [EMAIL PROTECTED] wrote:
Omar,
I think 'onFault' or
Yeah thats what I tought. Command would send the error code or message
to the view helper and the helper applies the logic and takes action
on the view.
On 8/10/05, Omar Ramos [EMAIL PROTECTED] wrote:
Yeah I mean from the server I mite send difrent types of errors for
the same invocation. The
I would take the click event from your checkbox and map that to an
event handler
which enables/disables your StringValidator.
Thank you, that seems to have done the trick! Now to submit a feature
request for validator bindings... :)
Blake
Yahoo! Groups Sponsor
On 8/10/05, donalstar [EMAIL PROTECTED] wrote:
I'm attempting to create a series of chiclet-shaped images in a
variety of different colors.
Ideally, I'd like to create a set of mx:Image objects array them
on a canvas or HBox, and then programmatically set a fill or
foreground color for
Hi Mika, thanks! That lead me down the right track. Your first
suggestion is basically the solution.
Thanks!
Mika Kiljunen wrote:
Perhaps you
should modify the values on
the model through the lists dataProviders editField or replaceItemAt,
since the changes made to the
Omar,
ViewHelper should have *nothing* to do with handling faults. You will have
to decide how you choose to pass exceptions back from J2EE to Flex; you can
catch those either in the onResult() or onFault() methods of your command
classes, and handle accordingly.
Note that you will not
Very close to what I need...How to change the image if I click back
on the same item. The idea is that I want to permit no selection
in the list.
Holding down the Ctrl key while clicking does it. Otherwise, you might
need to write your own toggle function called by a click event.
Blake
Thanks for your reply steven. Let me tell my case. I am checking a
subdomain on the .NET side and if the subdomain is not available .net
throws a DomainNotAvailable event with a error code. Now in flash if
the error code is DomainNotAvailable then I show the user some status
text on the view. The
Hi Omar,
Remember that we're building OO systems in Flex here...
First off; you might consider having an ErrorViewHelper ... there's a good
argument here for a view helper. Your model is an exception, but you want
to manipulate that model to prepare it for the view, ie to change an
exception
got this code below building a grid dynamicallyhow to alternate
teh gridItem colours???
I tried
backgroundColor='{ currentIndex%2 == 0 ? #EE : #CCC }'
but apparently can't use bindings in style settings
oh..can't use bindings in the styleName property either.
DK
mx:Grid id=daGrid
In flash you would do
myDG.alternatingRowColors = new Array (0xff,0x00);
so im assuming you could do the same thing in a script block in Flex.
On 8/10/05, Douglas Knudsen [EMAIL PROTECTED] wrote:
got this code below building a grid dynamicallyhow to alternate
teh gridItem
On 8/11/05, Donal Carroll [EMAIL PROTECTED] wrote:
I'm also listing the Laszlo code snippet so you'll see what I'm talking
about:
canvas
view name=TestView
simplelayout axis=y spacing=3/
view name=chip_fill
resource=common/browse/color_chip_fill.swf
fgcolor=red/
thanks
in this case I'm not using a datagrid though, just a grid. I looked
around the API for Grid and see no alternatingColor property
unfortunately.
DK
On 8/10/05, chris.alvarado [EMAIL PROTECTED] wrote:
In flash you would do
myDG.alternatingRowColors = new Array (0xff,0x00);
oops i guess i misread. sorry about that.
On 8/10/05, Douglas Knudsen [EMAIL PROTECTED] wrote:
thanks
in this case I'm not using a datagrid though, just a grid. I looked
around the API for Grid and see no alternatingColor property
unfortunately.
DK
On 8/10/05,
Douglas,
You can set the style in an event handler, like so:
mx:Grid
mx:Repeater id=r
mx:GridRow id=row
initialize=row[r.currentIndex]
.setStyle('backgroundColor',
r.currentIndex % 2 == 0
Sorry if I keep bothering you. So I would make a a ErrorViewHelper but
how does that ErrorViewHelper notify other views of the error without
using or referensing another viewhelper in it? For example on my
Invalid Subdomain exception I would want a particular view to know of
this error. Thanks and
When you say notify other views of the error, more specifically, what do
you want these other views to do as a result of the error condition ?
Surely only one view can display a popup ? Or is it that as a result of
your error, you want to put the application into a known state in which
other
Ok this is the scenario. I have a wizard screen that is on a popup.
One of the steps of the wizard is to chose a subdomain and the
customer wants a promp bar kinda of a like a status message text that
will display erros like Your subdomain is taken. So I can not use
Popups and need to go from the
Steve, thanks for your
reply. We tried your solution and it is working now.
Thanks to all that helped
us.
Until the next time.
De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] En nombre de Steven Webster
Enviado el: Miércoles, 10 de
Agosto de 2005 04:25
Hi Darius,
I too went through the same pain (days days of trying see what data types
I could successfully return from a CFC).
I'm still learning but in my somewhat limited experience I could find no way
to return an array datatype, it just wouldn't do it no matter what I tried,
same goes for
Im quite new to flex and was hoping somebody could answer the
following questions:
Does flex allow you to load content in the background so if i decide
to go to a new page the content could already be there?
Also, probably more importantly, is it possible to start streaming for
a MediaDisplay in
Hi,
Here is a small sample code... I am not even using Title window anymore
an application with datagrid with a button cell renderer. The button
on click dispatchs a event and I am trying to catch it in the
application which is not working.
testMain.mxml
?xml version=1.0 encoding=utf-8?
Opps this works.. the one with titlewindow does not work. I forgot to
call the confirm method on creationcomplete.. :-)
Rajesh J
--- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote:
Hi,
Here is a small sample code... I am not even using Title window anymore
an
Thanks for the input.
I was thinking a configuration more towards this:
1 IIS server (3.0ghz with 2gig of ram) this will be expanded to a
server farm as needed
1 Flex Server (2 cpu, 4 gigs ram) this will be the application
1 MS SQL Server (16 cpu, 32 gigs of ram) this
73 matches
Mail list logo