You are right, thanks gerhard :)
Am Dienstag, 7. August 2012 schrieb Gerhard Petracek < [email protected]>: > 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 <[email protected]> >> >> 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 >> >> > >
