[JBoss JIRA] (RF-12289) ataScroller - change displayed rows numbers - below table
by Nicolas Daniels (JIRA)
Nicolas Daniels created RF-12289:
------------------------------------
Summary: ataScroller - change displayed rows numbers - below table
Key: RF-12289
URL: https://issues.jboss.org/browse/RF-12289
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.2.Final, 4.2.1.Final
Reporter: Nicolas Daniels
Trying to have datascroller with dynamic rows number, but it works only if dataScroller is above the table.
Basically, what I have is:
<h:selectOneMenu value="#{myBean.batchRows}">
<f:selectItem itemLabel="10" itemValue="10"/>
<f:selectItem itemLabel="20" itemValue="20"/>
<f:ajax render="table table-ds" />
</h:selectOneMenu>
...
<h:panelGroup>
<rich:dataTable id="table" rows="#{myBean.batchRows}" value="#{myBean.dataModel}" var="var">
...
</rich:dataTable>
</h:panelGroup>
<rich:dataScroller id="table-ds" page="#{myBean.batchPage}" for="table" renderIfSinglePage="false" boundaryControls="hide" fastControls="hide">
...
</rich:dataScroller>
And the behaviour with 21 elements:
- on page 2 displaying 20 element (so only 1 is visible), if I switch to 10, I stay on page 2 but I still have only 1 element visible.
If my datascroller is above my table it works fine. If the table is not wrapped within a panelGroup, it works as well.
Debugging a bit, it seems that when UIDataAdaptor.walk method is 1st called, getComponentState() is updating the state rows and first properties with values:
- rows: 10 (correct)
- first: 20 (weird)
Following calls to this method is setting those properties to:
- rows: 10 (correct)
- first: 10 (correct)
--
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, 5 months
[JBoss JIRA] (RF-12151) Can't compile with Maven 3 on Ubuntu
by Brian Lavender (JIRA)
Brian Lavender created RF-12151:
-----------------------------------
Summary: Can't compile with Maven 3 on Ubuntu
Key: RF-12151
URL: https://issues.jboss.org/browse/RF-12151
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: build/distribution
Affects Versions: 4.2.0.Final
Environment: Ubuntu 11.10, Apache Maven 3.0.3, Open JDK 7, 64 bit
Reporter: Brian Lavender
Priority: Minor
Trying to build richfaces-showcase, but it can't find a plugin. Should you include a repository for it in the pom.xml?
brian
richfaces-4.2.0.Final/examples/richfaces-showcase$ mvn clean package -Pjbas7
[snip]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check (richfaces-checkstyle-report) on project richfaces-showcase: Execution richfaces-checkstyle-report of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.5 or one of its dependencies could not be resolved: Failure to find org.richfaces:richfaces-build-checkstyle:jar:5 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
--
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, 5 months
[JBoss JIRA] (RF-11545) The maven-resource-dependency-plugin doesn't work with Maven 3.0
by Christian Kaltepoth (Created) (JIRA)
The maven-resource-dependency-plugin doesn't work with Maven 3.0
----------------------------------------------------------------
Key: RF-11545
URL: https://issues.jboss.org/browse/RF-11545
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 3.3.3.Final
Environment: Ubuntu 64bit, Maven 3.0.3
Reporter: Christian Kaltepoth
The maven-resource-dependency-plugin doesn't work with Maven 3.0.3. It seems like the plugin is unable to resolve the project dependencies although they are available in the local repository:
{code}
[INFO] --- maven-resource-dependency-plugin:3.3.3.Final:assembly-resources (default) @ pubwif-dev ---
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath,cdk'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] Setting property: cdk.resource.loader.class => 'org.ajax4jsf.builder.velocity.ResourceLoader'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] Resource Loader Instantiated: org.ajax4jsf.builder.velocity.ResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[INFO] Velocimacro : added new VM : #quietnull( a ) : source = VM_global_library.vm
[INFO] Velocimacro : added new VM : #tagPropertyMethods12( source ) : source = VM_global_library.vm
[INFO] Velocimacro : added new VM : #tagPropertyRelease( source ) : source = VM_global_library.vm
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[WARNING] Missing POM for org.apache.myfaces.core:myfaces-api:jar:1.2.5
[WARNING] Missing POM for org.apache.myfaces.core:myfaces-impl:jar:1.2.5
[WARNING] Missing POM for org.apache.myfaces.tomahawk:tomahawk:jar:1.1.8
[WARNING] Missing POM for org.jboss.el:jboss-el:jar:2.0.1.GA
[WARNING] Missing POM for org.richfaces.framework:richfaces-api:jar:3.3.3.Final
[WARNING] Missing POM for org.richfaces.framework:richfaces-impl:jar:3.3.3.Final
[WARNING] Missing POM for org.richfaces.ui:richfaces-ui:jar:3.3.3.Final
[WARNING] Missing POM for org.restfaces:restfaces:jar:1.3.0.1
[WARNING] Missing POM for org.apache.myfaces.orchestra:myfaces-orchestra-core:jar:1.3
[WARNING] Missing POM for org.apache.myfaces.orchestra:myfaces-orchestra-core15:jar:1.0
[WARNING] Missing POM for com.sun.facelets:jsf-facelets:jar:1.1.14
[WARNING] Missing POM for org.springframework:spring:jar:2.5.6
[WARNING] Missing POM for net.sf.ehcache:ehcache:jar:1.4.1
[WARNING] Missing POM for commons-httpclient:commons-httpclient:jar:3.0.1
[WARNING] Missing POM for commons-collections:commons-collections:jar:3.2
[WARNING] Missing POM for commons-io:commons-io:jar:1.3.2
[WARNING] Missing POM for log4j:log4j:jar:1.2.16
[WARNING] Missing POM for jboss:jbossall-client:jar:4.2.2.GA
[WARNING] Missing POM for javax.servlet:servlet-api:jar:2.5
[WARNING] Missing POM for javax.servlet.jsp:jsp-api:jar:2.1
[WARNING] Missing POM for taglibs:standard:jar:1.1.2
[WARNING] Missing POM for commons-el:commons-el:jar:1.0
[WARNING] Missing POM for junit:junit:jar:3.8.1
[WARNING] Missing POM for joda-time:joda-time:jar:1.5.2
[WARNING] Missing POM for dom4j:dom4j:jar:1.6.1
[WARNING] Missing POM for com.google.code.google-collections:google-collect:jar:snapshot-20080530
[WARNING] Missing POM for hsqldb:hsqldb:jar:1.8.0.7
[WARNING] Missing POM for org.hibernate:hibernate-entitymanager:jar:3.2.1.ga
[WARNING] Missing POM for commons-dbcp:commons-dbcp:jar:1.2.2
[WARNING] Missing POM for mysql:mysql-connector-java:jar:5.1.6
[WARNING] Missing POM for xalan:xalan:jar:2.7.0
[WARNING] Missing POM for xerces:xerces:jar:2.4.0
[WARNING] Missing POM for com.lowagie:itext:jar:2.0.8
[ERROR] Error generate resource
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.richfaces.framework:richfaces-api:jar:3.3.3.Final
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-api -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-api -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.richfaces.framework:richfaces-api:jar:3.3.3.Final
2) org.apache.myfaces.core:myfaces-impl:jar:1.2.5
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.myfaces.core -DartifactId=myfaces-impl -Dversion=1.2.5 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.myfaces.core -DartifactId=myfaces-impl -Dversion=1.2.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.apache.myfaces.core:myfaces-impl:jar:1.2.5
3) org.apache.myfaces.core:myfaces-api:jar:1.2.5
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.myfaces.core -DartifactId=myfaces-api -Dversion=1.2.5 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.myfaces.core -DartifactId=myfaces-api -Dversion=1.2.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.apache.myfaces.core:myfaces-api:jar:1.2.5
4) org.jboss.el:jboss-el:jar:2.0.1.GA
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.el -DartifactId=jboss-el -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jboss.el -DartifactId=jboss-el -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.jboss.el:jboss-el:jar:2.0.1.GA
5) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk -Dversion=1.1.8 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk -Dversion=1.1.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.8
6) org.richfaces.framework:richfaces-impl:jar:3.3.3.Final
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-impl -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-impl -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.richfaces.framework:richfaces-impl:jar:3.3.3.Final
7) org.richfaces.ui:richfaces-ui:jar:3.3.3.Final
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.richfaces.ui -DartifactId=richfaces-ui -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.richfaces.ui -DartifactId=richfaces-ui -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.richfaces.ui:richfaces-ui:jar:3.3.3.Final
8) org.apache.myfaces.orchestra:myfaces-orchestra-core:jar:1.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.myfaces.orchestra -DartifactId=myfaces-orchestra-core -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.myfaces.orchestra -DartifactId=myfaces-orchestra-core -Dversion=1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.apache.myfaces.orchestra:myfaces-orchestra-core:jar:1.3
9) org.restfaces:restfaces:jar:1.3.0.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.restfaces -DartifactId=restfaces -Dversion=1.3.0.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.restfaces -DartifactId=restfaces -Dversion=1.3.0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.example:webapp:war:1.0-SNAPSHOT
2) org.restfaces:restfaces:jar:1.3.0.1
{code}
With Maven 2.x everything works fine. If I remove the plugin from the pom.xml, the build also completes without errors.
Similar problems have been reported multiple times on the net (even for the cdk plugin):
http://stackoverflow.com/questions/4906017/maven-project-build-problems
http://stackoverflow.com/questions/7079368/error-thrown-when-using-plug-n...
--
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, 5 months