dragIndicator Error
acdias Aug 13, 2007 2:14 PMI have a problem with a dragIndicator. When I use this tag, the generated code is invalid and firefox do not render the page.
Erro no processamento de XML: not well-formed Posição: http://localhost:8080/curriculo/bancas/banca.unipam Número da linha 179, Coluna 5://]]> ----^
Here my code:
<rich:modalPanel id="autorPanel" width="400" height="200" rendered="true" resizeable="false"> <f:facet name="header"> Selecionar Autores </f:facet> <f:facet name="controls"> <a href="javascript:Richfaces.hideModalPanel('autorPanel')"><img src="../img/close.png" style="margin:0px;padding:2px;border:none;" /></a> </f:facet> <h:form prependId="true" id="fnautores"> <rich:dragIndicator id="indicator"/> <a4j:region> <label for="nautor">Nome do Autor:</label> <t:inputText id="nautor" forceId="true" required="true" requiredMessage="Campo requerido" value="#{autorController.autor.nome}" onkeypress="return entsub(event)" /> <label for="nautorc">Nome em Citações:</label> <t:inputText id="nautorc" forceId="true" required="true" requiredMessage="Campo requerido" value="#{autorController.autor.nomeCitado}" onkeypress="return entsub(event)" /> <a4j:commandButton value="Cadastrar" id="cadastraAutor" action="#{autorController.action}" reRender="tautoresSel,datascrolAutor" /> </a4j:region> <h:panelGrid width="100%" columns="2"> <rich:panel> <f:facet name="header">Autores Disponíveis</f:facet> <h:dataTable id="tautoresSel" value="#{curriculoController.curriculo.autores}" var="autorValue" summary="autores" rows="5"> <h:column> <a4j:outputPanel> <rich:dragSupport dragValue="#{autorValue}"> <rich:dndParam name="label" value="#{autorValue.nome }"/> </rich:dragSupport> <h:outputText value="#{autorValue.nome}" /> </a4j:outputPanel> </h:column> <h:column> <h:outputText value="#{autorValue.nomeCitado}" /> </h:column> </h:dataTable> </rich:panel> <rich:datascroller for="tautoresSel" id="datascrolAutor" fastControls="first,last,next,previous"> <f:facet name="next"> ></f:facet> <f:facet name="previous"><</f:facet> </rich:datascroller> </h:panelGrid> <a4j:commandButton oncomplete="windowClose('autorPanel')" reRender="tautores,tautoresSel" value="Confirmar e Finalizar"> <f:setPropertyActionListener target="#{bancaController.banca.autores }" value="#{dadosFormacaoController.autores }"/> </a4j:commandButton> </h:form> </rich:modalPanel>
Someone know what happening and why the generated XML is invalid?
Thanks