Being new to OpenLaszlo, this one slipped by me. Shouldn’t <inputtext> document the fact that it doesn’t allow xhtml formatting? (3.0.2 and new-docs) I seem to remember reading this, but I don’t remember where.

 

Also, how does it not do it?  A <text> node supports xhtml and inputtext extends text and richinputtext extends inputtext.

 

<nitpicking mode=”on”>

Shouldn’t there be a <basetext> so that <text> extends <basetext> and <richinputtext> exends <text> but <inputtext> extends <basetext>,  or at least some documentation which says some method or attribute is overridden in inputtext and turns off the display of xhtml text? I played with setHTML in input text, but I couldn’t seem to make it allow <b>bold text</b>.

</nitpicking>

--
Greg Higgins
ABLsaurus Rex
 


From: Benjamin Shine [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 11:12 PM
To: Gregory Higgins
Cc: 'jake yang'; [email protected]
Subject: Re: [Laszlo-user] want to know more about 'richinputtext' and'image'compontent in the latest lps

 

To get you started until the official docs are available: 

 

The richinputtext deals with html-formatted text. You can specify the html formatting directly in the richinputtext tag, if you escape it with CDATA, like this:

 

<canvas bgcolor="#EAEAEA" height="400" width="400">

<include href="" />

    <simplelayout axis="y" spacing="4" />     

    <richinputtext name="myRichText" width="300" height="100">

        <![CDATA[

            foo <b>bar</b> baz lum

         ]]>

    </richinputtext>

</canvas>

 

Also see the text chapter of the software developer's guide:

 

-ben

 

On Nov 9, 2005, at 7:49 PM, Gregory Higgins wrote:



I see what you mean; it’s not at all intuititive. It it’s supposed to work here, it doesn’t seem to.

 

<canvas  height="600" debug="true" >

  <richinputtext width="800" x="20" y="20" multiline="true">

Hello!\par

This is some {\b bold} text.\par

  </richinputtext>

</canvas>

 

This was with

 

canvas.version

"3.2alpha.0"

Neither does:

<canvas  height="600" debug="true" >

  <richinputtext width="800" x="20" y="20" multiline="true">

{\rtf

Hello!\par

This is some {\b bold} text.\par

}

  </richinputtext>

</canvas>

 

 

 

--
Greg Higgins
ABLsaurus Rex
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gregory Higgins
Sent: Wednesday, November 09, 2005 8:21 PM
To: 'jake yang'; [email protected]
Subject: RE: [Laszlo-user] want to know more about 'richinputtext' and'image'compontent in the latest lps

 

It’s just not in alphabetical order.   

http://www.openlaszlo.org/lps-latest/docs/reference/ext-richinputtext.html

--

Greg Higgins

ABLsaurus Rex

 

________________________________________

From: jake yang

Hi,

Maybe I’m a little impatient, but I’m really interested in this two components.

And the reference at http://www.openlaszlo.org/lps-latest/docs/reference/ doesn’t show the detail,

Because it’s the latest I think.

So could somebody explain some detail for us? Thanks!

_______________________________________________

Laszlo-user mailing list

 

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to