Re: [flexcoders] Split up flex-config.xml
Hi Dirk, I described web.xml when I using struts framework. servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/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-namedebug/param-name param-value2/param-value /init-param init-param param-namedetail/param-name param-value2/param-value /init-param load-on-startup2/load-on-startup /servlet So, I'd like to describe following like struts framework. !-- RemoteObject AMF Gateway 1.1 -- servlet servlet-nameAMFGatewayServlet/servlet-name display-nameFlash Remoting AMF Servlet/display-name descriptionServlet-based plugin to Flash Remoting/description servlet-classflashgateway.controller.GatewayServlet/servlet-class init-param param-namegateway.configuration.file/param-name param-value/WEB-INF/flex/gateway-config.xml/param-value /init-param init-param param-namewhitelist.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-namewhitelist.parent.node/param-name param-valueremote-objects/param-value /init-param load-on-startup2/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-nameAMFGatewayServlet/servlet-name display-nameFlash Remoting AMF Servlet/display-name descriptionServlet-based plugin to Flash Remoting/description servlet-classflashgateway.controller.GatewayServlet/servlet-class init-param param-namegateway.configuration.file/param-name param-value/WEB-INF/flex/gateway-config.xml/param-value /init-param init-param param-namewhitelist.configuration.file/param-name param-value/WEB-INF/flex/flex-config.xml/param-value /init-param init-param param-namewhitelist.parent.node/param-name param-valueremote-objects/param-value /init-param load-on-startup1/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/
RE: [flexcoders] Split up flex-config.xml
Hi Yokota, only one configuration file can be used by the AMFGatewayServlet. The whitelist.parent.node points the gateway's configuration parser to the right element to start constructing its whitelist. This was necessary as Flex 1.5's configuration file has a whitelist for web services, http services and remote object services. Please file an enhancement request at http://www.macromedia.com/support/email/wishform/main.cgi 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/
Re: [flexcoders] Split up flex-config.xml
i haven't tried it, but the XML entity include might work, depending on the parser. http://ant.apache.org/faq.html#xml-entity-include /mgk Peter Farland wrote: Hi Yokota, only one configuration file can be used by the AMFGatewayServlet. The whitelist.parent.node points the gateway's configuration parser to the right element to start constructing its whitelist. This was necessary as Flex 1.5's configuration file has a whitelist for web services, http services and remote object services. Please file an enhancement request at http://www.macromedia.com/support/email/wishform/main.cgi 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/
RE: [flexcoders] Split up flex-config.xml
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-nameAMFGatewayServlet/servlet-name display-nameFlash Remoting AMF Servlet/display-name descriptionServlet-based plugin to Flash Remoting/description servlet-classflashgateway.controller.GatewayServlet/servlet-class init-param param-namegateway.configuration.file/param-name param-value/WEB-INF/flex/gateway-config.xml/param-value /init-param init-param param-namewhitelist.configuration.file/param-name param-value/WEB-INF/flex/flex-config.xml/param-value /init-param init-param param-namewhitelist.parent.node/param-name param-valueremote-objects/param-value /init-param load-on-startup1/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 * 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/