Home » Developer & Programmer » JDeveloper, Java & XML » Javascript error when user enters maximum characters in MessageTextInput
Javascript error when user enters maximum characters in MessageTextInput [message #189298] Thu, 24 August 2006 01:44 Go to next message
shobaanandhan
Messages: 3
Registered: February 2006
Junior Member
We have a UIX page with around 1 text input:

<messageTextInput model="${bindings.Notes}"
columns="80"
maximumLength="250"
rows="6" required="yes"
prompt="Notes" id="Notes"/>

We have set maximum length for the text input. When we try to key in maximum characters for this text input except the Notes field,
its working fine. But when we key in maximum characters for the Notes field(with new line character(\n) inbetween) we get the following javascript error,

Line: 2004
Char:1
Error: "Invalid Syntax"
Code:0
Re: Javascript error when user enters maximum characters in MessageTextInput [message #189409 is a reply to message #189298] Thu, 24 August 2006 09:00 Go to previous messageGo to next message
Frank Naude
Messages: 4579
Registered: April 1998
Senior Member
So, what is on line 2004?

Also, it would help if you can compile a small test case we can test with.
Re: Javascript error when user enters maximum characters in MessageTextInput [message #193937 is a reply to message #189409] Wed, 20 September 2006 01:02 Go to previous message
shobaanandhan
Messages: 3
Registered: February 2006
Junior Member
We do not have anything in line number 2004. The java script file has only 1500 lines
Previous Topic: Equivalent type in PLSQL for Complex type Data of XML file
Next Topic: Read a multiset in java
Goto Forum:
  


Current Time: Fri Apr 19 14:34:42 CDT 2024