0 Replies Latest reply on Dec 16, 2008 1:13 PM by hemant mahidhara

    unable to select text inside text box in modal panel

    hemant mahidhara Newbie

      I have a modal panel that has a simple form with a text box and a button. I am not able to select the text in the text box using my mouse (holding the left button down and dragging over the text). Also not able to copy the text using Ctrl+C. Ctrl+A does not select the text either.

      Any idea what I might be doing wrong?

      here is my code

      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
      <rich:modalPanel id="addTabPanel" height="150" width="237">
       <f:facet name="header">
       <h:outputText value="Add New Tab"></h:outputText>
       <f:facet name="controls">
       <h:graphicImage value="/images/close.gif" style="cursor:pointer" id="closeButton"/>
       <rich:componentControl for="addTabPanel" attachTo="closeButton" operation="hide" event="onclick"/>
       <h:outputText value="Name"></h:outputText>
       <h:inputText id="newGroupName" value="#{bean.newName}">
       <a4j:commandButton id="submit" value="Submit"
       reRender="userFolderGroups" limitToList="true"