<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<a4j:portlet xmlns="http://www.w3.org/1999/xhtml"
xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<a4j:include viewId="comp_modpan.xhtml" />
<h:panelGrid columns="2" columnClasses="col1,col2" id="mainPanel">
<rich:tree id="tree" nodeSelectListener="#{treeModel.processSelection}"
ajaxSubmitSelection="true"
switchType="client"
value="#{treeModel.rootNode}"
var="item" nodeFace="#{item.type}"
reRender="rightPanel, historyTitle, historyTable, trigerPane">
<rich:treeNode type="kettleRep"
icon="/images/kettleRep.ico" iconLeaf="/images/kettleRep.ico">
<h:outputText value="#{item.content}" />
</rich:treeNode>
<rich:treeNode type="kettleJob"
icon="/images/kettleJob.ico" iconLeaf="/images/kettleJob.ico">
<h:outputText value="#{item.content}" />
<rich:contextMenu event="oncontextmenu" attached="true" submitMode="none">
<rich:menuItem id="addTrigger" submitMode="ajax" value="Add trigger" ajaxSingle="true" action="#{treeModel.addTrigger}" reRender="tree" />
<rich:menuItem id="executeJob" submitMode="ajax" value="Execute Immidiate" ajaxSingle="true" action="#{treeModel.executeSelected}" reRender="historyTable,datascroller"/>
</rich:contextMenu>
</rich:treeNode>
......................
.....................
<a4j:portlet>
When i am remove from <rich:menuItem tag submitMode="ajax", the application beginning deployed and work. But menu have not border and do not work....
My research... when i am remove tag
for <rich:contextMenu submitMode="none", default - server....
dos not work.. :-(
Help..