You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Rick Reumann <r...@reumann.net> on 2004/10/22 02:28:59 UTC

[solved thanks all] Re: How to avoid the line breaks when a tag file used within javascript?

First off thanks everyone for being so patient. Somehow I had to have 
been an idiot somwhere along the way in creating the Tag file even 
though I swear I copied and pasted the code from Kris' initial e-mail 
exactly like he had it. Plus I thought I triple checked for any trailing 
line break. I say the problem is'solved' but I really don't know what 
the problem was with my file. My tag file looked to me to be identical 
to the one Kris ended up e-mailing me. Yet when I took what he emailed 
and pasted it over my old tag file everything was fine. Is it possible 
that somehow a hidden char was in there? I had that happen when time 
when I was on Linux and I pasted from Eclipse into jEdit, or it might 
have been the other way around. It was a real problem to track down 
because looking at the file you couldn't tell anything was wrong but the 
character that wasn't showing up was causing a problem with the JSP 
compiler trying to compile the code. (I think in this case it ended up 
going up as binary and that's how I know there was a problem.) Ok, I'm 
digressing, I'm sure it was just typical stupid error but thanks again, 
since my code looks much cleaner now.

Now it's time to go struggle with more javascript for an application 
that I'm wondering will ever get out on time:)


Rick Reumann wrote the following on 10/21/2004 7:45 PM:
> Kris Schneider wrote the following on 10/21/2004 7:39 PM:
> 
>> Output (no line breaks):
>>
>> <span style="cursor:hand;" onmouseover="return overlib('foo,bar');" 
>> onmouseout="return nd();">*N/A</span>
> 
> 
> Now that drives me mad:) If you get a chance, just so I can tell if ends 
> up being some server or OS situation. If you could send me that JSP and 
> the tag file so I can plop them 'as is' into my app- that would be 
> great. I'd love to see what happens. Thanks.
> 


-- 
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org