Hello everyone, I am reposting this question as I am still having issues
with it.
I am having a really strange issue. In my application I
have a menu bar and a main content area. The menu bar and main content
area are populated separately using an Ajax call to their respective
action
-interceptor.html
Date: Wed, 2 Jan 2008 17:00:12 -0800
From: [EMAIL PROTECTED]
Subject: Re: action call not calling action
To: user@struts.apache.org
--- Henry Park [EMAIL PROTECTED] wrote:
getUrl(MenuAction!list.action)
What's getUrl, a JavaScript function?
action name=Menu
Thank you for the help. My responses are below:
Date: Wed, 2 Jan 2008 18:20:12 -0800
From: [EMAIL PROTECTED]
Subject: RE: action call not calling action
To: user@struts.apache.org
--- Henry Park [EMAIL PROTECTED] wrote:
What do you mean by 'where do I define MenuAction?' It is just
Date: Wed, 2 Jan 2008 19:02:07 -0800
From: [EMAIL PROTECTED]
Subject: RE: action call not calling action
To: user@struts.apache.org
--- Henry Park [EMAIL PROTECTED] wrote:
Sorry, I made some changes since I posted that message. I should
have
updated. It actually calls Menu!list.action
--- Henry Park [EMAIL PROTECTED] wrote:
Sorry, I made some changes since I posted that message. I should
have
updated. It actually calls Menu!list.action now.
Oh, okay.
And you're saying if you call it directly from the URL address bar on
the
browser it works locally but when you access it from
:23 -0800
From: [EMAIL PROTECTED]
Subject: RE: action call not calling action
To: user@struts.apache.org
--- Henry Park [EMAIL PROTECTED] wrote:
Regarding Log4J... wouldn't that only be useful if an error is
thrown?
If logging is turned up to DEBUG level then quite a bit of
configuration
How can I append the values in a list to a struts tag? For example, in
the example below, how can I append 'lastname' into 'AppendedList'?
s:set name=AppendedList value=/
s:iterator value=resultList status=status
s:property name=lastname/
/s:iterator
I have tried
s:append id=AppendedList
-
Dragnet
quote from Dan Ackroyd
- Original Message -
From: Henry Park [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, December 04, 2007 11:48 AM
Subject: Action call not calling action method
Hello everyone, I am having a really strange issue
Hello everyone, I am having a really strange issue. In my application I
have a menu bar and a main content area. The menu bar and main content
area are populated separately using an Ajax call to their respective
action methods. They are automatically called/populated when I log into
my
How can I forward to a url from within my action class? For example, instead
of 'return SUCCESS' I just want to call another action... something like
'return SomeAction!doit.action. Any ideas? Thanks in advance.
_
Windows Live
Consider the following segment from my struts.xml:
action name=Item class=action.ItemAction
result name=input/jsp/items/itemEntry.jsp/result
result name=success/jsp/items/itemView.jsp/result
result name=error/jsp/error.jsp/result
/action
What could be the cause for an action call not
I found a site that explains a similar problem:
http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--t4030311.html
My problem is also trying to find an 'input' method. I have not even defined an
input method but it is still looking for it. I tried
Thank you for recommending Prototype. I am trying it right now, and had a
question. When submitting a form (using post), do I have to specify all of the
form elements in the parameters tag? Or is there some all encompassing
function? Here is what I have:
new
(yourFormId),
to your request.
On 10/1/07, Henry Park [EMAIL PROTECTED] wrote:
new Ajax.Request('Login!show.action',
{
method:'post',
postBody: Form.serialize(yourFormId),
onSuccess: function(transport){
var response = transport.responseText
I am having a wierd problem where my action calls are not forwarding to the
correct page. Actually it works one time, but when I try to run the same
action again (this time on the same page) it attempts to go to a different
action (i.e. INPUT). Here is how I have it set up:
struts.xml:
I could not get the packaged struts2 ajax implementation to work, so I am
trying to go at it with plain javascript. A problem that I am having is that
whenever I submit the form, all of my form fields keep getting appended over
and over. If I click submit enough, it causes an overflow error.
By appended over and over, I mean in the querystring... so the request would
look like this:
How can I modify the following select list to display '1 of 10, 2 of 10,
etc' instead of just the page numbers?
s:select label=Page
name=page
list=pageList
required=false
value=%{page.toString()} /
The list is populated with an Integer array list.
ListInteger
18 matches
Mail list logo