Simple sample

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Simple sample

Shaw, Richard A
Can somebody point me to a simple example of how to use OPS (with AJAX) on my own site.

I've created a directory resource and added an entry to page-flow.xml to point to my pages here which their own page-flow.xml

but when I run it, it is using the non-ajax version and I get an error to say that triggers are not supported which I can see in the xforms-to-xhtml.xsl.

So how do make it use the ajax version ?

Thanks

Richard Shaw



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Simple sample

Ryan Puddephatt
Richard,
        What is your entry in the page-flow, if you are using the xforms=""
attribute to specify the instance, it will use the classic instance, to
change it to use the AJAX (NG Engine) remove this and place

<xforms:model id="modelID">
   <xforms:instance id="instance">
      <instance>
         <yourInstanceElements/>
      </instance>
   </xforms:instance>
</xforms:model>

Ryan

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: [hidden email] [mailto:[hidden email]]
>Sent: 21 March 2006 11:21
>To: [hidden email]
>Subject: [ops-users] Simple sample
>
>Can somebody point me to a simple example of how to use OPS (with AJAX) on
>my own site.
>
>I've created a directory resource and added an entry to page-flow.xml to
>point to my pages here which their own page-flow.xml
>
>but when I run it, it is using the non-ajax version and I get an error to
>say that triggers are not supported which I can see in the xforms-to-
>xhtml.xsl.
>
>So how do make it use the ajax version ?
>
>Thanks
>
>Richard Shaw




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Simple sample

Shaw, Richard A
In reply to this post by Shaw, Richard A
That's closer to working.

It now adds xforms-disabled to all my controls.

I've added the following line to page-flow.xml in the resoures directory

        <page path-info="/ras/test" model="/ras/test/page-flow.xpl"/>

And I'attached the complete contents of my /ras/test directory.

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Atkins Transport Systems
Woodcote Grove
Ashley Road
Epsom
KT18 5BW

Direct Dial.: +44 (0) 1372 756407
Switchboard:  +44 (0) 1372 726140
Fax:          +44 (0) 1372 740055
www.atkinsglobal.com/transportsystems



-----Original Message-----
From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 21 March 2006 11:25
To: [hidden email]
Subject: RE: [ops-users] Simple sample

Richard,
        What is your entry in the page-flow, if you are using the xforms=""
attribute to specify the instance, it will use the classic instance, to change it to use the AJAX (NG Engine) remove this and place

<xforms:model id="modelID">
   <xforms:instance id="instance">
      <instance>
         <yourInstanceElements/>
      </instance>
   </xforms:instance>
</xforms:model>

Ryan

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: [hidden email]
>[mailto:[hidden email]]
>Sent: 21 March 2006 11:21
>To: [hidden email]
>Subject: [ops-users] Simple sample
>
>Can somebody point me to a simple example of how to use OPS (with AJAX)
>on my own site.
>
>I've created a directory resource and added an entry to page-flow.xml
>to point to my pages here which their own page-flow.xml
>
>but when I run it, it is using the non-ajax version and I get an error
>to say that triggers are not supported which I can see in the
>xforms-to- xhtml.xsl.
>
>So how do make it use the ajax version ?
>
>Thanks
>
>Richard Shaw




This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150)


This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

