Solved

webwork.valueStack attribute

Posted on 2009-03-30
4
697 Views
Last Modified: 2013-11-24
Hi, I have an application using webwork (Struts2), spring, hibernate application.In the UI, it uses extjs to display Grid. In the legacy application, there are following two lines. Where the variable "webwork,valueStack" comes from? Is it application variable or webwork system variable?
OgnlValueStack stack = (OgnlValueStack)request.getAttribute("webwork.valueStack");
Grid grid = (Grid)stack.findValue("grid");

Open in new window

0
Comment
Question by:JianJunShen
  • 2
  • 2
4 Comments
 
LVL 92

Assisted Solution

by:objects
objects earned 500 total points
ID: 24017592
I'd say a filter (or similar) is adding ww's ValueStack to the request

0
 

Author Comment

by:JianJunShen
ID: 24017690
http://www.opensymphony.com/webwork/wikidocs/TutorialLesson04-01.html

Shows an example. It is a system object. Then I do not know whether "grid" is a data/parameter in some Action?! How to set it in valueStack?
0
 
LVL 92

Assisted Solution

by:objects
objects earned 500 total points
ID: 24023983
0
 

Accepted Solution

by:
JianJunShen earned 0 total points
ID: 24032676
Value stack could be fetched as follows:

OgnlValueStack stack = (OgnlValueStack)request.getAttribute("webwork.valueStack");
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iterator/ListIterator approach 17 51
jboss wildfly 10.1 10 404
ejb message driven bean mdb creation steps 2 34
wild fly 8 startup error 2 37
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question