tags:

views:

43

answers:

0

Hi,

I have creating a jsp tag to parse date(java.util.Date) in a predefined format. I want this tag to return either date or time value form input java.util.Date object. To achieve this I have created a jsp attribute that will have two predefine values. When someone using this tag he/she will have option to choose output type form a supported types.

so my tag is

<date:date date="${date}" outputType="date"></date:date>

Now, I want my users to have an option to choose outputType when using this tag in Eclipse editors. Just as same and we have option to choose action method on form tags(in HTML). Does there exists a way to achieve this?