[flexcoders] Execute webservice on browser close

2008-09-03 Thread jfournet
I am trying to execute a webservice using fds on browser close.  It 
seems like all of the flex as code gets executed, but flex fails to 
send the xml to the server on which the webservice resides.  I have 
tries putting delays on the flex and javascript side, but the 
webservice only executes intermittently.



[flexcoders] Cairngorm Result and Fault Handlers not called

2008-07-03 Thread jfournet
I have one command in my application in which the result and fault 
handlers are not called.  All other work fine.  The webservice that 
is tied to it gets executed and data is returned, as I can see it in 
the flex log file.  Does anyone know what might cause this???



Command File:


package com.bmc.rem.command.learning
{

import com.adobe.cairngorm.business.Responder;
import com.adobe.cairngorm.commands.Command;
import com.adobe.cairngorm.control.CairngormEvent;
import com.bmc.rem.common.eventBroadcaster.REMEventBroadcaster;
import com.bmc.rem.controller.REMControl;
import com.bmc.rem.delegate.probe.ProbeServicesDelegate;
import com.bmc.rem.vo.learning.*;
import mx.utils.ObjectUtil;

import mx.collections.ArrayCollection;

public class GetLearningResultsCommand implements Command, Responder
{

   public function execute( event:CairngormEvent ) : void
   {
trace(*** executing get learning results ***);
   var delegate: ProbeServicesDelegate = new 
ProbeServicesDelegate( this ); 
   delegate.getLearningResults(event.data);
trace(** after delegate.getLearningResults *);

   }

   /**
* The onResult method is called when the server side method 
completes successfully.
* @param event The event containing the information returned by 
the server.
* 
*/
   public function onResult( event : *=null ) : void
   {   
   
   trace(***learning data format = 
** + ObjectUtil.toString(event.result));
   REMEventBroadcaster.getInstance().dispatchEvent
(REMControl.EVENT_GET_LEARNING_RESULTS_SUCCESSFUL, null);
   }

   /**
* The onFault method is called when the server side method call 
returns an exception.
* @param event The event containing the exception returned by the 
server.
* 
*/
   public function onFault( event : *=null ) : void
   {
trace(** on fault learning restults);
REMEventBroadcaster.getInstance().dispatchEvent
(REMControl.EVENT_SHOW_SERVER_ERROR, event.fault.message);
REMEventBroadcaster.getInstance().dispatchEvent( 
REMControl.EVENT_GET_LEARNING_RESULTS_FAILURE );
   }
}
}

Delegate:

