I’m trying to use multiple attributes in my custom tag, e.g.:
<mytaglib:mytag firstname='Thadeus' lastname='Jones' />
How can I access the attributes in the TagHandler code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not really the answer to what you asked, but I hate (ie have never written) TagHandler’s but I love tag files. Lets you write custom tags using jsp files. You probably know about them and are not available/applicable – but thought I’d mention them just in case.