Page Flow Epilogue

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

Page Flow Epilogue

Phani S
I need to add a menu and header and footer to all my pages. I saw that it can be done using Page Flow Epilogue. I don't know how to start. Please help me. Please provide any samples if available.

Thanks in advance.

--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9453799211


--
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: Page Flow Epilogue

Jeroen Hoffman
Hi,

This sounds like you need to write your own theme, that you specify in the
epilogue by property oxf.epilogue.theme (or oxf.epilogue.theme.embeddable if you
use portlet/embeddable mode)

In post 3.7.1 nightlies, you can have even a theme on a per app basis just by
specifying theme.xsl (or theme-embeddable.xsl) in your application. See Alex'
comments in this thread:
http://www.nabble.com/oxf.epilogue.embeddable%3Dtrue-leads-to-non-XML-pipeline-output-td24219871.html

Jeroen Hoffman




Phani Sajja wrote:

> I need to add a menu and header and footer to all my pages. I saw that
> it can be done using Page Flow Epilogue. I don't know how to start.
> Please help me. Please provide any samples if available.
>
> Thanks in advance.
>
> --
> Phani. S
> M.Tech(Software Engineering)
> Motilal Nehru National Institute of Technology
> (+91) 9453799211
>


--
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: Page Flow Epilogue

Phani S
Hi Jeroen,
    What I understood from your comment and alex comment on the given link, first I need to have my own epilogue. My application's page-flow.xml points to the epilogue which I wrote instead of standard epilogue. I also need to write the sub-epilogue instead of using standard servlet-epilogue. This servlet-epilogue points to the theme which I need to write for my own application. This theme has code necessary to include header, footer, menu etc for each page in the application.

If I am wrong at some point please correct me.

Thanks in Advance.

On Thu, Jul 9, 2009 at 4:54 PM, Jeroen Hoffman <[hidden email]> wrote:
Hi,

This sounds like you need to write your own theme, that you specify in the epilogue by property oxf.epilogue.theme (or oxf.epilogue.theme.embeddable if you use portlet/embeddable mode)

In post 3.7.1 nightlies, you can have even a theme on a per app basis just by specifying theme.xsl (or theme-embeddable.xsl) in your application. See Alex' comments in this thread: http://www.nabble.com/oxf.epilogue.embeddable%3Dtrue-leads-to-non-XML-pipeline-output-td24219871.html

Jeroen Hoffman





Phani Sajja wrote:
I need to add a menu and header and footer to all my pages. I saw that it can be done using Page Flow Epilogue. I don't know how to start. Please help me. Please provide any samples if available.

Thanks in advance.

--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9453799211




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




--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9010093398


--
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: Page Flow Epilogue

Jeroen Hoffman

I'm sorry but the thing is to write a theme and configure that in the default
epilogue. This means that you do _not_ need to write a custom epilogue, just
setting property oxf.epilogue.theme. The default epilogue reads from that property.

You can specify the property by creating a properties-local.xml file that
overrides default properties, see
http://www.orbeon.com/ops/doc/reference-properties#d21e11.

HTH
Jeroen






Phani Sajja wrote:

