Confirmed that this is fixed in latest unstable build but not in 2.6 release.

Thanks for the help!

Jim Partin
CSC



----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
----------------------------------------------------------------------------------------



Erik Bruchez <ebruchez
@orbeon.com>

Sent by: orbeon-user-admin

12/16/2004 04:55 PM
Please respond to orbeon-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: [orbeon-user] Namespaces in instance data and page flow



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 = '' and
not(/form/document//[EMAIL PROTECTED]:valid = 'false' and
not(ancestor-or-self::[EMAIL PROTECTED]:relevant = 'false'])])"
action="">
-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