--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
There's an undocumented SOAPDecoder in mx.rpc.
Fantastic - how does one gain access to said undocumented decoder?
Goal: digest an XML schema and generate set of objects that conforms
to the schema.
Sample Schema.
xs:schema targetNamespace=profile xmlns=profile
xmlns:xs=http://www.w3.org/2001/XMLSchema;
xs:complexType name=Beta
xs:sequence
xs:element name=name type=xs:string/
/xs:sequence
:[EMAIL PROTECTED] On
Behalf Of ron_mori
Sent: Monday, August 18, 2008 4:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Event Propagation
Let me clarify my component tree
My application component tree is roughly:
App
1 main container
1.1 header container (1st sub
How to implement this type of event propagation?
My application component tree is roughly:
App
- main container
- header container
- menu component
- body container
- form component
the user 'Saves' the entity in the form via the menu. I want to
validate the form's required fields
Let me clarify my component tree
My application component tree is roughly:
App
1 main container
1.1 header container (1st sub-container in main)
1.1.1 menu component
1.2 body container (2nd sub-container in main)
1.2.1 form component
Then the user action / event response.
1. User selects
Fidel,
I appreciate your input.
Sometimes you get to choose the pieces of the application and
sometimes you don't.. in this case I don't. The client is pondering a
number of communication protocol options for his app - RMI being just
one. I'm constantly presented the questions: Can you
While I go off and explore the land of 'Flex to RMI' connections,
anyone want to offer any insights?
Things like:
- Can you do this? Seems like a natural with BlazeDS remote objects.
Just change the URL to point to rmi://localhost/server...
- Simple or difficult?
And any other insights are
I must be missing something obvious -
Using an httpService proxy to the backend server like so in my
proxy-config:
destination id=backEnd
properties
urlhttp://myServer:8080/myApp/url
/properties
/destination
Executing a simple test, I monitor the traffic
as a
proxy.
-Josh
On Mon, Jul 28, 2008 at 3:43 PM, ron_mori [EMAIL PROTECTED] wrote:
The fault handler is being call. (server 500 status) The good news
is that my research points me towards the BlazeDS proxy server which I
have successfully set up to make my remote server calls.
Now
The fault handler is being call. (server 500 status) The good news
is that my research points me towards the BlazeDS proxy server which I
have successfully set up to make my remote server calls.
Now the trick is to get the proxy to grab the remote error msg and
return a status 200 good msg back
praises to user group - httpService is now working.
Next issue: Trying to access / unwrap the error message the server
sends back. The errors are the programmatic fault conditions (bad
login for example) that the server appropriately response with an
error condition.
The current implementation
Coders,
Think: HttpService used for REST service calls. On a POST method I
would like to supply a user/password set of parameters in the
following XML format.
?xml version='1.0' encoding='UTF-8'?
login xmlns=http://mydomain.com/project;
xmlns:foo=http://mydomain.com/parms;
userfoo/user
Using TabNavigator, my app defines 3 tabs:
1. List Products
2. Edit Product Form
3. New Product
As you would expect, the Flow s/b:
A. Select product from list brings it up in tab #2 for edit -and-
B. Select tab #3 brings a new product up in tab #2 for edit.
Flow A is fine - my class handles a
How to add headers to httpService request?
Goal - add request header name:val of 'foo: bar'
Tried: var hdr:Array = [{name:foo, value:bar}];
Header has: [object object]
Tried: var hdr:Array = [foo, bar];
Header has: [0]:foo, [1]:bar
ideas?
thanks in advance.
();
params.name = foo;
params.value = bar;
service.send(params);
Cheers,
On Wed, Jul 23, 2008 at 5:04 PM, ron_mori [EMAIL PROTECTED] wrote:
How to add headers to httpService request?
Goal - add request header name:val of 'foo: bar'
Tried: var hdr:Array = [{name:foo, value:bar
, 2008 at 5:04 PM, ron_mori [EMAIL PROTECTED]
mailto:ron_mori%40yahoo.com wrote:
How to add headers to httpService request?
Goal - add request header name:val of 'foo: bar'
Tried: var hdr:Array = [{name:foo, value:bar}];
Header has: [object object]
Tried: var hdr:Array = [foo, bar
Forgive my impatience - allow me to answer my own question.
After some work, the answer is:
httpService.headers = {
'foo':'bar',
'foo2': 'bar2' };
Thanks again for the help.
--- In flexcoders@yahoogroups.com, ron_mori [EMAIL PROTECTED] wrote:
Tracy,
Thanks - it worked beautifully
Think: master-detail implemented in an Accordion container.
When user either selects an item from a dataGrid listing -OR-
User clicks a link to initiate a new item -
ActionScript code then..
1. A SelectItem var in a detail form is set to either
a. the selectedItem from the dataGrid
b. new
Could anyone suggest a technique to Zoom Pan components on a Canvas
or some other appropriate container. The goal is a Google Map like
ability for a large canvas.
thx
The goal is to build a simple Remote Object access of a Spring DAO
bean.
The Spring bean construction is good - a tool I've worked with before.
The simple class (Test.class) accessed via Remote Object works fine
too (I can pass parms into a simple method and grab the returned value).
I've
Is it bad to reply to your own post? Sorry for my impatience. I have
found an answer to my problem and maybe I can save others the reply
effort.
From Christophe Coenraets fine post on the matter (
http://coenraets.org/flex-spring/), I quote:
So, if Flex clients can remotely access Java
21 matches
Mail list logo