Re: issue with Struts , DWR, javascript in Firefox browser

2006-04-04 Thread Michael Jouravlev
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

2006-04-04 Thread Dave Newton
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

2006-04-04 Thread Slattery, Tim - BLS
> 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

2006-04-04 Thread Ashish Kulkarni
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

2006-04-04 Thread Slattery, Tim - BLS
> 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

2006-04-04 Thread Ashish Kulkarni
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]