> Hi Jeroen,
>     What I understood from your comment and alex comment on the given
> link, first I need to have my own epilogue. My application's
> page-flow.xml points to the epilogue which I wrote instead of standard
> epilogue. I also need to write the sub-epilogue instead of using
> standard servlet-epilogue. This servlet-epilogue points to the theme
> which I need to write for my own application. This theme has code
> necessary to include header, footer, menu etc for each page in the
> application.
>
> If I am wrong at some point please correct me.
>
> Thanks in Advance.
>
> On Thu, Jul 9, 2009 at 4:54 PM, Jeroen Hoffman <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>
>     This sounds like you need to write your own theme, that you specify
>     in the epilogue by property oxf.epilogue.theme (or
>     oxf.epilogue.theme.embeddable if you use portlet/embeddable mode)
>
>     In post 3.7.1 nightlies, you can have even a theme on a per app
>     basis just by specifying theme.xsl (or theme-embeddable.xsl) in your
>     application. See Alex' comments in this thread:
>     http://www.nabble.com/oxf.epilogue.embeddable%3Dtrue-leads-to-non-XML-pipeline-output-td24219871.html
>
>     Jeroen Hoffman
>
>
>
>
>
>     Phani Sajja wrote:
>
>         I need to add a menu and header and footer to all my pages. I
>         saw that it can be done using Page Flow Epilogue. I don't know
>         how to start. Please help me. Please provide any samples if
>         available.
>
>         Thanks in advance.
>
>         --
>         Phani. S
>         M.Tech(Software Engineering)
>         Motilal Nehru National Institute of Technology
>         (+91) 9453799211
>
>
>
>
>     --
>     You receive this message as a subscriber of the [hidden email]
>     <mailto:[hidden email]> mailing list.
>     To unsubscribe: mailto:[hidden email]
>     <mailto:[hidden email]>
>     For general help: mailto:[hidden email]
>     <mailto:[hidden email]>?subject=help
>     OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
>
> --
> Phani. S
> M.Tech(Software Engineering)
> Motilal Nehru National Institute of Technology
> (+91) 9010093398
>


--
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: Page Flow Epilogue

Phani S
Thanks Jeroen,
                     One final point I need to clarify. Setting the theme is applied to application specific or entire Orbeon Forms. What if each application deployed in Orbeon Forms has different themes. How it can be specified that the theme is only applied to a specific application.

Thanks,

On Fri, Jul 10, 2009 at 5:54 PM, Jeroen Hoffman <[hidden email]> wrote:

I'm sorry but the thing is to write a theme and configure that in the default epilogue. This means that you do _not_ need to write a custom epilogue, just setting property oxf.epilogue.theme. The default epilogue reads from that property.

You can specify the property by creating a properties-local.xml file that overrides default properties, see http://www.orbeon.com/ops/doc/reference-properties#d21e11.

HTH
Jeroen






Phani Sajja wrote:
Hi Jeroen,
   What I understood from your comment and alex comment on the given link, first I need to have my own epilogue. My application's page-flow.xml points to the epilogue which I wrote instead of standard epilogue. I also need to write the sub-epilogue instead of using standard servlet-epilogue. This servlet-epilogue points to the theme which I need to write for my own application. This theme has code necessary to include header, footer, menu etc for each page in the application.

If I am wrong at some point please correct me.

Thanks in Advance.

On Thu, Jul 9, 2009 at 4:54 PM, Jeroen Hoffman <[hidden email] <mailto:[hidden email]>> wrote:

   Hi,

   This sounds like you need to write your own theme, that you specify
   in the epilogue by property oxf.epilogue.theme (or
   oxf.epilogue.theme.embeddable if you use portlet/embeddable mode)

   In post 3.7.1 nightlies, you can have even a theme on a per app
   basis just by specifying theme.xsl (or theme-embeddable.xsl) in your
   application. See Alex' comments in this thread:
   http://www.nabble.com/oxf.epilogue.embeddable%3Dtrue-leads-to-non-XML-pipeline-output-td24219871.html

   Jeroen Hoffman





   Phani Sajja wrote:

       I need to add a menu and header and footer to all my pages. I
       saw that it can be done using Page Flow Epilogue. I don't know
       how to start. Please help me. Please provide any samples if
       available.

       Thanks in advance.

       --        Phani. S
       M.Tech(Software Engineering)
       Motilal Nehru National Institute of Technology
       (+91) 9453799211




   --
   You receive this message as a subscriber of the [hidden email]
   <mailto:[hidden email]> mailing list.

   To unsubscribe: mailto:[hidden email]
   <mailto:[hidden email]>
   For general help: mailto:[hidden email]
   <mailto:[hidden email]>?subject=help
   OW2 mailing lists service home page: http://www.ow2.org/wws




--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9010093398




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




--
Phani. S
M.Tech(Software Engineering)
Motilal Nehru National Institute of Technology
(+91) 9010093398


--
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: Re: Page Flow Epilogue

Jeroen Hoffman

