=0; iSelectionList.length; i++) {
var CompItem = SelectionList.getItemAt(i);
if(SrcItem.Person_ID != CompItem.Person_ID) {
SelectionList.addItem(SrcItem);
}
}
} else {
SelectionList.addItem(SrcItem);
}
}
--
Greg Johnson
I forgot to say exacty what I need. I have 2 datagrids and need to
move rows from one to another making sure that the destination doesn't
already have the same row. Could someone look at the code I have and
see why the check for duplicates isn't working?
tnks
Greg Johnson wrote:
I have 2
);
}
}
--
Greg Johnson
Owner Lead Technician
[EMAIL PROTECTED]
Techno-Fix-It
Filling the Gap Between the Store and the Repair Shop
--
www.technofixit.com
Phone:(919)-371-1476
Fax:(919)-882-9804
P.O. Box 1094
Morrisville, N.C. 27560
Yahoo
?
tnks
Greg Johnson wrote:
I have 2 Datagrids. One gets populated by a call to a CFC, the
other
starts databound to an empty array
The Source Datagrid has a list of names. I let the person
click on,
then click a button. Then a function checks to make sure the
person is
not already in the list
I've seen USERID and alike being added to the gateway url when making
remote calls.
In that case, without the ending '/', the gateway url gets messed up.
Might not be the case here, but it's the first thing I'd check ;-)
regards,
Muzak
- Original Message -
From: "Greg Johnson" [EM
named arguments" and thus looks for parameters to
match each of the keys in the AS Object. Try adding a second, dummy
variable to the CFC function and let me know if this solves the issue.
From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Greg John
this work?
--
Greg Johnson
Owner Lead Technician
[EMAIL PROTECTED]
Techno-Fix-It
Filling the Gap Between the Store and the Repair Shop
--
www.technofixit.com
Phone:(919)-371-1476
Fax:(919)-882-9804
P.O. Box 1094
Morrisville, N.C. 27560
Yahoo
I tried to set that once and started getting J-Run errors. We are
running MX7.
I am not exactly doing that. The related code that is run when that
message shows up is below where Person_List is a datagrid, and
otd_tech_after_db is empty at the time of the cfc call
var
imitive until you've tracked down the cause)?
From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Greg Johnson
Sent: Thursday, September 29, 2005 11:22 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Calls to CFCs
I tried to set
I did some sniffin around and got mine to work right. For anyone
interested I made a kinda generic version below.
// sourceArray = any array
you are currently using as a datasource, most likely it will be
preloaded with entries
// search = the ID of the text entry field you want to use
on the code, so I was breaking it up
into lots of small files. But then I started getting errors saying it
can't read .as file this or that and I know 100% the file is there
because I used the browse mode to select it.
Have I gone too bonkers for Flex's like?
Thanks
Greg
--
Greg Johnson
Owner Lead
I make a change to the CFC and the Flex App doesn't see it unless I
change the CFC's filename.
How can I force it to see the updates without having to constantly play
musical filenames?
--
Greg Johnson
Owner Lead Technician
[EMAIL PROTECTED]
Techno-Fix-It
Filling the Gap Between the Store
Ya, im calling it from flex as a webservice, however I have not
registered it as a webservice in coldfusion admin
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
wrote:
Are you using the CFC as a web service?
Yahoo! Groups Sponsor
I have the main application, then I have a Flex component. But if I
try to add a alert() it says it doesn't know what im talking about.
If I add _root.alert() it will not give an error, but it won't show
the alert window either. :/
Here is the app line from the main flex app
mx:Application
if that method
exists in
Flex.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Thursday, October 06, 2005 12:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I get alert to work in a flex component
I
.
- Original Message -
From: Greg Johnson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, October 06, 2005 1:55 PM
Subject: [flexcoders] Flex or Flash, opinions?
I am currently finishing up doing the first part of a Management
Reporting system in Flex 1.5. Then I am going
I have an application and a custom component. I have a line like
local:otdTab id=otdt /
in the custom component I have created a function called
public function initTech()
But when I am in the upper level application and try to do
otdt.initTech();
the system tells me initTech() is not a
:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Monday, October 10, 2005 9:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling down?
I have an application and a custom component. I have a line like
local:otdTab id=otdt /
in the custom component I have created
iow mx:WebService id=maincfc wsdl=maincfc
Where I set a variable maincfc
var maincfc:String = http://... ;
Yahoo! Groups Sponsor ~--
Most low income households are not online. Help bridge the digital divide today!
definitions you can change
the
endpointURI for the service. Check the docs for more details on
that.
Matt
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Wednesday, October 12, 2005 8:42 AM
] On
Behalf Of Greg Johnson
Sent: Wednesday, October 12, 2005 9:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How would I use a variable to define the
wsdl
param in mx:WebService?
Basicaly im trying to work around two issues. 1 I have a dev and a
prod version in diferent
Ok. Lets say I have a search screen(btw the queries are running via
a webservice to a set of CFCs). The search screen lets you choose
between person, department, and company.
Person Search returns a list of people you can select from.
Department Search returns a list of departments you can
@yahoogroups.com, Greg Johnson [EMAIL PROTECTED]
wrote:
Ok. Lets say I have a search screen(btw the queries are running
via
a webservice to a set of CFCs). The search screen lets you choose
between person, department, and company.
Person Search returns a list of people you can select
the second search in the result handler of the
first?
Tracy
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Thursday, October 13, 2005 1:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Cause and Effect
I need the rows of a datagrid to stay at 1 line if none of the cells in
that row is bigger then one line, but if one is I need that cell to
wrap and the row to expand. I also only want used rows showing up to a
max overall height and then show the scroll bar.
However it seems all I can get
@yahoogroups.com, Greg Johnson [EMAIL PROTECTED] wrote:
I need the rows of a datagrid to stay at 1 line if none of the cells
in
that row is bigger then one line, but if one is I need that cell to
wrap and the row to expand. I also only want used rows showing up to
a
max overall height and then show
lines to fill the screen. If the CFC returns 20,
I don't want 20 result lines and 10 blank lines, I just want 20
lines. But if it returns 40 results, I just want 30 result lines and
the scrollbar.
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
On 10/14/05, Greg
It errors on line 1. Don't understand what it's talking about.
package {
import mx.managers.PopUpManager;
import mx.containers.TitleWindow;
import mx.utils.Delegate;
public function alertHandlerResultsGrid(event):Void {
if
can only have one public class/method available in a
package .as file.
Is this supposed to be an .as include? If so, just get rid
of 'package {'
and the end brace.
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Monday
Ok, I can get the basic popup window fine. Hand to scratch the old
popupwindow code I had gotten from cflex.net because it was throwing
tons of errors in Flex 2. Thing is, I can't figure out how to set a
text field in the popup when it's called.
Yahoo! Groups
It seems like they went out of there way to remove features in coding
and make things far far more difficult or am I missing something?
I have my AS code in different files, and right now have nothing but
function stubs, and am getting no end of errors :/
I create a variable
var
{
}
function doResultGetPerson(result:Array):Void {
}
--- In flexcoders@yahoogroups.com, Spike [EMAIL PROTECTED] wrote:
Hi Greg,
If you can post the code that's not working, or a link to a zip of
it, that
would probably help.
Spike
On 10/18/05, Greg Johnson [EMAIL PROTECTED] wrote:
It seems
=Test popup click=showPopUp(event); /
/mx:Application
**
**
**
HTH
Spike
On 10/18/05, Greg Johnson [EMAIL PROTECTED] wrote:
Ok, I can get the basic popup window fine. Hand to scratch the old
popupwindow code
Applications to Flex 2 in here:
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhe
lp.htm
On 10/18/05, Greg Johnson [EMAIL PROTECTED] wrote:
It seems like they went out of there way to remove features in
coding
and make things far far more difficult or am I missing
Hehehe *raises hand as Flex Newbie*
But I have been using Flash and Actionscript for 5+ years and have
been coding CF since it's first Beta release. Plus I have a Degree
in Business Computer Programing where I was fully educated in OOP
with C++.
I understand what you are saying, and there is
that one or more of the
function
signatures was wrong. It's also possible that there was nothing
wrong with
them at all.
I'll try to attach to the code to this message. If the list doesn't
accept
attachments I'll email it to you off list.
Spike
On 10/18/05, Greg Johnson [EMAIL PROTECTED
BTW Thanks to Spike, he gave me the little bits I needed to finally see
what I needed to get it with the changes in 2.
Now I have tried many variations of a popup window to send stuff too.
It works for the most part. But when I close the window I get an error.
Here is the function that fires
Can someone point me to where I can get info on the Timer Class. The
livedocs just ether say see the new Timer Class, or for the Timer Class
it just says TBD :/
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a job). Welcome
say, call the removePopUp from a doLater().
Tracy
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Wednesday, October 19, 2005 4:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2: Popup Error
BTW
Of Greg Johnson
Sent: Wednesday, October 19, 2005 4:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2: Popup Error
BTW Thanks to Spike, he gave me the little bits I needed to finally
see
what I needed to get it with the changes in 2.
Now I have tried many variations
This is a repost since we can't edit something we already did. I just
wanted to clerify the subject line.
Flex 2 docs say the old timer functions have been removed and there is
a Timer Class. However in the docs for the Timer Class there is a
blank page.
Does anyone know where I can read
PROTECTED] On
Behalf Of Greg Johnson
Sent: Thursday, October 20, 2005 10:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2: Where is the Timer Class
This is a repost since we can't edit something we already did. I
just
wanted to clerify the subject line.
Flex 2 docs say
Ok, for flex 1.5 I had downloaded a nice AS file that would render
dates in cells for me. However dispite me updateing it to work in
Flex 2 it doesn't. Any ideas what I missed?
/*
* DateFormatCellRenderer is a simple Label-based cell renderer that
displays
* its item content in a known
that) value, which contains
the data to be rendered. All of the examples I've seen thus far are
straight MXML, and most are rendered inline, so you might want to
try
heading in that direction.
Jim
On 10/21/05, Greg Johnson [EMAIL PROTECTED] wrote:
Ok, for flex 1.5 I had downloaded a nice
the
labelFunction only gets the dataObject since they are 1 dimential
arrays vs 2 dimentional grids. Plus if you specify one of the drop
in renderers it will adjust in all cases to send what they need. As
I understand it.
--- In flexcoders@yahoogroups.com, Greg Johnson [EMAIL PROTECTED]
wrote:
Think i
I am stuck with using Oracle for a datasource with a project. One
field that is returned back is of type long in oracle. When I try to
return it as part of my results, Flex throws a fit. I comment that one
thing out, and it's fine.
I tried using ToString in the CFC but that didn't work.
characters. I managed to fix that by wrapping the
result in
urlEncodedFormat() in the CFC and using unescape() on the returned
data in
flash.
Spike
On 10/27/05, Greg Johnson [EMAIL PROTECTED] wrote:
I am stuck with using Oracle for a datasource with a project. One
field
I knowtice that if I just try to run the html/swf directly I don't get
any of the data, iow I get my initial drop box, but without anything in
it. It appears to not work. However if I click run in the builder it
comes up fine.
Is the alpha designed so you can't deploy the compiled SWF (which
-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Monday, October 31, 2005 6:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2:Need quick answer
I knowtice that if I just try to run the html/swf directly I don't
get
any of the data
Not that I have seen.
--- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote:
Some programming environments (like Powerbuilder) allow you to put a
statement into your script like debugBreak(), which allows execution
to stop at that point (in debug mode) every time until such time as
I am tryinig to create a class with functions that I use repeatedly
so I can just include them in different components/applications. As
far as I can tell I have written it correctly, but when I use an
include, and they try calling one of the functions, it doesn't work.
Here is the package
/ class / prop per .as file.
Also, the
.as files name must match that of the function / class / prop.
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Tuesday, November 01, 2005 9:43 AM
To: flexcoders@yahoogroups.com
and CSS and
whatnot.
Its a much more efficient distribution and packaging mechanism!
-Roger
Roger Gonzalez
mailto:[EMAIL PROTECTED]
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
Sent: Tuesday, November 01
:[EMAIL PROTECTED] On Behalf Of Greg Johnson
Sent: Tuesday, November 01, 2005 11:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2:Package/Class problem
This is a part I didn't even get a chance to get into with 1.5 so
im
coming kinda late in 2.
In my post you
I have a date field that gets returned to Flex2 from a CFC. Thing is
when there is a date in it, it returns a date. When there is no date
in it, it returns a empty string.
Flex is having indigestion as the Flex variable is of date type. So
when a date is returned, its happy, when a empty
and ColdFusion, have you tested using session
variables? It's not working for me and I don't know why. I tested
the same
components using just the browser and it worked.
Thanks.
Rafael
-Mensagem original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Em nome
de Greg
Here is the popup function
// Error Handler Function
public function err(message:String):Void {
var errpop:stdErr = stdErr(PopUpManager.createPopUp
(this, stdErr, true));
errpop.message.text = message;
}
And here is the stdErr.mxml file it
Nope
--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
Is the err function being called from a class that extends
UIObject/UIComponent/View?
- Original Message -
From: Greg Johnson [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, November 03
I finally got some time to setup classes for some common functions
and it was working, then I rolled it out to all parts of the
application and now it balks on me.
Here is the error in debug view
[SWF] C:\Documents and Settings\gjohnson\My
I have an oracle database setup on one server.
I have CF setup on another server with a datasource setup connecting to
the oracle server.
I am querying oracle and getting back result set.
Included in that result set (from what I can see) is a field called
Abstract with a type of Long. It
In Flex 1.5 panel header had the nice gradient haloGreen. Now they are
flat grey. I have tried several different ways to change the color to
a gradient, but to no avail?
Is there a place I can referance Flex 2 styling and what it can and
cant do that Flex 1.5 could?
Thanks
Jethani
[EMAIL PROTECTED] wrote:
On 11/21/05, Greg Johnson [EMAIL PROTECTED] wrote:
In Flex 1.5 panel header had the nice gradient haloGreen. Now
they are
flat grey. I have tried several different ways to change the
color to
a gradient, but to no avail?
I think headerColors is supposed
Basicaly I have an accordian view. The first pannel is a dataGrid, the
secound pannel is a viewstack. What I want is for when I go from the
dataGrid to teh viewstack, that the viewstack switch to the first
view. However all I seem to be able to do is ether get an error
because the viewstack
I have x tabs. However its x tabs too many and they get cut off on the
right hand side. I would prefer they wrap to a second line
automaticaly. Ideas?
tnks
Greg
Yahoo! Groups Sponsor ~--
Most low income households are not online. Help
I know there was code for one in Flex 1.5, but it appears to need
somework to work in Flex 2. Has anyone already done that who could
give me a copy?
Thanks
([EMAIL PROTECTED])
Yahoo! Groups Sponsor ~--
Get Bzzzy! (real tools to help you find a
Right now, when something goes caput in a cfc I get back a realitivly
meaningless set of information in Flex vs and CFML doc calling the same
CFC and getting an error.
Yahoo! Groups Sponsor ~--
1.2 million kids a year are victims of human
66 matches
Mail list logo