package com.bmc.rem.delegate.probe
{

import com.adobe.cairngorm.business.Responder;
import com.adobe.cairngorm.business.ServiceLocator;
import com.bmc.rem.model.ModelLocator;
import com.bmc.rem.vo.probe.LearningCriteriaVO;

import mx.rpc.AsyncToken;
import mx.rpc.soap.mxml.WebService;

 
public class ProbeServicesDelegate
{

/**
* The responder to the server side service calls
*/
private var responder:Responder;


private var service:Object;

private var probeServicesFacade:Object;

public function ProbeServicesDelegate( responder : Responder )
{

this.probeServicesFacade = ServiceLocator.getInstance
().getService(probeServicesFacade) as WebService;
if( !ModelLocator.getInstance().isProbeWSDLLoaded)
{
ModelLocator.getInstance().isProbeWSDLLoaded = 
true;
this.probeServicesFacade.loadWSDL();

}

this.responder = responder;
}

public function startLearning
(learningSession:LearningCriteriaVO):void
{

var startLearningString:String = 

 q1:SetLearningSetting 
xmlns:q0=\http://tmremprobe.bmc.com/datamodel/common\; 
xmlns:q1=\http://tmremprobe.bmc.com/ws/ProbeService\; +

 q0:LearningActive/q0:
Learning +
 q0:UserId / +
 q0:IPRange +

 q0:StartingIP + 
 
learningSession.fromIpAddress +

 /q0:StartingIP +
 q0:EndingIP +
 
learningSession.toIpAddress +
 /q0:EndingIP 
+
 /q0:IPRange + 
 q0:URLPattern +
 
learningSession.urlPatternFilter +
 /q0:URLPattern +
 q0:CapturePeriod +
 
learningSession.learningDuration +
 /q0:CapturePeriod +
 q0:ResultLimit +
 
learningSession.learningCount +
 

[flexcoders] Re: Validating Datagrid

2007-04-05 Thread jfournet
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 You should validate edited cells during the ITEM_EDIT_END event
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of jfournet
 Sent: Tuesday, April 03, 2007 8:57 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Validating Datagrid
 
 
 
 I am trying to validate a datagrid before I allow the user to click 
the 
 submit button. I am adding a cell editor for each cell with a 
 validator. On the change event in the cell renderer I validate the 
 cell and set a variable valid in the cell renderer. In the 
datagrid 
 I capture the cell edit end event and access the valid variable in 
the 
 cell editor and store it's value in a validation array. I then 
check 
 the validation array to see if it has any invalid values and if so 
 disable the submit button. The problem I have with this is the 
 validator in the cell editor does not execute until after the cell 
edit 
 end event. So I do not get the proper status. Does anyone have a 
 better way of doing this or have a code sample on how to do this?

I tried adding a listener to the item edit end event, but it does not 
get fired off after the cell edit ends, it gets fired off when I 
click on the cell.



[flexcoders] Validating Datagrid

2007-04-03 Thread jfournet
I am trying to validate a datagrid before I allow the user to click the 
submit button.  I am adding a cell editor for each cell with a 
validator.  On the change event in the cell renderer I validate the 
cell and set a variable valid in the cell renderer.  In the datagrid 
I capture the cell edit end event and access the valid variable in the 
cell editor and store it's value in a validation array.  I then check 
the validation array to see if it has any invalid values and if so 
disable the submit button.  The problem I have with this is the 
validator in the cell editor does not execute until after the cell edit 
end event.  So I do not get the proper status.  Does anyone have a 
better way of doing this or have a code sample on how to do this?



[flexcoders] Datagrid Tabbing breaks when itemrenderer is added to one cell

2007-01-11 Thread jfournet
When I add a custom itemrenderer to a cell of my datagrid, the tabbing 
order of my screen is broken, i.e., the cell with the itemrenderer is 
skipped over in the tab order.  Any ideas on how to fix this?



[flexcoders] Cannot get Accept-Language from HTTP header with httpService

2006-10-13 Thread jfournet
I am trying to get the Accept-Language header by calling the 
following jsp with a flex httpService to get the locale of the 
client's browser for i18n purposes.  When I execute the jsp 
standalone the Accept-Language header is there, but when I execute it 
by calling it with an httpService there is no Accept-Language 
header.  Can anyone tell me why this is so and direct me to a method 
to get the browser's prefered locale?

getlocale.jsp

%

String s = request.getHeader(Accept-Language);

out.println(s.substring(0,2) + _ + s.substring(3,5));

%

Flex Application:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute creationComplete=initApp();
mx:Script
![CDATA[
import flash.external.ExternalInterface;
import mx.rpc.events.ResultEvent;
public var clientLocale:String = new String();
   [Bindable]
public var localeSWF:String;
import mx.controls.Alert;

private function initApp():void
{
getClientLocale.send();
}
public function setLocale
(event:ResultEvent):void
{

//Alert.show(String
(getClientLocale.lastResult));
localeSWF = helloworld_ + String
(getClientLocale.lastResult) + .swf;

}

]]
/mx:Script
  mx:HTTPService id=getClientLocale useProxy=false 
resultFormat=text result=setLocale(event) showBusyCursor=true 
method=POST 
 url=getlocale.jsp
/mx:HTTPService
mx:SWFLoader id=myLoader width=300
source={localeSWF}/
/mx:Application




--
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Where is FlexTagLib in Flex 2.0

2006-10-06 Thread jfournet
When I run my jsp using the FlexTagLib I get the following error:


org.apache.jasper.JasperException: Unable to read TLD META-
INF/taglib.tld from JAR 
file file:/P:/p4client/environment/jboss/4.0.3SP1/server/txm_presentati
on/./deploy/trex.war/WEB-INF/lib/flex-bootstrap.jar: 
java.lang.NullPointerException






--
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Internationalization Question

2006-10-05 Thread jfournet
I have two questions on i18n

1) How do I set the locale dynamically

2) can flex detect it per client and present each client with the 
correct screens for the detected locale.  


Any examples on how to do this would be appreciated


currently the only way I have been able to set the locale successfully 
is using the compiler option -locale





--
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Custom Validator in DataGrid Cell Renderer: Problems setting custom error messag

2006-09-18 Thread jfournet
I have a custom validator in a cell renderer for a datagrid cell.  I 
cannot get the following statement to put out a custom error message 
when executed, nothing happens

validator.validationError('requiredField',LabelProperties.getLabel
(LabelProperties.FIELD_IS_REQUIRED_MSG), 'cellModel.cellData');


The following is the source code for the cell renderer:


?xml version=1.0?

mx:TextInput xmlns:mx=http://www.macromedia.com/2003/mxml; 
  xmlns:CommonValidators=com.bmc.txm.common.validators.*
  creationComplete=onInit();
   change=needCommit=true
