myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: [CODI] TagHandler for importing ViewConfig in facelets
Date Tue, 07 Aug 2012 14:23:20 GMT
hi thomas,

you don't need a getter for it (if you don't like it) - just use:
class myPackage.MyPage
(in the page).

that's even easier than using an own tag.

regards,
gerhard

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2012/8/7 Thomas Andraschko <zoigln@gmail.com>

> Hi,
>
> months before i created an util TagHandler to import constants in a
> facelets page:
>
>
> http://fractalsoft.net/primeext-showcase-mojarra/sections/utils/importConstants.jsf
>
> What about an similar tag to import the viewConfig/Pages class?
> It's really annoying to write a getter for each page...
>
> For example:
> <xx:importViewConfig className="xx.xxx.Pages" var="Pages" />
>
> #{Pages.Basket.Overview}
>
> I could provide a patch with the full functionality :)
>
> Regards,
> Thomas
>
>
>

Mime
View raw message