integrate an existing block in a page

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

integrate an existing block in a page

ricetrac

Hello,

 

I should to develop several pages which share a same block.

What is the best way to integrate a block in different xhtml pages ?

 

Thank You.

 

Julien.

 


Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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: integrate an existing block in a page

Hank Ratzesberger-2
<base href="x-msg://187/">
Hi Julien,

I hesitate to answer any question requesting "the best way" as I 
more likely will offer "a way that worked for me once, and maybe
still does..."

In any case, what about xinclude the block? I use this for footers on 
my page.  The footers even include the date of the last update, 
which may be a static instance in the model or updated when 
responding to the xforms-model-ready.  I.e., I use xforms within
the included block.

Cheers,
Hank


On Aug 16, 2010, at 9:19 AM, Bittard, Julien wrote:

Hello,
 
I should to develop several pages which share a same block.
What is the best way to integrate a block in different xhtml pages ?
 
Thank You.
 
Julien.
 

Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
University of California, Santa Barbara
805-893-8042








--
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: integrate an existing block in a page

ricetrac
<base href="x-msg://187/">

Hi Hank,

 

Thank You for your reponse.

Can you send me an example of your footers ?

 

Thank You.

 

Julien.

 

De : Hank Ratzesberger [mailto:[hidden email]]
Envoyé : mercredi 18 août 2010 17:30
À : [hidden email]
Objet : [ops-users] Re: integrate an existing block in a page

 

Hi Julien,

 

I hesitate to answer any question requesting "the best way" as I 

more likely will offer "a way that worked for me once, and maybe

still does..."

 

In any case, what about xinclude the block? I use this for footers on 

my page.  The footers even include the date of the last update, 

which may be a static instance in the model or updated when 

responding to the xforms-model-ready.  I.e., I use xforms within

the included block.

 

Cheers,

Hank

 

 

On Aug 16, 2010, at 9:19 AM, Bittard, Julien wrote:



Hello,

 

I should to develop several pages which share a same block.

What is the best way to integrate a block in different xhtml pages ?

 

Thank You.

 

Julien.

 


Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 

Hank Ratzesberger

NEES@UCSB

Earth Research Institute

University of California, Santa Barbara

805-893-8042

 

 

 



 


Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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: integrate an existing block in a page

Hank Ratzesberger-2
<base href="x-msg://187/">Hi Julien,

I put the main file together with the included file in Pastie:


There is also a bind element showing how you can update a "last-modified" date when the 
page is loaded, i.e., you can XInclude documents with XForms markup in them. 

Note that you will want to have a doctype in your XInclude files so you can reference 
html entities.

 (And that in my example, the reference is to a local copy of the W3C DTD file).

Cheers,
Hank

On Aug 20, 2010, at 3:26 AM, Bittard, Julien wrote:

Hi Hank,
 
Thank You for your reponse.
Can you send me an example of your footers ?
 
Thank You.
 
Julien.
 
De : Hank Ratzesberger [mailto:[hidden email]] 
Envoyé : mercredi 18 août 2010 17:30
À : [hidden email]
Objet : [ops-users] Re: integrate an existing block in a page
 
Hi Julien,
 
I hesitate to answer any question requesting "the best way" as I 
more likely will offer "a way that worked for me once, and maybe
still does..."
 
In any case, what about xinclude the block? I use this for footers on 
my page.  The footers even include the date of the last update, 
which may be a static instance in the model or updated when 
responding to the xforms-model-ready.  I.e., I use xforms within
the included block.
 
Cheers,
Hank
 
 
On Aug 16, 2010, at 9:19 AM, Bittard, Julien wrote:


Hello,
 
I should to develop several pages which share a same block.
What is the best way to integrate a block in different xhtml pages ?
 
Thank You.
 
Julien.
 

Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
 
Hank Ratzesberger
NEES@UCSB
Earth Research Institute
University of California, Santa Barbara
805-893-8042
 
 
 


 

Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Earth Research Institute
University of California, Santa Barbara
805-893-8042








--
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: integrate an existing block in a page

ricetrac
<base href="x-msg://187/">

Hello,

 

It works fine, thank you.

 

Julien.

 

De : Hank Ratzesberger [mailto:[hidden email]]
Envoyé : vendredi 20 août 2010 16:55
À : [hidden email]
Objet : [ops-users] Re: RE: Re: integrate an existing block in a page

 

Hi Julien,

 

I put the main file together with the included file in Pastie:

 

 

There is also a bind element showing how you can update a "last-modified" date when the 

page is loaded, i.e., you can XInclude documents with XForms markup in them. 

 

Note that you will want to have a doctype in your XInclude files so you can reference 

html entities.

 

 (And that in my example, the reference is to a local copy of the W3C DTD file).

 

Cheers,

Hank

 

On Aug 20, 2010, at 3:26 AM, Bittard, Julien wrote:



Hi Hank,

 

Thank You for your reponse.

Can you send me an example of your footers ?

 

Thank You.

 

Julien.

 

De : Hank Ratzesberger [mailto:[hidden email]] 
Envoyé : mercredi 18 août 2010 17:30
À : [hidden email]
Objet : [ops-users] Re: integrate an existing block in a page

 

Hi Julien,

 

I hesitate to answer any question requesting "the best way" as I 

more likely will offer "a way that worked for me once, and maybe

still does..."

 

In any case, what about xinclude the block? I use this for footers on 

my page.  The footers even include the date of the last update, 

which may be a static instance in the model or updated when 

responding to the xforms-model-ready.  I.e., I use xforms within

the included block.

 

Cheers,

Hank

 

 

On Aug 16, 2010, at 9:19 AM, Bittard, Julien wrote:




Hello,

 

I should to develop several pages which share a same block.

What is the best way to integrate a block in different xhtml pages ?

 

Thank You.

 

Julien.

 


Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 

Hank Ratzesberger

NEES@UCSB

Earth Research Institute

University of California, Santa Barbara

805-893-8042

 

 

 




 


Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 

Hank Ratzesberger

NEES@UCSB

Earth Research Institute

University of California, Santa Barbara

805-893-8042

 

 

 



 


Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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