[flexcoders] Re: WebService timeout to Axis on Tomcat

2011-09-09 Thread pirvulescu_adrian


--- In flexcoders@yahoogroups.com, andrewwestberg andrewwestberg@... wrote:

 In my flex app, I keep getting a webservice fault after 30 seconds.
 I've set the requestTimeout property higher, but it doesn't seem to
 have an effect.  It only happens on a long-running webservice call
 that will most likely always take longer than 30 seconds.
 
 Is there some timeout happening on the server-side in Tomcat, or maybe
 in the lower-level HTTP request from flex? How can I debug this?
 
 Thanks,
 -Andrew



Any news on this... :)



[flexcoders] ReferenceError: Error #1065: Variable is not defined.

2007-01-04 Thread pirvulescu_adrian
 Hello ! Since 5 days a have a problem and I am unable to handle
it.   S this Is what I have:
 A tree menu with 5 static nodes.  I use the tree to navigate 5
panels contained into a viewStack. when I am trying to change the
viewstack to the 3-rd panel I get in the browser the error shown down
of the page.
   But this happens only sometimes. There are cases when everything
works fine without changing anything in the code (Only rebuid it).   
   Variable _ is not defined.   There is no variable name.


Please help me !!

:(


ReferenceError: Error #1065: Variable  is not defined.
at global/flash.utils::getDefinitionByName()
at mx.utils::DescribeTypeCache$/describeType()
at mx.utils::ObjectUtil$/getClassInfo()
at mx.controls::DataGrid/::generateCols()
at mx.controls::DataGrid/mx.controls:DataGrid::collectionChangeHandler()
at mx.controls.listClasses::ListBase/set dataProvider()
at mx.controls::DataGrid/set dataProvider()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.containers::Panel/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.containers::Panel/mx.containers:Panel::createChildren()
at
no.Instore.Components::ToolboxPanel/no.Instore.Components:ToolboxPanel::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at no.Instore.PlayerManagement.PlayerDetails::PlayerDetails/initialize()
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()



[flexcoders] Re: ReferenceError: Error #1065: Variable is not defined.

2007-01-04 Thread pirvulescu_adrian
  Thanks for your cooperation.

  I use tree itemClick event, and select the desired viewstack item,
using viewstack.selecteItem property.  Now I have 10 nodes in tree
and changed the viewstack items order.   But I get the same error on
the same panel . Can be something wrong in that panel   ???I have
search that panel code, but it seems everything is ok.

   I'll just wait for other tips.  I'm out of ideeas!!! :(

  

--- In flexcoders@yahoogroups.com, paromita dey [EMAIL PROTECTED] wrote:

 How are you trying to navigate? 
   What I understand from your requirement below.. using simple mxml
and binding you can achieve the same navigation. 
   Bind the selectedIndex property of the tree to the selectedIndex
property of the viewstack if you want a simple linear navigation. that
is if you click on node 1 it should navigate to panel 1 of viewstack
... else you may keep a bindable variable and set the value of this
variable on itemClick event of the tree nodes and bind this variable
to the selectedIndex or selectedChild.. as required.

   Regards,
   Paromita
 
 




[flexcoders] Re: Error 1065 - is this a bug ???

2007-01-03 Thread pirvulescu_adrian
I get the same Error when I am trying to Debug the application.
 If I choose to Run the application everything works fine.
 
 Until now I didn't found any clue.

  Somebody must know what is wrong.   Please tell us.

   Bye.



[flexcoders] upload files via .ASP

2006-10-30 Thread pirvulescu_adrian
Hello !!

I need help, creating an .asp that I can use to upload files on server.
I have watched the data sent by the flex application with tcpmon,  
but I can't understand what I must do.   So, is there anybody who can
help me.PLS :( !!!

I am using the following code in the A.S. flex file: 



private function initApp():void {
fileRef = new FileReference();
fileRef.addEventListener(Event.CANCEL, traceEvent);
fileRef.addEventListener(Event.COMPLETE, completeEvent);
fileRef.addEventListener(Event.SELECT, selectEvent);
fileRef.addEventListener(IOErrorEvent.IO_ERROR, traceEvent);
fileRef.addEventListener(Event.OPEN, traceEvent);
fileRef.addEventListener(ProgressEvent.PROGRESS, progressEvent);
fileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
traceEvent);
}

private function traceEvent(event:Event):void {
var tmp:String = \n;
ta.text += tmp + event.type +  event: +
mx.utils.ObjectUtil.toString(event) + \n ;
ta.verticalScrollPosition += 20;
}

private function ioErrorEvent(event:IOErrorEvent):void{
Alert.show(IOError: + event.text);
traceEvent(event);
}

private function selectEvent(event:Event):void{
btn_upload.enabled = true;
traceEvent(event);
filename.text = fileRef.name;
progressBar.setProgress(0, 100);
progressBar.label = Loading 0%;   
}

private function progressEvent(event:ProgressEvent):void {
progressBar.setProgress(event.bytesLoaded, event.bytesTotal);
traceEvent(event);
}

private function completeEvent(event:Event):void {
progressBar.label = Complete.;
filename.text +=  uploaded;
traceEvent(event);
btn_upload.enabled = false;
btn_cancel.enabled = false;
}

private function uploadFile(endpoint:String):void {
var param:String = Author= + ti_author.text;
var req:URLRequest = new URLRequest(endpoint);
req.method = URLRequestMethod.POST;
fileRef.upload(req, param, false); 
progressBar.label = Uploading...; 
btn_cancel.enabled = true;
}




--
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] Tree item in datagrid ??

2006-08-24 Thread pirvulescu_adrian
Can anybody tell me if it's possible to have a tree component in a
datagrid item ?


Pirvulescu Adrian 
Romania





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