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 Error

843844Sep 5 2007 — edited Sep 5 2007
Hi,

I am getting "unterminated String Constant" javascript error in my code for <h:command> tag which contains an onClick event.

When i remove that event, no errors are displayed.

<hx:commandExButton type="submit" styleClass="commandExButton"  id="killSelected1" actionListener="#{pc_Oecsummary.submitGroup}"	rendered="#{vardata.requestType=='G'}" image="images/arrow_rd.gif" onclick="return submitGrp('#{vardata.groupCode}','#{vardata.dateCreated}','#{vardata.groupDescription}');"> </hx:commandExButton> 
I found like some apostropes , new line in string might be rootcause from other sources.

I checked for them. Can someone suggest me something on it or is there any thing wrong in the above code snippet?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2007
Added on Sep 5 2007
1 comment
383 views