Sorry, I don't think that getMetaData() is going to be useful in
Application.cfc.
It will only gives you info on your current Application.cfc...

Since, the remote object call is a request to the /flex2gateway servlet,
this is logical that cgi.SCRIPT_NAME=/flex2gateway.
So you can't use the cgi informations...

Have you tried to access the java page context object?
Ex. : getPageContext().getRequest();

You might find some info... (not tested)

Benoit Hediard

-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de sn197412
Envoyé : mercredi 19 avril 2006 15:36
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: [Flex 2.0] How can get CFC information that is
accessed via RemoteObject??

Hello.

Thank you for information.

"getMetaData" needs a agrument = object.
What should I set for the argument at Application.cfc??

-- Shigeru ( http://Shigeru-Nakagaki.com )

--- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote:
>
> In your RemoteObject/CFC, you should use getMetaData() to get all the
> required informations:
> http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000488.htm
>
> Benoit Hediard
>
> -----Message d'origine-----
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
De la
> part de João Fernandes
> Envoyé : mercredi 19 avril 2006 14:00
> À : flexcoders@yahoogroups.com
> Objet : RE: [flexcoders] Re: [Flex 2.0] How can get CFC information
that is
> accessed via RemoteObject??
>
> Well, that variable is available with the correct CFC name.
> I just tested in onRequest and I get the path to the CFC.
>
> Don't you?
>
> João Fernandes
> Dep. Informática - Área de Desenvolvimento Cofina media
>
> Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351)
213 185
> 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of sn197412
> Sent: quarta-feira, 19 de Abril de 2006 12:29
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: [Flex 2.0] How can get CFC information that
> is accessed via RemoteObject??
>
> Hello and thank you for replay.
>
> I want to know which CFC called via RemoteObject at Application.cfc.
> Like CGI.SCRIPT_NAME.
>
> --Shigeru (http://Shigeru-Nakagaki.com)
>
> --- In flexcoders@yahoogroups.com, João Fernandes <joaofernandes@>
> wrote:
> >
> > What kind of information are you looking for?
> >
> > João Fernandes
> > Dep. Informática - Área de Desenvolvimento Cofina media
> >
> > Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351)
> > 213 185 200 . Fax (+351) 213 540 370 joaofernandes@
> >
> > -----Original Message-----
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of sn197412
> > Sent: quarta-feira, 19 de Abril de 2006 4:45
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] [Flex 2.0] How can get CFC information that
> is accessed via RemoteObject??
> >
> > Hi.
> >
> > I have a question about ColdFusion with RemoteObject of Flex 2.0.
> > When I dump CGI information that is accessed via RemoteObject,
> dumped information is "flex2gateway" information.
> > It's not CFC information.
> >
> > How can get CFC information that is accessed via RemoteObject??
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
> 40yahoogroups.com
> > Yahoo! Groups Links
> >
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>

>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to