You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Terry Brick <te...@yahoo.com> on 2004/06/30 17:34:44 UTC
Where on earth is the "forms" JS function used in examples?
Maybe somebody can try to answer this one.
In...
samples\blocks\forms\forms\sitemap.xmap
...there is...
<map:call function="forms">
Doesn't this typically mean there should be a Javascript function called "forms"?? I've looked
EVERYWHERE. I finally gave up and spent time writing my own version of what it was doing. Which
wasn't too bad (after a lot of trial and error and guessing) but it's frustrating.. and I'm really
curious... although I'm sure I'll feel silly when (if) somebody tells me the answer. Where is
this phantom function?
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Where on earth is the "forms" JS function used in examples?
Posted by Joerg Heinicke <jo...@gmx.de>.
On 30.06.2004 17:34, Terry Brick wrote:
> Maybe somebody can try to answer this one.
>
> In...
> samples\blocks\forms\forms\sitemap.xmap
> ...there is...
> <map:call function="forms">
>
> Doesn't this typically mean there should be a Javascript function called "forms"?? I've looked
> EVERYWHERE. I finally gave up and spent time writing my own version of what it was doing. Which
> wasn't too bad (after a lot of trial and error and guessing) but it's frustrating.. and I'm really
> curious... although I'm sure I'll feel silly when (if) somebody tells me the answer. Where is
> this phantom function?
It's at
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/flow/javascript/Form.js?annotate=1.18#248.
You seem to have an older version of this file (the method is renamed to
handleForm() in the meantime) or even an older file but it should be at
the same place.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org