ok, I got rid of all <fb:javascript> inside this <fb:on-bind> and now it
works again. strange.
> <fb:on-bind><!-- executed on updates AND right after the insert -->
> <fb:javascript id="id" path="@id" direction="save">
> <fb:save-form>
> var appValue = jxpathPointer.getValue();
> if (appValue == '') {
> var precSiblId =
> jxpathContext.getValue("../preceding-sibling::member/@id");
> var newId = Number(precSiblId) + 2
> jxpathPointer.setValue(newId.toFixed(0));
> }
> </fb:save-form>
> </fb:javascript>
>
> <fb:value id="team_member-name" path="name"/>
> <fb:value id="team_member-contact" path="contact"/>
> </fb:on-bind>
>
still I cannot edit a file via a binding form inside my portal. and I
don't get any errors in my cocoon.log nor portal.log. the debugger shows
that all functions are executed fine, no exceptions, but when cocoon
comes to the point where it should display the page, the functions are
exited, but the page doesn't show. I compared the logs for the same page
when accessed inside and outside the portal, and they didn't show any
key differences, except that displaying the form in one is called via a
cocoon-portal-events and in the other by the URI, for which the reason
is obvious. but still I don't get what I have done wrong, or where I
could look, since there are no error messages. I can post the logs, if
anyone wants to see them, but this seems to me to be a more general error.
any ideas anyone?
TIA
christian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]