jsp/jsf indention

Hi!

I would like to know if it is (should be) possible the have to following
indention in JSP/JSF files:


<%@include file="/content/OPSJ/jsp/commonFaces.jsp"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>

<x:panelLayout id="page" layout="#{globalOptions.pageLayout}"
styleClass="pageLayout"
headerClass="pageHeader"
navigationClass="pageNavigation"
bodyClass="pageBody"
footerClass="pageFooter" >
<x:inputText> (Enter)
(Should be)
(is)
<x:validateEmail> (Enter)
(Should be)
(is)

</x:validateEmail>
</x:inputText>
</x:panelLayout>


If I press enter after the "<x:inputText>" or "<x:validateEmail>" tag I
would like to be indented one level deeper, currently in both cases the
cursor stays on the "<x:inputText>" tag.

Thanks!
Mario

Please sign in to leave a comment.