[EMAIL PROTECTED] wrote:

On 5/3/06, Andrew Golightly <[EMAIL PROTECTED]> wrote:

Unfortunately I couldn't get it to work.

Firstly, I am using lenya 1.4. I need to use this version for various
reasons.

Basically, after following the steps, and appending
?lenya.usecase=contact to any url, i get a 404 page.

any obvious thoughts from there?


The code is there; you just need to figure how to call it.

Did you move "usecase-contact.xmap" to the pub directory?  With
Lenya1.2, that file is the hook into the Usecase framework.  I cannot
tell from the documentation if Lenya1.4 Usecases are
backwards-compatible with Lenya1.2 Usecases :
  http://lenya.apache.org/1_4/reference/usecase-framework/index.html
It seems you may need additional configuration to make it work.

Hi there.

Thanks for the info. It looks like I've got it calling it, as my terminal is printing out: "### CONTACT US ###". So code.js is definitely being called.

I tried this suggestion:
------
5. Depending on how this module is called, the following change to "template.xml" may be necessary.
CHANGE:
<ft:form-template action="#{$continuation/id}.more" method="POST">
TO:
<ft:form-template action="#{$continuation/id}.more?lenya.usecase=contact" method="POST">
--------
But that, unfortunately, made no difference.

So to summarise my current error: If I add the suffix "?lenya.usecase=contact" to page resources.html (a page that normally works fine), I'll get the error: "The requested document '/resources.html' with document-id '/resources' does not exist."

hth in working towards solving this :)
thanks,
Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to