You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Paul Spencer <pa...@apache.org> on 2008/05/15 17:58:28 UTC

[TRINIDAD] How to share a common branding across pages?

I would like to share a common branding across many pages, i.e. the 
logo, and do it in such a way that changes to the branding only need to 
be made in one place.  What are the options to do this?

Paul Spencer

Re: [TRINIDAD] How to share a common branding across pages?

Posted by Simon Lessard <si...@gmail.com>.
Hello,

Yeah I meant mixing the tags, not using the JSP engine to drive a JSF
application. I wasn't very clear, sorry.


~ Simon

On Sat, May 17, 2008 at 2:14 AM, Scott O'Bryan <da...@gmail.com> wrote:

> If your talking JSP tags with JSF tags, I would concur unless you really
> know what your doing.  JSP in and of itself, however, is a perfectly fine
> technology to drive faces.  Granted, facelets has a ton of advantages from
> perfomance to flexibility, but JSP's can certainly be made stable.  I'm
> hoping J2EE6 and JSF 2.0 will solve most of the issues all around.
>
>
> On May 16, 2008, at 11:54 AM, "Simon Lessard" <si...@gmail.com>
> wrote:
>
> Hello Paul,
>
> Personally I never use JSP with JSF, I just don't trust the mix, even with
> JSF 1.2.
>
>
> ~ Simon
>
> On Fri, May 16, 2008 at 1:29 PM, Zigc Junk < <zi...@gmail.com>
> zigcjunk@gmail.com> wrote:
>
>> I guess the most elegant way is to use facelets.
>>
>> Bill
>>
>> On Thu, May 15, 2008 at 11:17 AM, Paul Spencer
>> < <pa...@mindspring.com> wrote:
>> > Simon,
>> > What about <jsp:include>?
>> >
>> > Paul Spencer
>> >
>> >
>> > Simon Lessard wrote:
>> >>
>> >> Hello Paul,
>> >>
>> >> You could use tr:icon and define your branding as an icon in the skin,
>> >> thus
>> >> centralizing the link to it. It's not as perfect as using a template,
>> but
>> >> if
>> >> you cannot use Facelets, I guess it's the best way.
>> >>
>> >>
>> >> Regards,
>> >>
>> >> ~ Simon
>> >>
>> >> On Thu, May 15, 2008 at 11:58 AM, Paul Spencer < <pa...@apache.org>
>> paulsp@apache.org> wrote:
>> >>
>> >>> I would like to share a common branding across many pages, i.e. the
>> logo,
>> >>> and do it in such a way that changes to the branding only need to be
>> made
>> >>> in
>> >>> one place.  What are the options to do this?
>> >>>
>> >>> Paul Spencer
>> >>>
>> >>
>> >
>> >
>>
>
>

Re: [TRINIDAD] How to share a common branding across pages?

Posted by Scott O'Bryan <da...@gmail.com>.
If your talking JSP tags with JSF tags, I would concur unless you  
really know what your doing.  JSP in and of itself, however, is a  
perfectly fine technology to drive faces.  Granted, facelets has a ton  
of advantages from perfomance to flexibility, but JSP's can certainly  
be made stable.  I'm hoping J2EE6 and JSF 2.0 will solve most of the  
issues all around.

On May 16, 2008, at 11:54 AM, "Simon Lessard" <simon.lessard. 
3@gmail.com> wrote:

> Hello Paul,
>
> Personally I never use JSP with JSF, I just don't trust the mix,  
> even with JSF 1.2.
>
>
> ~ Simon
>
> On Fri, May 16, 2008 at 1:29 PM, Zigc Junk <zi...@gmail.com> wrote:
> I guess the most elegant way is to use facelets.
>
> Bill
>
> On Thu, May 15, 2008 at 11:17 AM, Paul Spencer
> <pa...@mindspring.com> wrote:
> > Simon,
> > What about <jsp:include>?
> >
> > Paul Spencer
> >
> >
> > Simon Lessard wrote:
> >>
> >> Hello Paul,
> >>
> >> You could use tr:icon and define your branding as an icon in the  
> skin,
> >> thus
> >> centralizing the link to it. It's not as perfect as using a  
> template, but
> >> if
> >> you cannot use Facelets, I guess it's the best way.
> >>
> >>
> >> Regards,
> >>
> >> ~ Simon
> >>
> >> On Thu, May 15, 2008 at 11:58 AM, Paul Spencer  
> <pa...@apache.org> wrote:
> >>
> >>> I would like to share a common branding across many pages, i.e.  
> the logo,
> >>> and do it in such a way that changes to the branding only need  
> to be made
> >>> in
> >>> one place.  What are the options to do this?
> >>>
> >>> Paul Spencer
> >>>
> >>
> >
> >
>

Re: [TRINIDAD] How to share a common branding across pages?

Posted by Simon Lessard <si...@gmail.com>.
Hello Paul,

Personally I never use JSP with JSF, I just don't trust the mix, even with
JSF 1.2.


~ Simon

On Fri, May 16, 2008 at 1:29 PM, Zigc Junk <zi...@gmail.com> wrote:

