[JBoss JIRA] (FORGE-503) Erroneous f:convertNumber added
by Pete Muir (JIRA)
Pete Muir created FORGE-503:
-------------------------------
Summary: Erroneous f:convertNumber added
Key: FORGE-503
URL: https://issues.jboss.org/browse/FORGE-503
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.0.0.Final
Reporter: Pete Muir
The scaffold produces:
{code}
<h:panelGroup>
<h:inputText id="memberBeanMemberPhoneNumber" maxLength="12" required="true" value="#{memberBean.member.phoneNumber}">
<f:convertNumber maxIntegerDigits="12"/>
</h:inputText>
<h:message for="memberBeanMemberPhoneNumber" styleClass="error"/>
</h:panelGroup>
{code}
for
{code}
@NotNull
@Size(min = 10, max = 12)
@Digits(fraction = 0, integer = 12)
@Column(name = "phone_number")
private String phoneNumber;
{code}
which isn't correct, as the type is String, not a number.
The @Size validator appears to be what triggers this, removing it causes the scaffold to generate correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (FORGE-506) Ensure all plugins use same style of dependencyManagement
by Pete Muir (JIRA)
Pete Muir created FORGE-506:
-------------------------------
Summary: Ensure all plugins use same style of dependencyManagement
Key: FORGE-506
URL: https://issues.jboss.org/browse/FORGE-506
Project: Forge
Issue Type: Bug
Reporter: Pete Muir
I ran setup for faces, persistence, validation, jms, soap, jstl, ejb and ended up with two declarations of the BOM, which is just a bit sloppy ;-)
{code}
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-web-6.0</artifactId>
<version>${javaee6.web.spec.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>2.0.0.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months