Re: inserting javascript from java to html file

2008-10-29 Thread Igor Vaynberg
>>>>>>>> >>>>>>>> -igor >>>>>>>> >>>>>>>> On Tue, Oct 28, 2008 at 10:57 AM, eyalbenamram >>>>>>>> <[EMAIL PROTECTED]> >>>>>>>> wrote: >>>>>

RE: inserting javascript from java to html file

2008-10-29 Thread Hoover, William
o:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 2:45 PM To: users@wicket.apache.org Subject: Re: inserting javascript from java to html file OK. What if I want all the JS to be inline (no .js file to be made)? I saw that wicket created a .js file... igor.vaynberg wrote: > > response.renderOnLo

Re: inserting javascript from java to html file

2008-10-29 Thread eyalbenamram
gt;>>>>>StringBuffer config = new StringBuffer(); >>>>>>>> >>>>>>>>config.append("\n"); >>>>>>>>config.append("function onLoad() { getValue(); >>>

Re: inserting javascript from java to html file

2008-10-28 Thread Igor Vaynberg
;>>> = >>>>>>> document.getElementById('textString').value;\n"); >>>>>>>config.append("window.location.reload(); }\n"); >>>>>>>config.append("function getValue() {\n"

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
config.append("window.location.reload(); }\n"); >>>>>>config.append("function getValue() {\n"); >>>>>> >>>>>> config.append("document.getElementById('textString').value >

Re: inserting javascript from java to html file

2008-10-28 Thread Igor Vaynberg
('textString').value >>>>> = >>>>> document.getElementById('hiddenVar').value; }\n"); >>>>> config.append("\n"); >>>>> >>>>>/*open to activate J

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
;>/*open to activate JS*/ >>>>add(new StringHeaderContributor(config.toString())); >>>> >>>> >>>> and receive an error in log file: >>>> >>>> http-6789-2 ERROR html.WebPage

Re: inserting javascript from java to html file

2008-10-28 Thread Igor Vaynberg
gt; >>> and receive an error in log file: >>> >>> http-6789-2 ERROR html.WebPage - >>> ^ >>> http-6789-2 ERROR html.WebPage - You probably forgot to add a or >>> tag to your mark

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
javascript code >> actually appears in the rendered page (when I look at the source of the >> page). >> >> any idea? >> >> Thanks,Eyal. >> -- >> View this message in context: >> http://www.nabble.com/inserting-javascript-from-java-to-html-file-tp20212650p20212650.html &g

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
tag to your markup since no Header Container was >> found but components where found which want to write to the >> section. >> >> function removeBlur(checked) { >> if(checked) { >> document.getElementById('login_button').disabled = false; >> } el

Re: inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
) { >> document.getElementById('login_button').disabled = false; >> } else { >> document.getElementById('login_button').disabled = true; >> } } >> >> >> although my html file contains a tag, and the javascript code >> actually appears in

Re: inserting javascript from java to html file

2008-10-28 Thread Igor Vaynberg
t; document.getElementById('login_button').disabled = true; > } } > > > although my html file contains a tag, and the javascript code > actually appears in the rendered page (when I look at the source of the > page). > > any idea? > > Thanks,Eyal. >

inserting javascript from java to html file

2008-10-28 Thread eyalbenamram
;login_button').disabled = true; } } although my html file contains a tag, and the javascript code actually appears in the rendered page (when I look at the source of the page). any idea? Thanks,Eyal. -- View this message in con