Picon
Gravatar

Re: [Laszlo-dev] Microphone.getEnhancedMicrophone(); throws compiler error

Hm,

okay, where do you commit your results to?

Sebastian

2012/2/3 Will Daniels <willops79-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi! I think it has to do with the fact the Laszlo is not currently compiled against the latest Flex SDK, so none of the new classes seem to be available.

Raju and I are working on that...but help is always appreciated :)


On Thu, Feb 2, 2012 at 11:00 AM, seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,

the script
Microphone.getEnhancedMicrophone();

throws a compiler error that there is a static reference to .. I guess
non existing method.

Microphone.getMicrophone();

works. However, that is of course no "enhancedMicrophone" then.

Anybody got an idea how to solve or workaround that?

Sebastian

--
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner <at> gmail.com




--
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
augusto callejas | 15 Feb 03:15
Favicon

text cuts off in grid

hi-

i recently upgraded from openlaszlo 4.0 to openlaszlo 4.9 and i'm finding some issues in rendering a table i'm displaying using <grid>.
here is a screenshot of some of the rows in the grid:


the bottom half of all the text in each row seems to be cut off.  has anyone run into this problem or have any suggestions?

thanks,
augusto.
Picon
Gravatar

Re: text cuts off in grid

Hi Augusto,

are you using a custom font in your text box? Maybe you could post a minimalistic sample code, that would make it easier to reproduce.

Sebastian

2012/2/15 augusto callejas <augusto <at> qless.com>
hi-

i recently upgraded from openlaszlo 4.0 to openlaszlo 4.9 and i'm finding some issues in rendering a table i'm displaying using <grid>.
here is a screenshot of some of the rows in the grid:


the bottom half of all the text in each row seems to be cut off.  has anyone run into this problem or have any suggestions?

thanks,
augusto.



--
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
augusto callejas | 15 Feb 17:47
Favicon

Re: text cuts off in grid

i'm using "verdanaBold.ttf" font that i'm including with my code.
for reference, the grid shows up correct in openlaszlo 4.0 (before my code upgrade):



here is a sample of the code.  its a large codebase so its just small snippets.

betterGrid is a custom class that extends grid (it sets a default bgcolor0):
===
                        <betterGrid id="myGrid" font="${canvas.msgFont.data}"
                                        datapath="myGrid:/mySpots"
                                        contentdatapath="spot" width="${parent.width}"
                                        height="${parent.height - 35}"
                                        x="0" y="35" fontsize="12" rowheight="30">

===

betterGridText is a custom class that extends basegridcolumn:
===
                                <betterGridText width="${(parent.width - 250) * (.10 + parent.pctInvisible / parent.visibleColumnCount)}"
                                                name="nameColumn" textFont="${canvas.msgFont.data}"
                                                editable="false" sortpath=" <at> rowId">

===

so in the 4.9 version:


is there a vertical alignment i have to set in order for the text to show up correctly?

also i noticed that in the 4.9 version, the grid columns don't have the dividers that let me resize the columns.

thanks,
augusto.

On Feb 15, 2012, at 1:37 AM, seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

Hi Augusto,

are you using a custom font in your text box? Maybe you could post a minimalistic sample code, that would make it easier to reproduce.

Sebastian

2012/2/15 augusto callejas <augusto-Cfp0V3UEz34AvxtiuMwx3w@public.gmane.org>
hi-

i recently upgraded from openlaszlo 4.0 to openlaszlo 4.9 and i'm finding some issues in rendering a table i'm displaying using <grid>.
here is a screenshot of some of the rows in the grid:


the bottom half of all the text in each row seems to be cut off.  has anyone run into this problem or have any suggestions?

thanks,
augusto.



--
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

augusto callejas | 15 Feb 18:36
Favicon

Re: text cuts off in grid

i figured out my problem.  there is a custom view for the content of each "cell" in the grid, which was too short and hence cutting off the font.
i'm still trying to figure out why the dividers to resize columns isn't showing up.  if i figure it out i'll repost my answer.

thanks,
augusto.

On Feb 15, 2012, at 8:47 AM, augusto callejas wrote:

i'm using "verdanaBold.ttf" font that i'm including with my code.
for reference, the grid shows up correct in openlaszlo 4.0 (before my code upgrade):



here is a sample of the code.  its a large codebase so its just small snippets.

betterGrid is a custom class that extends grid (it sets a default bgcolor0):
===
                        <betterGrid id="myGrid" font="${canvas.msgFont.data}"
                                        datapath="myGrid:/mySpots"
                                        contentdatapath="spot" width="${parent.width}"
                                        height="${parent.height - 35}"
                                        x="0" y="35" fontsize="12" rowheight="30">

