Wonderful!!!
Thanks!!!
On 5/27/05, Peter Farland <[EMAIL PROTECTED]> wrote:
Yep - the "named" object just serves as an alias to a
service, such as a POJO (or in your case, CFC), that helps out in
two respects... a) it allows you to create a name for a service that protects
your code
I looked back at the code that shipped with that gateway and I see the
issue. (Note that I couldn't reproduce this locally so it means that
we've fixed this for the next release... not that this really helps you
right now).
FYI, to create an ECMA array on the client in AS you just create an
Array
Yep - the "named" object just serves as an alias to a
service, such as a POJO (or in your case, CFC), that helps out in
two respects... a) it allows you to create a name for a service that protects
your code from package/directory/file renames of the service, b) doesn't expose
underlying s
There are some idiosyncracies when objects appear and disappear under
the mouse. In general, by listening to all mouse events (down, up,
over, out) you can see a pattern that you can look for (you may see an
over instead of a down for example).
In other situations, this can be remedied by not
Yeah, looks like a bug. Don't see any obvious workarounds either.
One questions: Do you even want to allow de-selecting a row? It might
be possible to block that by overriding the onPress handlers in the
SelectableRows in the Tree.
Yahoo! Groups Links
<*> To visit your group on the web
You're not missing anything. There's a super-secret mouseDown
handler in the datagrid that is messing you up. Lots of folks have
tried various ways to workaround it and I think they've succeeded.
Last time we tried it, we subclassed the DataGrid and overrode its
onMouseDown method to see if i
Hello there,
Got a small issue;
I'm running flex 1.5 with integrated JRun, and have created
a virtual mapping to my mxml files
I did this by adding a tag to my
jrun_root/server_name/WEB-INF/jrun-web.xml file
so: http://localhost:8700/foo points to c:\path_to\my_mxml\
When I then try
Hi Peter,
I'm assuming the CFC is the object?
What are the benefits of registering the named objects in the gateway-config file?
Is there an informal list of best-practices for security when working
with remoting? I would understand if MM couldn't comment on suggesting
best practices for secur
Hey all,
This is both an FYI and a query to see if anyone has a solution to this
issue.
There seems to be a bug in Flash Remoting in the handling of
java.util.Map keys.
Setup:
Flex 1.5
Remoting configured with
Flex
false
The issue is that Map keys are always made lowercase. The iss
Hi Tim,
You're using an image component, and not a loader component.
Once you change to a loader component, you can do the following:
I get the size of the SWF being loaded into the loader component and
then resize the loader component to the size of the contents. By doing
so, I can control t
Kevin, here's one other thing to try if Peter's advice isn't relevant:
Often, an AS class that is mapped from a POJO will not be referenced
anywhere in the application code, since it only arrives in the
application as a result of being deserialized. What happens in this
case is that the MXMLC
Ok. I believe you can register named objects for CFCs in
CFMX 7's copy of gateway-config.xml as it shares essentially the same code
as Flex 1.5's gateway - (though note this would be a Flex concept being
introduced into a CF/Flash Remoting world) let me know if you are having
any difficult
Is myValue on oNewItem a complex type or is it expected to return a
simple value?
Does the constructor of com.MyPojo take any arguments? If so, does it
look something like this?
public class com.MyPojo
{
public var myValue:String;
public function MyPojo(mval:String, someval:Obje
Hi Peter,
MX 7 installed on JRun4
DaveOn 5/27/05, Peter Farland <[EMAIL PROTECTED]> wrote:
What version of CF are you using
Dave?
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of dave
buhlerSent: Friday, May 27, 2005 10:36 AMTo:
flexcoders@yahoogro
Tarik Ahmed wrote:
> http://members.whattheythink.com/home/od05sherburne7.cfm
>
> "...Exstream was showing its brand-new Dialogue Version 5, which,
> according to Vice President of Marketing Kelley Sloane, has over 250
> enhancements. With this release, Exstream teamed up with Macromedia to
> u
I'm working on doing some skinning and don't have access to HaloTheme.fla in
my Flex 1.5 install. Can someone post a link if they have this file handy?
Thanks in advance for any help you can give.
Best Regards,
Dennis
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http:/
Thanks Manish. I sidestepped the issue by limiting the top-level mousedown
so it doesn't conflict with the subcomponent mousedown. That solved my
immediate problem. So - I didn't have a change to try setting event.bubbles
to false.
- Tom
At 10:02 AM 5/27/2005, you wrote:
>On 5/27/05, Tom Fitzp
OK...i've gotten a lot further. I found an Ant script to create my AS
classes from my POJOs (maintaining inheritance). I registered the
classes and it compiles fine. THe problem is still there but it looks
like the POJO being returned from myRemoteObject is not being
converted to it's AS counterpar
> I've tried assigning the returned remote
> object to a general AS object (see example
> below)...that does not workthat's what
> causing these errors.
[Pete] The hack I meant was something like this (I've not tested this,
just something I guessed might work):
static var reg:Boolean = Ob
Try this link instead:
http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-contr
ol/
Note: MM recommends against using _parent and advises using
mx.core.Application.application instead.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Pete-
Thanksto answer your confusion...Suzy and Kevin are the same
person, when I registered, the wrong username got auto-populated when
I joined flexcoders and there's no profile for me to fix it.
Getting back to your response (thanks by the way), I've tried
assigning the returned remote ob
Hello,
I'm having trouble when loading SWFs in to a Flex app using .
Basically, the SWF isn't being resized to the Loader, no matter what I
do. Simple test case:
http://www.macromedia.com/2003/mxml";>
http://localhost/europe.swf";
id="preview"
scaleContent="tr
Look in C:\Program Files\Macromedia\Flex\extras\colorpicker (or equivalent)
Ali
--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
Office: +44 (0)131 338 6108
This e-mail and any associated attachments transmitted with it may contain
confidential information and must n
Anyone have any sample code to make a color picker like the one used
in the flex css explorer. I don't want to re-invent the wheel if
necessary.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, s
(Hi suzy, firstly, I'm a little confused as to how Kevin Ewok's response
turned into your message - are you saying you're having the same issue
as Kevin? Let me first comment on Kevin's issue which will provide good
background for yours...).
On looking again at the warning Keven is getting from Cl
I see it now. That may be a bug. Report it at http://www.macromedia.com/go/wish
Maybe
someone else will have some suggestions.
Tracy
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen
Sent: Friday, May 27, 2005 3:30 AM
To: flexcoders
If I'm getting objects from a web service and want to use them in
data binding, do I have to re-create them in ActionScript in order
for their various properties and sub-objects to be bindable?
Ideally, I'd like to just "use what the server gives me" and not
rewrite the objects in AS. i.e.:
http://members.whattheythink.com/home/od05sherburne7.cfm
"...Exstream was showing its brand-new Dialogue Version 5, which,
according to Vice President of Marketing Kelley Sloane, has over 250
enhancements. With this release, Exstream teamed up with Macromedia to
use its Flex Server to create
Hari,
Thanks...I'll give this a shot. So my question is,
why do I have to write a matching AS class to match my
POJO? When I populate my Datagrid from the remote
object (arraylist of POJOs), I din't have to write any
AS classes.
--- "Doodi, Hari - BLS CTR" <[EMAIL PROTECTED]> wrote:
> Hi,
>
Hi,
First couple of questions - did you register your POJO with AS class
using Object.registerClass( ) method?
What is the constructor method of you Pojo ?
After both of above are in place(implemented) then you can create new object
of your POJO type and assign your newly returned
Hari-
THanks for your response. I tried that but I got a
compilation error that "there is no method with the
name MyPojo". I suppose that means I have to manually
write the underlying ActionScript class for my Java
POJO?
That just seems like a really bad implementation
design b/c if MyPojo Java
What version of CF are you using
Dave?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of dave
buhlerSent: Friday, May 27, 2005 10:36 AMTo:
flexcoders@yahoogroups.comSubject: Re: [flexcoders] CFlogin,
SetCredentials and the RemoteObject
Thanks!
On 5/27/05, Indy
Nag
Thanks!On 5/27/05, Indy Nagpal <[EMAIL PROTECTED]> wrote:
Yes, I think that is the logic behind "named" objects.On 5/27/05, dave buhler <[EMAIL PROTECTED]> wrote:> Interesting...>> So if I use the named remote objects in the flex-config file, the paths to
> the CFCs aren't visible?>> I should
Have you tried registering your AS type to match the POJO type using
Object.registerClass?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Ewok
Sent: Friday, May 27, 2005 9:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Convert
Try this.
var newObj:Object = new MyPojo(); // constructor of your POJO
function addToGrid() {
newObj = remoteObj.getNewJob();
myDataGrid.addItem(newObj);
}
Thanks!
Hari
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Ewok
Sen
On 5/27/05, Tom Fitzpatrick <[EMAIL PROTECTED]> wrote:
> Right now, clicking the subcomponent also selects the Panel.
>
> I'd like to be able to click the subcomponent without selecting the Panel -
> sort of a problem of eliminating the "bubble-down", I guess.
Does setting event.bubbles to false
Gang-
I'm a newbie and all the flexdocs on MM's site couldn't give me a
concrete answer. I have a datagrid that is populated from an ArrayList
of POJO's (using the remote object). That works fine.
I then have another method that is called 30 seconds later then
returns a single POJO (of the same
Use this line to color the 2nd row red, for example
datagrid.setPropertiesAt(2, {backgroundColor:0xCC});
--- In flexcoders@yahoogroups.com, "sanjayd" <[EMAIL PROTECTED]> wrote:
> I tried this, but, it colors the whole grid:
>
> function cellPressEvt(event) {
>
I tried this, but, it colors the whole grid:
function cellPressEvt(event) {
event.target.setStyle("color","#FF");
}
while on this topic, is there an elegant way to color the whole row of
a dataGrid ?
Thanks in advance.
Sanjay
Y
Hi Adbul,
recompile = true didn't help, seems to be something different. Here is
one of my Java VOs:
public class OgoPersonUebersVO implements Serializable{
private String id;
//Map adresse;
private String vorname;
private String nachname;
//Map telefone;
private Stri
Hi Christophe,
Try to force recompile your application by appending "recompile=true" to URL,
for example:
http://www.yourserver.com/app.mxml?recompile=true
If that too doesn't work, then there is some other issue...
-abdul
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[
Hi,
ContextMenu only works with top-level objects in Flex application.
ContextMenu wouldn't work with any nested object/component, I believe
that is why it is not working with Tree in your case.
Macromedia Flash Player team is looking into this issue and we hope it
gets resolved in future version
I have created a context menu in my root application.
Now i have different components in my root application.I have a tree
and a datagrid which are the child components of my root application.
Now in the component in which tree is created ,there is a link bar
(i.e. on top of the
Yes, I think that is the logic behind "named" objects.
On 5/27/05, dave buhler <[EMAIL PROTECTED]> wrote:
> Interesting...
>
> So if I use the named remote objects in the flex-config file, the paths to
> the CFCs aren't visible?
>
> I should use a decompiler on my own app to see, but I had
I want to implement context menu for different
components in my application. The right click need to
be implemented in Tree, DataGrid and TileList.
My context menu is the same as given in Chapter 10 of
Developing Rich Clients with Macromedia Flex,
Components: Designing for Resuability.
I want to
yes, the problem is that I am using a textArea in the cell renderer
and I can't set the height of the textArea to something like a
variableRowHeight. I just created to columns, which I was trying to
avoid but no big deal, and got rid of the cell renderer.
thanks though.
--- In flexcoders@ya
Hi List,
I have some problems with my ValueObjects. First I give you my system
configuration:
SuSE Linux 9.2
Tomcat 5.5.7
Flex 1.5
Eclipse 3
Java 1.5
In my application I have Java Value Objects on the server side and I
mapped them to my ActionScript 2.0 with Object.registerClass().
My problem
Hi,
Other way of file handling browser could be with help of a signed Java
Applet...I am not recommending this solution nor this is a official help
:)
Just yet another way. You can have a signed java applet in the same html
page and communication between flex app and java applet can be done with
Hi, I forgot to mention that the tree has
dragEnabled=”true”, which makes this “lost event” occur….
It also seems that it doesn’t send any of these events either on when
clicked with CTRL down:
dragEnter
dragExit
dragOver
dragDrop
dragComplete
-Mika
From: flexcoder
49 matches
Mail list logo