valueCommitted=doUpdate()

mx:Script

![CDATA[

  import com.bmc.txm.common.constants.LabelProperties;  
  
  import fast.echo.Echo;
  
  import org.nevis.cairngorm.control.EventBroadcaster;
  
  import com.bmc.txm.controller.TxmControl;
  
  import mx.validators.Validator;

  import mx.controls.DataGrid;

  private var listOwner:DataGrid;

  private var getCellIndex : Function;

  private var getDataLabel : Function;

  private var settingValue : Boolean = true;

  private var needCommit : Boolean = false;

  private var item : Object;

  private var itemIndex : Number;
  
  private var userFieldSet: Boolean = false;

 
  function onInit()
  {
  Echo.info('UserCellRenderer - onInit()');
  EventBroadcaster.getInstance().addEventListener
(TxmControl.EVENT_VALIDATE_USER_FIELD , this);
  EventBroadcaster.getInstance().addEventListener
(TxmControl.EVENT_USER_FIELD_SET , this);
  
  }

  function handleEvent(evt:Object):Void 
  {
Echo.info('UserCellRenderer - handleEvent()');

if (evt.type == TxmControl.EVENT_VALIDATE_USER_FIELD)
{
validateUserField();
}
if (evt.type == TxmControl.EVENT_USER_FIELD_SET)
{
Echo.info(Setting userFieldSet =  + evt.data);
userFieldSet = evt.data;

}
  }

  function doUpdate() 
  {
  Echo.info('UserCellRenderer - doUpdate()');
  if (settingValue) return;

  listOwner.editField(itemIndex, getDataLabel(), text);
  validateUserField();
  needCommit = false;

  }

  function validateUserField(validator, value)
  //function validateUserField()
  {

  Echo.info('UserCellRenderer - validateUserField()');
  var validationObject:Object = new Object();
  validationObject.col = 0;
  validationObject.row = itemIndex;
//  Validator.disable(this, 'text');
//  Validator.enable(this, 'text');
  if (Validator.isValid(this, 'cellModel.cellData')) 
  {
  Echo.info(userFieldSet =  + userFieldSet);
  if ((this.text ==  || this.text == undefined) 
 userFieldSet == false)
  {
  Echo.info(field is invalid);
  validator.validationError
('requiredField',LabelProperties.getLabel
(LabelProperties.FIELD_IS_REQUIRED_MSG), 'cellModel.cellData');
  item.valid=false;
  validationObject.isValid = false;
  EventBroadcaster.getInstance
().broadcastEvent( TxmControl.EVENT_VALIDATED_USER_FIELD, 
validationObject);
  
  }
  
  else
  { 
  item.valid=true;
  validationObject.isValid = true;
  EventBroadcaster.getInstance
().broadcastEvent( TxmControl.EVENT_VALIDATED_USER_FIELD, 
validationObject);
  }
  } 
  else
 {

 item.valid=false;
 validationObject.isValid = false;
 EventBroadcaster.getInstance().broadcastEvent
( TxmControl.EVENT_VALIDATED_USER_FIELD, validationObject);

 }
  
  }
  
  function setValue( str:String, item:Object, sel:Boolean ) {
  Echo.info('UserCellRenderer - setValue()');
 // Echo.info(user =  + 
com.bmc.txm.view.common.popups.InstallPopup.user);

  if (needCommit  itemIndex == getCellIndex().itemIndex) 
return;

  itemIndex = getCellIndex().itemIndex;

  settingValue = true;

  this.item = item;

   if (item==undefined) {

 this.clear();

   } else {

 this.text = str;

   }

  settingValue = false;

  }

  ]]


Re: [flexcoders] Blank out password field in a datagrid cell

2006-06-29 Thread jfournet



