Aneesha Govil wrote:
Hi,

I want to submit a patch for this issue https://issues.apache.org/jira/browse/TOMAHAWK-802

I think it would be a minor change. However, I do not have enough time to set up a project and build. Can I simply change files and build with Maven and verify there are no build errors? Can I build only tomahawk or do I have to build all the sub-projects?

Anything else I should know before I submit a patch?

I would recommend writing your own class (in your own package namespace) that subclasses HtmlInputDate. Add the methods that are needed.

You can then add a <component> tag to your web.xml to map the component id used by the InputDateTag to your subclass instead of the "real" one.

The result is that you should then be able to use t:inputDate in your pages but an instance of your patched component will be created instead.

Once you've proved this works, you canthen attach your patched class to the JIRA issue; it would be a pretty simple task for a MyFaces committer to merge the code into the "real" component.

And while you're waiting for the real component to be patched, you've got a working solution....

Regards,

Simon

Reply via email to