[JBoss JIRA] Created: (JBIDE-4903) CA should recognize the object type when using generics in rich:dataTable value
by Julien Kronegg (JIRA)
CA should recognize the object type when using generics in rich:dataTable value
-------------------------------------------------------------------------------
Key: JBIDE-4903
URL: https://jira.jboss.org/jira/browse/JBIDE-4903
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: jsp/jsf/xml source editing
Affects Versions: 3.1.0.M2
Reporter: Julien Kronegg
Priority: Minor
When having a rich:dataTable whose value is a List of objects (saying List<User>), the suggestion completion (aka CA) is done on the var attribute and works fine:
<rich:dataTable value="#{myBean.userList}" var="_user">
<rich:column>
<h:outputText value="#{_user.name}" /> <!-- CA is done correctly on the name property -->
</rich:column>
</rich:dataTable>
However, when having a generic List of objects, CA does not work.
This occurs for example when converting a Set<User> to a List<User> to provide to the dataTable (due to JSF restrictions to work on List and not on Set) if the convert function uses generics:
@Name("jsfUtils")
public class JsfUtils {
public <T> List<T> asList(Set<T> set) {
return new ArrayList<T>(set);
}
}
<rich:dataTable value="#{jsfUtils.asList(myBean.userSet)}" var="_user">
<rich:column>
<h:outputText value="#{_user.name}" /> <!-- CA does not work on the name property -->
</rich:column>
</rich:dataTable>
It would be nice if the type <T> is recognized as <User> by transitivity.
--
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
16 years, 6 months
[JBoss JIRA] Created: (JBDS-770) PDF version errors
by Svetlana mukhina (JIRA)
PDF version errors
------------------
Key: JBDS-770
URL: https://jira.jboss.org/jira/browse/JBDS-770
Project: Developer Studio
Issue Type: Task
Components: documentation
Affects Versions: 2.0.0.GA
Reporter: Svetlana mukhina
Assignee: Olga Chukhutsina
Fix For: 2.1.0
It's necessary to fix the following format errors of PDF version:
- the images are blue blurry (e.g. in WS guide), seems due to resolution, check the reason
- some screens don't fit the document, (e.g. WS guide, Figure 2.4. Choose JBoss Web Service Facet), make some verification during guide building in order to avoid the problem in the ready-made doc or at least inform the person who is building about this problem
- some screens become larger then they are in HTML, they need to keep the actual size (see WS guide, Figure 2.9. New Web Service Wizard)
- some page headers are cut, e.g. see chapter header of Chapter 2. of WS guide it looks like "Chapter 2. Creating a Web Ser..."
- some page header are center-aligned (see Creating a Web Service from a WSDL document using JBossWS runtime page header in WS guide) when the others are left-aligned which it correct.
- lot's of uninformative warnings come during PDF version generation,
--
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
16 years, 6 months