[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4876) Quick fix for tags with no corresponding xmlns in header

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Wed Mar 10 09:41:44 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12519205#action_12519205 ] 

Daniel Azarov commented on JBIDE-4876:
--------------------------------------

New demo movie - http://screencast.com/t/MjI1Yzc3Y

> Quick fix for tags with no corresponding xmlns in header
> --------------------------------------------------------
>
>                 Key: JBIDE-4876
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4876
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml source editing
>            Reporter: Max Rydahl Andersen
>            Assignee: Daniel Azarov
>             Fix For: 3.2.next
>
>
> Just had to google 10 minutes to make sure I were using the right header inclusion for a4j components, so because i'm lazy I suggest we add a quickfix for common prefixes.
> i.e. if I type <a4j:commandButton ...> or <rich:panel ..> and don't have the matching xmlns defined in the header, a quickfix could be created based on common prefixes and insert the right header.
> i.e. for rich: insert xmlns:rich="http://richfaces.org/rich" for a4j insert xmlns:rich="http://richfaces.org/a4j" etc.
> basically all the common ones like i.e.:
> xmlns:s="http://jboss.com/products/seam/taglib"
>     xmlns:ui="http://java.sun.com/jsf/facelets"
>     xmlns:f="http://java.sun.com/jsf/core"
>     xmlns:h="http://java.sun.com/jsf/html"
>     xmlns:rich="http://richfaces.org/rich"
>     xmlns:a4j="http://richfaces.org/a4j"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list