ras.zip (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Simple sample

Ryan Puddephatt
I don't know what was wrong with that, it didn't work for me, I've sent
another copy of view.xhtml, which works. Although it has changed, I copied
this back into the original file, and it didn't work (very strange)

Any way,

I prefixed all the xhtml elements with xhtml (just cos I rewrote it, you
should be able to remove them again)

You need to have a root element in the xforms:instance so I put instance in
there

I put the label "Action: " in an xforms:label again just to see what the
problem was and because I rewrote it

Also /name won't work, you can do /instance/name, but I've put
instance('instance')/name in case you use multiple instance later in which
case it would be instance('instance2')/name etc.

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Shaw, Richard A [mailto:[hidden email]]
>Sent: 21 March 2006 12:12
>To: [hidden email]
>Subject: RE: [ops-users] Simple sample
>
>That's closer to working.
>
>It now adds xforms-disabled to all my controls.
>
>I've added the following line to page-flow.xml in the resoures directory
>
> <page path-info="/ras/test" model="/ras/test/page-flow.xpl"/>
>
>And I'attached the complete contents of my /ras/test directory.
>
>Richard Shaw
>
>¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
>Atkins Transport Systems
>Woodcote Grove
>Ashley Road
>Epsom
>KT18 5BW
>
>Direct Dial.: +44 (0) 1372 756407
>Switchboard:  +44 (0) 1372 726140
>Fax:          +44 (0) 1372 740055
>www.atkinsglobal.com/transportsystems
>
>
>
>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 21 March 2006 11:25
>To: [hidden email]
>Subject: RE: [ops-users] Simple sample
>
>Richard,
> What is your entry in the page-flow, if you are using the xforms=""
>attribute to specify the instance, it will use the classic instance, to
>change it to use the AJAX (NG Engine) remove this and place
>
><xforms:model id="modelID">
>   <xforms:instance id="instance">
>      <instance>
>         <yourInstanceElements/>
>      </instance>
>   </xforms:instance>
></xforms:model>
>
>Ryan
>
>Ryan Puddephatt
>Software Engineer
>TFX Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotand
>EH54 7DP
>
>* [hidden email]
>( 01506 407 110
>7  01506 407 108
>
>
>>-----Original Message-----
>>From: [hidden email]
>>[mailto:[hidden email]]
>>Sent: 21 March 2006 11:21
>>To: [hidden email]
>>Subject: [ops-users] Simple sample
>>
>>Can somebody point me to a simple example of how to use OPS (with AJAX)
>>on my own site.
>>
>>I've created a directory resource and added an entry to page-flow.xml
>>to point to my pages here which their own page-flow.xml
>>
>>but when I run it, it is using the non-ajax version and I get an error
>>to say that triggers are not supported which I can see in the
>>xforms-to- xhtml.xsl.
>>
>>So how do make it use the ajax version ?
>>
>>Thanks
>>
>>Richard Shaw
>
>
>
>
>
>This message has been scanned for viruses by MailControl - (see
>http://bluepages.wsatkins.co.uk/?4318150)
>
>
>This email and any attached files are confidential and copyright protected.
>If you are not the addressee, any dissemination of this communication is
>strictly prohibited. Unless otherwise expressly agreed in writing, nothing
>stated in this communication shall be legally binding.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

view.xhtml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Simple sample

clemens.harder
Richard example uses an instance with two root nodes in instance. I
think thats not working.

He uses:
 <xforms:instance id="instance">
        <name/>
        <action/>
</xforms:instance>

instead of:

<xforms:instance id="instance">
     <instance>
          <name/>
          <action/>
     </instance>

</xforms:instance>

Greetings
Clemens


Ryan Puddephatt schrieb:

> I don't know what was wrong with that, it didn't work for me, I've sent
> another copy of view.xhtml, which works. Although it has changed, I copied
> this back into the original file, and it didn't work (very strange)
>
> Any way,
>
> I prefixed all the xhtml elements with xhtml (just cos I rewrote it, you
> should be able to remove them again)
>
> You need to have a root element in the xforms:instance so I put instance in
> there
>
> I put the label "Action: " in an xforms:label again just to see what the
> problem was and because I rewrote it
>
> Also /name won't work, you can do /instance/name, but I've put
> instance('instance')/name in case you use multiple instance later in which
> case it would be instance('instance2')/name etc.
>
> Ryan Puddephatt
> Software Engineer
> TFX Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotand
> EH54 7DP
>  
> * [hidden email]
> ( 01506 407 110
> 7  01506 407 108
>  
>
>  
>> -----Original Message-----
>> From: Shaw, Richard A [mailto:[hidden email]]
>> Sent: 21 March 2006 12:12
>> To: [hidden email]
>> Subject: RE: [ops-users] Simple sample
>>
>> That's closer to working.
>>
>> It now adds xforms-disabled to all my controls.
>>
>> I've added the following line to page-flow.xml in the resoures directory
>>
>> <page path-info="/ras/test" model="/ras/test/page-flow.xpl"/>
>>
>> And I'attached the complete contents of my /ras/test directory.
>>
>> Richard Shaw
>>
>> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>>
>> Atkins Transport Systems
>> Woodcote Grove
>> Ashley Road
>> Epsom
>> KT18 5BW
>>
>> Direct Dial.: +44 (0) 1372 756407
>> Switchboard:  +44 (0) 1372 726140
>> Fax:          +44 (0) 1372 740055
>> www.atkinsglobal.com/transportsystems
>>
>>
>>
>> -----Original Message-----
>> From: Ryan Puddephatt [mailto:[hidden email]]
>> Sent: 21 March 2006 11:25
>> To: [hidden email]
>> Subject: RE: [ops-users] Simple sample
>>
>> Richard,
>> What is your entry in the page-flow, if you are using the xforms=""
>> attribute to specify the instance, it will use the classic instance, to
>> change it to use the AJAX (NG Engine) remove this and place
>>
>> <xforms:model id="modelID">
>>   <xforms:instance id="instance">
>>      <instance>
>>         <yourInstanceElements/>
>>      </instance>
>>   </xforms:instance>
>> </xforms:model>
>>
>> Ryan
>>
>> Ryan Puddephatt
>> Software Engineer
>> TFX Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotand
>> EH54 7DP
>>
>> * [hidden email]
>> ( 01506 407 110
>> 7  01506 407 108
>>
>>
>>    
>>> -----Original Message-----
>>> From: [hidden email]
>>> [mailto:[hidden email]]
>>> Sent: 21 March 2006 11:21
>>> To: [hidden email]
>>> Subject: [ops-users] Simple sample
>>>
>>> Can somebody point me to a simple example of how to use OPS (with AJAX)
>>> on my own site.
>>>
>>> I've created a directory resource and added an entry to page-flow.xml
>>> to point to my pages here which their own page-flow.xml
>>>
>>> but when I run it, it is using the non-ajax version and I get an error
>>> to say that triggers are not supported which I can see in the
>>> xforms-to- xhtml.xsl.
>>>
>>> So how do make it use the ajax version ?
>>>
>>> Thanks
>>>
>>> Richard Shaw
>>>      
>>
>>
>>
>> This message has been scanned for viruses by MailControl - (see
>> http://bluepages.wsatkins.co.uk/?4318150)
>>
>>
>> This email and any attached files are confidential and copyright protected.
>> If you are not the addressee, any dissemination of this communication is
>> strictly prohibited. Unless otherwise expressly agreed in writing, nothing
>> stated in this communication shall be legally binding.
>>    
>>
>> ------------------------------------------------------------------------
>>
>> My Hello World Journey Input Action: Origin:
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>    
>> ------------------------------------------------------------------------
>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20.03.2006
>>    



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Simple sample

Ryan Puddephatt
Clemens,
        I changed that and the references to it below, but it still didn't
work! I recreated it in another file, which worked, copied it back into the
original and it didn't again! In the end I had to create a new view.xhtml,
which worked fine!

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Clemens Harder [mailto:[hidden email]]
>Sent: 21 March 2006 13:51
>To: [hidden email]
>Subject: Re: [ops-users] Simple sample
>
>Richard example uses an instance with two root nodes in instance. I
>think thats not working.
>
>He uses:
> <xforms:instance id="instance">
> <name/>
> <action/>
></xforms:instance>
>
>instead of:
>
><xforms:instance id="instance">
>     <instance>
>          <name/>
>          <action/>
>     </instance>
>
></xforms:instance>
>
>Greetings
>Clemens
>
>
>Ryan Puddephatt schrieb:
>> I don't know what was wrong with that, it didn't work for me, I've sent
>> another copy of view.xhtml, which works. Although it has changed, I
>copied
>> this back into the original file, and it didn't work (very strange)
>>
>> Any way,
>>
>> I prefixed all the xhtml elements with xhtml (just cos I rewrote it, you
>> should be able to remove them again)
>>
>> You need to have a root element in the xforms:instance so I put instance
>in
>> there
>>
>> I put the label "Action: " in an xforms:label again just to see what the
>> problem was and because I rewrote it
>>
>> Also /name won't work, you can do /instance/name, but I've put
>> instance('instance')/name in case you use multiple instance later in
>which
>> case it would be instance('instance2')/name etc.
>>
>> Ryan Puddephatt
>> Software Engineer
>> TFX Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotand
>> EH54 7DP
>>
>> * [hidden email]
>> ( 01506 407 110
>> 7  01506 407 108
>>
>>
>>
>>> -----Original Message-----
>>> From: Shaw, Richard A [mailto:[hidden email]]
>>> Sent: 21 March 2006 12:12
>>> To: [hidden email]
>>> Subject: RE: [ops-users] Simple sample
>>>
>>> That's closer to working.
>>>
>>> It now adds xforms-disabled to all my controls.
>>>
>>> I've added the following line to page-flow.xml in the resoures directory
>>>
>>> <page path-info="/ras/test" model="/ras/test/page-flow.xpl"/>
>>>
>>> And I'attached the complete contents of my /ras/test directory.
>>>
>>> Richard Shaw
>>>
>>> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>>>
>>> Atkins Transport Systems
>>> Woodcote Grove
>>> Ashley Road
>>> Epsom
>>> KT18 5BW
>>>
>>> Direct Dial.: +44 (0) 1372 756407
>>> Switchboard:  +44 (0) 1372 726140
>>> Fax:          +44 (0) 1372 740055
>>> www.atkinsglobal.com/transportsystems
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Ryan Puddephatt [mailto:[hidden email]]
>>> Sent: 21 March 2006 11:25
>>> To: [hidden email]
>>> Subject: RE: [ops-users] Simple sample
>>>
>>> Richard,
>>> What is your entry in the page-flow, if you are using the xforms=""
>>> attribute to specify the instance, it will use the classic instance, to
>>> change it to use the AJAX (NG Engine) remove this and place
>>>
>>> <xforms:model id="modelID">
>>>   <xforms:instance id="instance">
>>>      <instance>
>>>         <yourInstanceElements/>
>>>      </instance>
>>>   </xforms:instance>
>>> </xforms:model>
>>>
>>> Ryan
>>>
>>> Ryan Puddephatt
>>> Software Engineer
>>> TFX Group - IT UK
>>> 1 Michaelson Square
>>> Livingston
>>> West Lothian
>>> Scotand
>>> EH54 7DP
>>>
>>> * [hidden email]
>>> ( 01506 407 110
>>> 7  01506 407 108
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: [hidden email]
>>>> [mailto:[hidden email]]
>>>> Sent: 21 March 2006 11:21
>>>> To: [hidden email]
>>>> Subject: [ops-users] Simple sample
>>>>
>>>> Can somebody point me to a simple example of how to use OPS (with AJAX)
>>>> on my own site.
>>>>
>>>> I've created a directory resource and added an entry to page-flow.xml
>>>> to point to my pages here which their own page-flow.xml
>>>>
>>>> but when I run it, it is using the non-ajax version and I get an error
>>>> to say that triggers are not supported which I can see in the
>>>> xforms-to- xhtml.xsl.
>>>>
>>>> So how do make it use the ajax version ?
>>>>
>>>> Thanks
>>>>
>>>> Richard Shaw
>>>>
>>>
>>>
>>>
>>> This message has been scanned for viruses by MailControl - (see
>>> http://bluepages.wsatkins.co.uk/?4318150)
>>>
>>>
>>> This email and any attached files are confidential and copyright
>protected.
>>> If you are not the addressee, any dissemination of this communication is
>>> strictly prohibited. Unless otherwise expressly agreed in writing,
>nothing
>>> stated in this communication shall be legally binding.
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> My Hello World Journey Input Action: Origin:
>>> ------------------------------------------------------------------------
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]
>mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>
>>> ------------------------------------------------------------------------
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date:
>20.03.2006
>>>
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Simple sample

Shaw, Richard A
In reply to this post by Shaw, Richard A
I tried to make the appropriate edits to my original file as well with no joy. As soon as I changed to using the file you supplied it worked OK.

Thanks for the help - I'm on my way now (even though I don't know why it didn't work originally - besides 2 roots).


Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Atkins Transport Systems
Woodcote Grove
Ashley Road
Epsom
KT18 5BW

Direct Dial.: +44 (0) 1372 756407
Switchboard:  +44 (0) 1372 726140
Fax:          +44 (0) 1372 740055
www.atkinsglobal.com/transportsystems



-----Original Message-----
From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 21 March 2006 13:54
To: [hidden email]
Subject: RE: [ops-users] Simple sample

Clemens,
        I changed that and the references to it below, but it still didn't work! I recreated it in another file, which worked, copied it back into the original and it didn't again! In the end I had to create a new view.xhtml, which worked fine!

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Clemens Harder [mailto:[hidden email]]
>Sent: 21 March 2006 13:51
>To: [hidden email]
>Subject: Re: [ops-users] Simple sample
>
>Richard example uses an instance with two root nodes in instance. I
>think thats not working.
>
>He uses:
> <xforms:instance id="instance">
> <name/>
> <action/>
></xforms:instance>
>
>instead of:
>
><xforms:instance id="instance">
>     <instance>
>          <name/>
>          <action/>
>     </instance>
>
></xforms:instance>
>
>Greetings
>Clemens
>
>
>Ryan Puddephatt schrieb:
>> I don't know what was wrong with that, it didn't work for me, I've
>> sent another copy of view.xhtml, which works. Although it has
>> changed, I
>copied
>> this back into the original file, and it didn't work (very strange)
>>
>> Any way,
>>
>> I prefixed all the xhtml elements with xhtml (just cos I rewrote it,
>> you should be able to remove them again)
>>
>> You need to have a root element in the xforms:instance so I put
>> instance
>in
>> there
>>
>> I put the label "Action: " in an xforms:label again just to see what
>> the problem was and because I rewrote it
>>
>> Also /name won't work, you can do /instance/name, but I've put
>> instance('instance')/name in case you use multiple instance later in
>which
>> case it would be instance('instance2')/name etc.
>>
>> Ryan Puddephatt
>> Software Engineer
>> TFX Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotand
>> EH54 7DP
>>
>> * [hidden email]
>> ( 01506 407 110
>> 7  01506 407 108
>>
>>
>>
>>> -----Original Message-----
>>> From: Shaw, Richard A [mailto:[hidden email]]
>>> Sent: 21 March 2006 12:12
>>> To: [hidden email]
>>> Subject: RE: [ops-users] Simple sample
>>>
>>> That's closer to working.
>>>
>>> It now adds xforms-disabled to all my controls.
>>>
>>> I've added the following line to page-flow.xml in the resoures
>>> directory
>>>
>>> <page path-info="/ras/test" model="/ras/test/page-flow.xpl"/>
>>>
>>> And I'attached the complete contents of my /ras/test directory.
>>>
>>> Richard Shaw
>>>
>>> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>>>
>>> Atkins Transport Systems
>>> Woodcote Grove
>>> Ashley Road
>>> Epsom
>>> KT18 5BW
>>>
>>> Direct Dial.: +44 (0) 1372 756407
>>> Switchboard:  +44 (0) 1372 726140
>>> Fax:          +44 (0) 1372 740055
>>> www.atkinsglobal.com/transportsystems
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Ryan Puddephatt [mailto:[hidden email]]
>>> Sent: 21 March 2006 11:25
>>> To: [hidden email]
>>> Subject: RE: [ops-users] Simple sample
>>>
>>> Richard,
>>> What is your entry in the page-flow, if you are using the xforms=""
>>> attribute to specify the instance, it will use the classic instance,
>>> to change it to use the AJAX (NG Engine) remove this and place
>>>
>>> <xforms:model id="modelID">
>>>   <xforms:instance id="instance">
>>>      <instance>
>>>         <yourInstanceElements/>
>>>      </instance>
>>>   </xforms:instance>
>>> </xforms:model>
>>>
>>> Ryan
>>>
>>> Ryan Puddephatt
>>> Software Engineer
>>> TFX Group - IT UK
>>> 1 Michaelson Square
>>> Livingston
>>> West Lothian
>>> Scotand
>>> EH54 7DP
>>>
>>> * [hidden email]
>>> ( 01506 407 110
>>> 7  01506 407 108
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: [hidden email]
>>>> [mailto:[hidden email]]
>>>> Sent: 21 March 2006 11:21
>>>> To: [hidden email]
>>>> Subject: [ops-users] Simple sample
>>>>
>>>> Can somebody point me to a simple example of how to use OPS (with
>>>> AJAX) on my own site.
>>>>
>>>> I've created a directory resource and added an entry to
>>>> page-flow.xml to point to my pages here which their own
>>>> page-flow.xml
>>>>
>>>> but when I run it, it is using the non-ajax version and I get an
>>>> error to say that triggers are not supported which I can see in the
>>>> xforms-to- xhtml.xsl.
>>>>
>>>> So how do make it use the ajax version ?
>>>>
>>>> Thanks
>>>>
>>>> Richard Shaw
>>>>
>>>
>>>
>>>
>>> This message has been scanned for viruses by MailControl - (see
>>> http://bluepages.wsatkins.co.uk/?4318150)
>>>
>>>
>>> This email and any attached files are confidential and copyright
>protected.
>>> If you are not the addressee, any dissemination of this
>>> communication is strictly prohibited. Unless otherwise expressly
>>> agreed in writing,
>nothing
>>> stated in this communication shall be legally binding.
>>>
>>>
>>> --------------------------------------------------------------------
>>> ----
>>>
>>> My Hello World Journey Input Action: Origin:
>>> --------------------------------------------------------------------
>>> ----
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
>>> [hidden email]
>mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page:
>>> http://www.objectweb.org/wws
>>>
>>> --------------------------------------------------------------------
>>> ----
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date:
>20.03.2006
>>>
>





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Simple sample

Ryan Puddephatt
It is very strange!

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Shaw, Richard A [mailto:[hidden email]]
>Sent: 21 March 2006 14:01
>To: [hidden email]
>Subject: RE: [ops-users] Simple sample
>
>I tried to make the appropriate edits to my original file as well with no
>joy. As soon as I changed to using the file you supplied it worked OK.
>
>Thanks for the help - I'm on my way now (even though I don't know why it
>didn't work originally - besides 2 roots).
>
>
>Richard Shaw
>
>¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
>Atkins Transport Systems
>Woodcote Grove
>Ashley Road
>Epsom
>KT18 5BW
>
>Direct Dial.: +44 (0) 1372 756407
>Switchboard:  +44 (0) 1372 726140
>Fax:          +44 (0) 1372 740055
>www.atkinsglobal.com/transportsystems
>
>
>
>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 21 March 2006 13:54
>To: [hidden email]
>Subject: RE: [ops-users] Simple sample
>
>Clemens,
> I changed that and the references to it below, but it still didn't
>work! I recreated it in another file, which worked, copied it back into the
>original and it didn't again! In the end I had to create a new view.xhtml,
>which worked fine!
>
>Ryan Puddephatt
>Software Engineer
>TFX Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotand
>EH54 7DP
>
>* [hidden email]
>( 01506 407 110
>7  01506 407 108
>
>
>>-----Original Message-----
>>From: Clemens Harder [mailto:[hidden email]]
>>Sent: 21 March 2006 13:51
>>To: [hidden email]
>>Subject: Re: [ops-users] Simple sample
>>
>>Richard example uses an instance with two root nodes in instance. I
>>think thats not working.
>>
>>He uses:
>> <xforms:instance id="instance">
>> <name/>
>> <action/>
>></xforms:instance>
>>
>>instead of:
>>
>><xforms:instance id="instance">
>>     <instance>
>>          <name/>
>>          <action/>
>>     </instance>
>>
>></xforms:instance>
>>
>>Greetings
>>Clemens
>>
>>
>>Ryan Puddephatt schrieb:
>>> I don't know what was wrong with that, it didn't work for me, I've
>>> sent another copy of view.xhtml, which works. Although it has
>>> changed, I
>>copied
>>> this back into the original file, and it didn't work (very strange)
>>>
>>> Any way,
>>>
>>> I prefixed all the xhtml elements with xhtml (just cos I rewrote it,
>>> you should be able to remove them again)
>>>
>>> You need to have a root element in the xforms:instance so I put
>>> instance
>>in
>>> there
>>>
>>> I put the label "Action: " in an xforms:label again just to see what
>>> the problem was and because I rewrote it
>>>
>>> Also /name won't work, you can do /instance/name, but I've put
>>> instance('instance')/name in case you use multiple instance later in
>>which
>>> case it would be instance('instance2')/name etc.
>>>
>>> Ryan Puddephatt
>>> Software Engineer
>>> TFX Group - IT UK
>>> 1 Michaelson Square
>>> Livingston
>>> West Lothian
>>> Scotand
>>> EH54 7DP
>>>
>>> * [hidden email]
>>> ( 01506 407 110
>>> 7  01506 407 108
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Shaw, Richard A [mailto:[hidden email]]
>>>> Sent: 21 March 2006 12:12
>>>> To: [hidden email]
>>>> Subject: RE: [ops-users] Simple sample
>>>>
>>>> That's closer to working.
>>>>
>>>> It now adds xforms-disabled to all my controls.
>>>>
>>>> I've added the following line to page-flow.xml in the resoures
>>>> directory
>>>>
>>>> <page path-info="/ras/test" model="/ras/test/page-flow.xpl"/>
>>>>
>>>> And I'attached the complete contents of my /ras/test directory.
>>>>
>>>> Richard Shaw
>>>>
>>>> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>>>>
>>>> Atkins Transport Systems
>>>> Woodcote Grove
>>>> Ashley Road
>>>> Epsom
>>>> KT18 5BW
>>>>
>>>> Direct Dial.: +44 (0) 1372 756407
>>>> Switchboard:  +44 (0) 1372 726140
>>>> Fax:          +44 (0) 1372 740055
>>>> www.atkinsglobal.com/transportsystems
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Ryan Puddephatt [mailto:[hidden email]]
>>>> Sent: 21 March 2006 11:25
>>>> To: [hidden email]
>>>> Subject: RE: [ops-users] Simple sample
>>>>
>>>> Richard,
>>>> What is your entry in the page-flow, if you are using the xforms=""
>>>> attribute to specify the instance, it will use the classic instance,
>>>> to change it to use the AJAX (NG Engine) remove this and place
>>>>
>>>> <xforms:model id="modelID">
>>>>   <xforms:instance id="instance">
>>>>      <instance>
>>>>         <yourInstanceElements/>
>>>>      </instance>
>>>>   </xforms:instance>
>>>> </xforms:model>
>>>>
>>>> Ryan
>>>>
>>>> Ryan Puddephatt
>>>> Software Engineer
>>>> TFX Group - IT UK
>>>> 1 Michaelson Square
>>>> Livingston
>>>> West Lothian
>>>> Scotand
>>>> EH54 7DP
>>>>
>>>> * [hidden email]
>>>> ( 01506 407 110
>>>> 7  01506 407 108
>>>>
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: [hidden email]
>>>>> [mailto:[hidden email]]
>>>>> Sent: 21 March 2006 11:21
>>>>> To: [hidden email]
>>>>> Subject: [ops-users] Simple sample
>>>>>
>>>>> Can somebody point me to a simple example of how to use OPS (with
>>>>> AJAX) on my own site.
>>>>>
>>>>> I've created a directory resource and added an entry to
>>>>> page-flow.xml to point to my pages here which their own
>>>>> page-flow.xml
>>>>>
>>>>> but when I run it, it is using the non-ajax version and I get an
>>>>> error to say that triggers are not supported which I can see in the
>>>>> xforms-to- xhtml.xsl.
>>>>>
>>>>> So how do make it use the ajax version ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Richard Shaw
>>>>>
>>>>
>>>>
>>>>
>>>> This message has been scanned for viruses by MailControl - (see
>>>> http://bluepages.wsatkins.co.uk/?4318150)
>>>>
>>>>
>>>> This email and any attached files are confidential and copyright
>>protected.
>>>> If you are not the addressee, any dissemination of this
>>>> communication is strictly prohibited. Unless otherwise expressly
>>>> agreed in writing,
>>nothing
>>>> stated in this communication shall be legally binding.
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>> ----
>>>>
>>>> My Hello World Journey Input Action: Origin:
>>>> --------------------------------------------------------------------
>>>> ----
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the
>>>> [hidden email]
>>mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> ObjectWeb mailing lists service home page:
>>>> http://www.objectweb.org/wws
>>>>
>>>> --------------------------------------------------------------------
>>>> ----
>>>>
>>>> No virus found in this incoming message.
>>>> Checked by AVG Free Edition.
>>>> Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date:
>>20.03.2006
>>>>
>>
>
>
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws