[flexcoders] Re: http request issue on linux

2009-12-29 Thread ynotob
I've traced this further and the problem is that the id property of the flex 
application is null on linux but populated on as expected on Windows and Mac.

the actual code is slightly different to what I posted below.

it should read:

params.module = application.id

The module parameter is the one with the null value.

The SDK version is 3.4

any ideas?

Tony


--- In flexcoders@yahoogroups.com, ynotob t...@... wrote:

 
 I have the following http service defined
 
 mx:HTTPService
 id=httpListUser
 url={listUserUrl}
 method=POST
 fault=listUserFaultHandler(event);
 resultFormat=e4x
 result=listUserHandler(event) /
 
 I call it with the following code:
 
 var params:Object = new Object();
 params.request = action.list.user;
 params.email = txtEmail.text;
 params.boson = new Date().getMilliseconds() // Added to prevent the result 
 from being cached.
 httpListUser.send(params);
 
 This works fine on the server side when the flex application is run in a 
 windows and a mac client but it failing when being run on a linux client.  On 
 the server side the request parameter comes through as null.
 
 The linux version of the flash player is 10r42.





[flexcoders] http request issue on linux

2009-12-28 Thread ynotob

I have the following http service defined

mx:HTTPService
id=httpListUser
url={listUserUrl}
method=POST
fault=listUserFaultHandler(event);
resultFormat=e4x
result=listUserHandler(event) /

I call it with the following code:

var params:Object = new Object();
params.request = action.list.user;
params.email = txtEmail.text;
params.boson = new Date().getMilliseconds() // Added to prevent the result from 
being cached.
httpListUser.send(params);

This works fine on the server side when the flex application is run in a 
windows and a mac client but it failing when being run on a linux client.  On 
the server side the request parameter comes through as null.

The linux version of the flash player is 10r42.



[flexcoders] git version control support

2009-11-25 Thread ynotob
Anyone know when / how git will be supported within flex builder?



[flexcoders] Confirming SDK 3.4 installation

2009-11-23 Thread ynotob
I've downloaded and installed the 3.4 sdk as documented in the release notes.  
In flex builder preferences Installed Flex SDKs I've removed all other SDKs 
and only 3.4 exists there.

But when I run About Flex builder I cannot see any confirmation of which SDK is 
being used.

Any advice on how I can be sure I'm building and using only the new SDK?





[flexcoders] Re: TabNavigator changes page (html) title

2009-11-20 Thread ynotob
Update.  I was able to get fix the issue with a minor change to the original 
reply.  I had to set the title to the string explicitly.

Thanks again.

private var applicationName:String = User status and admin option;

private function initApp():void
{
browserManager = BrowserManager.getInstance();
browserManager.setTitle(applicationName);
browserManager.addEventListener(BrowserChangeEvent.APPLICATION_URL_CHANGE, 
uRLChange);
}

private function uRLChange(event:BrowserChangeEvent):void
{
browserManager.setTitle(applicationName);
}




--- In flexcoders@yahoogroups.com, ynotob t...@... wrote:

 Thanks, I'll give that a try, appreciate the detailed response.
 
 Do you know if it is fixed in more recent SDK releases?  
 
 I've been meaning to upgrade the SDK for a while but have delayed because I'm 
 not sure how painful / painless the process is.
 
 --- In flexcoders@yahoogroups.com, Flex Boy cato1@ wrote:
 
  Yea I know, it's a bug in the historymangager(sdk 3.2), you have to set the 
  pagetitle manual after pressing the tab..
  
  work around:
  
  private var browserManager:IBrowserManager;
  
  private function initApp():void
  {
  browserManager = BrowserManager.getInstance();
  browserManager.setTitle('your page title');
  browserManager.addEventListener(BrowserChangeEvent.APPLICATION_URL_CHANGE, 
  uRLChange);
  }
  
  private function uRLChange(event:BrowserChangeEvent):void
  {
 browserManager.setTitle(browserManager.title);
  }
  
  
  --- In flexcoders@yahoogroups.com, ynotob tony@ wrote:
  
   I've added a TabNavigator to a flex application.
   
   The application is launched from html that is generated by a java server 
   page (main.jsp).  The generated html includes a html page title.  
   
   Up until I added the TabNavigator to the application, the generated html 
   page title would display as expected when the flex application is run in 
   the browser.
   
   Now that I've added a TabNavigator, the html page title shows as expected 
   until the flex application shows the TabNavigator.  Then the page title 
   changes to that of the jsp (main.jsp) along with the full url to main.jsp.
   
   Any idea of how to stop the TabNavigator from changing my page title?
   
   Tony
  
 





[flexcoders] Re: TabNavigator changes page (html) title

2009-11-19 Thread ynotob
Thanks, I'll give that a try, appreciate the detailed response.

Do you know if it is fixed in more recent SDK releases?  

I've been meaning to upgrade the SDK for a while but have delayed because I'm 
not sure how painful / painless the process is.

--- In flexcoders@yahoogroups.com, Flex Boy ca...@... wrote:

 Yea I know, it's a bug in the historymangager(sdk 3.2), you have to set the 
 pagetitle manual after pressing the tab..
 
 work around:
 
 private var browserManager:IBrowserManager;
 
 private function initApp():void
 {
 browserManager = BrowserManager.getInstance();
 browserManager.setTitle('your page title');
 browserManager.addEventListener(BrowserChangeEvent.APPLICATION_URL_CHANGE, 
 uRLChange);
 }
 
 private function uRLChange(event:BrowserChangeEvent):void
 {
browserManager.setTitle(browserManager.title);
 }
 
 
 --- In flexcoders@yahoogroups.com, ynotob tony@ wrote:
 
  I've added a TabNavigator to a flex application.
  
  The application is launched from html that is generated by a java server 
  page (main.jsp).  The generated html includes a html page title.  
  
  Up until I added the TabNavigator to the application, the generated html 
  page title would display as expected when the flex application is run in 
  the browser.
  
  Now that I've added a TabNavigator, the html page title shows as expected 
  until the flex application shows the TabNavigator.  Then the page title 
  changes to that of the jsp (main.jsp) along with the full url to main.jsp.
  
  Any idea of how to stop the TabNavigator from changing my page title?
  
  Tony
 





[flexcoders] TabNavigator changes page (html) title

2009-11-18 Thread ynotob
I've added a TabNavigator to a flex application.

The application is launched from html that is generated by a java server page 
(main.jsp).  The generated html includes a html page title.  

Up until I added the TabNavigator to the application, the generated html page 
title would display as expected when the flex application is run in the browser.

Now that I've added a TabNavigator, the html page title shows as expected until 
the flex application shows the TabNavigator.  Then the page title changes to 
that of the jsp (main.jsp) along with the full url to main.jsp.

Any idea of how to stop the TabNavigator from changing my page title?

Tony