Worked great, however if I mark the password field editable=false, it causes the tabbing in the grid to get screwed up, when the user tabs it skips over the password field, the user must select the password field with the mouse click. If I enable editing of the datagrid cell, the cleartext password is visable when the user type it in and only becomes blanked out after moving focus to another cell. Any ideas how to fix this behaviour?Brendan Meutzner [EMAIL PROTECTED] wrote:  Just need to get a bit
 creative:App.mxml--mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"  mx:DataGrid dataProvider="{sampleArray}" width="100%" editable="false"   mx:columns   mx:Arraymx:DataGridColumn columnName="name" headerText="Name"/mx:DataGridColumn columnName="password" headerText="Password" cellRenderer="SampleRenderer" //mx:Array  /mx:columns /mx:DataGrid  mx:Button
 click="showPasswords()" label="Show Passwords" / mx:Script   ![CDATA[  import SampleRenderer;   private var sampleArray:Array = new Array({name:"dick", password:"something"}, {name:"jane", password:"also_something"});  private function showPasswords():Void 
  {var tmpString:String = "";for(var i:Number = 0; i  sampleArray.length ; i++){ tmpString += "password for " + sampleArray[i].name + " = " + sampleArray[i].password + "\n";}mx.controls.Alert.show (tmpString);   } ]]  
 /mx:Script/mx:ApplicationSampleRenderer.mxml---mx:HBox xmlns:mx=" http://www.macromedia.com/2003/mxml" width="100%" height="100%" horizontalAlign="left"  mouseDownSomewhere="setEditFalse(event)" hScrollPolicy="off" vScrollPolicy="off"  mx:TextInput id="textinput" text="{itemString}" password="true" change="setItemProperty(event)" width="0" keyDown="checkKeyDown(event)" visible="false" /  mx:Text id="passworddisplay" text="{passwordString}" selectable="false" mouseDown="setEditTrue(event)" width="100%" /   mx:Script ![CDATA[ 
 public var listOwner:MovieClip;   public var itemString:String;   public var passwordString:String;   private var dataGridItem:Object;   private var showTextInput:Boolean = false;  function setValue(str:String, item:Object){if (item == undefined){ 
 return;}dataGridItem = item;itemString = String(item.password);setPasswordString();   }  private function setItemProperty(event:Object):Void   {dataGridItem.password = event.target.text;   
 itemString = event.target.text;setPasswordString();}  private function setEditTrue():Void   {textinput.visible = true;textinput.width = textinput.parent.width;passworddisplay.width = 0;passworddisplay.visible = false;showTextInput =
 !showTextInput;   }  private function checkKeyDown(event:Object):Void{if(textinput.visible == true  event.code == Key.ENTER){ setEditFalse(event);}   }  private function
 setEditFalse(event:Object):Void   {textinput.visible = false;textinput.width = 0;passworddisplay.width = passworddisplay.parent.width ;passworddisplay.visible = true;showTextInput = !showTextInput;   }  private function setPasswordString():Void   { 
   var tmpString:String = ""; for(var i:Number = 0; i  itemString.length; i++){ tmpString += "*";}passwordString = tmpString;   }  ]]   /mx:Script /mx:HBoxBrendan  On 6/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:Well yes and no. The clear text password is still visable while the user is typing it in, the cell renderer does not get invoked to render the password invisible until after the user changes focus to another cell. Brendan Meutzner [EMAIL PROTECTED] wrote: This could be accomplished using the cellRenderer property for DataGridColumn in 1.5.  On 6/21/06, [EMAIL PROTECTED]  [EMAIL PROTECTED] wrote:   We are using flex 1.5, I think this is a flex 2.0 feature. Is there another way to accomplish this?  Jason Szeto  [EMAIL PROTECTED]  wrote:   You need to create a TextInput with password for your itemEditor as well. JasonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jfournet Sent:
 Thursday, June 15, 2006 6:13 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Blank out password field in a datagrid cell   How can I blank out a password field in a datagrid cell. I have tried using a text_input field in a cell renderer with the password property set to true, but the clear text password is visable unti

Re: [flexcoders] Blank out password field in a datagrid cell

2006-06-22 Thread jfournet



Well yes and no. The clear text password is still visable while the user is typing it in, the cell renderer does not get invoked to render the password invisible until after the user changes focus to another cell.Brendan Meutzner [EMAIL PROTECTED] wrote:  This could be accomplished using the cellRenderer property for DataGridColumn in 1.5.  On 6/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  We are using flex 1.5, I think this is a flex 2.0 feature. Is there another way to accomplish this?  Jason Szeto  [EMAIL PROTECTED] wrote:   You need to create a TextInput with password for your itemEditor as well. JasonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jfournetSent: Thursday, June 15, 2006 6:13 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Blank out password field in a datagrid cell   How can I blank out a password field in a datagrid cell. I have tried using a text_input field in a cell renderer with the password property set to true, but the clear text password is visable until the focus goes off the cell then the  are displayed. Any ideas, and code samples?Do you Yahoo!?Get on board. You're invited to try the new Yahoo! Mail Beta.
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail Beta.
__._,_.___





--
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] Blank out password field in a datagrid cell

2006-06-22 Thread jfournet



