Re: Laszlo client for Keel?

Nils Döhring <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
sure. note that you need clnt-axis up and running (see one of my last 
posts).

here's the shortest possible demo for posting data to the hoj example app:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
  <mx:WebService id="ws" 
wsdl="http://localhost/default/services/ModelService?wsdl">
      <mx:operation name="execute" result="alert(event.result)" 
resultFormat="xml">
        <mx:request format="xml">
            <request model="hoj.process-mydata">
                <parameters>
                    <parameter name="mystring" value="{mystring.text}"/>
                </parameters>
            </request>
        </mx:request>
    </mx:operation>
  </mx:WebService>
  <mx:Form>
        <mx:FormItem label="mystring" required="true">
            <mx:TextInput id="mystring" width="200"/>
        </mx:FormItem>
        <mx:FormItem>
            <mx:Button label="Add" click="ws.execute.send()"/>
        </mx:FormItem>
  </mx:Form>
  <mx:Label text="{ws.execute.result}" width="400"/>
  <mx:Repeater id="errorList" 
dataProvider="{ws.execute.result.model.errors.item}">
        <mx:Label text="{errorList.currentItem.message}"/>
  </mx:Repeater>
 
</mx:Application>





Max wrote:

> Hello Nils,
>
> Will you please post your Flex code that is used to call keel models.
>
> Thanks,
> Max
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>

http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.