Re: issue with Struts , DWR, javascript in Firefox browser
On 4/4/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > Thanx for the answer, where in documenation is it > written that styleId is id?? Current Struts website is too busy and font in the left menu is too small, which is especially striking comparing to gigantic wiki font. "JSP Taglib" is listed under extensions, but not under "Frameworks -> Action Framework". Despite that many power users do not use JSP taglibs, I think that taglibs should be part of standard distro, not an extension. After all, most (all?) currently available books treat Struts taglib as part of standard distro and JSP as standard view technology. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: issue with Struts , DWR, javascript in Firefox browser
Ashish Kulkarni wrote: > where in documenation is it written that styleId is id?? > http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#text "Identifier to be assigned to this HTML element (renders an "id" attribute)." Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: issue with Struts , DWR, javascript in Firefox browser
> Thanx for the answer, where in documenation is it > written that styleId is id?? http://struts.apache.org/struts-taglib/tagreference-struts-html.html#htm l:text -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: issue with Struts , DWR, javascript in Firefox browser
Hi Thanx for the answer, where in documenation is it written that styleId is id?? Ashish --- "Slattery, Tim - BLS" <[EMAIL PROTECTED]> wrote: > > I am trying to do a test application using struts, > DWR > > I am having problem with document.getElementById > > method in javascript, this works fine in IE 6.0 > and > > opera > > I am using struts tag > > readonly="true" /> > > > > and then in my javascript doing the following > > document.getElementById('last').value= data; > > > > Firefox gives me javascript error, element with > name > > last not found, > > but if i define this field as > > > > maxlength="50" value="" readonly="readonly"> > > > > It works in firefox, so how can i define struts > tag to > > get the id attribute , or is there a work around > > You've hit the nail on the head, you need to tell > the tag to > output an "id" attribute. You do that by using the > styleId attribute of > the tag: > > readonly="true" > styleId="last"/> > > > -- > Tim Slattery > [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > A$HI$H __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: issue with Struts , DWR, javascript in Firefox browser
> I am trying to do a test application using struts, DWR > I am having problem with document.getElementById > method in javascript, this works fine in IE 6.0 and > opera > I am using struts tag > > > and then in my javascript doing the following > document.getElementById('last').value= data; > > Firefox gives me javascript error, element with name > last not found, > but if i define this field as > maxlength="50" value="" readonly="readonly"> > > It works in firefox, so how can i define struts tag to > get the id attribute , or is there a work around You've hit the nail on the head, you need to tell the tag to output an "id" attribute. You do that by using the styleId attribute of the tag: -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
issue with Struts , DWR, javascript in Firefox browser
Hi I am trying to do a test application using struts, DWR I am having problem with document.getElementById method in javascript, this works fine in IE 6.0 and opera I am using struts tag and then in my javascript doing the following document.getElementById('last').value= data; Firefox gives me javascript error, element with name last not found, but if i define this field as It works in firefox, so how can i define struts tag to get the id attribute , or is there a work around Ashish __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]