Well yes and no. The clear text password is still visable while the user is typing it in, the cell renderer does not get invoked to render the password invisible until after the user changes focus to another cell.Brendan Meutzner [EMAIL PROTECTED] wrote:  This could be accomplished using the cellRenderer property for DataGridColumn in 1.5.  On 6/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  We are using flex 1.5, I think this is a flex 2.0 feature. Is there another way to accomplish this?  Jason Szeto  [EMAIL PROTECTED] wrote:   You need to create a TextInput with password for your itemEditor as well. JasonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jfournetSent: Thursday, June 15, 2006 6:13 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Blank out password field in a datagrid cell   How can I blank out a password field in a datagrid cell. I have tried using a text_input field in a cell renderer with the password property set to true, but the clear text password is visable until the focus goes off the cell then the  are displayed. Any ideas, and code samples?Do you Yahoo!?Get on board. You're invited to try the new Yahoo! Mail Beta.
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail Beta.
__._,_.___





--
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] Blank out password field in a datagrid cell

2006-06-21 Thread jfournet



We are using flex 1.5, I think this is a flex 2.0 feature. Is there another way to accomplish this?Jason Szeto [EMAIL PROTECTED] wrote:  You need to create a TextInput with password for your itemEditor as well. JasonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jfournetSent: Thursday, June 15, 2006 6:13 PMTo:
 flexcoders@yahoogroups.comSubject: [flexcoders] Blank out password field in a datagrid cell  How can I blank out a password field in a datagrid cell. I have tried using a text_input field in a cell renderer with the password property set to true, but the clear text password is visable until the focus goes off the cell then the  are displayed. Any ideas, and code samples?   
  
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail Beta.
__._,_.___





--
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 Custom Security W/Jboss

2006-06-20 Thread jfournet
We are using flex 1.5 custom security w/jobss.  Jboss appears to be 
caching security data.  When we delete a user it seems that we can 
still log in as that user for a short period of time.  Does anyone know 
if jboss caches this and if so how to purget this from the cache so 
users that don't exist anymore cannot log in?






 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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

* 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] Password field in datagrid

2006-06-15 Thread jfournet
I have a password field in a data grid and need to be able to have  
show up when the user types in the password as in the text_input 
field.  How can this be accomplishe in flex.  Any code examples would 
be appreciated






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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

* 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] Blank out password field in a datagrid cell

2006-06-15 Thread jfournet
How can I blank out a password field in a datagrid cell.  I have tried 
using a text_input field in a cell renderer with the password property 
set to true, but the clear text password is visable until the focus 
goes off the cell then the  are displayed.  Any ideas, and code 
samples?






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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

* 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] Clear Text Passwords printed out when remoteObject debug enabled

2006-05-31 Thread jfournet



Does anyone know how to get rid of the clear text passwords being 
displayed int the system out of the server when remoteObject Debug is 
enabled in the flex config. We encrypt the password on the server 
side. Is their an encryption method in flex?










--
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] Error passing array to java collection Problem

2006-05-12 Thread jfournet



We are trying to pass an action script object array to a java 
collection using remoteObject. We are using flex 1.5 and jboss. 
Does anyone know if this is supported? The following is the error 
we get from the jboss log when executing the remoteObject method:


