[JBoss JIRA] Created: (JBIDE-9398) Wizard "Add JSF capabilities..." not conform with JSF 2
by Juergen Zimmermann (JIRA)
Wizard "Add JSF capabilities..." not conform with JSF 2
-------------------------------------------------------
Key: JBIDE-9398
URL: https://issues.jboss.org/browse/JBIDE-9398
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.3.0.M2
Reporter: Juergen Zimmermann
Assignee: Alexey Kazakov
When the wizard for "Add JSF capabilities..." is invoked and the Servlet version "3.0" is selected, then the wizard adds to web.xml the following lines:
<servlet>
<servlet-name>Faces Config</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Config</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
However, according to the JSF 2.0 spec two additional mappings are also defined:
<servlet-mapping>
<servlet-name>Faces Config</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Config</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-9397) Create a separate feature for JSF Tools
by Alexey Kazakov (JIRA)
Create a separate feature for JSF Tools
---------------------------------------
Key: JBIDE-9397
URL: https://issues.jboss.org/browse/JBIDE-9397
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 3.3.0.M2
Reporter: Alexey Kazakov
Assignee: Denis Golovin
Right now, if you need JSF tools you have to install RichFaces feature that bundles a set of components: JST, JSF, VPE, ...
It can confuse users.
Here is the story that illustrates the possible problem:
Jose Freitas (Seam 3 team) complained that code completion is not working for seam faces tags. It turned out that he installed CDI, Maven, AS, Hibernate tools but didn't install RichFaces feature. He just didn't realize that the RichFaces feature is much more than just RichFaces support. He didn't install it and as a result he didn't get JSF Tools. So JSF code completion didn't work for his project.
It would be good to have a separate JSF Tools feature that requires only reasonable dependencies (such as Common, JST) and doesn't require VPE.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-9256) Content assist gets "stuck" on JSF1
by Val Blant (JIRA)
Content assist gets "stuck" on JSF1
-----------------------------------
Key: JBIDE-9256
URL: https://issues.jboss.org/browse/JBIDE-9256
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.Final
Reporter: Val Blant
Assignee: Alexey Kazakov
Here are the steps that caused the bug to manifest:
# Installed JBoss Tools into Eclipse from the update site
# Restarted Eclipse. Jboss Tools noticed my existing web project and hooked up to it.
# *At this point I had correctly working JSF2 content assist in my XHTML files*
# Used Git to switch to a JSF1 branch and used the same Eclipse workspace to work on that (Refreshed the workspace after the switch, w/o restarting Eclipse)
# Used Git again to switch back to JSF2 branch
At this point JBoss Tools no longer provided me with content assist for JSF2 tags. It kept giving suggestions for JSF1. Restarting Eclipse or cleaning the workspace had no effect.
In order to fix the problem I had to do the following:
# Close Eclipse
# Delete all _org.jboss.tools.*_ directories from _.metadata/.plugins_
# _eclipse -clean_
After that JBoss Tools provides proper JSF2 content assist again, so this looks like a caching bug.
My workspace is setup with:
* Eclipse Helios
* JBoss Tools 3.2.0.v20110215-1535-H41-GA
My JSF1 branch contains these libraries under _WEB-INF/lib_ and included in project build path:
* myfaces-api-1.2.4.jar
* myfaces-impl-1.2.4.jar
* jsf-facelets-1.1.14.jar
* richfaces-api-3.2.2.GA.jar
* richfaces-impl-3.2.2.GA.jar
* richfaces-ui-3.2.2.GA.jar
For JSF2 branch, the libraries are:
* jsf-api-2.1.2.jar
* jsf-impl-2.1.2.jar
* richfaces-core-api-4.0.0.Final.jar
* richfaces-core-impl-4.0.0.Final.jar
* richfaces-components-api-4.0.0.Final.jar
* richfaces-components-ui-4.0.0.Final.jar
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-830) JSF support: linked folders
by Petr Lindovsky (JIRA)
JSF support: linked folders
---------------------------
Key: JBIDE-830
URL: http://jira.jboss.com/jira/browse/JBIDE-830
Project: JBoss Tools
Issue Type: Bug
Affects Versions: 2.0.0.Beta3
Environment: Windows XP
Reporter: Petr Lindovsky
I have a Web project (originally developed in another IDE) where the META-INF and WEB-INF directories are located directly under the root of the project (e.g. next to src).
So I can't take the project root as the web content directory. To make this work with Europa, I created a new WebConent directory under the root and added folder links there pointing to the existing META-INF and WEB-INF. This now works in Europa.
Is it possible to add RedHat JSF support to this? This wizard doesn't seem to take this into account.
I created a project where you can see the problem: It works in Europa (you can use Export > WAR file and Run As > Run On Server) but I don't know hat to make it work with the RedHat JSF support.
(Note: I used absolute paths in the links in the project; in reality we used path variables to enable sharing.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-8435) JPA: validation of generic generator strategy class uses Arrays.binarySearch for non-sorted string array
by Dmitry Geraskov (JIRA)
JPA: validation of generic generator strategy class uses Arrays.binarySearch for non-sorted string array
--------------------------------------------------------------------------------------------------------
Key: JBIDE-8435
URL: https://issues.jboss.org/browse/JBIDE-8435
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.2.0.CR1
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.3.x
The validator could add wrong error messages
Test case:
1. Create <generator_class> class which implements several interfaces and "org.hibernate.id.IdentifierGenerator"
1. create @GenericGenerator(strategy="<generator_class>")
2. where generator class
3. change places of the interfaces and the error will occur
FAILURE: wrong error appeared
Also it check only direct(or superclasses) interfaces
Test case2:
1. create interface MyInterface implements "org.hibernate.id.IdentifierGenerator"
2. create @GenericGenerator(strategy="<generator_class>")
3. where <generator_class> is a class which implements interface MyInterface
FAILURE: wrong error appeared
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-7030) HTML highlighting and code assist in JS editor inside string variables
by Dzianis Sheka (JIRA)
HTML highlighting and code assist in JS editor inside string variables
----------------------------------------------------------------------
Key: JBIDE-7030
URL: https://jira.jboss.org/browse/JBIDE-7030
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor core
Reporter: Dzianis Sheka
Assignee: Maxim Areshkau
When we develop something on JavaScript,sometimes we use the next constructions:
function insert_tree_base(data) {
eval("window.items=" + data + ";");
if (items && (items.length > 0)) {
var s = "<table cellspacing='0' cellpadding='5' class='tree'>";
for (var i=0; i < items.length; i++) {
s = s + "<tr><td valign='top' align='left'>" + window.insert_tree_build(window.items[i], 0) + "</td></tr>";
}
s = s + "</table>";
jQuery("#treeFragment").append(s);
}
And in VPE we don't have a html highlighting inside s = s + "<tr><td valign='top' align='left'>" + window.insert_tree_build(window.items[i], 0) + "</td></tr>";
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years