There's definitely a bug with dataControlsVisibility. dataControlsVisibility="false" doesn't appear to work, even in 3.1.1.
Check out "8.2. Forcing visibility of datamapped views"... http://www.laszlosystems.com/lps-3.1.1/docs/guide/databinding.html The example is supposed to demonstrate how it works, however, the green box isn't displayed, even though it has the attribute set. This has to be a bug unless the syntax has changed and the guide hasn't been updated. -----Original Message----- From: Benjamin Shine [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 7:40 PM To: William Krick Cc: [email protected] Subject: Re: [Laszlo-user] Possible bugs in 3.2cr1: datapaths, alignment, enabled and editable fields On Feb 8, 2006, at 3:31 PM, William Krick wrote: > I've attached a sample laszlo app. > > There are four problems that I'm trying to solve: Is this behavior different in 3.1.1? > > > 1) The red area shows where my right-hand view should be located. > However, > as you can see, it shows up aligned way over to the right. I have > no idea > why this is happening. Have I found a bug? Quite possibly. Please file a bug in the bug db http://www.openlaszlo.org/jira/browse/LPP > > > 2) I have 3 edittext controls that are linked to a dataset. When > the app is > started, the dataset is empty. This causes the controls to not be > displayed > at all. I want the controls to always display, even if the dataset > is empty. > Why does this happen and what can I do to prevent it? Try setting dataControlsVisibility="false" on the datapath. See http://www.laszlosystems.com/lps-3.1.1/docs/guide/databinding.html > > > 3) Why don't edittext controls support "editable='false'" like > comboboxes? > I'm forced to use "enabled='false'" instead. This greys out the > text. I > want them to appear the same but just be un-editable. Hmm. This is a design choice; you could probably write a class based on edittext that has the behavior you want. > > > 4) When I set "enabled='false'" on an empty edittext control, half > the field > greys out. I'm sure this is a bug. That does sound like a bug. Pleaes file it! -ben shine engineer, laszlo systems _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
