dhay | 3 Oct 2005 18:54
Favicon

Checkboxes and sorted Grid

Hi,

I'm seeing some unusual behaviour with checkboxes in a column of a grid
that is sortable.

When I sort a column, the checkboxes do "move", but any checked boxes lose
their checkedness, and the box that now shows in that row is checked!  eg I
display the page, check the box in row 3, sort the grid and the data in row
3 now moves to row 8.  However, the checkbox in row 8 is unchecked, and the
one in 3 is still checked.

Should I file this as a bug?  Test code below...

cheers,

David
x54680

<canvas height="100%" width="100%" bgcolor="0xB0C4DE">
      <simplelayout spacing="0"/>

      <dataset name="devicegroupslist">
<roo>
<rname name="group1"/>
<rname name="group 2"/>
<rname name="group 3"/>
<rname name="group 4"/>
<rname name="group 5"/>
<rname name="group 6"/>
<rname name="group 7"/>
(Continue reading)

selva raj | 5 Oct 2005 14:25
Picon
Favicon

selva-Kwt

Dear Guys,

I am new to laszlo dvelopment..

I want t o create components using laszlo..

1. dynamic dropdown list box.

2. on selection of first list box, data to be changed in another listbox

Any help is appreciated...

thanks
selva

_________________________________________________________________
Now or Never special offer for NRIs! 
http://creative.mediaturf.net/creatives/citibankrca/rca_msntagofline.htm 
Zero balance Account from Citibank!
Henry Minsky | 5 Oct 2005 19:35
Picon

Re: "data loading can hang forever in SOLO requests" issue...

I wouldn't depend to heavily on this behavior, it seems like something Macromedia will fix when they get around to it.

It would be great to have a way to suspend and step through an app, but the free flash player doesn't have any documented or even known undocumented way to do this. The Flash development environment that you buy from Macromedia has a special debug-enabled version of the player, but we can't use that, and the protocol for controlling it isn't publicly documented either.


On 9/25/05, Benjamin Cox <ben <at> insourcery.com> wrote:
There is an issue filed in JIRA at:  http://openlaszlo.org/jira/browse/LPP-437 with the above-mentioned title.  Though this can clearly cause enormous problems in production, there is a dev-time use case for this behavior.

I run my server in a debugger, and make extensive use of breakpoints, etc., while debugging issues between Laszlo and the data coming from the server.  If we make it so a hanging data request is ignored or timed out, and Laszlo carries on, I won't be able to rely on my Laszlo app waiting until I'm done on the server before trying to, say, render all the data.

I'm wondering if a fix to this issue might be able to include a setting to turn on "hanging requests"?  Though I suppose there are other ways to achieve my goals, Laszlo has made it awfully easy so far ;-)

I'm also curious whether this issue is _strictly_ for SOLO apps.  I ask because there was an old mailing list thread at http://www.openlaszlo.org/pipermail/laszlo-dev/2005-April/000877.html regarding the development of a proper debugger for laszlo (with breakpoints).   It occurs to me that there's some vague chance this "bug" be leveraged to make implementing this behavior a little more viable...  am I crazy?

  Ben


---

co+optual (www.cooptual.com)

Ben Cox

Chief Technologist

831.372.7098


"Reality is that which, when you stop believing in it, does not go away."  - Philip K. Dick



_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev





--
Henry Minsky
Software Architect
hminsky <at> laszlosystems.com

_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
Henry Minsky | 5 Oct 2005 19:49
Picon

Re: Re: lazlo4java ideas




A bigger win for me would be if the SOLO compiler was packaged and released as a separate, single jar file for easier integration with existing Ant or Maven based web projects.


That is a very good suggestion, we will look into it.

I think Laszlo should be targeting one thing in the short term - the compiling of SOLO applications as easily as possible with the new Flash 8 features.  Improving the debugging features of a SOLO build would also be great. 


Can you tell me what you would like to see? I happen to be working on the debugger at this very moment. The debugger is supposed to be completely enabled in a SOLO app, and as long as there is an LPS server to talk to, it should work exactly as it does in a proxied app. There was a bug at one point I recall where it was not working in SOLO apps, but that should be fixed if you have a newer development nightly build.


I guess if you are deploying without the LPS server, you would find yourself wanting to debug SOLO apps in the deployment environment quite a lot...


