I did some experimenting with this by removing the lazy load and putting
the actual object directly on a property in the action class. This had
no effect.
So then I created a catch-all method setKeywordList(Object obj) to see
what was being passed in. The actual data being passed in is a singl
Hi all,
then You have to state it: (pseudo code!)
@Result(name='input', value='identify-success.jsp')
in VerifyAction.
But when it comes to action and result configuration best thing to do is:
http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html
Best greetings,
Paweł Wielgus
I suggest you to do these things in the following way:
(1)put 2 method in IdentifyAction.
The first [execute] method returns [input],
show the input page to user.
(2)In the Identify-input.jsp,
submit fields to [IdentifyAction] itself, but another method: [verify]
(3)when validation fails, the r
On Wed, Nov 17, 2010 at 8:14 AM, Li Ying wrote:
> I suggest you to do these things in the following way:
This is where I think I messed things up. My identifyAction didn't
have setters/getters for the fields because the verifyAction captured
the results of that input.
Consequently, when I redir
Josep --
I believe this is what you are looking for.
http://blog.springsource.com/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/
Peace,
Scott
2010/11/17 Josep María Formentí Serra
> Thanks Dave and Chris,
>
> Chris, that it's nice, we are going to mod
I don't think this is a bug.
Because the basic idea of WEB app is: everything is passed as String.
Actually, there is a special layer in struts2 for data conversion.
Your action may take int/long/boolean/date or something else as it's
parameters, but all the original request parameters are String
Try with,
$getText('Label.Name')
Emil
On Tue, Nov 16, 2010 at 8:45 PM, wrote:
> Can we see the rest of your JSP? My hunch is, you are also using a
> textfield that is bringing the label in as well.
>
>
> On Tue, Nov 16, 2010 at 6:32 AM, Prabhubalaji Ragavan <
> prabhubalaji.raga...@gmail.com>
Dear all,
-
//this works ,
i want room0 make dynamic ( like room0 to room4)
//this gives room0
so currentPageHotelList[#stat.index] gives a Map?
if ur using an iterator u can just do
<-- of course u can use "top" as well
but l like giving it a name
On Wed, Nov 17, 2010 at 4:13 PM, Emil Dombagolla wrote:
> Dear all,
>
>
>
> ---
2010/11/17 Raj Nagappan
>
> I would say this is a regression bug from 2.0.x, yes?
>
>
I guess you're right.
Take a look at https://issues.apache.org/jira/browse/WW-1960
Could you open an issue, referencing the one above?
I'm sure someone helps you.
In the meanwhile could you try to change action'
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
Hi,
I need to display the field error message below each text field without the
bullet points.
Please suggest me a how to do. Since am getting error message with bullet
points.
Thanks in Advance.
Satheesh Kannan A B
::DISCLAIMER::
---
Did you try to redefine css property like list-style-type?
2010/11/17 Satheesh Kannan A B
> Hi,
>
> I need to display the field error message below each text field without the
> bullet points.
> Please suggest me a how to do. Since am getting error message with bullet
> points.
>
> Thanks in A
You can either update the standard theme template, create your own theme
template, or use CSS to style the bullet points to look any way you would
like.
(*Chris*)
On Wed, Nov 17, 2010 at 9:05 AM, Satheesh Kannan A B <
satheesh.kan...@hcl.com> wrote:
> Hi,
>
> I need to display the field error m
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
On Wed, Nov 17, 2010 at 12:05 PM, Satheesh Kannan A B wrote:
> I need to display the field error message below each text field without the
> bullet points.
> Please suggest me a how to do. Since am getting error message with bullet
> points.
What version of Struts?
Dave
---
Struts version 2.1.8.
Thanks and Regards,
Satheesh Kannan A B
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Wednesday, November 17, 2010 10:49 PM
To: Struts Users Mailing List
Subject: Re: Filed Error message withput bullets.
On Wed, Nov 17, 2010 at 12:05
Sorry, I assumed it was Struts 2. I didn't remember Struts 1 automatically
putting the errors in lists, did it?
(*Chris*)
On Wed, Nov 17, 2010 at 9:18 AM, Dave Newton wrote:
> On Wed, Nov 17, 2010 at 12:05 PM, Satheesh Kannan A B wrote:
> > I need to display the field error message below each
I need help on same problem . I am using 1.3.8.
Anjib
On 11/17/2010 12:18 PM, Dave Newton wrote:
On Wed, Nov 17, 2010 at 12:05 PM, Satheesh Kannan A B wrote:
I need to display the field error message below each text field without the
bullet points.
Please suggest me a how to do. Since am gett
Hi,
I have configured in struts.properties as theme=simple.
I don't know where to define list-style-type. Please provide me some examples.
Thanks and Regards,
Satheesh Kannan A B
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Wednesday, Novem
take a look at http://struts.apache.org/2.2.1/docs/struts-2-themes.html
2010/11/17 Satheesh Kannan A B
> Hi,
> I have configured in struts.properties as theme=simple.
> I don't know where to define list-style-type. Please provide me some
> examples.
>
> Thanks and Regards,
>
> Satheesh Kannan A
Maybe try http://lmgtfy.com/?q=CSS+Style+UL
(*Chris*)
On Wed, Nov 17, 2010 at 9:21 AM, Satheesh Kannan A B <
satheesh.kan...@hcl.com> wrote:
> Hi,
> I have configured in struts.properties as theme=simple.
> I don't know where to define list-style-type. Please provide me some
> examples.
>
> Tha
more specifically
http://struts.apache.org/2.2.1/docs/struts-2-themes.html#Struts2Themes-SpecifyingTheCSSUsedByTheStruts2Tag
You should also consider to switch to css or xhtml theme template in order
to see display message below fields
2010/11/17 Maurizio Cucchiara
> take a look at http://strut
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
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
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
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
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
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" wrote:
Hello all,
I am now using struts2 "UserInfoAction-doModify-validation.xml" to validate
my form input. It is work fine.
but when I add a interceptor into this action, the validation not work
anymore.
/WEB-INF/pages/usermanage/modifyUser.jsp
IndexAction_search
Does anyone get th
While, I add the default interceptor into that action, everything work fine.
But I am also do not know why,Ha ha...
Thank you, all...
Regards,
Mead
On Thu, Nov 18, 2010 at 2:19 PM, Mead Lai wrote:
> interceptor
Hi
I am using the below code to label, which is using a resource bundle. When
the application starts up, the label appears twice.
JSP code
---
Resource bundle
-
Label.Name = Legal Name
Output
---
Legal Name Legal Name
Please help
Thanks
Prabhu Ra
34 matches
Mail list logo