Myfaces tree2 component
For the first time im using myfaces plugin in RAD 6.0..I wanna use the tree2 component.I have included the tomahawk jar file and other jars in the classpath.But all i wanna know is how to get a tree structure of say a datatable as a node under the tree? Is it possible??If so could you please explain..
SenkaTatsujin: Have you figured this out?
If you have could you please share what you did.
Thanks,
--Todd
Similar Messages
-
JSF Tree construction - My Faces Tree2 Component development
Hi
I am planning to recommend JSF and MyFaces for the development of the application.
like Navigation Tree on the left side, header, footer and body ..
1) Can any one share a piece of code to develop Dynamic Navigation Tree(like ServerSideToggling ..I will get the data from backend based on the I will build the Tree with leafs, when we click on leafs we need to call action to redirect to other jsps ) we can achieve this using MyFaces Tree2 Component,Just wondering if anybody know some information, any info is appreciated.
Parent1
|
--Child1__
|--sub child 1
--Child2
--Child3
Parent2
|
--Child1__
|--sub child 1
--Child2
--Child3
Conditions:
1) Need to construct the Tree based on backend data.
2) All the Parents and Children should be links, like when I click on any link, I need to call an action and forward it some other page.
For testing I hardcoded and built one tree, which look similar...but the dynamic tree needs server side toggling..which requires...handling of backend data...constructing a tree...If you could share a sample, I will be appreciated...mean while I will try to do this...
thanks
jishHI jish,
A couple suggestions.
While the MyFaces (tomahawk) components may be very useful, I would encourage you to make sure you're using JSF from the Mojarra project. It is more stable and better supported: https://javaserverfaces.dev.java.net
Also, I would encourage you NOT to use JSPs. JSF 2.0 will favor a facelets-style syntax, so you should consider using Facelets or JSFTemplating instead. JSP is also slower and more cumbersome to work with. Try: https://jsftemplating.dev.java.net or https://facelets.dev.java.net . Either one of these projects replace JSP and provide "templating" support (which doesn't exist when using JSP) as well as many other features to help you (like JSFTemplating's factories for creating dynamic trees).
I don't use MyFaces Tree2 component (I use Woodstock's Tree component), however, I think the concepts should be the same. Here's some a link to a very complicated example (GlassFish Admin Console Tree code which is generated from several backend sources + updated via Ajax):
https://glassfish.dev.java.net/source/browse/glassfish/admin-gui/src/docroot/peTree.jsf?rev=1.12&view=markup
A more simple example:
<sun:tree text="Tree Example" clientSide="false" url="http://www.google.com">
<sun:treeNode text="Static Tree Node" actionExpression="#{some.thing}">
<dynamicTreeNode treeAdaptorClass="com.sun.enterprise.tools.admingui.tree.MBeanTreeAdaptor"
objectName="com.sun.appserv:type=applications,category=config"
methodName="getAllDeployedJ2EEApplications"
text="Dynamic Tree Node"
url="/applications/enterpriseApplications.jsf"
attributeName="name"
childURL="applications/enterpriseApplicationsEdit.jsf?appName=#{$this{valueBinding}.text}" />
</sun:treeNode>
</sun:tree>Another place to look is the scales project. The lead developer on that project is actively developing a Tree component that will have a very clean interface to interacting with dynamic trees.
Good luck!
Ken Paulsen
https://jsftemplating.dev.java.net -
Error "expected a myfaces custom component class in package"
Can anybody help me on this?
just copied the sandbox code on selectmanypicklist and tried in a separate package of mine.
created a jsp page and used the selectmanypicklist component and im getting the component on my browser.
But whn i added the javascript resource calling by "encodeJavascript(facesContext, uiComponent);" im geting an error saying tht "expected a myfaces custom component class in package org.apache.myfaces.custom". i placed the java script file in "mypackage/list/resource/pikscript.js".
should i add anything on faces-config.xml file or anywhr else?
Anybody can help on this?
Thanx in Advance.The problem is that it calls a method validateCustomComponent in MyFacesResourceHandler to see if it can load the js file. This method controlls if the path of the js file begins with org.apache.myfaces.custom. If not throws an exception and doesn't load the file. I changed the package of the class that's trying to load the file in org.apache.myfaces.custom.xx and the package of the file js in org.apache.myfaces.custom.xx.resource. Now it's working.
-
Myfaces tree2 determine when + nodeb on tree2 is clicked to load children
Hi,
I'm trying to create a lazy node tree but I'm having problem trying to call a method to load the child nodes when the + is selected on the tree.
I want to create a tree that will load the devices on demand so I've created a server side tree.
<t:tree2 id="serverTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" clientSideToggle="false" showRootNode="false">
<f:facet name="omcs">
<h:panelGroup>
XX
<f:facet name="expand">
<t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
</f:facet>
<f:facet name="collapse">
<t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
</f:facet>
<h:outputText value="#{node.description}" styleClass="nodeFolder"/>
</h:panelGroup>
</f:facet>
<f:facet name="foo-folder">
<h:panelGroup>
<f:facet name="expand">
<t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
</f:facet>
<f:facet name="collapse">
<t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
</f:facet>
<h:outputText value="#{node.description}" styleClass="nodeFolder"/>
<h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
</h:panelGroup>
</f:facet>
<f:facet name="bar-folder">
<h:panelGroup>
<f:facet name="expand">
<t:graphicImage value="images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
</f:facet>
<f:facet name="collapse">
<t:graphicImage value="images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
</f:facet>
<h:outputText value="#{node.description}" styleClass="nodeFolder"/>
<h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
</h:panelGroup>
</f:facet>
<f:facet name="document">
<h:panelGroup>
<h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
<t:graphicImage value="images/document.png" border="0"/>
<h:outputText value="#{node.description}"/>
<f:param name="docNum" value="#{node.identifier}"/>
</h:commandLink>
</h:panelGroup>
</f:facet>
</t:tree2>
</h:form>
was trying to add the text to above
<h:commandLink> action="#{t.toggleExpanded}" actionListener=="#{treeBacker.loadChildren}">
</h:commandLink>
to call the method to load
children nodes. Had it inserted at XX above.
Any ideas would be greatly appreciated.
ThanksThere is an easier way to lazy load tree. The following links has more information.
http://wiki.apache.org/myfaces/Tree2
http://andrewfacelets.blogspot.com/2006/06/myfaces-tree2-creating-lazy-loading.html
Basically it involves using getChildren method of TreeNodeBase to load the data.
Hope this helps
m~ -
Recently i came upon a strange behaviour using myfaces Tree2.
I have a tree2,a textfield(required =true, id="code") on my screen.
Iadd nodes to this tree (increasing depth), until i reach tree depth >44.
After this point: if i select ANY node with depth<44, things are fine.
BUT, if I select ANY node with depth>44, i get a validation error:
"code": Required <-- comming from the textfield that was always there
e.g.
Root
|--- Node with depth 1
|-------Node with depth 2
|-- Node with depth >44 Can anyone help me on how to avoid this? The same code, but validation error occurs only for nodes with depth>44.
Thanks
Note: I found that the ID generated is 130 chars wide for depth=44148 chars for depth=53
Message was edited by:
jesefhttp://myfaces.apache.org/tomahawk/project-info.html
Check the Mailing List. The Tomahawk experts are over there :)
As this smells like a bug, you might check the Issue Tracking too. -
Tomahawk tree2 component using css
hi,
Is there any way to set new style (css) to Tomahawk tree2 component ?? Can you give me an example ?
best regards,This question is apparently about JSF. This forum is not about JSF.
To find the correct forum here you have to know that "JSF" is an acronym for [JavaServer Faces|http://forums.sun.com/forum.jspa?forumID=427]. -
Myfaces t:tree2 component
Hi
Is there any way to get the all the nodes to a selected leaf?
Like instead of ((TreeNode)node).getDescription() returns the leaf. Is there a way to return the full path to that leaf?
Thank you in advance.SenkaTatsujin: Have you figured this out?
If you have could you please share what you did.
Thanks,
--Todd -
MyFaces schedule component is not rendering properly.
Hello everybody.
I am trying to use the Tomahawk schedule component with Jdeveloper 10.1.3.2. It is not rendering properly.
The schedule entries and the header line are mising for weeks.
I removed the default-render-kit-id element from the faces-config.xml. Nothing changed.
Used versions:
- Jdeveloper 10.1.3.2
- myFaces 1.5.1
- tomahawk 1.5.1
Any suggestions?
Thanks.Hi,
did you post this question on the MyFaces open source list?
Frank -
MyFaces Tree Component Rendering
Hi all,
I am adding myfaces client tree Component to my panel.Its not rendering and its throwing exception.
anyhelp would be appriciated
Thanks
SudhaHi,
I am trying to render myfaces client tree on faces portlet using RAD 6.0. As RAD does not support JSF 1.1, I have commented DOCTYPE from faces-config.xml in tomahawk.jar file.
Root of the tree is getting displayed without "+" sign. And when I click on it,
javascript error "Object Expected" occurs.
I am not able to figure out the problem from last 2 days. So, Please help me out if you can.
Thanks in anticipation.
~Madhura -
Expanding tree2 child nodeHello Friends,
Hello Friends,
I am new to myfaces tree2 component. I am trying to implement the an example
given at
http://www.jroller.com/plainoldweblog/entry/use_tomahawk_tree2_and_ajax4jsf
I am not able to expand the child node in the given example. Can somebody help
me, I need to recursively expand the child node. I have given the source below.
Thank you.
Sudheer
treeBean.java
=============
public class TreeBean implements Serializable {
private TreeModel treeModel;
public TreeModel getTreeModel() {
if(treeModel == null) {
//you don't really have to initialize the treeModel here
TreeNode root = new TreeNodeBase("folder", "root", "1", false);
List<TreeNode> rootChildList = root.getChildren();
//constructs real folder tree
TreeNode documents = new TreeNodeBase("folder", "Documents", "10", false);
List<TreeNode> childList = documents.getChildren();
TreeNode home = new TreeNodeBase("folder", "User Home", "101", false);
home.getChildren().add(new TreeNodeBase("folder", "user", "1011", false));
TreeNode tmp = new TreeNodeBase("folder", "Temporary", "102", false);
tmp.getChildren().add(new TreeNodeBase("folder", "junks", "1021", false));
childList.add(home);
childList.add(tmp);
rootChildList.add(documents);
treeModel = new TreeModelBase(root);
return treeModel;
* set folder tree model
* @param p_treeModel
public void setTreeModel(TreeModel p_treeModel) {
treeModel = p_treeModel;
* This method listens to expand and collapse folder events.
* @param p_event
public void processToggle(ActionEvent p_event) {
UIComponent component = (UIComponent) p_event.getSource();
while (!(component != null && component instanceof HtmlTree)) {
component = component.getParent();
if (component != null) {
HtmlTree tree = (HtmlTree) component;
TreeNode node = tree.getNode();
if (!tree.isNodeExpanded()) {
loadChildren(node);
} else {
//unloadChildren(node);
* when tree node is expanded, this method will load its children
* @param p_parentNode
public void loadChildren(TreeNode p_parentNode) {
List<TreeNode> childList = p_parentNode.getChildren();
//This is where you need to load the actual child nodes
childList.add(new TreeNodeBase(p_parentNode.getType(),
"folder"+System.currentTimeMillis(),
p_parentNode.getIdentifier()+1, false));
tree.xhtml
==========
<h:form id="ajaxform">
<h:panelGroup id="treePanel">
<t:tree2 id="tree" value="#{treeBacker.treeModel}"
var="node" varNodeToggler="t"
clientSideToggle="false"
showRootNode="false" showNav="false"
showLines="false">
<f:facet name="folder">
<h:panelGroup id="folderPanelGroup">
<!-- expand collapse -->
<a4j:commandLink id="expandCollapseLink" immediate="true"
styleClass="treeNode"
reRender="treePanel"
action="#{t.toggleExpanded}"
actionListener="#{treeBacker.processToggle}">
<t:graphicImage style="border:0px" url="#{t.nodeExpanded ? '/images/yellow-folder-open.png' : '/images/yellow-folder-closed.png' }" />
</a4j:commandLink>
<!-- load folder content -->
<h:outputText value="#{node.description}" />
</h:panelGroup>
</f:facet>
</t:tree2>
</h:panelGroup>
</h:form>
...........The config looks OK for this Gen 1 VM, except the odd memory configuration.
Can you look up the Hyper-V logs on the host:
particularly hypervisor/operational and VMMS/admin?
You can use Powershell to collect the logs if you like.
Here's a sample script. After running the script to load the function you can run:
Get-HVEventLog -Computername MyHVHost-Days 7
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
Sam,
i corrected the memory settings & assigned static memory as 1024 MB.
there was two blocks of scripts in that website, i don't which of them i must run.
i verified my event viewer as i had done earlier, i the following are the only events which are are logged in all hyper-v related notes:
hyper-v-hyperVisor node:
Hyper-V successfully created a new partition (partition 3).
Hyper-v-synthnic node:
'test4' Network Adapter (7F8B9901-BBF5-4541-B586-33A5EE906B49) started successfully. (Virtual Machine ID D3589B09-C269-46CE-9BD1-51A3C95C04BF)
'test4' Network Adapter (d3589b09-c269-46ce-9bd1-51a3c95c04bf--7f8b9901-bbf5-4541-b586-33a5ee906b49) Disconnected from virtual network. (Virtual Machine ID D3589B09-C269-46CE-9BD1-51A3C95C04BF)
Hyper-v-worker node:
'test4' started successfully. (Virtual machine ID D3589B09-C269-46CE-9BD1-51A3C95C04BF)
and also in Custom node\ Administrative events, an error is logged continuously ---->
Microsoft-Windows-Kernel-EventTracing/Admin :
Session "" failed to start with the following error: 0xC000000D (event ID 2) -
I am trying implement myfaces tree2 component. Here the tree list files in filesystem and what i am trying to do is on selection of a leaf in the tree, set the InputText tag fileName.
How do i do this ?
This is how my jsf code action class look
file.jsp
<h:inputText id="fileName" value="#{fileAction.fileName}" />
<t:tree2 id="clientTree2" value="#{fileAction.fileList}"
var="node" varNodeToggler="t" showRootNode="false" clientSideToggle="false">
<f:facet name="document">
<h:panelGroup>
<h:commandLink immediate="true"
styleClass="#{t.nodeSelected ? 'documentSelected':'document'}"
action="#{fileAction.doSetFileName}">
<t:graphicImage value="images/document.png" border="0" />
<h:outputText value="#{node.description}" />
<f:param name="fileName" value="#{node.description}" />
</h:commandLink>
</h:panelGroup>
</f:facet>
</t:tree2>
public class FileAction {
private String fileName;
}Hi
I think what you're going to need to do is to put a
valueChangeListener in your outputText node
<h:outputText value="#{node.description}"
valueChangeListener="#{<YOURBean>.processValueChange}
onclick="submit()" />
you will need the onclick as well otherwise you don't
get the event firing until the node has lost
focus/page submit
In you bean code you will need to have a method -
along the lines of
public void processValueChange(ValueChangeEvent
event) throws
AbortProcessingException {
UIComponent component = event.getComponent();
UIOutput outPutText = (UIOutput)component;
FacesContext fC =
= FacesContext.getCurrentInstance();
UIViewRoot root = fC.getViewRoot();
UIComponent c = root.findComponent("fileName"); //
// the id of your
inputText field
if(c != null){
UIInput fileName = (UIInput)c;
fileName.setValue((String)outPutText.getValue());
// Now update GUI
fC.renderResponse();
NOTEs
the above code is for example purposes only - you
will need to tailor it for safe operation within your
app
You may NOT need the renderresponse call - this
causes an immediate screen re-darw and the screen
does NOT necessarily scroll to where you left it<h:outputText value="#{node.description}"
valueChangeListener="#{<YOURBean>.processValueChange}"
onclick="submit()" />
I am doubt of this. can outputText attribute be valueChangeListener? -
Name "watch" as request parameter not allowed or reserved?
Good morning, all
I just did a strange observation about the usage of parameter name "watch" in an <f:param> tag in the following way:
<h:commandLink action="#{MBUser.watchSelected}">
<f:param name="watch" value="#{orgtree.identifier}"/>
<h:outputText value="#{msg.Details}" styleClass="text_tree_link"/>
</h:commandLink>
This tag group is nested in a MyFaces tree2 component and the "watch" parameter is taken from the faces context in a managed bean.
If I change the name to anything else ("xxxxx", "wat") the orgtree.identifier has the right data. Using name "watch" results in an empty request parameter value "".
Has anybody encountered this problem? Is this problem maybe related to MyFaces?
Thanks for sharing more information about this doubt.
All the best,
AlexanderThanks for replying.
This is what I have in the WEB-INF/lib folder of my project:
188.671 commons-beanutils-1.7.0.jar
46.725 commons-codec-1.3.jar
559.366 commons-collections-3.1.jar
168.446 commons-digester-1.6.jar
112.341 commons-el-1.0.jar
22.379 commons-fileupload.jar
207.723 commons-lang-2.1.jar
38.015 commons-logging-1.0.4.jar
84.462 commons-validator.jar
112.341 commons.jar
170.389 concurrent.jar
1.847.334 hibernate3.jar
65.425 jakarta-oro.jar
665.190 jboss-aop-jdk50.jar
285.423 jboss-aspect-library-jdk50.jar
180.060 jboss-client.jar
811.503 jboss-common-client.jar
438.017 jboss-ejb3.jar
18.037 jboss-ejb3x.jar
424.123 jboss-j2ee.jar
285.649 jboss-remoting.jar
52.653 jboss-transaction-client.jar
142.791 jbosssx-client.jar
25.903 jnp-client.jar
16.923 jstl-1.1.0.jar
352.668 log4j-1.2.8.jar
252.043 myfaces-api-1.1.3.jar
524.026 myfaces-impl-1.1.3.jar
17.090 portlet-api.jar
363.490 standard.jar
543.706 struts.jar
1.250.136 tomahawk-1.1.2.jar
About the problem: Maybe it is very difficult to reproduce since it sits in a complex environment, composed by a tree2 component in a panelGrid.
Also I could fix the error by using another parameter name, so for the moment, we are not blocked, but I consider that reports of this kind can be useful to colleague developers.
Cheers,
Alexander -
Fine grained toggling of Tree2 in MyFaces
I am using the MyFaces tree2 tag, and I wanted to have more control
over the toggling/untoggling of nodes.
Is there any way to do this?
I could not figure it out in the documentation.
There is no function that I can implement in the TreeNode interface.
I know about ClientSideToggle, and PreserveToggle, but I want to have
more control.
I need to be able to specify that a node is always showing, or that a specific action on one node closes all other nodes.
Thanks,
DannyI have to give up the beautiful colors of the automatic chart and only use the restricted number of colors from the color well.
There is no restricion in the choice of colour, the colour depth on a Mac has over 16 million to choose from.
Further, the fill type has options for; colour, gradient, image and tint -
Tree2 in Tomahawk and JSF Tiles Implementation
hi All,
right now i mfacing one problem. which arise due to tiles implementation in JSF with Tree2 component of Tomahawk. i had created one tree menu using Tree2.
its working fine, but i was not able to highlight selected child node of tree menu as i m using tiles implementation so all pages gets reloaded on every click on jsp. thus color of that selected node becomes as it is.
please note that i m using myfaces implementation.
what i have written is as below:
<t:tree2 id="wrapTree" value="#{frontPage.catTree}" var="node" clientSideToggle="true"
showRootNode="false" varNodeToggler="t">
<f:facet name="parent-one">
<h:panelGrid id="parentOne" columns="1" cellpadding="0" cellspacing="0" border="0">
<h:commandLink styleClass="textorg" immediate="true" action="#{categoryListBean.showCategoryDetail}">
<h:outputText escape="false" value="#{node.description} "/>
<f:param name="categoreId" value="#{node.identifier}"/>
</h:commandLink>
</h:panelGrid>
</f:facet>
<f:facet name="top-parent">
<h:panelGrid id="topParent" columns="1" cellpadding="2" cellspacing="0" border="0" align="left">
<h:commandLink styleClass="txtbold" immediate="true" action="#{categoryListBean.showCategoryDetail}">
<h:outputText escape="false" value="#{node.description} "/>
<f:param name="categoreId" value="#{node.identifier}"/>
</h:commandLink>
</h:panelGrid>
</f:facet>
<f:facet name="child">
<h:panelGroup id="Child">
<h:commandLink styleClass="#{t.nodeSelected ? 'headerRedText':'txt1'}" actionListener="#{t.setNodeSelected}" immediate="true">
<h:outputText value="#{node.description}"/>
<f:param name="categoreId" value="#{node.identifier}"/>
</h:commandLink>
</h:panelGroup>
</f:facet>
</t:tree2>
please help me if u have solution of this problem.
thank you.hi,
in MyFaces there is an example using JSF and Tiles.
MyFaces provides a custom ViewHandler faciltity.
see http://sourceforge.net/projects/myfaces
hope that helps.
Regards,
Matthias -
Problem using Tomahawk tree2 with JSF RI 1.1
Hello,
When I try to run Tomahawk tree2 component on JSF RI 1.1 I am getting the following exception.
java.lang.IllegalStateException: Duplicate component ID 'billsearch:billSearchForm:NewTabadvanceSearch:subTabOne:clientTree:t2c' found in view.
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:191)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:199)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:85)
at org.ajax4jsf.framework.ajax.AjaxStateManager.saveSerializedView(AjaxStateManager.java:90)
at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:169)
at jsp_servlet._pages.__billsearchinit._jspService(__billsearchinit.java:156)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:501)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:148)
at jsp_servlet.__index._jspService(__index.java:101)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)Any help would be highly appreciated. I have tried setting my own id's to each and every component. But this throws me a different error and it doesn't let me set the id's manually. The error message is:
Error 500--Internal Server Error
java.lang.IllegalArgumentException: 1
at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:462)
at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:279)
at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1016)
at javax.faces.webapp.UIComponentTag.createFacet(UIComponentTag.java:1059)
at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:740)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
Any help or hint on solving this problem is highly appreciated.
Thanks in adv.
~SirGRichfaces is compatible with JSF 1.1 and 1.2 and also with great ui part
but it may conflict with the other tomahawk component and filters
Maybe you are looking for
-
Problem when configure polarity on PCI-6023E
I tried to set the polarity of an analog input channel with AI_configure. When I call AI_Configure with polarity Bipolar(default) anything works fine. but when I change the polarity to unipolar, the status code -10003 is returned, indicating that the
-
How do I backup my iphone to a computer when every time I plug it into the computer, it starts syncing it to itunes or trying to download itunes? How do I back it up and where do I find the backup?
-
How to install PlugIn Export Manager.rpln
Using Creativ Suit 6.0 and want to Package an Indesign-file, but the program say that Plugin Export Manager.rpln is missing. How can I install this PlugIn
-
How can I group volume more than 30 disk on 6540
When I create RAID-1 profile and set number of disk to variable (Max 30 disk). Then create pool and found avaliable size only 1 TB. I need group all 94 disk drive (exclude 2 hot spare) for RAID 1+0. How can I expand number of disk.
-
Hello, It seems, that all apps that are using rosetta don't work properly. - The startup time is extremely long, some minutes, spinning wheel is visible - input via keyboard isn't possible - Office v. X (Word, Excel, PowerPoint) apps are crashing at