On Oct 1, 2006, at 5:35 AM, Boos, Paul M. wrote:

In our Plone-Laszlo integration sprint, we have some widgets we are trying to duplicate in lzx; before we started coding these, I wanted to see if they had been done before and whether they were available for re-use.

 

My first one is a picklist type widget: this consists of a list object to the left and a right-hand list (it starts empty); two buttons between these 2 lists allow a user to put items from the left-hand list into the right-hand list or remove items from the right-hand list.  A more sublte variation of this list called the inandout widget actually removes an item from the left hand list when it is put into the right-hand list and puts it back when it is removed from the right-hand list.

I don't think we have one of these. 

 

The second one is a file upload widget that you see often in a browser.  An input box with the typical browse button next to it.  A subtle variation on that is an image widget that will show a thumbnail of an uploaded image once the object has been selected.

 

We have file upload in LaszloMail, but I don't think it's available in the platform yet. It relies on swf8 file upload support. 

Also, I have been toying with the richinputtext widget in Laszlo and don’t see how I actually put in styles…  There isn’t any buttons, so I am presuming you have to do something?


This one I have a good answer for! 

    <include href=""/>
   
    <view name="rtetestview" width="650" x="50" height="200">
        <!-- declare an instance of the richtexteditor class -->
        <richtexteditor/>
    </view>

There is a rich text editor which adds a toolbar for editing text format: See lps/components/incubator/rich-text/test/richtexteditor-test.lzx
(This test comes up with an lzunit window in front of the actual editor; slide it out of the way.) 

These examples aren't in the right place in the source hierarchy; I have filed a bug to move them to examples/components: LPP-2835.

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

Reply via email to