WFYAHOO_widget_PhocoaDialog
SwissalpS opened this issue · comments
I've got a WFYAHOO_widget_PhocoaDialog set up as it is in the examples/ajax/container
as a child I have a WFModuleView with it's targetRootModule property set to false
now when I set the invocationPath statically it works.
but when I bind invocationPath with ValuePattern (resulting in the same path as when I set statically, I've tested this with a WFLabel and the wf.log shows the same final value) I get an error: Problem submitting XHR request.
the same error msg is shown when I set the invocationPath from the module using $page->outlet('WFModuleViewName')->setValueForKey('the/invocation/path', 'invocationPath');
Is the page online somewhere for me to see? Hard to say what's going on without seeing it in action.
have responded to your .me email account
I can hardly believe my eyes:
ValuePattern : bridge/media/%1%
works but
ValuePattern: /bridge/media/%1%
will throw the error.
LEADING '/' IS BAD at least in this case
Ah actually that makes sense. Invocation Paths don't have leading /. Only URLs do. The difference is subtle.
I actually did think about that but I couldn't figure out why it was failing before even loading the XHR... glad you found it!