It is possible to have make a limited debugger mode that works without an LPS server at all, but the debugger currently depends on the LPS compiler on the server to parse and compile arbitrary statements and return them as swf files to execute at runtime. It would be possible for example to add a switch to  just use the feeble built-in Flash eval() command to inspect the values of simple expressions, or maybe a simplified parser that runs in Flash for simple debugging tasks, so you could call functions, but not evaluate full blown statements with if,for loops, etc.









Personally, I think trying to move into the Java or .NET space is a waste of time... to me, it sounds like an awful lot of work for something that will likely not get market/mind share against competitors

If I were looking for some sort of project to promote and extend the life of Laszlo, I would seriously consider how to integrate Laszlo easily with Ruby on Rails. http://www.rubyonrails.org/    It probably involves adding a REST component in RoR to faciliate Laszlo use.  However, the combination of the two technologies would be really sweet for rapid development.  Keeping Flash as the runtime, or even trying to compile to DHTML / AJAX would be more worthwhile than a JVM target, IMO.

Sorry to be such a party pooper.. someone has to present a dissenting viewpoint.

Cheers,
  Don














---------------------------------------
Donald Dwoske
Software Journeyman
http://www.loraxis.com/ddwoske

_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev





--
Henry Minsky
Software Architect
hminsky <at> laszlosystems.com

_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
Henry Minsky | 5 Oct 2005 20:23
Picon

Re: Re: lazlo4java ideas


I am going to try to add a fallback mode, so if the debugger evaluator gets a network error when trying to send an expression back to the server to compile, it will print a little warning and then try to run it through builtin Flash's eval(), so you can at least have simple inspection capabilities if there is no LPS server.

_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
Elliot Winard | 5 Oct 2005 20:38

Re: "data loading can hang forever in SOLO requests" issue...

Flex comes with `fdb`, a command-line gdb-esque debugger that works with the
debug builds of the Flash Player.

It's *hugely* helpful in tracking down bugs.
-e

On Wed, 5 Oct 2005, Henry Minsky wrote:

