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:
http://struts.apache.org/2.1.8/docs/convention-plugin.html#ConventionPlugin-Configurationreferenc
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 fixing
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 :
> I think that is probably what it was. Basically in my action, I
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" wrote:
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?
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
Could also be a type conversion error.
On Nov 17, 2010 2:46 PM, "Harsh C" 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
>
> On W
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 wrote:
> Failed validation will send user back to the i
Failed validation will send user back to the input result.
Dave
On Nov 17, 2010 2:29 PM, "Harsh C" 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 on submit, I
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 cli
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
struts.convention
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, 20
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
13 matches
Mail list logo