aspose file tools*
The moose likes JSF and the fly likes JSF 1.2 Input Custom Component. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF 1.2 Input Custom Component." Watch "JSF 1.2 Input Custom Component." New topic
Author

JSF 1.2 Input Custom Component.

prashanth chaitanya
Greenhorn

Joined: Nov 29, 2009
Posts: 15
Hi i know there are some differences in building custom components with JSF1.1 and JSF 1.2. I have been trying to build a simple Input Custom Component with JSF1.2 and not able to figure out what is going wrong.Can some one give me a link or place where i can go and search for the procedure for building JSF 1.2 Custom Input Components.This is pretty important as i am stuck on this.
prashanth chaitanya
Greenhorn

Joined: Nov 29, 2009
Posts: 15
Can anyone help me on this please.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15646
    
  15

There's a section in Kito Mann's "JSF in Action" book (Manning Press) that describes how to build custom JSF components. They're a lot more complicated than JSP custom tags, partly because they split logic and rendering into 2 separate sub-components.


Customer surveys are for companies who didn't pay proper attention to begin with.
prashanth chaitanya
Greenhorn

Joined: Nov 29, 2009
Posts: 15
But the book discusses about JSF 1.1. There are pretty much changes between JSF1.1 and JSF1.2.Can you please tell where i can find required documentation about JSF1.2.
Tommaso Tama
Greenhorn

Joined: Oct 13, 2010
Posts: 11
I had the same problem ... I needed to write the content of an input text if the input text itself was readonly.

I solved in this way:




After you have to modify faces-config.xml adding :





Then, create a new xml file and put it under your web-inf folder (i.e. customTag.xml)




If you use RichFaces, you have to add to your web.xml


Then use it in your page:




I Hope it helps.

Bye
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF 1.2 Input Custom Component.
 
Similar Threads
Looking for JSF 1.2 Components
how to call javascript function from jsf
getCurrentValue() returning an old value! a4j and JSF 1.2. Help needed ASAP!
Is there any canvas like component in JSF?
Calendar component