Guys,

I have a SQL processor such as:

                        <p:processor uri="oxf/processor/sql">
                                <p:input name="data" href="#instance" />
                                <p:input name="config">
                                        <sql:config 
xmlns:sql="http://orbeon.org/oxf/xml/sql";>
                                                <sql:connection>
                                                        
<sql:datasource>pg</sql:datasource>
                                                        <sql:execute>
                                                                <sql:query>select 
count(*) as count from users where username=
<sql:parameter type="xs:string" select="/form/username"/> and password =
<sql:parameter type="xs:string" select="/form/password"/></sql:query>
                                                                <sql:results>
                                                                        <results>
                                                                                
<sql:row-results>
                                                                                       
 <sql:get-column type="xs:int" column="count"/>
                                                                                
</sql:row-results>
                                                                        </results>
                                                                </sql:results>
                                                        </sql:execute>
                                                </sql:connection>
                                        </sql:config>
                                </p:input>
                                <p:output name="data" id="sql_data_1"/>
                        </p:processor>

that is wrapped in a:

<p:choose href="#instance">
                <p:when test="/form/action = 'login_attempt'">
                ...

Im tailing my logs and the DB isnt getting hit at all. Even after a tomcat
restart. Attached is my whole xpl doc.

Any Clues?

Matt



Matt Allen
Client Services Director - 0413 777 771
River Dynamics
Winner, Innovation In Claims Management
            - 2003 Australasian Claims Expo

Attachment: model.xpl
Description: Binary data

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to