Everything submit from the client side, are passed as String.
So you can't take object instance as your parameter.
You need take the ids of these objects as parameter, and load object
by the ids by you self.
2010/11/18 Harsh C hchau...@gmail.com:
I think that is probably what it was.
Gently bringing this thread back to the topic in the subject line...
Does anyone have any ideas about why my WebSphere 6.1 server would be
ignoring the convention plugin and not loading any of my struts2
annotations into the context?
I did see some references in the websphere patch info to
I'd backtrack and deploy a simple app with only a single annotated action
and the convention plugin and start from there; it's loading the plugin. I'd
also check the configuration parameter reference:
I've been working on implementing Struts 2.1.8 on WebSphere 6.1 and
I'm having trouble with the convention plugin and annotation-based
configuration. It appears that none of my struts configs are being
scanned and/or processed from the annotations. Here's what I know:
1) Struts2 and WebSphere is
Without further information it'll be difficult to help; is devMode
turned on? Do you have DEBUG set for *everything*, or just s2
packages, or xwork, or...? It shouldn't matter, but do you have the
WebFear filter compatibility flag set (or don't need it due to patch
level)?
Dave
On Wed, Nov 17,
Thanks for the quick reply.
Here is my full struts.properties:
= = = = = = = = = = = = = = = = = =
struts.enable.DynamicMethodInvocation = true
struts.devMode = true
struts.convention.classes.reload = true
struts.ui.theme = simple
struts.convention.action.disableScanning = false
Hi,
I have an input page which has a checkbox list in a form. Clicking submit
takes the user to a 2nd JSP.
The problem is that when I don't select a checkbox and click on submit, I
get to the output page, of course no value is displayed on the output page
though.
But if I select a checkbox and
Failed validation will send user back to the input result.
Dave
On Nov 17, 2010 2:29 PM, Harsh C hchau...@gmail.com wrote:
Hi,
I have an input page which has a checkbox list in a form. Clicking submit
takes the user to a 2nd JSP.
The problem is that when I don't select a checkbox and click
So, result input is some kind of default result that struts sends a user
to?
Is validation turned on by default, as I did not specify any validation? If
so, how can I turn it off?
Thanks,
HC
On Wed, Nov 17, 2010 at 11:39 AM, Dave Newton davelnew...@gmail.com wrote:
Failed validation will send
Could also be a type conversion error.
On Nov 17, 2010 2:46 PM, Harsh C hchau...@gmail.com wrote:
So, result input is some kind of default result that struts sends a user
to?
Is validation turned on by default, as I did not specify any validation?
If
so, how can I turn it off?
Thanks,
HC
I think that is probably what it was. Basically in my action, I had a list
of model objects (modelList) and a model object (selectedModel).
I changed the Model type object selectedModel to String type selectedModelId
and things work fine now.
Now my question is, if I had a checkboxlist backed by
I am using Struts 2.2.1 and would like to get some AJAX functionality in my
app, specifically, I would like to use Dojo. The Dojo plugin was deprecated
for this release, is there some good documentation/tutorials for getting
into Struts 2.2.1 with DOJO?
Please start new threads for new questions.
There's a jquery plugin, or you can use any framework in its raw form. The
latter is almost always my personal recommendation so the JavaScript can be
optimized for the application.
Dave
On Nov 17, 2010 4:30 PM, Harsh C hchau...@gmail.com wrote:
13 matches
Mail list logo