I'm having trouble getting actions to work in my page flow when my instance data is in a namespace.

An abbreviated example (excluding XForm) is:

* XForms model/instance:

<xforms:model xmlns:xforms="http://www.w3.org/2002/xforms">
        <xforms:instance>
                <search xmlns="Riskmaster.Application.Search" soundex="" action="">
                            <searchfields>
                                <field name="CLAIM_NUMBER" table="CLAIM" type="text"/>
                      </searchfields>
                </search>
        </xforms:instance>
      <xforms:submission id="search-screen" method="post" />
</xforms:model>


* Page flow:

<page id="search-screen" path-info='/search-screen' xforms='search-instance.xml' model='oxf:/search-screen.xpl' view='searchinside.xml'>
    <action when="/search/@action = ''">
        <result page="search-display"/>
    </action>
</page>

---------------------------------------------------------------

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.

Thanks,
Jim Partin
CSC

Reply via email to