Uploaded image for project: 'Forge: Scalate'
  1. Forge: Scalate
  2. SCALATE-28

support the mapping of an XML element to a function

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Someday
    • Component/s: scalate-core
    • Labels:
      None

      Description

      It might be nice to support custom tags using XML markup notation as well.

      This came up on this thread...
      http://old.nabble.com/Re%3A-JSP-taglibs-in-Scala-p27514294.html

      <html xmlns:foo="scala:org.acme.MyTags"> 
       ... 
       <foo:cheese blah="123"> 
         ... 
         ${something} 
         ... 
       </foo:cheese> 
      </html> 

      which would translate to the equivalent of this...

      <html>
      <% import org.acme.MyTags._ %> 
       ... 
       <%= cheese(blah="123")  { %> 
         ... 
         ${something} 
         ... 
       <% } %>
      </html> 

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jastrachan James Strachan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated: