Hello there! I'm using Seam 2.1.0.A1 and whenever I use thr form id I get this exception.
bellow is one of my forms, problem is that I need the form id to use FCKEditor:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
template="../layout/template.xhtml">
<!-- Skin CSS file -->
<ui:define name="body">
<script type="text/javascript" src="/seamcms/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'pageForm:contents' ) ;
oFCKeditor.BasePath = "/seamcms/fckeditor/" ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
<h:messages globalOnly="true" styleClass="message"/>
<rich:panel>
<h:form id="pageForm">
Name: <h:inputText value="#{page.name}"/><br/>
<h:inputTextarea id="contents" value="#{page.contents}"></h:inputTextarea>
<h:commandButton action="#{PageCreator.save}" value="save"/>
</h:form>
</rich:panel>
</ui:define>
</ui:composition>