Results 1 to 2 of 2

Thread: New to roo: Need help with jspx creation

  1. #1
    Join Date
    Feb 2011
    Posts
    2

    Default New to roo: Need help with jspx creation

    How do i create jspx view artifacts using roo for field references and field sets. I see that roo does the automatic scaffolding for simple fields in my entity classes when I add finders to them. However when I add finders that contain objects as arguments no jspx artifacts are created. I would like roo to set up the jspx views for me for more complex data type or is that not possible?

  2. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    At the moment Roo does not scaffold you the view artifacts for this specific scenario. You can open a improvement request and I'll take a look how we can support it. Ideally you can attach a sample application which shows how you think it should look like.

    In the meantime, you can write any custom code in your jspx files (meaning your own form fields or using spring mvc tags) to do what you want to achieve. Roo will still be able to round trip the other fields in the jspx. Alternatively you can alter existing tagx files to suit your needs or write a new one.

    HTH,
    Stefan
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

Posting Permissions

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