Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Laszlo View

  1. #11
    Join Date
    Oct 2004
    Location
    Toronto, Canada
    Posts
    14

    Default

    Oh, and if you haven't already go to the IBM alphaworks site and download the Laszlo IDE. That is of course if you use Eclipse. The plugin is fantastic.

    It allows you to do WYSIWYG Laszlo development.

    Wish I had it on my previous engadgement. Sigh. Prior to this I was deploying LZX files to my web container and refreshing in my browser.
    I had three pieces of limestone on my desk...

  2. #12
    Join Date
    Nov 2004
    Posts
    159

    Default

    Thanks Roll.

    I know MVC and have used structs. I'm yet to go through Spring MVC documentation. What's XStream for? I'll try to goole as well.

    I would like to control the GUI from the back-end i.e. the view should be decided dynamically by the server and this input should be in XML. This is what we need.

    I'll also go through the Laszlo documentation regarding "data driven apps" that you mentioned.

    Another feature that is a must for our application is to add enclosures from the GUI (lots of them) and upload it to the server. Any thoughts? How is the performance with XML-RPC/XML-HTTP?

    Thanks!

  3. #13

    Default

    Quote Originally Posted by spring04
    Thanks Roll.

    I know MVC and have used structs. I'm yet to go through Spring MVC documentation. What's XStream for? I'll try to goole as well.

    Thanks!
    Xstream serializes java objects to XML and back again.http://xstream.codehaus.org/

  4. #14
    Join Date
    Oct 2004
    Location
    California
    Posts
    11

    Default Xmlbeans

    XmlBeans is also really great for marshalling to and unmarshalling from xml.

    http://xmlbeans.apache.org/

  5. #15
    Join Date
    Apr 2005
    Location
    Palo Alto, California USA
    Posts
    4

    Default Rich Internet Apps/Laszlo doc available? + ASP delivered app

    Quote Originally Posted by rollatwork
    I recently deployed a Laszlo view layer with a Spring middle-tier.
    [ . . . ]
    I'm currently writing a document that I'll post on the Spring, Laszlo, and Liferay sites that demonstrates the usage of Rich Internet Applications via Laszlo with a Spring middle-tier as JSR-168 compliant portlet.
    Hi Roll, have you produced this doc yet? Can I prod you into doing so?

    I'm particularly interested in the following architecture: a logical 3-tier 'business' app (CRUD+reporting+some dashboards) that does smart validation--meaning at the tabbing from field-to-field level--on a rich client, but remoted with all non-validation bus. logic & DB on the server. Essentially an ASP (application service provider) model that's scalable and where we could easily swap in different clients as needed.

    Originally thinking to do some kind of SWT, Swing, or Spring Rich client for performance-snappiness/native L&F/validation needs, but to design this system so it'd be easy to swap in or change to a web client when/if needed. After looking at Laszlo, I'm now thinking maybe we could cover both needs with that product (that is, stay with just a web client that is "rich enough").

    We would be customizing the (rich - web) client for different end-user applications and their "looks" (if not "feels"!) But all the backend would run from the same server(s), though out of different tables in the DB.

    Comments? Anyone else doing something similar? Reasons why Laszlo might not work for this kind of ASP app? (I'll also add a note to the Spring Rich Client forum that points to this post.)

    Thanks,
    Brad

  6. #16
    Join Date
    Aug 2004
    Location
    Germany, Magdeburg
    Posts
    279

    Default

    It is quite an interesting idea to use a shockwave app instead of a Java client. Quite interesting... . Has someone a success story?


    Cheers,

    Martin (Kersten)

  7. #17
    Join Date
    Oct 2004
    Location
    Orlando, FL
    Posts
    7

    Default Laszlo/Form Validation

    I've been looking in to creating client side validation for form fields in Laszlo, which would involve the field-to-field validate-on-tab behavior that is being described.

    I was planning on doing this using a Java-based form validation framework that I wrote in-house several years back, which I'm currently revamping. Effectively, you place all your validation and form field description (is each field a text field, radio button, etc.) in to the framework, and it renders the form in to XML or an HTML/Swing GUI, and provides services for syncing changes to the form (through user input) with the form "model" and allowing the model to be validated using the specified rules. (I know there are ways to do this in web frameworks like Struts, Spring MVC, etc., but I needed a solution that was framework independent and easy to use - so I rolled my own).

    My plan with Laszlo was to take the XML generated by the form/validation descriptor and write Laszlo utility classes that could replicate the fields and validation locally (using regexs for pattern validation, and maybe RPC calls for validation that requires interaction with the back end, such as checking an ID against a database table). I haven't gotten to this point yet, but I hope to in the next few months with the project I'm presently engaged in.

    Is anybody else working with Laszlo and form validation who can share their experiences or thoughts on the subject?

    Thanks,

    - max

  8. #18
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Question Any news on your doco?

    Quote Originally Posted by rollatwork
    I'm currently writing a document that I'll post on the Spring, Laszlo, and Liferay sites that demonstrates the usage of Rich Internet Applications via Laszlo with a Spring middle-tier as JSR-168 compliant portlet.
    Hi Roll,

    I was wondering if you've had a chance to write this document yet? My company is interested in writing Spring/Laszlo apps, and your doco would be really useful...
    Andrew Swan
    "Now is the EJB of our discontent made glorious Spring"

  9. #19
    Join Date
    May 2006
    Location
    Madrid/Spain
    Posts
    6

    Smile OpenLaszlo + Spring Web Flow

    Hi,

    Is there someone working on a OpenLaszlo View for Spring Web Flow Controller?

    We are using Spring Web Flow with Spring Web MVC.

    We are also using OpenLaszlo with Spring in other projects (javarpc to invoke services).

    We are evaluating the possibility to integrate OpenLaszlo with Spring Web Flow. It looks like the most attractive solution.

    Thanks.

    Paco.

  10. #20
    Join Date
    Jul 2007
    Location
    Brazil
    Posts
    1

    Default

    Hello pacohernandezg,

    Could you give a hint about integrating openlaszlo with spring as a service?

    I cant inject my spring services using japarpc because openlaszlo doesnot know about Spring context and do some king of 'create new instance' to the service.

    []'s, Glauber

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
  •