File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Problem in Icefaces Input binding attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem in Icefaces Input binding attribute" Watch "Problem in Icefaces Input binding attribute" New topic

Problem in Icefaces Input binding attribute

syruss kumar
Ranch Hand

Joined: Jul 23, 2009
Posts: 100
Hi all,

I have developed a application using jsf and icefaces.
The probelm is i have a page where i want to show the logged username and stored that in a database.

i have created a iface page to show the users like this

how can i set this value(value="#{}") to a dbbean.userName and entered into database.

I have tried binding attribute in inputtext but its not working

Please suggest me .

All search starts with beginner's luck and all search ends with victor's severly tested.
Stephan Hartmann

Joined: Feb 11, 2010
Posts: 6

first you have to declare your DBBean in faces-confiog.xml:


then you will refer the managed bean in value in your .xhtml : "#{dbBean.userName}"

.. that's it...

...the code above is a sample and not to be copied, check yourself and write yourself to avoid errors...


<perhaps somebody can translate this in english>
Wenn einer, der mit Mühe kaum
gekrochen ist auf einen Baum
schon meint, dass er ein Vogel wär,
so irrt sich der.
(Wilhelm Busch)
I agree. Here's the link:
subject: Problem in Icefaces Input binding attribute
It's not a secret anymore!