Moving XForms elements in the theme

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

Moving XForms elements in the theme

Ryan Puddephatt-3

All,

                I’m trying to create a generic theme, where I can add side <div> element to my page (with xforms controls), by having something like

 

<theme:sidebar>

                <xforms:trigger...

</theme:sidebar>

 

In the xhtml:body, this will then be moved to the relevant <div/> container in my theme.xsl

 

The problem is applying this seems to stop the xforms functionality, and I’m not sure why, any ideas?

 

I don’t have a xforms-sandbox example, due to the nature of the problem, but I could get together an example if needed

 

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 1812

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: Moving XForms elements in the theme

Alessandro Vernet
Administrator
Hi Ryan,

If you modified the theme stylesheet, since it runs after the XForms processing, I don't see how it could interfere with the XForms processing. At worse, the XForms you generate in your theme won't be processed, but that should not stop the processing of the rest of the XForms. Does this make sense or am I missing something?

Alex

On Dec 15, 2008, at 12:03 PM, "Ryan Puddephatt" <[hidden email]> wrote:

All,

                I’m trying to create a generic theme, where I can add side <div> element to my page (with xforms controls), by having something like

 

<theme:sidebar>

                <xforms:trigger...

</theme:sidebar>

 

In the xhtml:body, this will then be moved to the relevant <div/> container in my theme.xsl

 

The problem is applying this seems to stop the xforms functionality, and I’m not sure why, any ideas?

 

I don’t have a xforms-sandbox example, due to the nature of the problem, but I could get together an example if needed

 

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 1812

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: [hidden email]
For general help: [hidden email]
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: Moving XForms elements in the theme

Ryan Puddephatt-3

Alex,

                I’ve found the problem, my theme was moving elements outside the <form/> element so I was getting script failures....good old firebug helped me find it

 

Thanks

 

Ryan

 

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

Ryan Puddephatt

Connectivity Consultant

Fidessa LatentZero

1 Old Jewry

London EC2R 8DN

Office: +44 (0) 20 7105 1000

Direct: +44 (0) 20 7105 1812

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7105 1818

Email: [hidden email]

Web: http://www.latentzero.com

 

From: Alessandro Vernet [mailto:[hidden email]]
Sent: 17 December 2008 01:26
To: [hidden email]
Subject: [ops-users] Re: Moving XForms elements in the theme

 

Hi Ryan,

If you modified the theme stylesheet, since it runs after the XForms processing, I don't see how it could interfere with the XForms processing. At worse, the XForms you generate in your theme won't be processed, but that should not stop the processing of the rest of the XForms. Does this make sense or am I missing something?

Alex


On Dec 15, 2008, at 12:03 PM, "Ryan Puddephatt" <[hidden email]> wrote:

All,

                I’m trying to create a generic theme, where I can add side <div> element to my page (with xforms controls), by having something like

 

<theme:sidebar>

                <xforms:trigger...

</theme:sidebar>

 

In the xhtml:body, this will then be moved to the relevant <div/> container in my theme.xsl

 

The problem is applying this seems to stop the xforms functionality, and I’m not sure why, any ideas?

 

I don’t have a xforms-sandbox example, due to the nature of the problem, but I could get together an example if needed

 

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 1812

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: [hidden email]
For general help: [hidden email]
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