xxforms:variable

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

xxforms:variable

Ryan Puddephatt-3

Hi,

                I’ve tried using xxforms:variable, but it doesn’t seem to be working, any ideas?

 

                      <xxforms:variable name="VAR" select="/some path"/>

               

                  <xforms:action if="$VAR='true'">

                        <xforms:setvalue ref="instance('error')" value="$VAR"/>

                  </xforms:action>

 

Ryan

 

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

Ryan Puddephatt

Connectivity Developer

Fidessa LatentZero

1 Old Jewry

London EC2R 8DN

Office: +44 (0) 20 7105 1000

Direct: +44 (0) 20 7105 1821

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7105 1818

Email: [hidden email]

Web: http://www.latentzero.com

 


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: xxforms:variable

Ryan Puddephatt-3

Actually it was my syntax, that works perfectly

 

I’m having trouble debugging the value in the xxforms:variable

 

What should I add to the log4j.xml to target that code?

 

Thanks

 

Ryan

 

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

Ryan Puddephatt

Connectivity Developer

Fidessa LatentZero

1 Old Jewry

London EC2R 8DN

Office: +44 (0) 20 7105 1000

Direct: +44 (0) 20 7105 1821

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7105 1818

Email: [hidden email]

Web: http://www.latentzero.com

 

From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 22 December 2008 17:48
To: [hidden email]
Subject: [ops-users] xxforms:variable

 

Hi,

                I’ve tried using xxforms:variable, but it doesn’t seem to be working, any ideas?

 

                      <xxforms:variable name="VAR" select="/some path"/>

               

                  <xforms:action if="$VAR='true'">

                        <xforms:setvalue ref="instance('error')" value="$VAR"/>

                  </xforms:action>

 

Ryan

 

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

Ryan Puddephatt

Connectivity Developer

Fidessa LatentZero

1 Old Jewry

London EC2R 8DN

Office: +44 (0) 20 7105 1000

Direct: +44 (0) 20 7105 1821

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7105 1818

Email: [hidden email]

Web: http://www.latentzero.com

 


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: xxforms:variable

Alessandro Vernet
Administrator
Ryan,

You can use the action:

<xforms:message level="'xxforms:log-debug">My variable value is:  
<xforms:output value="$var"/></xforms:message>

This will log your message at the debut level through the Log4j API  
(in most cases ending up in the orbeon.log).

Alex

On Dec 22, 2008, at 7:17 PM, "Ryan Puddephatt" <[hidden email]
 > wrote:

>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: xxforms:variable

Ryan Puddephatt-3
In reply to this post by Ryan Puddephatt-3
Perfect thanks alex, is there a similar xxforms:log-info?

Ryan
-----------------------------------------------
Ryan Puddephatt
Connectivity Developer
Fidessa LatentZero
1 Old Jewry
London EC2R 8DN
Office: +44 (0) 20 7105 1000
Direct: +44 (0) 20 7105 1821
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7105 1818
Email: [hidden email]
Web: http://www.latentzero.com


----- Original Message -----
From: Alessandro Vernet <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Wed Dec 24 13:56:05 2008
Subject: [ops-users] Re: RE: xxforms:variable

Ryan,

You can use the action:

<xforms:message level="'xxforms:log-debug">My variable value is:  
<xforms:output value="$var"/></xforms:message>

This will log your message at the debut level through the Log4j API  
(in most cases ending up in the orbeon.log).

Alex

On Dec 22, 2008, at 7:17 PM, "Ryan Puddephatt" <[hidden email]
 > wrote:

>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: RE: xxforms:variable

Erik Bruchez
Administrator
Yes, all the levels you have in log4j:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-message

-Erik

On Dec 26, 2008, at 5:15 PM, Ryan Puddephatt wrote:

> Perfect thanks alex, is there a similar xxforms:log-info?
>
> Ryan
> -----------------------------------------------
> Ryan Puddephatt
> Connectivity Developer
> Fidessa LatentZero
> 1 Old Jewry
> London EC2R 8DN
> Office: +44 (0) 20 7105 1000
> Direct: +44 (0) 20 7105 1821
> Blackberry: +44 (0) 79 8539 2458
> Fax: +44 (0) 20 7105 1818
> Email: [hidden email]
> Web: http://www.latentzero.com
>
>
> ----- Original Message -----
> From: Alessandro Vernet <[hidden email]>
> To: [hidden email] <[hidden email]>
> Sent: Wed Dec 24 13:56:05 2008
> Subject: [ops-users] Re: RE: xxforms:variable
>
> Ryan,
>
> You can use the action:
>
> <xforms:message level="'xxforms:log-debug">My variable value is:
> <xforms:output value="$var"/></xforms:message>
>
> This will log your message at the debut level through the Log4j API
> (in most cases ending up in the orbeon.log).
>
> Alex
>
> On Dec 22, 2008, at 7:17 PM, "Ryan Puddephatt" <[hidden email]
>> wrote:
>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> _______________________________________________________________________
> The information transmitted is intended only for the person or  
> entity to which it is addressed and may contain confidential and/or  
> privileged material. Any review, retransmission, dissemination or  
> other use of, or taking of any action in reliance upon, this  
> information by persons or entities other than the intended recipient  
> is prohibited. If you received this in error, please contact the  
> sender and delete the material from any computer.
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by Verizon Business  
> Internet Managed Scanning Services - powered by MessageLabs. For  
> further information visit http://www.mci.com
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: RE: xxforms:variable

Alessandro Vernet
Administrator
In reply to this post by Ryan Puddephatt-3
Ryan,

Yes, exactly. And all the other standard log4j log levels are  
available as well (even if I don't personally remember using levels  
other than "error", "info", and "debug").

Alex

On Dec 26, 2008, at 10:15 AM, "Ryan Puddephatt" <[hidden email]
 > wrote:

> Perfect thanks alex, is there a similar xxforms:log-info?
>
> Ryan
> -----------------------------------------------
> Ryan Puddephatt
> Connectivity Developer
> Fidessa LatentZero
> 1 Old Jewry
> London EC2R 8DN
> Office: +44 (0) 20 7105 1000
> Direct: +44 (0) 20 7105 1821
> Blackberry: +44 (0) 79 8539 2458
> Fax: +44 (0) 20 7105 1818
> Email: [hidden email]
> Web: http://www.latentzero.com
>
>
> ----- Original Message -----
> From: Alessandro Vernet <[hidden email]>
> To: [hidden email] <[hidden email]>
> Sent: Wed Dec 24 13:56:05 2008
> Subject: [ops-users] Re: RE: xxforms:variable
>
> Ryan,
>
> You can use the action:
>
> <xforms:message level="'xxforms:log-debug">My variable value is:
> <xforms:output value="$var"/></xforms:message>
>
> This will log your message at the debut level through the Log4j API
> (in most cases ending up in the orbeon.log).
>
> Alex
>
> On Dec 22, 2008, at 7:17 PM, "Ryan Puddephatt" <[hidden email]
>> wrote:
>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> _______________________________________________________________________
 

> The information transmitted is intended only for the person or  
> entity to which it is addressed and may contain confidential and/or  
> privileged material. Any review, retransmission, dissemination or  
> other use of, or taking of any action in reliance upon, this  
> information by persons or entities other than the intended recipient  
> is prohibited. If you received this in error, please contact the  
> sender and delete the material from any computer.
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by Verizon Business  
> Internet Managed Scanning Services - powered by MessageLabs. For  
> further information visit http://www.mci.com
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws