You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ozans <oz...@garanti.com.tr> on 2006/12/07 19:07:13 UTC
InputText and whitespaces
Hi all;
I am trying to develop a CRUD application using JSF. The problem is
that some of the columns contain multiple whitespaces, such as "ABC DEF".
When I read the values, everything is ok but when I put the values inside an
InputText, the whitespaces are truncated, resulting in "ABC DEF". Hence
making the update query affecting no rows as the where clause return
nothing.
I am trying to see whether everyting is ok with MyFaces, as I plan to
use it in my new project widely.
Any help appreciated...
Ozan
--
View this message in context: http://www.nabble.com/InputText-and-whitespaces-tf2776097.html#a7744407
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: InputText and whitespaces
Posted by ozans <oz...@garanti.com.tr>.
Sorry, normally whitespaces not shown on my previous message. There are three
whitespaces ( ) between 'ABC' and 'DEF' on the database. But when I pass
the value to the InputText and render the response, the browser shows only
one whitespace between 'ABC' and 'DEF'. The html source is also the same!
ozans wrote:
>
> Hi all;
> I am trying to develop a CRUD application using JSF. The problem is
> that some of the columns contain multiple whitespaces, such as "ABC
> DEF". When I read the values, everything is ok but when I put the values
> inside an InputText, the whitespaces are truncated, resulting in "ABC
> DEF". Hence making the update query affecting no rows as the where clause
> return nothing.
> I am trying to see whether everyting is ok with MyFaces, as I plan to
> use it in my new project widely.
>
> Any help appreciated...
> Ozan
>
--
View this message in context: http://www.nabble.com/InputText-and-whitespaces-tf2776097.html#a7753845
Sent from the MyFaces - Users mailing list archive at Nabble.com.