In my application at least, the tabelement class cannot contain a datapath
with xpath set to http dataset. I had to set the datapath in header and
tabelement text classes contained inside the tabelement class. 
 
For myself, addressing these issues is significant because I can now start
integrating OpenLaszlo with Apache Cocoon, and continue to use NVU and other
XML editing tools for content management.
 
So far the boss is happy with the little application (so far only a home
page) I've built with OpenLaszlo.

  _____  

From: Schultz, Gary - COMM 
Sent: Thursday, February 08, 2007 11:45 AM
To: [email protected]
Subject: RE: [Laszlo-user] Problems with data in Laszlo


For some of what you mention for Issue 2, where are good places for examples
on building sliders?

  _____  

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