mt1 | 1 Dec 2006 07:56
Picon

using embed.js in lzx application

Hi forks,

Can i use a functions, that contained embed.js file, in <canvas> ?
I mean as following

<canvas>
<script>
LzBrowser.loadJS( "../lps/includes/embed.js" );
</script>

<view>
<handler .....>
lzSetCanvasAttribute( ..... );
</handler>
</view>
</canvas>

If this work, it is possible to change the canvas attribute values while
a application working.
But dose not work it. Is there any tips or the canvas attribute can not
change after the application
has initialized ?

Thanks in advance
mt1

prasad jorige | 1 Dec 2006 08:30
Picon
Favicon

where to call javarpc methods before loading the page.

Hi,
        I have an Issue with the javarpc remotecall. I need to call a javarpc remotecall before loading the laszlo
page and I have to set that remotecall result(boolean value) to canvas attribute in remotecall function
ondata event. I have tried out to call javarpc remotecall in canvas onload, javarpc onload events, but it
is not solve my problem. Is their any solution for this issue?

Thanks,
Prasad Jorige.

		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Troy Bridoux | 1 Dec 2006 10:50

Re: I am at the end of my rope

What David says makes sense.  It is how open source works.
But I think it works best when you already have a huge user base, which
doesn't seem to be the case for OpenLaszlo yet.
So what we have are relatively quiet mailing lists and forums.

I'm now evaluating whether I should jump into the world of OpenLaszlo and my
gripping fear is to be stuck in William's situation because there just
aren't enough fellow developers around to help.

I've talked to friends and we were all scratching our heads as to why
OpenLaszlo hasn't taken off like crazy, given how good it looks and the
head start it's had.
Smells like the classic chicken-and-egg paradox:
developers don't want to jump in until they see more developers around.

I'm afraid myself.  To be frank, I'm thinking right now
I'll just use OpenLaszlo for prototyping and then rewrite with some
of the up-and-coming AJAX toolkits, which are inferior to OpenLaszlo
but have a clear future thanks to a lot of hype and mindshare.

We all want OpenLaszlo to succeed of course.  It's an amazing and innovative
platform.  The question is when does the exponential growth kick in?

My two cents

On 2006-11-28, Raju Bitter <rajubitter@...> wrote:
> William,
>
> David is right. The Laszlo folks offer their help in the forum and mailing
> lists on top of their regular work. I've had many questions answered and
(Continue reading)

Brian Crounse | 1 Dec 2006 21:01
Picon

Re: I am at the end of my rope

I'm evaluating OpenLaszlo right now for a small project; here's my
initial reaction, in respose to the question, "why is OpenLaszlo not
more popular?"

1. Look and feel
This is somewhat arbitrary: Although I like the overall slickness
(ease and quality of animation, etc.) of the GUI elements, I just
don't really like the way a lot of stuff looks.  In particular, I find
demos like the dashboard, well, kinda ugly.  I presume you can re-skin
widgets to look any way you like, but I'd personally like a prettier
look out of the box.  And maybe a little 'lighter'.  I can't really
articulate what I mean, but the look and feel seems 'heavy'.  I
realize that beauty is in the eye of the beholder, but that was my
initial reaction. And it was a bit of a turn off, though by no means a
deal killer for me.

2. Dislike of Flash
I'm not as anti-flash as some people, but I don't like the fact that
it often breaks the back button, right-click menu, etc.  And, for
example, in the Amazon demo you can't copy and paste any info
(sometimes that's useful).  I realize that Legals with a DHTML
back-end should address this issue, but my impression (again, I'm
taking the role of inattentive new developer here) is that it's not
quite yet ready for prime time.

3. Language feels a little alien
I started to mess around with some code, defining objects, etc.
Thanks to the really excellent documentation and demos, this was very
easy.  But then I wanted to make the appearance of a widget
conditional on the value of a user cookie (or some other variable).  I
(Continue reading)

Not Zippy | 1 Dec 2006 22:22
Picon

Re: I am at the end of my rope

Brian : I think what your after is state stuff:
<state apply="${classroot.attributename==true}">
  <text text="hello"/>
<state>

Of course you can also do this too:
  <text text="${classroot.message}"/>

In general:

Its quite amazing what you can do with laszlo once you learn it, the biggest hurdle is the learning curve
I did this small application for a customer http://www.lightburnbulldogs.com/site/ (See pictures on left)

But I did spend about a month before that pushing laszlo to its limits. The one thing I find annoying is the fact that they use XML for nesting the views. This tends to make pretty big source files.

I havent used the grid object but you can easily make a view look like a grid, which gives you much more flexibility (and readability) on how the row is displayed  for example
<view datapath="list" height="200" width="800" layout="axis:y">
  <view layout="axis:x" datapath="row">
    <text datapath="field1/text()"/>
    <text datapath="field2/text()"/>
    <text datapath="field3/text()"/>
  </view>
<vertscrollbar/>
</view>

should (somewhat) work with the following xml
<list>
<row><field1>a</field1><field2>b</field2><field3>c</field3></row>
<row><field1>a</field1><field2>b</field2><field3>c</field3></row>
<row><field1>a</field1><field2>b</field2><field3>c</field3></row>
<row><field1>a</field1><field2>b</field2><field3>c</field3></row>
</list>

but then again I also knew suneido (http://suneido.com) who's language structure and views are very similar (but without the XML elements) before I started laszlo

There used to be www.mylaszlo.com which reportedly was a playground to showoff your apps but it hasnt been up for a while (It would be great to see it up again !)

Z


On 12/1/06, Brian Crounse <bcrounse <at> gmail.com> wrote:
I'm evaluating OpenLaszlo right now for a small project; here's my
initial reaction, in respose to the question, "why is OpenLaszlo not
more popular?"

1. Look and feel
This is somewhat arbitrary: Although I like the overall slickness
(ease and quality of animation, etc.) of the GUI elements, I just
don't really like the way a lot of stuff looks.  In particular, I find
demos like the dashboard, well, kinda ugly.  I presume you can re-skin
widgets to look any way you like, but I'd personally like a prettier
look out of the box.  And maybe a little 'lighter'.  I can't really
articulate what I mean, but the look and feel seems 'heavy'.  I
realize that beauty is in the eye of the beholder, but that was my
initial reaction. And it was a bit of a turn off, though by no means a
deal killer for me.

2. Dislike of Flash
I'm not as anti-flash as some people, but I don't like the fact that
it often breaks the back button, right-click menu, etc.  And, for
example, in the Amazon demo you can't copy and paste any info
(sometimes that's useful).  I realize that Legals with a DHTML
back-end should address this issue, but my impression (again, I'm
taking the role of inattentive new developer here) is that it's not
quite yet ready for prime time.

3. Language feels a little alien
I started to mess around with some code, defining objects, etc.
Thanks to the really excellent documentation and demos, this was very
easy.  But then I wanted to make the appearance of a widget
conditional on the value of a user cookie (or some other variable).  I
couldn't figure out how to do this (now, I'm ***sure*** you can do
this, but it wasn't evident to me at the time), and said 'screw it,
I'll just go find a good Ajax toolkit and write the backend in PHP'.
Ok, I just searched for "control structure" site:openlaszlo.org on
Google and infer from section 1.2 Javascript that control structures
are written in Javascript. At least that's what I think.  But my point
is that OpenLaszlo is different enough from LAMP + AJAX or whatever
other common acronyms are in use, that too many newbie developers like
myself run back to mama's cooking at the first sign of danger.  I
think LISP suffers from similar issues- as Paul Graham notes, most of
the hip new languages like Python largely represent an evolution from
C back toward LISP (ducks).

Now, experienced OpenLaszlo developers who read this are going to say
"What an idiot! All of those issues are trivial!", and you are
probably right.  But they don't appear trivial to me at this time.

I am still on the bubble for figuring out what platform to use for my
little hobby application.  Can anyone point me to some good examples
with basic non-event control structures (e.g. If cookie A='b', show
this widget, otherwise hide it).

Cheers,

Brian

On 12/1/06, Troy Bridoux <troy-news-uK/oKMVVXK8@public.gmane.orgg > wrote:
> What David says makes sense.  It is how open source works.
> But I think it works best when you already have a huge user base, which
> doesn't seem to be the case for OpenLaszlo yet.
> So what we have are relatively quiet mailing lists and forums.
>
> I'm now evaluating whether I should jump into the world of OpenLaszlo and my
> gripping fear is to be stuck in William's situation because there just
> aren't enough fellow developers around to help.
>
> I've talked to friends and we were all scratching our heads as to why
> OpenLaszlo hasn't taken off like crazy, given how good it looks and the
> head start it's had.
> Smells like the classic chicken-and-egg paradox:
> developers don't want to jump in until they see more developers around.
>
> I'm afraid myself.  To be frank, I'm thinking right now
> I'll just use OpenLaszlo for prototyping and then rewrite with some
> of the up-and-coming AJAX toolkits, which are inferior to OpenLaszlo
> but have a clear future thanks to a lot of hype and mindshare.
>
> We all want OpenLaszlo to succeed of course.  It's an amazing and innovative
> platform.  The question is when does the exponential growth kick in?
>
> My two cents
>
>
> On 2006-11-28, Raju Bitter < rajubitter-S0/GAf8tV78@public.gmane.org> wrote:
> > William,
> >
> > David is right. The Laszlo folks offer their help in the forum and mailing
> > lists on top of their regular work. I've had many questions answered and
> > received so much help from many people (including David Temkin). And I don't
> > assume it's so common to have the CTO of a more than successful company
> > getting down to the mailing list and answering questions.
> >
> > Nevertheless I hope that your problem could be solved.
> >
> > Best,
> >
> > Raju
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: laszlo-user-bounces <at> openlaszlo.org [mailto:laszlo-user-
> >> bounces <at> openlaszlo.org ] Im Auftrag von David Temkin
> >> Gesendet: Sonntag, 19. November 2006 19:10
> >> An: William Powell; laszlo-user community discussion; OpenLaszlo
> >> development and bug reporting; laszlouser-hHKSG33TihhbjbujkaE4pw@public.gmane.org
> >> Betreff: Re: [Laszlo-user] I am at the end of my rope
> >>
> >> Bill,
> >>
> >> I appreciate the fact that you've embraced development with
> >> OpenLaszlo. I also understand that things can get very frustrating
> >> when you're on a deadline, and a seemingly simple problem is standing
> >> in the way of completion.
> >>
> >> If you're building a serious enterprise application and cannot get
> >> the result you need from the free/community areas (the forums, the
> >> mailing lists), I would recommend that you consider purchasing
> >> support from Laszlo to get your issues resolved.
> >>
> >> OpenLaszlo is in fact gaining in popularity and usage (as you've
> >> probably noticed), but popularity alone doesn't pay the bills.
> >> Support contracts, among other things, pay the bills. In the end
> >> we're a business just like you (or your employer) are. As a company,
> >> we are most responsive to customers who are paying us. Yes, you can
> >> get free advice from developers using OpenLaszlo, even from the core
> >> development team, on the forums and mailing lists, but this isn't a
> >> service that the company provides or guarantees. It's at the
> >> discretion of the developers themselves. They have their jobs, and
> >> answering support questions isn't part of it.
> >>
> >> Perhaps someone will answer your question based on your email. If
> >> not, I'd recommend taking a look at the support offerings below. They
> >> have been restructured to support different kinds of development
> >> efforts, and I expect there's something here that would work for you:
> >>
> >> http://www.laszlosystems.com/services/support
> >>
> >> Remember, this is how open source development gets supported. And
> >> you'll find that our support engineers are prompt and accurate.
> >>
> >> David Temkin
> >> Founder and CTO, Laszlo Systems
> >>
> >>
> >>
> >> On Nov 19, 2006, at 8:39 AM, William Powell wrote:
> >>
> >> > I seem to be getting all these seemingly automated
> >> > responses that keep sending me from user group to user
> >> > group. When is somebody going to answer my questions?
> >> > Bill (I used to think Laszlo was a good product)
> >> >
> >> > I am beginning to think that either the Laszlo company
> >> > people don't
> >> > read these forums and user groups or they don't want a
> >> > market
> >> > acceptable product. I am seriously pissed off! Nobody
> >> > answers
> >> > questions pertaining to serious problems with using
> >> > this product in
> >> > enterprise applications. A serious business data grid
> >> > should be able
> >> > to switch its editability by a user activated button.
> >> > It seems that
> >> > some idiot made the gridtext component editability
> >> > non-changeable at
> >> > runtime. I have tried the things suggested on the
> >> > forums - they don't
> >> > work!!! I have alse tried using the gridcolumn with
> >> > edittext
> >> > components beneath it. But then the row selection
> >> > doesn't work. If
> >> > there is a way of doing this it should be documented
> >> > in a clear and
> >> > understandable fashion. The various methods described
> >> > on the forums do
> >> > not work under 3.3.1. You are rapidly losing the
> >> > serious part of your
> >> > audience that wants to create serious business
> >> > applications that look
> >> > good. No one seems to want to answer questions about
> >> > how to mmake this
> >> > grid component workm the way business needs it to
> >> > work. I need to have
> >> > a switch that allows the selected row to be edited but
> >> > no matter what
> >> > I do some part of the desired functionality doesn't
> >> > work. I need to
> >> > edit the text of the selected row after a edit button
> >> > is pushed. Can
> >> > anybody help?
> >> >
> >> >
> >> >
> >> > ______________________________________________________________________
> >> > ______________
> >> > Sponsored Link
> >> >
> >> > $420k for $1,399/mo.
> >> > Think You Pay Too Much For Your Mortgage?
> >> > Find Out! www.LowerMyBills.com/lre
> >
> >
> >
>
>


Brian Crounse | 2 Dec 2006 19:08
Picon

Re: I am at the end of my rope

Z,

Thanks.  I'll poke around the state and related tags some more.  After
my last post, I've convinced myself to poke around openLaszlo a bit
more.

Cheers,

Brian

On 12/1/06, Not Zippy <notzippy@...> wrote:
> Brian : I think what your after is state stuff:
> <state apply="${classroot.attributename==true}">
>   <text text="hello"/>
>  <state>
>
> Of course you can also do this too:
>   <text text="${classroot.message}"/>
>
> In general:
>
> Its quite amazing what you can do with laszlo once you learn it, the biggest
> hurdle is the learning curve
> I did this small application for a customer
> http://www.lightburnbulldogs.com/site/ (See pictures on
> left)
>
> But I did spend about a month before that pushing laszlo to its limits. The
> one thing I find annoying is the fact that they use XML for nesting the
> views. This tends to make pretty big source files.
>
> I havent used the grid object but you can easily make a view look like a
> grid, which gives you much more flexibility (and readability) on how the row
> is displayed  for example
> <view datapath="list" height="200" width="800" layout="axis:y">
>   <view layout="axis:x" datapath="row">
>     <text datapath="field1/text()"/>
>      <text datapath="field2/text()"/>
>      <text datapath="field3/text()"/>
>    </view>
> <vertscrollbar/>
> </view>
>
> should (somewhat) work with the following xml
> <list>
> <row><field1>a</field1><field2>b</field2><field3>c</field3></row>
> <row><field1>a</field1><field2>b</field2><field3>c</field3></row>
> <row><field1>a</field1><field2>b</field2><field3>c</field3></row>
> <row><field1>a</field1><field2>b</field2><field3>c</field3></row>
>  </list>
>
> but then again I also knew suneido (http://suneido.com) who's language
> structure and views are very similar (but without the XML elements) before I
> started laszlo
>
> There used to be www.mylaszlo.com which reportedly was a playground to
> showoff your apps but it hasnt been up for a while (It would be great to see
> it up again !)
>
> Z
>
>
>
> On 12/1/06, Brian Crounse <bcrounse@...> wrote:
> > I'm evaluating OpenLaszlo right now for a small project; here's my
> > initial reaction, in respose to the question, "why is OpenLaszlo not
> > more popular?"
> >
> > 1. Look and feel
> > This is somewhat arbitrary: Although I like the overall slickness
> > (ease and quality of animation, etc.) of the GUI elements, I just
> > don't really like the way a lot of stuff looks.  In particular, I find
> > demos like the dashboard, well, kinda ugly.  I presume you can re-skin
> > widgets to look any way you like, but I'd personally like a prettier
> > look out of the box.  And maybe a little 'lighter'.  I can't really
> > articulate what I mean, but the look and feel seems 'heavy'.  I
> > realize that beauty is in the eye of the beholder, but that was my
> > initial reaction. And it was a bit of a turn off, though by no means a
> > deal killer for me.
> >
> > 2. Dislike of Flash
> > I'm not as anti-flash as some people, but I don't like the fact that
> > it often breaks the back button, right-click menu, etc.  And, for
> > example, in the Amazon demo you can't copy and paste any info
> > (sometimes that's useful).  I realize that Legals with a DHTML
> > back-end should address this issue, but my impression (again, I'm
> > taking the role of inattentive new developer here) is that it's not
> > quite yet ready for prime time.
> >
> > 3. Language feels a little alien
> > I started to mess around with some code, defining objects, etc.
> > Thanks to the really excellent documentation and demos, this was very
> > easy.  But then I wanted to make the appearance of a widget
> > conditional on the value of a user cookie (or some other variable).  I
> > couldn't figure out how to do this (now, I'm ***sure*** you can do
> > this, but it wasn't evident to me at the time), and said 'screw it,
> > I'll just go find a good Ajax toolkit and write the backend in PHP'.
> > Ok, I just searched for "control structure" site:openlaszlo.org on
> > Google and infer from section 1.2 Javascript that control structures
> > are written in Javascript. At least that's what I think.  But my point
> > is that OpenLaszlo is different enough from LAMP + AJAX or whatever
> > other common acronyms are in use, that too many newbie developers like
> > myself run back to mama's cooking at the first sign of danger.  I
> > think LISP suffers from similar issues- as Paul Graham notes, most of
> > the hip new languages like Python largely represent an evolution from
> > C back toward LISP (ducks).
> >
> > Now, experienced OpenLaszlo developers who read this are going to say
> > "What an idiot! All of those issues are trivial!", and you are
> > probably right.  But they don't appear trivial to me at this time.
> >
> > I am still on the bubble for figuring out what platform to use for my
> > little hobby application.  Can anyone point me to some good examples
> > with basic non-event control structures (e.g. If cookie A='b', show
> > this widget, otherwise hide it).
> >
> > Cheers,
> >
> > Brian
> >
> > On 12/1/06, Troy Bridoux <troy-news@... > wrote:
> > > What David says makes sense.  It is how open source works.
> > > But I think it works best when you already have a huge user base, which
> > > doesn't seem to be the case for OpenLaszlo yet.
> > > So what we have are relatively quiet mailing lists and forums.
> > >
> > > I'm now evaluating whether I should jump into the world of OpenLaszlo
> and my
> > > gripping fear is to be stuck in William's situation because there just
> > > aren't enough fellow developers around to help.
> > >
> > > I've talked to friends and we were all scratching our heads as to why
> > > OpenLaszlo hasn't taken off like crazy, given how good it looks and the
> > > head start it's had.
> > > Smells like the classic chicken-and-egg paradox:
> > > developers don't want to jump in until they see more developers around.
> > >
> > > I'm afraid myself.  To be frank, I'm thinking right now
> > > I'll just use OpenLaszlo for prototyping and then rewrite with some
> > > of the up-and-coming AJAX toolkits, which are inferior to OpenLaszlo
> > > but have a clear future thanks to a lot of hype and mindshare.
> > >
> > > We all want OpenLaszlo to succeed of course.  It's an amazing and
> innovative
> > > platform.  The question is when does the exponential growth kick in?
> > >
> > > My two cents
> > >
> > >
> > > On 2006-11-28, Raju Bitter < rajubitter@...> wrote:
> > > > William,
> > > >
> > > > David is right. The Laszlo folks offer their help in the forum and
> mailing
> > > > lists on top of their regular work. I've had many questions answered
> and
> > > > received so much help from many people (including David Temkin). And I
> don't
> > > > assume it's so common to have the CTO of a more than successful
> company
> > > > getting down to the mailing list and answering questions.
> > > >
> > > > Nevertheless I hope that your problem could be solved.
> > > >
> > > > Best,
> > > >
> > > > Raju
> > > >
> > > >> -----Ursprüngliche Nachricht-----
> > > >> Von: laszlo-user-bounces@...
> [mailto:laszlo-user-
> > > >> bounces@... ] Im Auftrag von David Temkin
> > > >> Gesendet: Sonntag, 19. November 2006 19:10
> > > >> An: William Powell; laszlo-user community discussion; OpenLaszlo
> > > >> development and bug reporting; laszlouser@...
> > > >> Betreff: Re: [Laszlo-user] I am at the end of my rope
> > > >>
> > > >> Bill,
> > > >>
> > > >> I appreciate the fact that you've embraced development with
> > > >> OpenLaszlo. I also understand that things can get very frustrating
> > > >> when you're on a deadline, and a seemingly simple problem is standing
> > > >> in the way of completion.
> > > >>
> > > >> If you're building a serious enterprise application and cannot get
> > > >> the result you need from the free/community areas (the forums, the
> > > >> mailing lists), I would recommend that you consider purchasing
> > > >> support from Laszlo to get your issues resolved.
> > > >>
> > > >> OpenLaszlo is in fact gaining in popularity and usage (as you've
> > > >> probably noticed), but popularity alone doesn't pay the bills.
> > > >> Support contracts, among other things, pay the bills. In the end
> > > >> we're a business just like you (or your employer) are. As a company,
> > > >> we are most responsive to customers who are paying us. Yes, you can
> > > >> get free advice from developers using OpenLaszlo, even from the core
> > > >> development team, on the forums and mailing lists, but this isn't a
> > > >> service that the company provides or guarantees. It's at the
> > > >> discretion of the developers themselves. They have their jobs, and
> > > >> answering support questions isn't part of it.
> > > >>
> > > >> Perhaps someone will answer your question based on your email. If
> > > >> not, I'd recommend taking a look at the support offerings below. They
> > > >> have been restructured to support different kinds of development
> > > >> efforts, and I expect there's something here that would work for you:
> > > >>
> > > >> http://www.laszlosystems.com/services/support
> > > >>
> > > >> Remember, this is how open source development gets supported. And
> > > >> you'll find that our support engineers are prompt and accurate.
> > > >>
> > > >> David Temkin
> > > >> Founder and CTO, Laszlo Systems
> > > >>
> > > >>
> > > >>
> > > >> On Nov 19, 2006, at 8:39 AM, William Powell wrote:
> > > >>
> > > >> > I seem to be getting all these seemingly automated
> > > >> > responses that keep sending me from user group to user
> > > >> > group. When is somebody going to answer my questions?
> > > >> > Bill (I used to think Laszlo was a good product)
> > > >> >
> > > >> > I am beginning to think that either the Laszlo company
> > > >> > people don't
> > > >> > read these forums and user groups or they don't want a
> > > >> > market
> > > >> > acceptable product. I am seriously pissed off! Nobody
> > > >> > answers
> > > >> > questions pertaining to serious problems with using
> > > >> > this product in
> > > >> > enterprise applications. A serious business data grid
> > > >> > should be able
> > > >> > to switch its editability by a user activated button.
> > > >> > It seems that
> > > >> > some idiot made the gridtext component editability
> > > >> > non-changeable at
> > > >> > runtime. I have tried the things suggested on the
> > > >> > forums - they don't
> > > >> > work!!! I have alse tried using the gridcolumn with
> > > >> > edittext
> > > >> > components beneath it. But then the row selection
> > > >> > doesn't work. If
> > > >> > there is a way of doing this it should be documented
> > > >> > in a clear and
> > > >> > understandable fashion. The various methods described
> > > >> > on the forums do
> > > >> > not work under 3.3.1. You are rapidly losing the
> > > >> > serious part of your
> > > >> > audience that wants to create serious business
> > > >> > applications that look
> > > >> > good. No one seems to want to answer questions about
> > > >> > how to mmake this
> > > >> > grid component workm the way business needs it to
> > > >> > work. I need to have
> > > >> > a switch that allows the selected row to be edited but
> > > >> > no matter what
> > > >> > I do some part of the desired functionality doesn't
> > > >> > work. I need to
> > > >> > edit the text of the selected row after a edit button
> > > >> > is pushed. Can
> > > >> > anybody help?
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> ______________________________________________________________________
> > > >> > ______________
> > > >> > Sponsored Link
> > > >> >
> > > >> > $420k for $1,399/mo.
> > > >> > Think You Pay Too Much For Your Mortgage?
> > > >> > Find Out! www.LowerMyBills.com/lre
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

liwenzhi | 3 Dec 2006 12:12
Favicon

Re: I am at the end of my rope

bcrounse,hi!

	1. the openlaszlo demo using "cool" skin just want to catch us eyes and make some visual effect,but in real
project, they(openlaslzo studio)or we never use such luxurious stuff.
see that:
http://www.surewest.net
http://www.openria.cn/main

    2. although,flash is not fit for everyone's taste,but,now, it is the only run time we could choose when
using openlaszlo, and if you wanna to copy and paste flash test, you can use inputtext control.

    3.many devolper say the lzx language is a little big "strange" and "alien",but this is just the feature of
openlaszlo,different from the traditional programming model, after all the language want to be a agile
develoment language.Also,you can find some infomation about your taget of "make the appearance of a widget
conditional on the value of a user cookie" at:

http://www.openlaszlo.org/lps/docs/guide/cookies.html
we have done the same task as your's getting http session infomation by using "dataset",it's src is a ".jsp"
file,so,this is not a big problem.

   some opinions of yours I agree, the platform's wide population and adoption need offical effort,because
people are new to OL need to confirm more relaibility and feasibility of it.So,more specific technical
articles and some consulting guides are strongly desired.That's just the shortage of Openlaszlo,also
the support of developoment community.

with regards
 				

liwenzhi
rabbit69@...
2006-12-03
----------------------------------
lwz7512

Sponsor of chinese Openlaslzo community

http://www.openria.cn

DL | 4 Dec 2006 20:03

Experiment: LZX <-->haXe<-->AMFPHP

haXe seems to offer a useful bridge for linking OpenLaszlo to AMFPHP.

I have just imported a haXe compiled amftest.swf movie as resource into OpenLaszlo.

More here .. http://forum.openlaszlo.org/showthread.php?t=7927

Other classes in haXe API can work similarly with OpenLaszlo (including DHTML).

DL

haXe seems to offer a useful bridge for linking OpenLaszlo to AMFPHP.

I have just imported a haXe compiled amftest.swf movie as resource into OpenLaszlo.


Other classes in haXe API can work similarly with OpenLaszlo (including DHTML).

DL

 
Adam Wolff | 4 Dec 2006 20:28

4.0 dhtml question

I'd like to add an iframe as a child of the content sprite in a laszlo
window. Right now my program looks kinda like this:

    <window name="mywin">
    ...

        var ifr = document.createElement( "iframe" );
        mywin.content.sprite.__LZdiv.appendChild( ifr );
        ifr.src = ...

If I try to this with a regular laszlo view, things work fine, but
something about maybe the masking or the styling is messing it up in the
window. I can see the request get made, so this is a display problem.

Any insight will be appreciated.

Thanks,
Adam

Max Carlson | 4 Dec 2006 20:42
Favicon

Re: Compiled LZX -> LPS protocol specs

Stefan wrote:
> 
> Am 27.11.2006 um 19:10 schrieb Stefan:
> 
>> which requests its dset by means of this request [swfload.php is my 
>> loader]:
>>
>> >>>
>>
/laszlo/swfload.php?nsprefix=false&trimwhitespace=false&sendheaders=false&headers=undefined&reqtype=GET&timeout=30000&fpv=undefined&ccache=undefined&lzt=xmldata&url=http%3A%2F%2F127%2E0%2E0%2E1%3A8888%2Flaszlo%2Fgetemployees%2Ejsp&%5F%5Flzbc%5F%5F=1164649310629%2E49 
>>
>> <<<
>>
>> Does anybody has a good pointer, which explains what each parameter 
>> means and
>> what exactly is expected to come back from the server?
> 
> By reverse engireering the Java source, I found this format for XML - 
> likely to be
> a very simple case, I suppose:
> 
> <resultset s="0"><root dset="xml">
> 
> <phonebook>
>     <employee>
>         <firstName>Aimee</firstName>
>         <lastName>Taylor</lastName>
>         <phone>415-435-6645</phone>
>         <email>aimee@...</email>
>     </employee>
> 
> </phonebook>
> 
> </root></resultset>
> 
> Still, I'm happy to get details regarding the LZX <-> LPS connection API 
> for
> LZX datasets [SOAP, XML etc.].

Hi Stefan,

Having a version of the proxy server that doesn't require Java
(swfload.php) will be super-great.  And it gave me a good excuse to put
up a wiki page documenting the LPS server protocol:

http://wiki.openlaszlo.org/LPS_server_API

As soon as we get 4.0 beta out the door we can write up more of the details.

It looks like you have enough to go on to proxy XML data requests.  It
would be great to add support for media requests - let me know if you
need more documentation or have specific questions.

And of course, please update and comment on the wiki as you see fit.

Also, I can link to your work from the appropriate wiki page(s) if you'd
like.  Thanks for the contribution!

--

-- 
Regards,
Max Carlson
OpenLaszlo.org


Gmane