Dipeeka Suryawanshi

+ Follow
since Jul 20, 2012
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dipeeka Suryawanshi

You should map in validator-rules.xml file with your form beans & serailized beans
5 years ago
Hi All,

I am using <t:jscookMenu/> for implementing Menu. Using JSF1.2 & Eclipse indigo with Apache tomcat7.0 apps server.

when i am clicking on menu it gives me viewExpired Exception.

my Code is like :

jsCookMenu.jsp :

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page session="false" contentType="text/html; charset=ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>jSCookMenu Implementor</title>
<h:form id="MenuForm">
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<t:navigationMenuItem itemLabel="File">
<t:navigationMenuItem action="new-file" itemLabel="New"/>
<t:navigationMenuItem action="open-file" itemLabel="Open"/>
<!-- <t:navigationMenuItem action="#{menuBB.navItems }" itemLabel="Close" />-->
<t:navigationMenuItem action="Close" icon="images/arrow-ff.gif" itemLabel="Close"></t:navigationMenuItem>
<t:navigationMenuItems value="#{menuBB.navItems}"></t:navigationMenuItems>

<t:navigationMenuItem itemLabel="Edit">

DynamicMenuTest.java :

package com.aliasBean.example.domain;

import org.apache.myfaces.custom.navmenu.NavigationMenuItem;

public class DynamicMenuTest {

private NavigationMenuItem[] navItems;

public DynamicMenuTest() {

// children for item 2
NavigationMenuItem[] subItems = new NavigationMenuItem[2];
subItems[0] = new NavigationMenuItem("Subitem 2_1 Label","action2_1", "iconUrl", false);
subItems[1] = new NavigationMenuItem("Subitem 2_2 Label","action2_2", "iconUrl", false);

// item 2
NavigationMenuItem itemWithChildren = new NavigationMenuItem("Item 2 Label", "action2", "iconUrl", false);

// root items
navItems = new NavigationMenuItem[3];
navItems[0] = new NavigationMenuItem("Item 1 Label","action1", "iconUrl", false);

navItems[1] = itemWithChildren;
navItems[2] = new NavigationMenuItem("Item 3 Label","action3", "iconUrl", false);

System.out.println("navItem -->"+navItems[2]);

public NavigationMenuItem[] getNavItems() {
return navItems;

public void setNavItems(NavigationMenuItem[] navItems) {
this.navItems = navItems;

public String close()

return "exit";

faces-config.xml :




web.xml :





In web.xml file i have already defined that ViewExpired Exception.
Still when i am clicking on Menu to perform some action it gives " javax.faces.application.ViewExpiredException ".

Please provide me the solution ,why i am facing this exception.
5 years ago
I am implementing Tree Structure Demo application using JSF 1.2 & Richfaces.

But it gives error,org.apache.jasper.JasperException: Unable to convert string "#{treeDemo.servers}" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager.

i am using like as attached files.
I have added rcfaces-core-I2249.jar & rcfaces-html-I2249.jar in lib folder under WebContent folder of this Dynamic Web application.

Please check & post reply why i m facing that Error

5 years ago
I have tried this same application in Weblogic10.3.4 server. It's working fine ,but m not getting why it's working very slow in Apche tomcat7.0.14 on jdk1.6 or 1.7 using database oracle 11i.

Specially the pages which has used of <a4j:status> & <a4j:commandLink> tags in JSF 1.2.

like :
<h:form id="TicketDashboardForm" enctype="multipart/form-data">
<a4j:status id="pause" onstart="loader.show();document.getElementById('formName').focus();" onstop="loader.hide();"/>
<t:column width="65" style="background-color:#{tktData.SLAcolor};">
<f:facet name="header">
<hutputLabel value="Resolution SLA" />
<a4j:commandLink value="#{tktData.resolutionSLA}" action="#{TDBB.showSLADetails}" styleClass="label"
<t:updateActionListener value="#{tktData}" property="#{TDBB.ticketData}" />
<f:facet name="footer">
<hutputLabel value="#{TDBB.totalData1.resolutionSLA}" style="width:100%; background-color:#{TDBB.totalData1.SLAcolor};"/>
5 years ago
I am working on JSF 1.2 with Apache tomcat7.0.14 & jre1.7 with IDE Eclipse Indigo.

I have used ajax tags like,<a4j:commandLink> & <a4j:status>.

JSF pages which i have used these tags it's working very slow on apache tomcat7.0.14 with database oracle 11i.

But, it's working fine on weblogic10.3.4 server with database oracle11i.

Please rply why it's working slow on Apche tomcat7.0.14 with database oracle 11i using jsf1.2 with ajax like <a4j> tags.

Is it supports for ajax <a4j> tags in tomcat7.0.14 in eclipse indigo & databse oracle11i
5 years ago
I m working on jsf1.2 application using Application server as Apache Tomcat7.0.14.
It's working very slow specially jsf pages which i have used a4j:status> & <a4j:commandLink> like
<a4j:commandLink value="#{tktData.resolutionSLA}" action="#{TDBB.showSLADetails}" styleClass="label"
<t:updateActionListener value="#{tktData}" property="#{TDBB.ticketData}" />
I have tried it on Jdk1.6 as well as Jdk1.7
Please guide why it's working slow.

Is Ajax ,like <a4j> tags supports on Apache tomcat7.0.12 or not.
5 years ago