Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

'unterminated string constant

843840Apr 9 2008 — edited Apr 10 2008
Hi,

I'm getting an 'unterminated string constant' exception in my jsp on the following:

innerHTML += '<html:select name="MyForm" property="cell('+sequence+').myField" value="0"><html:options name="MyForm" property="field['+sequence+'].codeList" labelProperty="field['+sequence+'].decodeList" /></html:select>';

(It's on one line - without enters...)

when I use the select tag without the options it works:

innerHTML += '<html:select name="MyForm" property="cell('+sequence+').myField" />';

Any idea???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2008
Added on Apr 9 2008
3 comments
144 views