-
Jan 19th, 2013, 01:29 PM
#1
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"/>.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules