PDA

View Full Version : help required for combobox


mohan
07-23-2003, 05:40 AM
hai
1.
i am getting trouble when i am going to use combobox in my lzx file. How can i put combobox and add values.Is there any example code for that?

2.
we are developing the website which use laszlo presentation server.Here my doubt is ,
whatever the pages we are going to create should be in lzx file? if so how we create home page and other pages without using html or jsp? if not
is it possible to include both kind of files?
becouse we are getting problem with lzx file to create
some static pages.
i hope you understand my question.
waiting for the reploy

mohan

antun
07-23-2003, 06:43 AM
Hey Mohan

There is a bug with the <combobox> component as it stands now. You're not the first to come across it! See here for more:

http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=229&highlight=combobox

The bug will be fixed in the next release. If you don't mind using a BETA version of it, I might be able to send you something, but there's no guarantee that the APIs will be the same. Do you definately need the combobox, or would something like a Popup menu do? A popup is like a pulldown menu, except that it pops both above and below the selected area (like a pulldown behaves on a Macintosh).

As for question (2) the choice is up to you and your designers. If you want, you can have a large app in Laszlo, like the Calendar:

http://www.laszlosystems.com/lps-v1/sample-apps/calendar/calendar.lzx

... or you could embed a smaller app in a HTML (or JSP/whatever) page, for example:

http://www.laszlosystems.com/demos/weather/

The difference between the two is that in the Calendar application you're using the wrapper HTML page that the LPS automatically generates, and in the second you're using your own custom HTML wrapper page.

Does that answer your question?

-Antun