• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

How can i write in the response through viewhandler? Or even another solution...

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
is there a way to write in the response, eg.:

inside the object div id=test






i would like to write the text 'HELLO'.

Is in the view handler the best sollution? If so, how can i do this?

This is necessary in my case, to control butons exibitions, and i´m trying a transparent way to the developer.

Thanks everybody...
 
Fabio Paiva
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I´m trying lifecycle

 
Ranch Hand
Posts: 40
Eclipse IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using POST Parameters?
 
Bartender
Posts: 20980
128
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Fabio!

I have no idea what you're actually trying to accomplish, but you're trying to do low-level control things when you're using a high-level framework and that's something that even people with years of experience should think twice about. In fact, my own years of experience have taught me that any complicated solution in JSF is probably the wrong approach, since JSF was designed to make things as simple as possible.

If you're looking to control the appearance of buttons in JSF, you should be using CSS, not code kludges. JSF doesn't concern itself with matters of style, since CSS is quite capable of doing that itself by itself.
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!