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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Sep 14 13:02:23 EDT 2009


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

Alexey Kazakov commented on JBIDE-4876:
---------------------------------------

BTW you can use palette to DnD right header to XHTML.

> 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: Victor Rubezhny
>             Fix For: 3.1.0.M4
>
>
> 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