Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Laszlo View

  1. #21
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    Quote Originally Posted by spring04 View Post
    Thanks very much for your prompt response Roll.

    I'm looking forward to your article as i'm seriously considering Laszlo for our project.

    I'm not a GUI person. So could you please explain a little bit on what do you mean by:



    If you could outline those things in a high-level steps, i'll try to do more research on that.

    Thanks!

    Take as well look on ThinWire (www.thinwire.com).

  2. #22
    Join Date
    Feb 2008
    Posts
    28

    Default Spring web flow and openlaszlo

    I was able to create a hack (I wouldn't call it a solution) openlaszlo and SWF to work together. I might write a white paper and provide it, but that depends on when I get time (may not be soon). However these are the steps I followed for getting it working.

    I use dhtml compiler from Laszlo (but should be the same for swf as well, I suppose).

    1. Write a view (look at jstlview etc.) to compile laszlo files. Look at the Main.lzc and Compiler.compile in Laszlo to find out how it can be done. In the view get the lzx file and compile it to the swf or js file we need.
    2. This has to be embedded into html (Look at Browser integration chapter). I am currently using the compiled file embedded, but I think embedding it directly should work as well.
    3. After embedding one will be able to get the UI rendered in the browser, but submit will not go to web flow. This is because Laszlo seems to be using XHR for all requests with the file name as the URL. Hence Spring Web Flow is not triggered. For this I have used a workaround where I embed the compiled laszlo file in a form and on clicking the submit button, I fill up a div with all the required inputs (hidden) and submit the form, instead of calling the Laszlo doRequest or submit calls.
    4. For embedding and for future data to be embedded I am using Apache velocity to make the job easier. We might be able to use the Velocity view which comes with Spring to make the stuff faster, but I haven't reached there yet.

    If you need more details on any of these let me know and I will be more than happy to help.

  3. #23
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    For people who doesn't know Laszlo, it is like Macromedia's Flex, but it is now opensource ;-)
    i want to learn flex3, its free, the ide/tool is not free,anyway

    a simple question, which is better? and why?
    is there a list of comparation?

    Laszlo in Action , one book,and 2 customer reviews, weird right?

    regards
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Similar Threads

  1. Replies: 9
    Last Post: Nov 1st, 2005, 10:36 PM
  2. Replies: 0
    Last Post: Aug 29th, 2005, 03:23 PM
  3. Testing a View (integration tests)
    By hay7777 in forum Web
    Replies: 5
    Last Post: Jul 13th, 2005, 11:37 AM
  4. PageCompononentListener Hooks...JIRA issue?
    By amcauley in forum Swing
    Replies: 9
    Last Post: Apr 15th, 2005, 06:10 AM
  5. Content Provider vs View Model
    By Martin Kersten in forum Swing
    Replies: 21
    Last Post: Mar 10th, 2005, 02:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •