Confirmed by looking at taglib file, I forgot to update the names when I refactored the commands into a separate package, resulting in failure for all commands. Apparently people don't use them that much ;-)
Committed the fix to trunk but RC1 is already tagged so it will be in GA (you could pick up a nightly build if you want to get the fix before that)
From the category of
Oh, it's just a minor refactoring, no need to test it...
I grabbed the latest nightly 2.1 build (320) and repeated the above, with the same results. I also grabbed the lastest 2.1 from svn, also with the same results.
Hmm. Works for me and it is committed. Of course, the offer is only valid if the latest nightly build actually succeeded (having problems accessing Hudson currently). Could you check your seam-excel.taglib in the META-INF in the jboss-seam.excel.jar. It should
for mergeCells (note the .command.)
Should have been in the 320 build also, see that you don't have some old libs around (and check if the .command. is in the taglib)
Hmmm...very odd. I just grabbed the latest 321 build, added a e:mergeCells tag in the repeat.xhtml file (immediately after the worksheet tag) in the excel examples. Executed the ant build, started up JBoss 4.2.3.GA (just installed), and got this:
18:51:20,322 ERROR [application] JSF1004: Cannot instantiate component of type org.jboss.seam.excel.ui.command.UIMergeCells
18:51:20,329 ERROR [STDERR] Oct 1, 2008 6:51:20 PM com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/repeat.xhtml]
javax.faces.FacesException: Expression Error: Named Object: org.jboss.seam.excel.ui.command.UIMergeCells not found.
It looks like the taglib is correct.
Bug confirmed, my bad. Forgot to commit the changes in the jboss-seam-excel.jar META-INF/faces-config.xml. Should be in next nightly. If you are in a hurry, you could edit them yourself and run
ant jarexcelfor the fix.
I modified the faces-config.xml and it works perfectly!