I'm not sure but reading from that referenced mailthread every app can have it's
own theme.xsl, so I imagine WEB-INF/resources/apps/app-1/theme.xsl and
WEB-INF/resources/apps/app-2/theme.xsl. That's out-of-the-box in recent nightly
builds..


Jeroen


Phani Sajja wrote:

> Thanks Jeroen,
>                      One final point I need to clarify. Setting the
> theme is applied to application specific or entire Orbeon Forms. What if
> each application deployed in Orbeon Forms has different themes. How it
> can be specified that the theme is only applied to a specific application.
>
> Thanks,
>
> On Fri, Jul 10, 2009 at 5:54 PM, Jeroen Hoffman <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>
>     I'm sorry but the thing is to write a theme and configure that in
>     the default epilogue. This means that you do _not_ need to write a
>     custom epilogue, just setting property oxf.epilogue.theme. The
>     default epilogue reads from that property.
>
>     You can specify the property by creating a properties-local.xml file
>     that overrides default properties, see
>     http://www.orbeon.com/ops/doc/reference-properties#d21e11.
>
>     HTH
>     Jeroen
>
>
>
>
>
>
>     Phani Sajja wrote:
>
>         Hi Jeroen,
>            What I understood from your comment and alex comment on the
>         given link, first I need to have my own epilogue. My
>         application's page-flow.xml points to the epilogue which I wrote
>         instead of standard epilogue. I also need to write the
>         sub-epilogue instead of using standard servlet-epilogue. This
>         servlet-epilogue points to the theme which I need to write for
>         my own application. This theme has code necessary to include
>         header, footer, menu etc for each page in the application.
>
>         If I am wrong at some point please correct me.
>
>         Thanks in Advance.
>
>         On Thu, Jul 9, 2009 at 4:54 PM, Jeroen Hoffman
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email] <mailto:[hidden email]>>>
>         wrote:
>
>            Hi,
>
>            This sounds like you need to write your own theme, that you
>         specify
>            in the epilogue by property oxf.epilogue.theme (or
>            oxf.epilogue.theme.embeddable if you use portlet/embeddable mode)
>
>            In post 3.7.1 nightlies, you can have even a theme on a per app
>            basis just by specifying theme.xsl (or theme-embeddable.xsl)
>         in your
>            application. See Alex' comments in this thread:
>          
>          http://www.nabble.com/oxf.epilogue.embeddable%3Dtrue-leads-to-non-XML-pipeline-output-td24219871.html
>
>            Jeroen Hoffman
>
>
>
>
>
>            Phani Sajja wrote:
>
>                I need to add a menu and header and footer to all my pages. I
>                saw that it can be done using Page Flow Epilogue. I don't
>         know
>                how to start. Please help me. Please provide any samples if
>                available.
>
>                Thanks in advance.
>
>                --        Phani. S
>                M.Tech(Software Engineering)
>                Motilal Nehru National Institute of Technology
>                (+91) 9453799211
>
>
>
>
>            --
>            You receive this message as a subscriber of the
>         [hidden email] <mailto:[hidden email]>
>            <mailto:[hidden email] <mailto:[hidden email]>> mailing
>         list.
>
>            To unsubscribe: mailto:[hidden email]
>         <mailto:[hidden email]>
>            <mailto:[hidden email]
>         <mailto:[hidden email]>>
>            For general help: mailto:[hidden email] <mailto:[hidden email]>
>            <mailto:[hidden email] <mailto:[hidden email]>>?subject=help
>            OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
>
>         --
>         Phani. S
>         M.Tech(Software Engineering)
>         Motilal Nehru National Institute of Technology
>         (+91) 9010093398
>
>
>
>
>     --
>     You receive this message as a subscriber of the [hidden email]
>     <mailto:[hidden email]> mailing list.
>     To unsubscribe: mailto:[hidden email]
>     <mailto:[hidden email]>
>     For general help: mailto:[hidden email]
>     <mailto:[hidden email]>?subject=help
>     OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
>
> --
> Phani. S
> M.Tech(Software Engineering)
> Motilal Nehru National Institute of Technology
> (+91) 9010093398
>


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