[
https://jira.jboss.org/jira/browse/JBIDE-4876?page=com.atlassian.jira.plu...
]
Max Rydahl Andersen commented on JBIDE-4876:
--------------------------------------------
Alexey, thank you for the tip - we just need that to be available in a quick fix then ;)
Victor, the first version of this would for me just be adding a list of frequently used
libraries, BUT if we already have this info (i.e. the palette seem to know about which
header should be included for a tag) then we could simply just use that ?
About check for the library existence is not needed here IMO, at least not initially.
That should/could be done with an warning instead (i.e. when checking the 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