spallared wrote:
>> Hi, actually i'm using a struts + javascript to create HTML code that
>> i use inside a popup window...
[quoted text clipped - 37 lines]
>> idoc += '<html:select property="ditta_id">';
>> idoc += '<html :o ptions collection="sel_ditta_list"
Was this copied literally? That extra space before the colon and after the
'o' might be trouble.
>> labelProperty="label" property="value"/>';
>>
[quoted text clipped - 14 lines]
>> I can't understand why because with <html:text> field the same "trick"
>> works fine... any ideas?
First: PLEASE indent your code (using spaces) for readability!
I am surprised that a client-side insertion of JSP tags would work, since JSP
tags are parsed server side.

Signature
Lew
david.karr - 05 May 2007 17:03 GMT
> spallared wrote:
> >> Hi, actually i'm using a struts + javascript to create HTML code that
[quoted text clipped - 68 lines]
> --
> Lew
I'm finding it hard to follow exactly what's happening here, but the
last comment here is very important. Emitting tags like "<html:text>"
in javascript will have absolutely no useful impact. Struts tags (and
other tag libraries like it) are processed on the server side, when
the JSP page is compiled into a Java servlet class. These tags are not
interpreted by the browser in any way.