Thanks for the assistance.
 
For Issue 1, I tried to set trimwhitespace to true but that did not solve
the problem. We use Apache Cocoon for XSLT processing for our web site, so I
can get the content via Cocoon and use XSLT to strip unwanted whitespace and
remove line breaks. So Issue 1 was solved with Cocoon. 
 
Still working on Issue 2. 

  _____  

From: Not Zippy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 10:03 AM
To: Schultz, Gary - COMM
Cc: [email protected]
Subject: Re: [Laszlo-user] Problems with data in Laszlo


Hi

Issue 1: Set the preserve whitespace flag to false That should remove any
whitespace except the space defined in cdata tags (Which shouldn't be
removed anyways)
Issue 2: Yes slides initialize height & width of the content and slider
positions/size only on initialization and are not sensitive to data changes.
You could make the entire slider dependent on the datapath, that way it will
be destroyed/recreated everytime new data is received, or setup sliders that
are not data dependent at all, or build your own component to replace it. 

Z


On 2/8/07, Schultz, Gary - COMM <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 

Two issues:
 
Issue one: I'm including some XHTML/XML data in an application. The data is
contained in flat files. All the editing tools I have tested will randomly
include line breaks in the source code for paragraphs and long sentences.
This has become problematic in OpenLaszlo, all line breaks are preserved.
Since non-technical staff will have responsibility for maintaining content,
I cannot expect these staff to be able to go into a text editing tool and
remove line breaks.
 
Issue Two: I get different results with a tabslider depending on whether the
data is included from a local file or brought in via http. With the local
include everything works as expected. With the http method something is not
right. The height of the tabslider is expanded several hundred percent which
makes no sense. Does bringing in data by the http method produce any side
effects not documented?
 

Gary T. Schultz
IT Administrator
Wisconsin Dept. of Commerce
608-266-1283
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 


Reply via email to