Thanks all for replay.
I have downloaded the plugin jsonplugin-0.34 for struts 2.1.x and i
have also downloaded it from svn but the error persist.
I think that the problem is the package 'xwork 2.1.5' that not has the
TextUtils class and the jsonplugin call its in the JSONUtil class and
Hi I want to set initial value for an action
I believe the way is
action name=myAction class=.xxx.xxxAction
param name=myParammyParamValue/param
/action
then myParamValue will be set to my Action's myParam property.
but i am not getting anything in my action class.
Am i missing something?
hisameer wrote:
Hi I am using Struts2.1.6 and trying to use DOJO inorder to use tabbed panel
using this
http://struts.apache.org/2.0.9/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Reloadtabscontentwhenselected
link . I no able to see the tabs at all
This is my jsp page:
%@
FYI
Issue 91: doesn't work with struts 2.1.7
http://code.google.com/p/jsonplugin/issues/detail?id=91
On Thu, Aug 6, 2009 at 2:30 AM, Alfredo Brizzialfbr...@yahoo.it wrote:
Thanks all for replay.
I have downloaded the plugin jsonplugin-0.34 for struts 2.1.x and i have
also downloaded
webapp:
specified on servlet's definition of web.xml
servlet
servlet-namedwr/servlet-name
servlet-classuk.ltd.getahead.dwr.DWRServlet/servlet-class
init-param
param-namesnafu/param-name
param-valuetrue/param-value
/init-param
Looks more like the questioner is after StaticParams. I would check
-- that you have the appropriate setter
-- that your interceptor stack includes staticParams
Chris
-Original Message-
From: Martin Gainty mgai...@hotmail.com
To: Struts Users Mailing List user@struts.apache.org
Thanks a lot ChrisI guess I took out one too many interceptor from the basic
stack.
StaticParam is what i am looking for
Hi all, I need to create 3 tabs, in my jsp page. I thought of using dojo
because at later stages I might have to make them dynamic. But I am not even
able to see those tabs as of now.I only see the Local Tab 1 Local Tab 2
which is the content of those two tabs.
Here is my sample JSP page:
%@
is it (questionId) human generated 9I am thinking leading/trailing white space
etc).
Really clutching at straws but somehow the questionid must occasionally be
different ...
Chris
-Original Message-
From: Bhaarat Sharma bhaara...@gmail.com
To: Struts Users Mailing List
Hi All,
Say I have COMPLAINT table as below
div id=div1
table class=datatab cellpadding=0 cellspacing=5 width=95%
thead
tr align=left
th
c:choose
c:when test=${sort_by == 'complaint_id'}
s:url
Greetings to all ,
i have setup latest struts 2.1.6 and created a simple portlet for
liferay 5.2.3
Everything went smoothly until i tried to run the below code :
RenderRequest req = PortletActionContext.getRenderRequest();
ThemeDisplay themeDisplay = (ThemeDisplay)
I have actions that sit underneath a set of namespaces. The namespace conveys
a piece of information to the action like a poor-man's REST.
i.e.
context/Cow/ShowDetails.action
context/Pig/ShowDetails.action
etc.
I need to construct some links from within the JSP that is hit by the
individual
The portlet execution life cycle is separated in two: The action/event
phase, in which state transitions (typically a form submit) occurs,
and then the render phase, where the actual output is rendered. The
request object that is available in these two phases are not the same.
In the action phase,
I tried the dojo plugin in struts 2.1.7 and gave up - deciding that it
was effectively broken. It is deprecated anyway in struts 2.1.
The template problems you are having can be fixed by copying the
template files into your local project (keeping the template/ajax
directory structure) and
Sorry for the miss-information, I confused the problem with another
one. Yes, the released json plugin does not work with xwork 2.1.5.
The plugin was moved here:
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-json-plugin/
and that one works with xwork 2.1.5, but you will have to build
Hi,
What's the current released version of Struts 2? The homepage says it's
2.1.7, but when I go to download it, I can only download 2.1.6. I've
noticed this problem many times in the past and it's always confused me. If
2.1.7 is out, I really need a copy for the new
When you go to: http://struts.apache.org/ you will see two links in
the top right corner. You will see that the Struts 2 link points to
2.1.6, that link always points to the latest GA. The confusion comes
from the 2.x directory(http://struts.apache.org/2.x/index.html) which
reflects the
Hi Nils-H and thanks for your reply. Much appreciated.
At the moment this is in my struts.xml
package name=view extends=struts-portlet-default namespace=/view
action name=index class=struts.actions.ContentAction
result/WEB-INF/jsp/view/index.jsp/result
/action
Try something like this:
action name=editcontent class=struts.actions.EditContentAction
result type=redirectAction
param name=actionNameindex/param
/result
/action
This of course assumes that you have actually separated the processing
and view logic in these two actions.
You should also
19 matches
Mail list logo