Re: [flexcoders] Flex on JBoss
I remember running into a similar problem when I was playing with Flex on JBoss and I can't recall right now if I got it working or not. Did you check the flex-config.xml file to see if the addresses are pointing to the correct hostname? Although admittedly, it sounds like the error you're getting due to a bad address. Anyone else seen this? -Cliff On 5/7/05, ADEWALE SHOBAJO [EMAIL PROTECTED] wrote: Hello everyone, i configured flex on Tomcat, and it worked! but when i configured flex on JBoss and lunched the sample Applications it comes up with a dialog box HTTPService Fault: java.lang.RuntimeException: Bad Service name : FormatSourceService . i guess the problem is from the whitelists, i modified it but it didnt work, am sure i am missing something, any ideas thanks. wale ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.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] Flex on JBoss
I should have said it sounds like the error you're getting isn't due to a bad address. Maybe I shouldn't post to lists at 3 AM :) Another idea: did you check flex-config.xml to make sure that the services in question are actually defined there? -Cliff On 5/8/05, Cliff Meyers [EMAIL PROTECTED] wrote: I remember running into a similar problem when I was playing with Flex on JBoss and I can't recall right now if I got it working or not. Did you check the flex-config.xml file to see if the addresses are pointing to the correct hostname? Although admittedly, it sounds like the error you're getting due to a bad address. Anyone else seen this? -Cliff On 5/7/05, ADEWALE SHOBAJO [EMAIL PROTECTED] wrote: Hello everyone, i configured flex on Tomcat, and it worked! but when i configured flex on JBoss and lunched the sample Applications it comes up with a dialog box HTTPService Fault: java.lang.RuntimeException: Bad Service name : FormatSourceService . i guess the problem is from the whitelists, i modified it but it didnt work, am sure i am missing something, any ideas thanks. wale ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.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] Dynamically poplulating an editable DataGrid
Matt/Manish, Matt wrote: When you add a new object to the dataProvider any chance you can add it with empty fields for the columns that do exist? I'd imagine that it not having any values whatsoever could cause something like this. Manish wrote: I don't know why this might be happening, but I found that setting the initial value to (single space) instead of (blank string) fixes the issue. Does that work for you? Even when setting the value of the cells in each new row to something other than I still couldn't edit the cells without first creating a new column. Additionally, the value of the cells wasn't displayed until after the new row had been added. In the end I had to do two things to get it to work, the first of which is a temendous hack that I really don't like. Because I couldn't edit cell information until after a new columnn had been created, when adding a new row I forced creation and then immediate deletion of a new column: // new row added to the patta provider in the lines above myDataGrid.addColumn(new DataGridColumn(temp)); myDataGrid.removeColumnAt(myDataGrid.columnCount-1); Additionally, as Manish suggested, I had to give the initial value of each cell a non-empty string value (a single space) or even after editing the field, the label wouldn't be shown until after a new row is created. As I said, hacky and not nice, but at least I have it working they way I expected it should! So the question is -- what's going on here? Bug? Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD - independent digital media agency We are big, we are funny and we are clever! New site launched at http://www.rawnet.com/ --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- 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/
[flexcoders] DatagridColumn binding to a webservice result
Title: Mercury Email Signature Hi How is it possible to bind a property of a"child object" to a datagrid column. for example lets say a webservice result is an array of Employee which has a member named Contact which has a property "email". how can i make the email be displayed along with the name. ? here are the classes public class ContactInfo{ private Stringemail ; public String getEmail(){ } } public class Employee { Contact contact; } __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 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 the Yahoo! Terms of Service.
Re: [flexcoders] carriage return via web service
Hi John, This works just fine (I tested it), with the exception of the shame heaped upon me like so many burning coals. I do want to know if anyone else has encountered this, and what they have done to get around it. I'm experiencing exactly the same problem as you. The Webservice is written is PHP5 with native SOAP extension and I have to rewrite the content in the textarea with \n in the webservice before sending it with an mail :-( I'm not so sure if it is a Windows problem. I have the problem on Windows Tomcat and Linux(Debian Sarge) Tomcat. This workaround is really annoying, but it works at least. CU Reto 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/
[flexcoders] Using HitCount with a 100% BarChart
I'm using a 100% BarChart and have three different values stacked into each bar. I'm using the mouseClickData event when someone clicks on one of the sections of a bar and am getting HitData back with the event, but I'm not sure how to find out which of the three items in the bar was clicked. I know the data must be available because the ToolTip knows what has been moused over -- anyone have a quick suggestion on how to determine exactly what was clicked? thanks! d 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] why can not get the value?
Not sure why youre not getting an Accept-Language header. Maybe you can go through all of the headers and print out their values to see whats being passed? You may be able to tell simply by turning on debugging in the flex-config.xml file (under http-service-proxy). Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of loveewind Sent: Sunday, May 08, 2005 2:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] why can not get the value? the purpose of my code is to get the client locale with httpservice 1.locale.jsp locale % String s = request.getHeader(Accept-Language); System.out.print(locale:+s); % language%=s.substring(0,2)%/language country%=s.substring(3,5)%/country /locale if I visit the locale.jsp,it can display the the client locale 2.test.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:HTTPService id=employeeSrv url=""> /mx:HTTPService mx:Script ![CDATA[ var s:String; function initApp(){ employeeSrv.send(); s = employeeSrv.result.locale.country; } ]] /mx:Script mx:Label text={s}/mx:Label mx:Button label=test click=initApp();/mx:Button /mx:Application if I visit the test.mxml, it show a error in my server : 17:05:12,822 INFO [STDOUT] locale:null 17:05:12,822 WARN [jbossweb] WARNING: Exception for /multi/locale.jsp java.lang.NullPointerException at org.apache.jsp.locale_jsp._jspService(locale_jsp.java:48) at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service (HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper .java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:2 95) at org.apache.jasper.servlet.JspServlet.service (JspServlet.java:241) at javax.servlet.http.HttpServlet.service (HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:360 ) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch (WebApplicati onHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:5 58) at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) at org.mortbay.jetty.servlet.WebApplicationContext.handle (WebApplication Context.java:507) at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) at org.mortbay.http.HttpServer.service(HttpServer.java:863) at org.jboss.jetty.Jetty.service(Jetty.java:460) at org.mortbay.http.HttpConnection.service (HttpConnection.java:775) at org.mortbay.http.HttpConnection.handleNext (HttpConnection.java:939) at org.mortbay.http.HttpConnection.handle (HttpConnection.java:792) at org.mortbay.http.SocketListener.handleConnection (SocketListener.java: 201) at org.mortbay.util.ThreadedServer.handle (ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run (ThreadPool.java:455) 17:05:12,822 WARN [jbossweb] WARNING: Error 500 while serving error page for 50 0 17:05:12,853 ERROR [STDERR] 05/08 17:05:12 ERROR %%500%% Internal+Server+Error it likes can not execute request.getHeader(Accept-Language); who can tell me the reason? thank you! 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 the Yahoo! Terms of Service.
RE: [flexcoders] Dynamically poplulating an editable DataGrid
Clearly it seems like a bug so Id file it at http://www.macromedia.com/go/wish. But there should be a simpler workaround Id hope. What about calling invalidate() on the DataGrid? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Blair Sent: Sunday, May 08, 2005 6:28 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Dynamically poplulating an editable DataGrid Matt/Manish, Matt wrote: When you add a new object to the dataProvider any chance you can add it with empty fields for the columns that do exist? I'd imagine that it not having any values whatsoever could cause something like this. Manish wrote: I don't know why this might be happening, but I found that setting the initial value to (single space) instead of (blank string) fixes the issue. Does that work for you? Even when setting the value of the cells in each new row to something other than I still couldn't edit the cells without first creating a new column. Additionally, the value of the cells wasn't displayed until after the new row had been added. In the end I had to do two things to get it to work, the first of which is a temendous hack that I really don't like. Because I couldn't edit cell information until after a new columnn had been created, when adding a new row I forced creation and then immediate deletion of a new column: // new row added to the patta provider in the lines above myDataGrid.addColumn(new DataGridColumn(temp)); myDataGrid.removeColumnAt(myDataGrid.columnCount-1); Additionally, as Manish suggested, I had to give the initial value of each cell a non-empty string value (a single space) or even after editing the field, the label wouldn't be shown until after a new row is created. As I said, hacky and not nice, but at least I have it working they way I expected it should! So the question is -- what's going on here? Bug? Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD - independent digital media agency We are big, we are funny and we are clever! New site launched at http://www.rawnet.com/ --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- 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 the Yahoo! Terms of Service.
RE: [flexcoders] DatagridColumn binding to a webservice result
Title: Mercury Email Signature Have you tried setting the columnName property on the DataGridColumn? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shlomi Cohen Sent: Sunday, May 08, 2005 7:15 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] DatagridColumn binding to a webservice result Hi How is it possible to bind a property of achild object to a datagrid column. for example lets say a webservice result is an array of Employee which has a member named Contact which has a property email. how can i make the email be displayed along with the name. ? here are the classes public class ContactInfo{ private Stringemail ; public String getEmail(){ } } public class Employee { Contact contact; } __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 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 the Yahoo! Terms of Service.
RE: [flexcoders] Using HitCount with a 100% BarChart
The HitData should have all the info you need. The item is the actual item that is being clicked and the element I think will be the series that youre clicking on. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Aden Sent: Sunday, May 08, 2005 6:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using HitCount with a 100% BarChart I'm using a 100% BarChart and have three different values stacked into each bar. I'm using the mouseClickData event when someone clicks on one of the sections of a bar and am getting HitData back with the event, but I'm not sure how to find out which of the three items in the bar was clicked. I know the data must be available because the ToolTip knows what has been moused over -- anyone have a quick suggestion on how to determine exactly what was clicked? thanks! d 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 the Yahoo! Terms of Service.
RE: [flexcoders] Tiling a background image?
We dont have a very performant way of doing it right now, were looking at improving that in Flex 2.0. For now youd probably need to use a Canvas with a Repeater inside that tiles the images for you, then lay your real layout container on top of those images. The more tiles you have the more expensive this is going to be though, be aware. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Eric Raymond Sent: Sunday, May 08, 2005 7:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tiling a background image? Is is possible to tile a background image in flex. The docs don't offer any help here. 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 the Yahoo! Terms of Service.
Re: [flexcoders] HttpRequest and HttpSession access in Remote Obj ect
The class is invoked normally by Remote Object Framework. Since the flashgateway.Gateway.getHttpRequest() method returns null I cannot call the getSession() method on it. I'am also not dealing with any threads at present. Do I need to do some configuration settings to have this working. I have the required flashgateway.jar file in WEB-INF/lib directory. Pradeep On 5/6/05, Peter Farland [EMAIL PROTECTED] wrote: You simply get the HttpServletRequest object from flashgateway.Gateway.getHttpRequest() and then call getSession from there. If a session doesn't exist you need to pass true to getSession so that it will create one for you. This method only works if you are within the same thread that made the HTTP request - i.e. your class was invoked normally by our RemoteObject framework by a normal NetConnection to the AMF Gateway Servlet. I've not heard of anyone having problems with the syntax so I'd be interested to hear how Pradeep or yourself are having issues with this. Without more information, however, I can not suggest what might be wrong. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brett Palmer Sent: Friday, May 06, 2005 1:53 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HttpRequest and HttpSession access in Remote Obj ect I think Pradeep's question is the same as mine. Is there a method in Flex to gain access to the webcontainers session information? We need this because we have a lot of existing server side code that uses a session object to determine login status, user rights, etc. We also use sessions to help determine the load on our servers. What is the recommended method for sharing session information with a Flex/Flash client and the server when using remote objects? Thanks in advance, Brett On 5/5/05, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, that seems odd considering we need a request to reach the RemoteObject. You're not spawning a thread are you? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pradeep Sent: Thursday, May 05, 2005 4:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HttpRequest and HttpSession access in Remote Object I'am using Remote Objects to call my Java class methods on server. For maintaining user information I need Http Session object. So I tried using flashgateway.Gateway.getHttpRequest() and flashgateway.Gateway.getHttpRequest().getSession() to get HttpRequest and HttpSession objects respectively. But flashgateway.Gateway.getHttpRequest() method returns null. Unless I get reference to request obect I will not be able to access Session object. Can anybody please suggest something? 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 the Yahoo! Terms of Service. 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 the Yahoo! Terms of Service. 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/