Thanks for the help, John.
I have installed the current version of ruote-web from git repository.

Now, in a clean instalation, I configure the option
remote_definitions_allowed to true. Then, everything works if I call
to subprocess by the way:
<subprocess ref="http://localhost:3000/process_definitions/
simple_sequence_1.xml" />

But... If I want to use a relative path like:
<subprocess ref="/process_definitions/simple_sequence_1.xml" />
the call return a RuntimeError:
exception : did not find any subprocess named '/process_definitions/
simple_sequence_1.xml'

I have tried with next relative paths:
/public/process_definitions/simple_sequence_1.xml
public/process_definitions/simple_sequence_1.xml
/process_definitions/simple_sequence_1.xml
process_definitions/simple_sequence_1.xml
./simple_sequence_1.xml
simple_sequence_1.xml

but none works. is it possible to use relative paths?

Thanks again.
Diego.

On Apr 29, 3:52 am, "John Mettraux" <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 29, 2008 at 12:56 AM, Diego Moreno <[EMAIL PROTECTED]> wrote:
>
> >  I was experimenting with densha and when I create one process
> >  definition like test_subprocess.xml:
>
> >  <process-definition name="test_subprocess" revision="1">
> >         <description>
> >                 Test Subprocess
> >         </description>
> >         <sequence>
> >                 <subprocess ref="http://localhost:3000/process_definitions/
> >  simple_sequence_1.xml" />
> >         </sequence>
> >  </process-definition>
>
> >  Here, I just calling to simple_sequence_1.xml as a subprocess. When I
> >  launch the test_subprocess, densha says "launched process" but nothing
> >  happens. Is there any syntax error in the xml definition?
>
> Hello Diego,
>
> log in as "admin" and have a look at the "(admin) processes" tab. The
> main process (test_subprocess) should be present there. There is
> probably an error of some sort, it will be displayed there.
>
> I guess that the issue is that Densha, by default, does not allow
> [sub]processes referenced by an URI. <subprocess
> ref="public/process_definitions/simple_sequence_1.xml"/> should work
> though.
>
> If you really want to activate "remote process definitions", you can
> add this line to densha/config/openwferu_engine.rb :
>
>     ac[:remote_definitions_allowed] = true
>
> after
>
>     ac[:dynamic_eval_allowed] = true
>
> I hope this helps, best regards,
>
> --
> John Mettraux -http://jmettraux.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to