Announcement Announcement Module
Collapse
No announcement yet.
SpringMVC Custom Tags For HTML5 elements Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SpringMVC Custom Tags For HTML5 elements

    I am working on a project using SpringMVC. I am using the spring-form.tld and i have a new html element that doesn't exist the tld file <canvas></canvas>. I would like to make this element a Spring form tag so i can take advantage of the data binding used on these elements.

    I am unsure how to approach this problem. What i would like is to write the html5 >canvas> element the same way i would write an html input in spring e.g:

    <form:input path="weight" id="weight" title="Enter Weight"/> i would like to write the <canvas> tag the same way <form:canvas path="profilePicture" id="profilePicture" title="Your Profile Picture"/>.

    Can someone guide me on how to approach this and how and what would i have to write in the application for my form to recognize <form:canvas path="profilePicture" id="profilePicture" title="Your Profile Picture"/>.
Working...
X