===

betterGridText is a custom class that extends basegridcolumn:
===
                                <betterGridText width="${(parent.width - 250) * (.10 + parent.pctInvisible / parent.visibleColumnCount)}"
                                                name="nameColumn" textFont="${canvas.msgFont.data}"
                                                editable="false" sortpath=" <at> rowId">

===

so in the 4.9 version:


is there a vertical alignment i have to set in order for the text to show up correctly?

also i noticed that in the 4.9 version, the grid columns don't have the dividers that let me resize the columns.

thanks,
augusto.

On Feb 15, 2012, at 1:37 AM, seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

Hi Augusto,

are you using a custom font in your text box? Maybe you could post a minimalistic sample code, that would make it easier to reproduce.

Sebastian

2012/2/15 augusto callejas <augusto-Cfp0V3UEz34AvxtiuMwx3w@public.gmane.org>
hi-

i recently upgraded from openlaszlo 4.0 to openlaszlo 4.9 and i'm finding some issues in rendering a table i'm displaying using <grid>.
here is a screenshot of some of the rows in the grid:


the bottom half of all the text in each row seems to be cut off.  has anyone run into this problem or have any suggestions?

thanks,
augusto.



--
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org


augusto callejas | 22 Feb 05:49
Favicon

createRadialGradient not working with html5? (openlaszlo 4.9)

hi-

i was reviewing the examples for createRadialGradient in the reference guide (v4.9):


and i noticed the swf version of the example renders the gradient correctly:


but the html5 version doesn't:


does anyone have insight into why it doesn't work correctly in html5?

thanks,
augusto.
  
augusto callejas | 22 Feb 07:19
Favicon

child drawview gets clipped (openlaszlo 4.9)

hi-

i have a drawview that has another drawview as a child.  in that child, i'm drawing an oval,
and that oval is larger than the parent drawview.  when i render to swf, it renders the entire
oval, but in html5, the oval gets clipped.  how can i make it so that the oval doesn't get clipped
in html5?

thanks,
augusto.

Raju Bitter | 23 Feb 12:23

Re: child drawview gets clipped (openlaszlo 4.9)

Could you give us a code example?

On Wed, Feb 22, 2012 at 7:19 AM, augusto callejas <augusto@...> wrote:
> hi-
>
> i have a drawview that has another drawview as a child.  in that child, i'm drawing an oval,
> and that oval is larger than the parent drawview.  when i render to swf, it renders the entire
> oval, but in html5, the oval gets clipped.  how can i make it so that the oval doesn't get clipped
> in html5?
>
> thanks,
> augusto.

augusto callejas | 29 Feb 02:04
Favicon

Re: child drawview gets clipped (openlaszlo 4.9)

thanks for replying quickly, i figured out the problem.
apparently the parent drawview was too small to render the entire oval.
in the html5 version of my app, it clipped the oval, but not in the swf8 version of my app.
widening the parent drawview fixed the problem.  seeing two different behaviors was the confusing part.

thanks,
augusto.

On Feb 23, 2012, at 3:23 AM, Raju Bitter wrote:

> Could you give us a code example?
> 
> On Wed, Feb 22, 2012 at 7:19 AM, augusto callejas <augusto@...> wrote:
>> hi-
>> 
>> i have a drawview that has another drawview as a child.  in that child, i'm drawing an oval,
>> and that oval is larger than the parent drawview.  when i render to swf, it renders the entire
>> oval, but in html5, the oval gets clipped.  how can i make it so that the oval doesn't get clipped
>> in html5?
>> 
>> thanks,
>> augusto.

augusto callejas | 29 Feb 02:21
Favicon

html5 version incorrectly appends to the Content-Type request header (openlaszlo 4.9)

hi-

i have code below that performs a POST request, where i'm setting the Content-Type HTTP header.

===
        <dataset name="stopWS" querytype="POST" type="http" datafromchild="true" proxied="false" queuerequests="true">
                <method name="doRequest">
                        setHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
                        super.doRequest();
                </method>
        </dataset>
===

===
                                        stopWS.setAttribute('src', '/api/stop');
                                        stopWS.doRequest();
===

i'm seeing two different values in the HTTP request header Content-Type on the server, depending on the
version of the client:

swf8: application/x-www-form-urlencoded; charset=UTF-8
html5: application/x-www-form-urlencoded; charset=UTF-8 application/x-www-form-urlencoded

the html5 version of my app is appending "application/x-www-form-urlencoded" to the Content-Type header.
this appears to be a bug, correct?

thanks,
augusto.

ps: i'm running openlaszlo 4.9 in proxied mode.


Gmane