PDA

View Full Version : Travel demo app code


Jim
05-30-2004, 09:28 AM
Is any of the code for the demo travel available? I'm particularly interested in the linked animated sorting of ticket objects by setting thresholds on the slider bars, rollover links to route maps, and maintenance of the user selections in the trip overview horizontal tabbed section.

this would be a HUGE jumpstart for a project I have in mind.

thanks,
Jim

whisperstorm
05-31-2004, 10:08 AM
Just jumping in for Antun - I'm sure he'll reply.

If you look at the kid store demo:
http://demo.alexsystems.com:8080/lps-2.1.1/toystore/toystore.lzx?lzt=html-object

It has the same "display threshold with sliders" thing. And the source is already there:

http://demo.alexsystems.com:8080/lps-2.1.1/lz-utils/viewer/viewer.jsp?file=/toystore/toystore.lzx



It might give you a jumpstart on what you are looking for.


EDIT:

Looks like you can find it here:

http://laszlosystems.com/lps/my-apps/travel/travelmax_main.lzx?lzt=source

and here:

http://laszlosystems.com/lps/my-apps/travel/main.lzx?lzt=source

You'll have to dig through the includes I'll wager.

Cheers!

Jim
05-31-2004, 10:41 AM
Thanks VERY much for your reply. Good tip on the kid's store.

I gather the latter two links are for the travel app specifically ... but I get an "Internal Server Error" page when I try them.

Problem with the link or is it an iunternal page?

Thanks again , I'll be looking at the kid's store to start but would still LOVE the travel available code.

BTW, RPG fan? Rocket Powered Grenade? Really Pretty Girls? ...?

Jim

antun
06-02-2004, 10:26 AM
I gather the latter two links are for the travel app specifically ... but I get an "Internal Server Error" page when I try them.

This was just a temporary problem with the server - it's fixed now.

-Antun

whisperstorm
06-02-2004, 10:30 AM
RPG Fan == Role Playing Game fan.

Hopefully we'll be seeing more games in Laszlo as well.

Jim
06-02-2004, 04:09 PM
How do I view the includes? IS there a link to full source code?

Jim

antun
06-03-2004, 08:40 AM
You can add ?lzt=source to any .lzx file to display the source, if the lzt=source request type is enabled on that server.

Another (nicer) way of viewing source is using LzViewer, which is a Java-based LZX pretty-printer (it also displays all the included art assets on the page). By default it's installed in lps-VERSION/lz-utils/viewer/viewer.jsp and takes a file GET paramater that points to the file you want to view:

http://www.laszlosystems.com/lps/lz-utils/viewer/viewer.jsp?file=/sample-apps/amazon/amazon2.lzx

The host can remove the viewer if they wish.

-Antun

tschak909
03-21-2005, 12:49 AM
Is it possible to get an archived version of the source? the listings, while invaluable, are slightly more difficult to reconstruct into something that's working.

-Thom

stevie
09-05-2005, 08:11 AM
Looks like you can find it here:

http://laszlosystems.com/lps/my-apps/travel/travelmax_main.lzx?lzt=source

and here:

http://laszlosystems.com/lps/my-apps/travel/main.lzx?lzt=source

[/B]

Are these links still available?

I seem to be getting a 'Gateway Timeout' error.


Stevie