• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

preRenderView vs preRenderComponent

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not able to get preRenderView to work, but I can get preRenderComponent to work. I'm using Mojarra 2.0.2 on GlassFish 3.0.1 with Netbeans 6.9. The suggestion feature of the IDE tells me that the "type" attribute of the f:event tag can only be one of:

preValidate
PostValidate
preRenderComponent
postAddToView

This related post suggest that preRenderView should be available: duplicate-call-preRenderView-event
 
Ryan Slominski
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I got preRenderView to work. It appears that the preRenderView f:event can only be placed as a direct child element of f:view. Don't put it in h:head, h:body, or f:metadata.

I guess Netbeans IDE "type" attribute suggestions are just not up to date.
 
reply
    Bookmark Topic Watch Topic
  • New Topic