17:49:24,977 INFO [STDOUT] Info: Deserializing request
 (Message #0 targetURI=administrationFacade.createRemoteNode, 
responseURI=/4)
 (Array #0)
 [0] = (Object #1)
 _flag = Envelope
 headers = (Array #2)
 [0] = (Array #3)
 [0] = ServiceType
 [1] = false
 [2] = stateless-class
 [1] = (Array #4)
 [0] = Credentials
 [1] = true
 [2] = (Object #5)
 password = txmpass
 userid = txmadmin
 data = "" #6)
 [0] = (Typed Object 
#7 'com.bmc.txm.common.data.presentation.dto.remoteNode.facade.RemoteN
odeEntityDTO')
 remoteNodeTypeDTO = (Typed Object 
#8 'com.bmc.txm.common.data.presentation.dto.remoteNode.facade.RemoteN
odeTypeDTO')
 name = MTA_SENSOR
 name = 9
 host = 9
 tcpipPort = 9
 remoteNodeStatusDTO = (Typed Object 
#9 'com.bmc.txm.common.data.presentation.dto.remoteNode.facade.RemoteN
odeStatusDTO')
 name = Active
 sysConfigParamsCollectionDTO = (Array #10)
 [0] = (Typed Object 
#11 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = 9
 nameDTO = (Typed Object 
#12 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = zosSystemName
 remoteNodeDTO = (Ref #7)
 [1] = (Typed Object 
#13 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = 9
 nameDTO = (Typed Object 
#14 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = zosSystemPort
 remoteNodeDTO = (Ref #7)
 [2] = (Typed Object 
#15 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = 9
 nameDTO = (Typed Object 
#16 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = mtaUsername
 remoteNodeDTO = (Ref #7)
 [3] = (Typed Object 
#17 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = 9
 nameDTO = (Typed Object 
#18 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = mtaPassword
 remoteNodeDTO = (Ref #7)
 [4] = (Typed Object 
#19 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = Enable
 nameDTO = (Typed Object 
#20 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = mtaCICS
 remoteNodeDTO = (Ref #7)
 [5] = (Typed Object 
#21 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = Enable
 nameDTO = (Typed Object 
#22 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = mtaIMS
 remoteNodeDTO = (Ref #7)
 [6] = (Typed Object 
#23 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = 9
 nameDTO = (Typed Object 
#24 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = pollingInterval
 remoteNodeDTO = (Ref #7)
 [7] = (Typed Object 
#25 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = undefined
 nameDTO = (Typed Object 
#26 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = collectorName
 remoteNodeDTO = (Ref #7)
 [8] = (Typed Object 
#27 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = 9
 nameDTO = (Typed Object 
#28 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = collectorPort
 remoteNodeDTO = (Ref #7)
 [9] = (Typed Object 
#29 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationParameterDTO')
 value = Enable
 nameDTO = (Typed Object 
#30 'com.bmc.txm.common.data.presentation.dto.sysConfig.facade.SysConf
igurationNameDTO')
 name = ssl
 remoteNodeDTO = (Ref #7)
 [1] = MTA_SENSOR
17:49:24,977 INFO [STDOUT] Info: Processing batch of 1 request(s)
17:49:24,977 INFO [STDOUT] Info: Requesting 
target 'administrationFacade.createRemoteNode'
17:49:24,987 INFO [STDOUT] Info: 
Service 'com.bmc.txm.common.interfaces.presentation.ui.facade.Administ
rationDataFacade' sent to adapter 'Java Class
Adapter'
17:49:25,077 INFO [STDOUT] Error: An error occurred during service 
invocation
17:49:25,077 INFO [STDOUT] flashgateway.GatewayException
17:49:25,077 INFO [STDOUT] at 
flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:152)
17:49:25,077 INFO [STDOUT] at 
flashgateway.filter.MessageSecurityFilter.invoke
(MessageSecurityFilter.java:144)
17:49:25,077 INFO [STDOUT] at 
flashgateway.filter.ServiceNameFilter.invoke
(ServiceNameFilter.java:101)
17:49:25,077 INFO [STDOUT] at 
flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)
17:49:25,077 INFO [STDOUT] at 

RE: [flexcoders] Flex hangs when server times out session

2006-04-25 Thread jfournet



I am calling a remote object on the jboss server with tomcat 5.5. We are using custom authentication, we use setusernamepassword on the remote object to set the authorized user. We are using flex 1.5.Thanks,  BrentMatt Chotin [EMAIL PROTECTED] wrote:  Hi Brent,I checked with QA here but no one had seen hangs like you describe. Sowe need more info as to what your setup entails. What channel are youusing? What kind of destination are you hitting (RemoteObject Iassume)? How was authentication enforced, constraints on a destinationand using setCredentials? Or was this through HTTP authentication?The more details you can provide the easier I can ask someone to
 tryreproducing.If you want to send code that's fine, just please make sure that youdon't send something with a .zip extension because the Adobe spam filterwill eliminate it (you can take the .zip and add a different extensionlike .zipper)Thanks!Matt-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of jfournetSent: Wednesday, April 19, 2006 8:10 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex hangs when server times out sessionMy flex interface hangs when the jboss server automatically times out the session after 30min of being idle. How do I detect this and create a new session so that I can automatically send the user to the login screen again.Thanks,Brent--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.





--
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 hangs when server times out session

2006-04-25 Thread jfournet



Encoding on the remote object is set to AMFMatt Chotin [EMAIL PROTECTED] wrote:  Hi Brent,I checked with QA here but no one had seen hangs like you describe. Sowe need more info as to what your setup entails. What channel are youusing? What kind of destination are you hitting (RemoteObject Iassume)? How was authentication enforced, constraints on a destinationand using setCredentials? Or was this through HTTP authentication?The more details you can provide the easier I can ask someone to tryreproducing.If you want to send code that's fine, just please make sure that youdon't send something with a .zip extension because the Adobe spam filterwill eliminate it (you can take the .zip and add a different extensionlike
 .zipper)Thanks!Matt-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of jfournetSent: Wednesday, April 19, 2006 8:10 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex hangs when server times out sessionMy flex interface hangs when the jboss server automatically times out the session after 30min of being idle. How do I detect this and create a new session so that I can automatically send the user to the login screen again.Thanks,Brent--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups
 Links
		Yahoo! Mail goes everywhere you do.  Get it on your phone.





--
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.



  









[flexcoders] Flex hangs when server times out session

2006-04-19 Thread jfournet



My flex interface hangs when the jboss server automatically times out 
the session after 30min of being idle. How do I detect this and 
create a new session so that I can automatically send the user to the 
login screen again.

Thanks,
Brent










--
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] logout remote object in flex

2006-04-18 Thread jfournet



ok, I was able to kill the session by using an HttpService to run a jsp that executed session.invalidate. How do I create a new session. Now the gui just shows an hour glass when I try to access any of the remote objects on the server.Peter Farland [EMAIL PROTECTED] wrote:  When you compiled the AdministrationDataFacade did you using the exact same flashgateway.jar that is being used at runtime by the web application? (From the error it doesn't seem likely, but note that the HttpSession may not always exist... so I'd usually not do that all on one line). If none of this helps, try breaking the
 command up onto separate lines and use try/catch to determine exactly what happened... was it a ClassNotFoundException or some other exception saying some method or property didn't exist.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Monday, April 17, 2006 2:31 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] logout remote object in flex13:23:09,910 INFO [STDOUT] Info: Request sent to http://localhost:8087/txm/amfgateway/administrationFacade from 127.0.0.1 received at 13:23:09.910 2006-04-1713:23:09,910 INFO [STDOUT] Info: Deserializing request (Message #0 targetURI=administrationFacade.logoutUser,
 responseURI=/2) (Array #0) [0] = (Object #1) _flag = "Envelope" headers = (Array #2) [0] = (Array #3) [0] = "ServiceType" [1] = false [2] = "stateless-class" [1] = (Array #4) [0] = "Credentials" [1] = true [2] = (Object
 #5) password = "txmpass" userid = "txmadmin" data = "" #6)13:23:09,910 INFO [STDOUT] Info: Processing batch of 1 request(s)13:23:09,910 INFO [STDOUT] Info: Requesting target 'administrationFacade.logoutUser'13:23:09,910 INFO [STDOUT] Info: Service 'com.bmc.txm.common.interfaces.presentation.facade.AdministrationDataFacade' sent to adapter 'Java Class Adapter'13:23:09,910 INFO [STDOUT] before getHttpRequest13:23:10,040 INFO [STDOUT] Error: flashgateway/Gateway13:23:10,040 INFO [STDOUT] flashgateway.GatewayException: flashgateway/Gateway13:23:10,040 INFO [STDOUT] at flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:152)13:23:10,040 INFO
 [STDOUT] at flashgateway.filter.MessageSecurityFilter.invoke(MessageSecurityFilter.java:144)13:23:10,040 INFO [STDOUT] at flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:101)13:23:10,040 INFO [STDOUT] at flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)13:23:10,080 INFO [STDOUT] at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28)13:23:10,080 INFO [STDOUT] at flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57)13:23:10,080 INFO [STDOUT] at flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39)13:23:10,080 INFO [STDOUT] at flashgateway.filter.LogFilter.invoke(LogFilter.java:46)13:23:10,080 INFO [STDOUT] at
 flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)13:23:10,080 INFO [STDOUT] at flashgateway.filter.PacketSecurityFilter.invoke(PacketSecurityFilter.java:68)13:23:10,080 INFO [STDOUT] at flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)13:23:10,080 INFO [STDOUT] at flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:89)13:23:10,080 INFO [STDOUT] at flashgateway.Gateway.invoke(Gateway.java:217)  13:23:10,080 INFO [STDOUT] at flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)13:23:10,080 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)13:23:10,080 INFO [STDOUT] at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)13:23:10,080 INFO [STDOUT] at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)13:23:10,080 INFO [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)13:23:10,080 INFO [STDOUT] at
 

Re: [flexcoders] Re: logout remote object in flex

2006-04-17 Thread jfournet



How do I call a servlet or jsp from flex, do I use getURI(logout.jsp) if so how do I keep the page from showing up in the browser?Douglas Knudsen [EMAIL PROTECTED] wrote:  There is no logout() in flex. Just use the jsp/servlet way ofdestroying the session.On 4/15/06, jfournet [EMAIL PROTECTED] wrote: I need to logout a remoteobject in flex to destroy the users security creditials. I don't see anyway to do this in flex 1.5. Any help would be appreciated. -- 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--Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?
		Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.





--
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] logout remote object in flex

2006-04-17 Thread jfournet



I tried that with the following code, but any call to the gateway raises an exception. We are using flex 1.5 and tomcat 5.5 w/jboss. Is there an incompatability issue here?   System.out.println("before invalidate session"); flashgateway.Gateway.getHttpRequest().getSession().invalidate(); System.out.println("after invalidate session");Matt Chotin [EMAIL PROTECTED] wrote:  I think for 1.5 you need to write your own RemoteObject that will getthe HTTPSession from the Gateway and invalidate it. Then on the clientyou can clearUsernamePassword
 as well.Matt-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of jfournetSent: Saturday, April 15, 2006 4:23 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] logout remote object in flexI need to logout a remoteobject in flex to destroy the users security creditials. I don't see anyway to do this in flex 1.5. Any help would be appreciated.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.





--
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] logout remote object in flex

2006-04-17 Thread jfournet



OK, here is the exception:   (Message #0 targetURI=administrationFacade.logoutUser, responseURI=/2) (Array #0) [0] = (Object #1) _flag = "Envelope" headers = (Array #2) [0] = (Array #3) [0] = "ServiceType" [1] = false [2] = "stateless-class" [1] = (Array #4) [0] = "Credentials" [1] =
 true [2] = (Object #5) password = "txmpass" userid = "txmadmin" data = "" #6)13:23:09,910 INFO [STDOUT] Info: Processing batch of 1 request(s)13:23:09,910 INFO [STDOUT] Info: Requesting target 'administrationFacade.logoutUser'13:23:09,910 INFO [STDOUT] Info: Service 'com.bmc.txm.common.interfaces.presentation.facade.AdministrationDataFacade' sent to adapter 'Java Class Adapter'13:23:09,910 INFO [STDOUT] before getHttpRequest13:23:10,040 INFO [STDOUT] Error: flashgateway/Gateway13:23:10,040 INFO [STDOUT] flashgateway.GatewayException: flashgateway/Gateway13:23:10,040 INFO [STDOUT] at
 flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:152)13:23:10,040 INFO [STDOUT] at flashgateway.filter.MessageSecurityFilter.invoke(MessageSecurityFilter.java:144)13:23:10,040 INFO [STDOUT] at flashgateway.filter.ServiceNameFilter.invoke(ServiceNameFilter.java:101)13:23:10,040 INFO [STDOUT] at flashgateway.filter.EnvelopeFilter.invoke(EnvelopeFilter.java:102)13:23:10,080 INFO [STDOUT] at flashgateway.filter.SessionFilter.invoke(SessionFilter.java:28)13:23:10,080 INFO [STDOUT] at flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:57)13:23:10,080 INFO [STDOUT] at flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:39)13:23:10,080 INFO [STDOUT] at
 flashgateway.filter.LogFilter.invoke(LogFilter.java:46)13:23:10,080 INFO [STDOUT] at flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)13:23:10,080 INFO [STDOUT] at flashgateway.filter.PacketSecurityFilter.invoke(PacketSecurityFilter.java:68)13:23:10,080 INFO [STDOUT] at flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)13:23:10,080 INFO [STDOUT] at flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:89)13:23:10,080 INFO [STDOUT] at flashgateway.Gateway.invoke(Gateway.java:217)  13:23:10,080 INFO [STDOUT] at flashgateway.controller.GatewayServlet.service(GatewayServlet.java:69)13:23:10,080 INFO [STDOUT] at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:810)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)13:23:10,080 INFO [STDOUT] at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)13:23:10,080 INFO [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)13:23:10,080 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)13:23:10,080 INFO [STDOUT] at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)13:23:10,080 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)13:23:10,080 INFO [STDOUT] at flashgateway.security.TomcatValve.invoke(TomcatValve.java:109)13:23:10,080 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)13:23:10,080 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)13:23:10,080 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)13:23:10,080 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)13:23:10,080
 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)13:23:10,090 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)13:23:10,090 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)13:23:10,090 INFO [STDOUT] Info: Serializing response (Message #0 targetURI=/2/onStatus, responseURI=null) (Object #0) level = "error" code = "Server.Processing" type = "" rootcause = (Object #1) level = "error" code = null type = ""
 details = "" description = "flashgateway/Gateway" details = "" description = "flashgateway/Gateway"Douglas Knudsen 

[flexcoders] logout remote object in flex

2006-04-16 Thread jfournet
I need to logout a remoteobject in flex to destroy the users security 
creditials.   I don't see anyway to do this in flex 1.5.  Any help 
would be appreciated.





--
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

* 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] Problems with flex custom authentication using flex, jboss with tomcat 5.5

2006-04-05 Thread jfournet
We seem to be having problems getting custom authentication to work 
with the custom authentication module supplied with flex for use with 
tomcat.   Apparently it is not compatible with tomcat 5.5.   Apparently 
the structure of the tomcat valve api has changed.  Has anyone found a 
resolution for this?





--
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

* 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/