> I guess the most elegant way is to use facelets.
>
> Bill
>
> On Thu, May 15, 2008 at 11:17 AM, Paul Spencer
> <pa...@mindspring.com> wrote:
> > Simon,
> > What about <jsp:include>?
> >
> > Paul Spencer
> >
> >
> > Simon Lessard wrote:
> >>
> >> Hello Paul,
> >>
> >> You could use tr:icon and define your branding as an icon in the skin,
> >> thus
> >> centralizing the link to it. It's not as perfect as using a template,
> but
> >> if
> >> you cannot use Facelets, I guess it's the best way.
> >>
> >>
> >> Regards,
> >>
> >> ~ Simon
> >>
> >> On Thu, May 15, 2008 at 11:58 AM, Paul Spencer <pa...@apache.org>
> wrote:
> >>
> >>> I would like to share a common branding across many pages, i.e. the
> logo,
> >>> and do it in such a way that changes to the branding only need to be
> made
> >>> in
> >>> one place.  What are the options to do this?
> >>>
> >>> Paul Spencer
> >>>
> >>
> >
> >
>

Re: [TRINIDAD] How to share a common branding across pages?

Posted by Zigc Junk <zi...@gmail.com>.
I guess the most elegant way is to use facelets.

Bill

On Thu, May 15, 2008 at 11:17 AM, Paul Spencer
<pa...@mindspring.com> wrote:
> Simon,
> What about <jsp:include>?
>
> Paul Spencer
>
>
> Simon Lessard wrote:
>>
>> Hello Paul,
>>
>> You could use tr:icon and define your branding as an icon in the skin,
>> thus
>> centralizing the link to it. It's not as perfect as using a template, but
>> if
>> you cannot use Facelets, I guess it's the best way.
>>
>>
>> Regards,
>>
>> ~ Simon
>>
>> On Thu, May 15, 2008 at 11:58 AM, Paul Spencer <pa...@apache.org> wrote:
>>
>>> I would like to share a common branding across many pages, i.e. the logo,
>>> and do it in such a way that changes to the branding only need to be made
>>> in
>>> one place.  What are the options to do this?
>>>
>>> Paul Spencer
>>>
>>
>
>

Re: [TRINIDAD] How to share a common branding across pages?

Posted by Paul Spencer <pa...@mindspring.com>.
Simon,
What about <jsp:include>?

Paul Spencer


Simon Lessard wrote:
> Hello Paul,
> 
> You could use tr:icon and define your branding as an icon in the skin, thus
> centralizing the link to it. It's not as perfect as using a template, but if
> you cannot use Facelets, I guess it's the best way.
> 
> 
> Regards,
> 
> ~ Simon
> 
> On Thu, May 15, 2008 at 11:58 AM, Paul Spencer <pa...@apache.org> wrote:
> 
>> I would like to share a common branding across many pages, i.e. the logo,
>> and do it in such a way that changes to the branding only need to be made in
>> one place.  What are the options to do this?
>>
>> Paul Spencer
>>
> 


Re: [TRINIDAD] How to share a common branding across pages?

Posted by Paul Spencer <pa...@apache.org>.
Simon,
What about <jsp:include>?

Paul Spencer


Simon Lessard wrote:
> Hello Paul,
> 
> You could use tr:icon and define your branding as an icon in the skin, thus
> centralizing the link to it. It's not as perfect as using a template, but if
> you cannot use Facelets, I guess it's the best way.
> 
> 
> Regards,
> 
> ~ Simon
> 
> On Thu, May 15, 2008 at 11:58 AM, Paul Spencer <pa...@apache.org> wrote:
> 
>> I would like to share a common branding across many pages, i.e. the logo,
>> and do it in such a way that changes to the branding only need to be made in
>> one place.  What are the options to do this?
>>
>> Paul Spencer
>>
> 



Re: [TRINIDAD] How to share a common branding across pages?

Posted by Andrew Robinson <an...@gmail.com>.
+1 to use facelets. You get the added benefit of better performance
over JSP too.

On Thu, May 15, 2008 at 10:09 AM, Simon Lessard
<si...@gmail.com> wrote:
> Hello Paul,
>
> You could use tr:icon and define your branding as an icon in the skin, thus
> centralizing the link to it. It's not as perfect as using a template, but if
> you cannot use Facelets, I guess it's the best way.
>
>
> Regards,
>
> ~ Simon
>
> On Thu, May 15, 2008 at 11:58 AM, Paul Spencer <pa...@apache.org> wrote:
>>
>> I would like to share a common branding across many pages, i.e. the logo,
>> and do it in such a way that changes to the branding only need to be made in
>> one place.  What are the options to do this?
>>
>> Paul Spencer
>
>

Re: [TRINIDAD] How to share a common branding across pages?

Posted by Simon Lessard <si...@gmail.com>.
Hello Paul,

You could use tr:icon and define your branding as an icon in the skin, thus
centralizing the link to it. It's not as perfect as using a template, but if
you cannot use Facelets, I guess it's the best way.


Regards,

~ Simon

On Thu, May 15, 2008 at 11:58 AM, Paul Spencer <pa...@apache.org> wrote:

> I would like to share a common branding across many pages, i.e. the logo,
> and do it in such a way that changes to the branding only need to be made in
> one place.  What are the options to do this?
>
> Paul Spencer
>