Hi Dirk,
I described web.xml when I using struts framework.
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>
/WEB-INF/config/struts/struts-config-common.xml,
/WEB-INF/config/struts/struts-config-business.xml,
/WEB-INF/config/struts/struts-config-project.xml
</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
So, I'd like to describe following like struts framework.
<!-- RemoteObject AMF Gateway 1.1 -->
<servlet>
<servlet-name>AMFGatewayServlet</servlet-name>
<display-name>Flash Remoting AMF Servlet</display-name>
<description>Servlet-based plugin to Flash Remoting</description>
<servlet-class>flashgateway.controller.GatewayServlet</servlet-class>
<init-param>
<param-name>gateway.configuration.file</param-name>
<param-value>/WEB-INF/flex/gateway-config.xml</param-value>
</init-param>
<init-param>
<param-name>whitelist.configuration.file</param-name>
<param-value>
/WEB-INF/flex/flex-config-common.xml,
/WEB-INF/flex/flex-config-business.xml,
/WEB-INF/flex/flex-config-project.xml
</param-value>
</init-param>
<init-param>
<param-name>whitelist.parent.node</param-name>
<param-value>remote-objects</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
I don't know how to use whitelist.parent.node param.
Is there the document on the web?
Best regards,
Yokota Satoshi
Dirk Eismann wrote:
> Hi,
>
> if you open your Flex server's web.xml file you'll find an entry that
> configures the RemoteObject gateway.
>
> There you can define the location where the whitelist gets read from. By
> default this is the /WEB-INF/flex/flex-config.xml file but I think you can
> also point to another file. Look out for the whitelist.configuration.file and
> whitelist.parent.node settings and give it a try.
>
> <!-- RemoteObject AMF Gateway 1.1 -->
> <servlet>
> <servlet-name>AMFGatewayServlet</servlet-name>
> <display-name>Flash Remoting AMF Servlet</display-name>
> <description>Servlet-based plugin to Flash Remoting</description>
> <servlet-class>flashgateway.controller.GatewayServlet</servlet-class>
> <init-param>
> <param-name>gateway.configuration.file</param-name>
> <param-value>/WEB-INF/flex/gateway-config.xml</param-value>
> </init-param>
> <init-param>
> <param-name>whitelist.configuration.file</param-name>
> <param-value>/WEB-INF/flex/flex-config.xml</param-value>
> </init-param>
> <init-param>
> <param-name>whitelist.parent.node</param-name>
> <param-value>remote-objects</param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
> </servlet>
>
> Dirk.
>
>
>>-----Original Message-----
>>From: flexcoders@yahoogroups.com
>>[mailto:[EMAIL PROTECTED] Behalf Of Yokota Satoshi
>>Sent: Monday, May 02, 2005 2:24 PM
>>To: flexcoders@yahoogroups.com
>>Subject: [flexcoders] Split up flex-config.xml
>>
>>
>>Hello,
>>
>>I'm using Cairngorm framework, and I use a lot of RemoteObjects.
>>So, the flex-config.xml file is large in size.
>>I really want to split up flex-config.xml.
>>I know, in Apache Struts framework, web.xml can
>>split up struts-config.xml by using comma-deliminated.
>>Can Flex do that? I wish it.
>>
>>Thank you,
>>Yours sincerely,
>>
>>Yokota Satoshi
>>[EMAIL PROTECTED]
>>http://www.yokot.com/
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/