Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Tomahawk's enabledOnUserRole attribute and Clay: msg#00130

apache.shale.user

Subject: Re: Tomahawk's enabledOnUserRole attribute and Clay

I've opened http://issues.apache.org/jira/browse/TOMAHAWK-942 on this.

On 3/27/07, Gary VanMatre <gvanmatre@xxxxxxxxxxx> wrote:
>From: "Mike Kienenberger" <mkienenb@xxxxxxxxx>
>
> Gary, I see this as a tomahawk bug. I'm pretty sure I looked at this
> a couple weeks ago and noticed that the renderer was being set inside
> the JSP tag handler rather than in the component. Seems like setting
> it from the taghandler is the wrong approach. Breaks anything other
> than the jsp viewhandler.
>

Cool. I thought it was too but I understand the reuse that tomahawk has with
core.
I can see why you wouldn't want to subclass a component just for the sake of
changing the rendererType - more code to maintain. On the flip side, it
wouldn't be right to override the RI's renderer-class using the same
renderer-type and family.

Only JSP is mandated by the specification. So, there is a gray area here
(calling it a bug).

Are you guys planning on using the Trinidad code generation for tomahawk it the
future?


>
> On 3/27/07, Gary VanMatre wrote:
> > This looks like another case where we need to explicitly override the
> rendererType.
> > The shared renderer [1] is the default for the runtime but in tomahawk,
there
> is a renderer
> > override [2].
> >
> >
> > [1]
>
http://svn.apache.org/viewvc/myfaces/shared/branches/2_0_0/core/src/main/java/or
>
g/apache/myfaces/shared/renderkit/html/HtmlCheckboxRendererBase.java?view=markup
> > [2]
>
http://svn.apache.org/viewvc/myfaces/tomahawk/branches/1_1_3/core/src/main/java/
> org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java?view=markup



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation