[flexcoders] Flex 1.5 + Weblogic 9.2 + Spring 2.0 issue
I know this issue does not quite belong here, but since it is a flex-related issue, I thought I'd post to see if anyone has experience this. We developed a webapp that used Flex 1.5 for the presentation tier, and Spring 1.2.8 for the business tier. Such app was to be deployed on Weblogic 9.2. Everything worked fine until we started migrating our Spring config to version 2.0.1. The effort was pretty much straight-forward, and all Spring xml config files were left untouched, save for the schema declaration on all files, and some AOP namespaces. Note first that, due to its nature, webapps built on Flex 1.5 and deployed in any version of Weblogic have to be deployed in expanded wars. Once the migration was complete, we tried to deploy the webapp to the very same environment we previously had it up and running, and this exception was thrown: Code: org.springframework.beans.factory.BeanDefinitionStoreException: Line 7 in XML do cument from URL [zip:C:/bea/weblogic92/samples/domains/wl_server/./servers/examp lesServer/tmp/_WL_user/seguridad-webapp-1/fpleo0/war/WEB-INF/lib/seguridad-core- 1.3-SNAPSHOT.jar!/dataSourceApplicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element beans, must match DOC TYPE root null. org.xml.sax.SAXParseException: Document root element beans, must match DOCTYPE root null. at org.apache.xerces.parsers.DOMParser.parse(Lorg.xml.sax.InputSource;)V (Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Lorg.xml.sax.InputSo urce;)Lorg.w3c.dom.Document;(Unknown Source) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB eanDefinitions(XmlBeanDefinitionReader.java:222) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:128) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:144) at org.springframework.web.context.support.XmlWebApplicationContext.load BeanDefinitions(XmlWebApplicationContext.java:126) at org.springframework.web.context.support.XmlWebApplicationContext.load BeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:262) at org.springframework.web.context.support.AbstractRefreshableWebApplica tionContext.refresh(AbstractRefreshableWebApplicationContext.java:139) at org.springframework.web.context.ContextLoader.createWebApplicationCon text(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationConte xt(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitiali zed(ContextLoaderListener.java:49) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run (EventsManager.java:375) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(Eve ntsManager.java:83) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp pServletContext.java:1591) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCon text.java:2734) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav a:892) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta teDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD river.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat eDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedMod uleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(Module ListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta teDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD river.java:26) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat eDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartMod ulesFlow.java:26) We tried to deploy the very same app but in a
[flexcoders] Implementing pull-out window
Hi, all. Ive seen every kind of wizardry achieved with Flex, but most of it is based on skinning components. However, Ive seen an app in which some pop-ups have some sort of pull-out window (namely, a little panel with a datagrid that seems to be pulled out of underneath the pop-up). Any guides as to how to implement this? Ive looked everywhere for guides, how-tos, and flex extensions (components). Thank you in advance. J. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex1.5: Limit of series a graph component can have
I dont think they would want to resample or view chunks of data as a graph detail. This is more a political question. If it can be done, then my managers will trust Flex implicitly. Otherwise, they will force us to use some other product, or even switch to .NET. This financial application is being built for our federal government, and so theres a lot of red-tape going on in this project. So I ask againcan it be done? Thanks in advance. J. -Mensaje original- De: Roger Gonzalez [mailto:[EMAIL PROTECTED]] Enviado el: Lunes, 10 de Abril de 2006 08:35 p.m. Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] Flex1.5: Limit of series a graph component can have That would be pretty impractical in Flex 1.5 without providing truckloads of RAM. I suspect you need to either do it on the server as an image sent to the client, or else do it in Flex 2. What kind of graph is this? Do you really need 100k samples on screen simultaneously? Can you do overview/detail? Can you downsample and then plot the downsampled data? -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of RAMOS CARDONA JESUS SALVADOR Sent: Monday, April 10, 2006 6:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex1.5: Limit of series a graph component can have Hi all. My manager has come to me with an unusual question: Is there a limit as to the number of series (or dots) a flex graph can have? The need arose because of a requirement of a financial application being built on Flex, which needs to output dot graphs of at least 100,000 dots. Without considering the performance or overhead, is this possible in Flex? Thanks. J. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex1.5: Limit of series a graph component can have
Thank you for your answer, Roger. I agree with the uselessness of a 100k point chart, and I have had long arguments with my superiors regarding the actual need of this, but I backed out after I was introduced to the political issues regarding this project. As I stated before, this is more a political issue than a practical issue. Regards. J. -Mensaje original- De: Roger Gonzalez [mailto:[EMAIL PROTECTED] Enviado el: Martes, 11 de Abril de 2006 11:21 a.m. Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] Flex1.5: Limit of series a graph component can have There are no hardcoded limits that I know of, it all comes down to performance - CPU and memory. I'd still like to see an instance of what this sort of graph would look like. Unless you're doing a scatterplot (and given the amount of data you're talking about, perhaps even in that case), its sounding like you're significantly oversampling screen resolution, which doesn't make sense from a graph design perspective. You're not going to be able to read any information out of the plot, it will just look like mud. On a 1000x1000 pixel graph with zero overlap and one pixel per datapoint, you're covering 10% of the available surface area with 100k samples. Of course, you're not actually going to use one pixel per datapoint (as that totally hides extrema), so you're probably getting up into the 50% of the available surface area painted in at this point. There's no information there. Mud. Have you read Edward Tufte's books? I think your best approach (never mind Flex, just in general) is to separate the plotted data from the actual data. Reduce the actual data to a representation that can be plotted and interpreted by humans - bars with high/low extrema, click to zoom, etc. It isn't a failing of Flex that 100,000 datapoints can't reasonably be plotted on a normal chart, its a failing of all normal chart types. You need to come up with a better representation. I could be totally off-base and misinterpreting your needs, though. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of RAMOS CARDONA JESUS SALVADOR Sent: Tuesday, April 11, 2006 8:22 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex1.5: Limit of series a graph component can have I don't think they would want to resample or view chunks of data as a graph detail. This is more a political question. If it can be done, then my managers will trust Flex implicitly. Otherwise, they will force us to use some other product, or even switch to .NET. This financial application is being built for our federal government, and so there's a lot of red-tape going on in this project. So I ask again...can it be done? Thanks in advance. J. -Mensaje original- De: Roger Gonzalez [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Abril de 2006 08:35 p.m. Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] Flex1.5: Limit of series a graph component can have That would be pretty impractical in Flex 1.5 without providing truckloads of RAM. I suspect you need to either do it on the server as an image sent to the client, or else do it in Flex 2. What kind of graph is this? Do you really need 100k samples on screen simultaneously? Can you do overview/detail? Can you downsample and then plot the downsampled data? -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of RAMOS CARDONA JESUS SALVADOR Sent: Monday, April 10, 2006 6:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex1.5: Limit of series a graph component can have Hi all. My manager has come to me with an unusual question: 'Is there a limit as to the number of series (or dots) a flex graph can have?' The need arose because of a requirement of a financial application being built on Flex, which needs to output dot graphs of at least 100,000 dots. Without considering the performance or overhead, is this possible in Flex? Thanks. J. -- 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 *Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/ . -- Flexcoders Mailing List FAQ: http
[flexcoders] Flex1.5: Limit of series a graph component can have
Hi all. My manager has come to me with an unusual question: Is there a limit as to the number of series (or dots) a flex graph can have? The need arose because of a requirement of a financial application being built on Flex, which needs to output dot graphs of at least 100,000 dots. Without considering the performance or overhead, is this possible in Flex? Thanks. J. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex 1.5: Passing selected data to a popup
This does not work wither. Is this the best way to do this? Is there another way? What are the best practices for accomplishing this? -Mensaje original- De: Matt Chotin [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 15 de Marzo de 2006 12:54 a.m. Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] Flex 1.5: Passing selected data to a popup I thought what you did might work too. You could declare pop as a CambioPasswordForm (instead of TitleWindow) and then on the next line assign pop.dataItem? Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of RAMOS CARDONA JESUS SALVADOR Sent: Tuesday, March 14, 2006 8:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5: Passing selected data to a popup Hi all. Is there a way in which I can pass data from a grid to a popped up TitleWindow? This is the code that pops the TWindow: private function showCambioPassword(Void):Void { var pop:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, CambioPasswordForm, true, {dataItem:usuarioSeleccionado, style:this, owner:this})); pop.centerPopUp(); } This function is called when a button is pressed (which, in turn, enables itself when the data grid has a selected item). The variable usuarioSeleccionado is a previously setted variable of type UsuarioExternoImpl in my class. The CambioPasswordForm is a Canvas that contains the rest of the components required by the interface. I believed that the init object at the end of the createPopUp method could contain variables that were passed to the CambioPasswordForm component, and as such I could manipulate the data contained in them in the popped-up window. I tried this with this code: class com.bursatec.seguridad.presentation.views.usuarios.CambioPasswordForm extends TitleWindow { var dataItem:UsuarioExternoImpl; } I thought that the matching dataItem both in the init object in the createPopUp method would set it to the proper value, and thus could access it from my CambioPasswordForm component, but this did not work. How can I accomplish this? Please help. J. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex 1.5: Passing selected data to a popup
Allow me to correct myself. This does work, but both dataItem variables (the one being sent in the initObj in the createPopUp method, and the reference received by the component being popped-up) must be declared and trated as Object. Typing them as any other type will not work; cannot imagine why? Thank you all. Regards. J. -Mensaje original- De: RAMOS CARDONA JESUS SALVADOR Enviado el: Miércoles, 15 de Marzo de 2006 02:35 p.m. Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] Flex 1.5: Passing selected data to a popup This does not work wither. Is this the best way to do this? Is there another way? What are the best practices for accomplishing this? -Mensaje original- De: Matt Chotin [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 15 de Marzo de 2006 12:54 a.m. Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] Flex 1.5: Passing selected data to a popup I thought what you did might work too. You could declare pop as a CambioPasswordForm (instead of TitleWindow) and then on the next line assign pop.dataItem? Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of RAMOS CARDONA JESUS SALVADOR Sent: Tuesday, March 14, 2006 8:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5: Passing selected data to a popup Hi all. Is there a way in which I can pass data from a grid to a popped up TitleWindow? This is the code that pops the TWindow: private function showCambioPassword(Void):Void { var pop:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, CambioPasswordForm, true, {dataItem:usuarioSeleccionado, style:this, owner:this})); pop.centerPopUp(); } This function is called when a button is pressed (which, in turn, enables itself when the data grid has a selected item). The variable usuarioSeleccionado is a previously setted variable of type UsuarioExternoImpl in my class. The CambioPasswordForm is a Canvas that contains the rest of the components required by the interface. I believed that the init object at the end of the createPopUp method could contain variables that were passed to the CambioPasswordForm component, and as such I could manipulate the data contained in them in the popped-up window. I tried this with this code: class com.bursatec.seguridad.presentation.views.usuarios.CambioPasswordForm extends TitleWindow { var dataItem:UsuarioExternoImpl; } I thought that the matching dataItem both in the init object in the createPopUp method would set it to the proper value, and thus could access it from my CambioPasswordForm component, but this did not work. How can I accomplish this? Please help. J. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 1.5: Passing selected data to a popup
Hi all. Is there a way in which I can pass data from a grid to a popped up TitleWindow? This is the code that pops the TWindow: private function showCambioPassword(Void):Void { var pop:TitleWindow = TitleWindow(PopUpManager.createPopUp(this, CambioPasswordForm, true, {dataItem:usuarioSeleccionado, style:this, owner:this})); pop.centerPopUp(); } This function is called when a button is pressed (which, in turn, enables itself when the data grid has a selected item). The variable usuarioSeleccionado is a previously setted variable of type UsuarioExternoImpl in my class. The CambioPasswordForm is a Canvas that contains the rest of the components required by the interface. I believed that the init object at the end of the createPopUp method could contain variables that were passed to the CambioPasswordForm component, and as such I could manipulate the data contained in them in the popped-up window. I tried this with this code: class com.bursatec.seguridad.presentation.views.usuarios.CambioPasswordForm extends TitleWindow { var dataItem:UsuarioExternoImpl; } I thought that the matching dataItem both in the init object in the createPopUp method would set it to the proper value, and thus could access it from my CambioPasswordForm component, but this did not work. How can I accomplish this? Please help. J. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.