problem in jsf implementation

View: New views
1 Messages — Rating Filter:   Alert me  

problem in jsf implementation

by ahmet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello

I am working on jsf - netbeans

when I click on an image, I want to change the value of
outputText componenet. But I couldn't achieve.

What I did :

var xx=new Number(event.clientX)

var _form=document.forms[this.id.substring(0,this.id.lastIndexOf(':'))]

var obj= _form.id +':outputText1'
obj.value=xx

what should I do ?

regards
--
Ahmet Temiz
Jeo. Müh.
Afet İşleri Gen. Md.lüğü
Deprem Ar. D.

Ahmet Temiz
Geo. Eng.
General Dir. of
Disaster Affairs



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

LightInTheBox - Buy quality products at wholesale price