> I wouldn't depend to heavily on this behavior, it seems like something
> Macromedia will fix when they get around to it.
> 
> It would be great to have a way to suspend and step through an app, but the
> free flash player doesn't have any documented or even known undocumented way
> to do this. The Flash development environment that you buy from Macromedia
> has a special debug-enabled version of the player, but we can't use that,
> and the protocol for controlling it isn't publicly documented either.
> 
> 
> On 9/25/05, Benjamin Cox <ben <at> insourcery.com> wrote:
> >
> > There is an issue filed in JIRA at:
> > http://openlaszlo.org/jira/browse/LPP-437 with the above-mentioned title.
> > Though this can clearly cause enormous problems in production, there is a
> > dev-time use case for this behavior.
> > I run my server in a debugger, and make extensive use of breakpoints,
> > etc., while debugging issues between Laszlo and the data coming from the
> > server. If we make it so a hanging data request is ignored or timed out, and
> > Laszlo carries on, I won't be able to rely on my Laszlo app waiting until
> > I'm done on the server before trying to, say, render all the data.
> >
> > I'm wondering if a fix to this issue might be able to include a setting to
> > turn on "hanging requests"? Though I suppose there are other ways to achieve
> > my goals, Laszlo has made it awfully easy so far ;-)
> >
> > I'm also curious whether this issue is _strictly_ for SOLO apps. I ask
> > because there was an old mailing list thread at
> > http://www.openlaszlo.org/pipermail/laszlo-dev/2005-April/000877.htmlregarding the
development of a proper debugger for laszlo (with
> > breakpoints). It occurs to me that there's some vague chance this "bug" be
> > leveraged to make implementing this behavior a little more viable... am I
> > crazy?
> >
> > Ben
> >
> >
> > ---
> >
> > co+optual (www.cooptual.com <http://www.cooptual.com>)
> >
> > Ben Cox
> >
> > Chief Technologist
> >
> > 831.372.7098
> >
> >
> > "Reality is that which, when you stop believing in it, does not go away." -
> > Philip K. Dick
> >
> >
> > _______________________________________________
> > Laszlo-dev mailing list
> > Laszlo-dev <at> openlaszlo.org
> > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
> >
> >
> >
> 
> 
> --
> Henry Minsky
> Software Architect
> hminsky <at> laszlosystems.com
> 
Don Dwoske | 5 Oct 2005 20:50

Re: Re: lazlo4java ideas

That is basically what I was talking about.  Having something is better than nothing, and at the moment, I can't do much with the debugger (other than Debug.write) if there is no LPS server deployment - and with SOLO apps, that's pretty likely.

That, along with simpler compilation for a solo app (preferably a single jar - with well known dependencies) inside of an Ant or Maven build (including samples), would be excellent features.   If I have the time to put something useful together here I will, because I may need to do this anyway for my project.

-d-

On 10/5/05, Henry Minsky <henry.minsky <at> gmail.com> wrote:

I am going to try to add a fallback mode, so if the debugger evaluator gets a network error when trying to send an expression back to the server to compile, it will print a little warning and then try to run it through builtin Flash's eval(), so you can at least have simple inspection capabilities if there is no LPS server.




--

---------------------------------------
Donald Dwoske
Software Journeyman
http://www.loraxis.com/ddwoske
_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
P T Withington | 5 Oct 2005 21:04
Picon
Favicon
Gravatar

Re: Re: lazlo4java ideas

Don:

Note that objects that you present with Debug.write, or Debug.format 
("%w", ...) are inspectable (by clicking on them) and this does not  
require an LPS connection.  Warnings and Errors (created by  
Debug.error and Debug.warn) are also inspectable, and capture a  
backtrace if you have compiled with backtraces enabled.  This can be  
handy if you are trying to figure out what is causing an undefined  
reference warning, for instance.  Inspection does not require an LPS  
back end.

Henry:

Note that the built-in Flash eval can't do anything more than look up  
a variable reference, so perhaps we should write a little more of and  
evaluator, that at least handles variable assignment and simple  
function calls.

On 5 Oct 2005, at 14:50, Don Dwoske wrote:

> That is basically what I was talking about. Having something is  
> better than
> nothing, and at the moment, I can't do much with the debugger  
> (other than
> Debug.write) if there is no LPS server deployment - and with SOLO  
> apps,
> that's pretty likely.
>
> That, along with simpler compilation for a solo app (preferably a  
> single jar
> - with well known dependencies) inside of an Ant or Maven build  
> (including
> samples), would be excellent features. If I have the time to put  
> something
> useful together here I will, because I may need to do this anyway  
> for my
> project.
>
> -d-
>
> On 10/5/05, Henry Minsky <henry.minsky <at> gmail.com> wrote:
>
>>
>>
>> I am going to try to add a fallback mode, so if the debugger  
>> evaluator
>> gets a network error when trying to send an expression back to the  
>> server to
>> compile, it will print a little warning and then try to run it  
>> through
>> builtin Flash's eval(), so you can at least have simple inspection
>> capabilities if there is no LPS server.
>>
>>
>>
>
>
> --
>
> ---------------------------------------
> Donald Dwoske
> Software Journeyman
> http://www.loraxis.com/ddwoske
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev <at> openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
P T Withington | 5 Oct 2005 21:17
Picon
Favicon
Gravatar

Re: "data loading can hang forever in SOLO requests" issue...

The debug player has a proprietary interface.

On 5 Oct 2005, at 14:38, Elliot Winard wrote:

> Flex comes with `fdb`, a command-line gdb-esque debugger that works  
> with the
> debug builds of the Flash Player.
>
> It's *hugely* helpful in tracking down bugs.
> -e
>
> On Wed, 5 Oct 2005, Henry Minsky wrote:
>
>
>> I wouldn't depend to heavily on this behavior, it seems like  
>> something
>> Macromedia will fix when they get around to it.
>>
>> It would be great to have a way to suspend and step through an  
>> app, but the
>> free flash player doesn't have any documented or even known  
>> undocumented way
>> to do this. The Flash development environment that you buy from  
>> Macromedia
>> has a special debug-enabled version of the player, but we can't  
>> use that,
>> and the protocol for controlling it isn't publicly documented either.
>>
>>
>> On 9/25/05, Benjamin Cox <ben <at> insourcery.com> wrote:
>>
>>>
>>> There is an issue filed in JIRA at:
>>> http://openlaszlo.org/jira/browse/LPP-437 with the above- 
>>> mentioned title.
>>> Though this can clearly cause enormous problems in production,  
>>> there is a
>>> dev-time use case for this behavior.
>>> I run my server in a debugger, and make extensive use of  
>>> breakpoints,
>>> etc., while debugging issues between Laszlo and the data coming  
>>> from the
>>> server. If we make it so a hanging data request is ignored or  
>>> timed out, and
>>> Laszlo carries on, I won't be able to rely on my Laszlo app  
>>> waiting until
>>> I'm done on the server before trying to, say, render all the data.
>>>
>>> I'm wondering if a fix to this issue might be able to include a  
>>> setting to
>>> turn on "hanging requests"? Though I suppose there are other ways  
>>> to achieve
>>> my goals, Laszlo has made it awfully easy so far ;-)
>>>
>>> I'm also curious whether this issue is _strictly_ for SOLO apps.  
>>> I ask
>>> because there was an old mailing list thread at
>>> http://www.openlaszlo.org/pipermail/laszlo-dev/2005-April/ 
>>> 000877.htmlregarding the development of a proper debugger for  
>>> laszlo (with
>>> breakpoints). It occurs to me that there's some vague chance this  
>>> "bug" be
>>> leveraged to make implementing this behavior a little more  
>>> viable... am I
>>> crazy?
>>>
>>> Ben
>>>
>>>
>>> ---
>>>
>>> co+optual (www.cooptual.com <http://www.cooptual.com>)
>>>
>>> Ben Cox
>>>
>>> Chief Technologist
>>>
>>> 831.372.7098
>>>
>>>
>>> "Reality is that which, when you stop believing in it, does not  
>>> go away." -
>>> Philip K. Dick
>>>
>>>
>>> _______________________________________________
>>> Laszlo-dev mailing list
>>> Laszlo-dev <at> openlaszlo.org
>>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Henry Minsky
>> Software Architect
>> hminsky <at> laszlosystems.com
>>
>>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev <at> openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
Don Dwoske | 5 Oct 2005 21:59

Re: Re: lazlo4java ideas

I was completely unaware that you could click on objects printed in the debugger to expand them.. embarassing ignorance, I guess... that is indeed a useful feature. 

I really just wanted to be able to type Debug.write( something ) in the bottom of the debugger and have it print the result... that's where I was hanging... good things to see are just values of variables, or attributes of views... not sure if those things are possible SOLO without the LPS server running.  When I tried that the debugger just hanged, maybe that's the bug mentioned by Henry which was fixed.



On 10/5/05, P T Withington <ptw <at> pobox.com> wrote:
Don:

Note that objects that you present with Debug.write, or Debug.format
("%w", ...) are inspectable (by clicking on them) and this does not
require an LPS connection.  Warnings and Errors (created by
Debug.error and Debug.warn) are also inspectable, and capture a
backtrace if you have compiled with backtraces enabled.  This can be
handy if you are trying to figure out what is causing an undefined
reference warning, for instance.  Inspection does not require an LPS
back end.

Henry:

Note that the built-in Flash eval can't do anything more than look up
a variable reference, so perhaps we should write a little more of and
evaluator, that at least handles variable assignment and simple
function calls.

On 5 Oct 2005, at 14:50, Don Dwoske wrote:

> That is basically what I was talking about. Having something is
> better than
> nothing, and at the moment, I can't do much with the debugger
> (other than
> Debug.write) if there is no LPS server deployment - and with SOLO
> apps,
> that's pretty likely.
>
> That, along with simpler compilation for a solo app (preferably a
> single jar
> - with well known dependencies) inside of an Ant or Maven build
> (including
> samples), would be excellent features. If I have the time to put
> something
> useful together here I will, because I may need to do this anyway
> for my
> project.
>
> -d-
>
> On 10/5/05, Henry Minsky <henry.minsky <at> gmail.com> wrote:
>
>>
>>
>> I am going to try to add a fallback mode, so if the debugger
>> evaluator
>> gets a network error when trying to send an expression back to the
>> server to
>> compile, it will print a little warning and then try to run it
>> through
>> builtin Flash's eval(), so you can at least have simple inspection
>> capabilities if there is no LPS server.
>>
>>
>>
>
>
> --
>
> ---------------------------------------
> Donald Dwoske
> Software Journeyman
> http://www.loraxis.com/ddwoske
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev <at> openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>




--

---------------------------------------
Donald Dwoske
Software Journeyman
http://www.loraxis.com/ddwoske
_______________________________________________
Laszlo-dev mailing list
Laszlo-dev <at> openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Gmane