[flexcoders] Flex + Central

2005-05-11 Thread beckpvt
Hi people, 

Is there any way to run a program (i.e.: Notepad.exe) into an
application running in Macromedia Central? 

Imagine a TexInput (in a Flex App running in Central) like a kind of
command line. So, you can press a Execute button to run this
program. Is it possible?


Tks a lot,
Beck



 




 
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] Re: Datagrid Validation/Restriction

2005-05-10 Thread beckpvt
Thanks Jim. 

If I have a reference to the field which is being edited, I can use it
with Validators too. 


Thanks again!
Beck Novaes


--- In flexcoders@yahoogroups.com, Jim Laing [EMAIL PROTECTED] wrote:
 On 5/10/05, beckpvt [EMAIL PROTECTED] wrote:
  Moreover, is it possible to restrict data
  inside a cell - only numbers, for example?
 
 It is possible, and actually pretty easy. You usually want to set such
 properties at the column level, so all the ways I've seen such a thing
 done uses a subclass of DataGridColumn to store the restrict and
 maxChars properties. These properties must then be set on the
 cellEditor (which is a TextInput and supports all the same properties
 as a TextInput). If you're willing to use a subclass of the DataGrid,
 then you can overload the setFocusedCell() function to read restrict
 and maxChars from the appropriate column and set them on the
 cellEditor. Alternatively, you could set these properties using an
 event listener on cellFocusIn ... in which case you don't have to use
 a subclassed DataGrid ... just do dg.cellEditor.restrict =
 (whatever) and dg.cellEditor.maxChars= (whatever) ... a little more
 wiring is involved, so if you're going to be doing a lot of this, I
 recommend the subclassed DataGrid approach.
 
 I've posted some example code that does this (among other things). See
 http://groups.yahoo.com/group/flexcoders/message/14768
 
 Jim




 
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] Whitelist - IIS

2005-04-11 Thread beckpvt


Hello,

I can't help the people with this issue because I have never used IIS
with JRun. Can you help us?


I have an WebService in .NET and running over my IIS server.
With Jrun running over IIS and Flex Server installed my applications
work, except when I will call a webservice in .NET, that I receive
this message:
Could not load WSDL: Server java.lang.RuntimeException: You are not
allowed to access the URL http://localhost/homews/wspacotes.asmx?wsdl
via this proxy. The URL is not in the proxy's whitelist

Then I found this article:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19251
and inside it I see that whitelist issue. I did this actions but still
not running..

But my application don't run correctly.

What I need to do to make it functionally ? I need to make any change
in my JRUN ?

My MXML is this:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:WebService wsdl=http://localhost/homews/wspacotes.asmx?wsdl;
id=Pacotes
  mx:operation name=BuscaTodosPacotes
mx:request/mx:request
  /mx:operation
/mx:WebService
  mx:Panel x=23 y=28 label=ESCOLHA SEU PACOTE width=215
height=296 title=Escolha seu pacote: 

mx:DataGrid id=DataGridPacotes
dataProvider={Pacotes.BuscaTodosPacotes.result}
  mx:columns
mx:Array
  mx:DataGridColumn headerText= columnName=
headerRenderer=no /
/mx:Array
  /mx:columns
/mx:DataGrid
  /mx:Panel
/mx:Application


And in my flex-config.xml I've inserted it, into whitelist: 

web-service-proxy
whitelist
  unnamed
urlhttp://*/url
urlhttps://*/url
  /unnamed
/whitelist
/web-service-proxy


Tks.





 
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/