Jim A Partin wrote:

The <action> has no effect - no error but also doesn't route to search-display page. I have modified the example to remove namespace from the instance and everything starts to work.

Question: I am assuming this is a problem with namespace (I could be wrong). Is there a way to add namespace prefixes to the WHEN ? I have not found a way.

Absolutely: just declare a mapping on the <action> element or in any parent element (it can even be the <config> element of the PFC), e.g.:


<config xmlns:abc="Riskmaster.Application.Search">
  ...
  <action when="/abc:search/@action">
    ...

I remember that a bug about handling namespaces at that point was fixed recently, but I don't remember if it was included in 2.6 or not. At any rate this works with the current CVS. The BizDoc example uses this:

<action when="/form/action = 'save' and not(/form/document//[EMAIL PROTECTED]:valid = 'false' and not(ancestor-or-self::[EMAIL PROTECTED]:relevant = 'false'])])" action="detail/save-document-action.xpl">

-Erik


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to