[
https://jira.jboss.org/jira/browse/JBIDE-2456?page=com.atlassian.jira.plu...
]
Alexey Kazakov commented on JBIDE-2456:
---------------------------------------
Wneh user drops any tag from palette into Editor then we always insert this tag where user
drop it. And also we add tld declaration/xmlns if it's needed.
And we cannot do the same if user drops TLD declaration because it means we should ignore
user action if there is any ather tld declaration somewhere.
It will be looks like a bug.
So imo we have 3 options:
- use a confirmation dialog if there is any declaration already. It will takes a few days
because there are some more problems than I mentioned.
- prohibit drop in this case (but what to do if user don't use DnD but just click on
palette item?)
- let it be as we have now and don't spend time on impelementation of this very minor
feature ;)
Taglib declaration can be added to the jsp file more than once
--------------------------------------------------------------
Key: JBIDE-2456
URL:
https://jira.jboss.org/jira/browse/JBIDE-2456
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 2.1.2
Environment: Build id: 1.1.0.GA
Build date: 06/26/2008 20:28
Reporter: Tatyana Romanovich
Assignee: Alexey Kazakov
Priority: Minor
Fix For: 3.0.0.alpha
EXECUTE: open any jsp file
EXECUTE: expand JBoss Tools palette
EXECUTE: select JBoss RichFaces taglib (it should be added to the file)
EXECUTE: select JBoss RichFaces taglib
FAILURE: it was added to the file again
--
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