Hm,
interesting. I checked against my configurations. I have in my
WEB-INF/lib spring.jar, all necessary hibernate archives and the
configuration of filters is done as described in the link I already
posted.
Best
Eduard
Dennis Atkinson schrieb:
OK, that's good. So -- uh - how would I conf
I see. Thanks!
On Fri, Oct 23, 2009 at 9:53 PM, Greg Lindholm wrote:
> Each validator makes different properties available but it's a little bit of
> detective work to figure out which ones are available. I often find myself
> browsing thru the source to figure this out.
>
> If you look at the d
Hello, all
Is anybody using the example from
http://struts.apache.org/2.1.8/docs/ajax-validation.html ?
It doesn't work at all.
Or anybody can send a successful example to me?
Thank you
-Karen
-
To unsubscribe, e-mail: user-u
I have a text field which I would like to 'dojo-ize' by turning it into a
ValidationTextBox.
One of the parameters, 'promptMessage' is a text message that is put up as a
help when the focus enters the text box.
My problem is that I would like to internationalize this message. My thought
was
Greetings.
I am the developer of the "Struts2Builder" project.
In the Struts2Builder documentation, I tell people to create projects using
the "struts2-archetype-starter" Maven archetype. I have found this to be a
solid, reliable method of initially creating Struts2 projects.
However, I have no
Hi:
I am using "s:textarea" to show bigger text. I have some html characters
in my data.
so, If I use :
value in field1= "Hello"
Jsp comes back with &amb;lt;b&amb;gt;Hello&amb;lt;/b&amb;gt;
This looks like it is doing double escaping. I know we have an optional
field with prop
Hello
Struts 2 in action is good book to resolve yours questions.
Greeting
- Original Message -
From: "Eileen Hurley"
To:
Sent: Thursday, October 22, 2009 10:07 AM
Subject: Struts 2 Validation issues
All,
I have problems with xml validation and Struts 2 (2.0.14). The
validat
OK, that's good. So -- uh - how would I configure OpenSessionInView? I
attempted to do it, but even after I loaded the spring-hibernate3-2.0.8.jar
file, I got a ClassNotFound error, so I couldn't even get past that.
And you are absolutely correct about it being rather interesting. But it see
Hi Dennis,
sorry i don't know anything about FullHibernatePlugin. I am using only
the OpenSessionInView-approach. The Google delivers several threads to
this topic. It seems to be rather interesting problem.
Regards
Eduard
Dennis Atkinson schrieb:
Eduard,
I thought the FullHibernatePlugin
Eduard,
I thought the FullHibernatePlugin implements this.
--Dennis
From: Eduard Neuwirt
To: Struts Users Mailing List
Sent: Fri, October 23, 2009 3:08:44 PM
Subject: Re: Struts2 / Hibernate Question
Hi,
please have a look to the https://www.hibernate.org
Hi,
please have a look to the https://www.hibernate.org/43.html
Regards
Eduard
Thomas Sattler schrieb:
So it sounds like both the FullHibernatePlugin and the
OpenSessionInViewFilter class work. Thanks for the quick replies.
Do you remember how these are configured?
The FullHibernatePlugin w
Hello Johannes,
I am a little bit confusing. I thougth that Spring + Hibernate do not
solve the LazyInitializationException-issue because the hibernate
session is attached to request scope, so it leads to the problem ? Do
you store the session in the session scope ?
Regards
Eduard
Johannes
So it sounds like both the FullHibernatePlugin and the
OpenSessionInViewFilter class work. Thanks for the quick replies.
Do you remember how these are configured?
The FullHibernatePlugin wiki says only a few lines of configuration are
required, but it doesn't say what those lines are.
With Open
I use the FullHibernatePlugin in some small Projects, this is working very
well for me.
In larger Projects today I prefer Hibernate in combination with Spring
Framework.
Best Regards
Johannes Geppert
--
http://www.jgeppert.com
http://twitter.com/jogep
Dennis Atkinson wrote:
>
> Hello all.
>
Hi,
Obviously there is a gap between Hibernate and Web-Application.
OpenSessionInViewFilter working well, almost. I am using this filter and in the
most cases it is enough. Sometimes I have to load Collection with size(). The
another solution is to store only keys in the session and load the o
Hello all.
I am running into the infamous "closed session" issue, whereby I get a
LazyInitializationException on a lazy-initialized foreign key relationship.
The issue, as I understand it, is that the session is closed before the
lazy-initialized objects need to be read from the database, so t
This problem was hit when utf-8 encoded string was sent to Android emulator
and Android could not correctly display the message.
Basically, when using tag to output message from
utf-8 encoded properties file, it right output hexadecimal utf-8 encoded
message (in the form of, for example, "\
swamy007 wrote:
My question is while we uplaod some image it got refelected in the database
but we are not able to view the image. Only after deploying the project in
netbeans it is been viewable.
A file uploaded to your server by a browser as part of a POST is put in
a temporary location for
Each validator makes different properties available but it's a little bit of
detective work to figure out which ones are available. I often find myself
browsing thru the source to figure this out.
If you look at the doc for RequiredStringValidator [1] you will see is has a
parameter fieldName.
[
Hehe, I've just resolved my own issue!
The problem was my spring configuration. I needed to
specify scope="prototype" on each of my Struts 2 Action declarations.
Singleton actions were being created and thus previous field errors were
being carried over between requests.
I'm surprised this isn't a
All,
I have problems with xml validation and Struts 2 (2.0.14). The
validation as I see it is not displaying the error messages (I extend
ActionSupport). The defaultstack includes the validation interceptor.
I believe the problem is related to my struts.xml configuration and the
interceptor
Hello
I posted this question 9months ago but could not get any solutions.
I wonder if anyone can give me some clue now.
My client reported that they have received this error only once.
Request[/app/Keyword] does not contain handler paramet
Hi,
I'm using Struts 2.0.14 and validation annotations. I have a
UpdateUserAction class which implements ModelDriven and declares the
execute() method with the following :
@Validations( visitorFields = { @VisitorFieldValidator(message="",
fieldName="model")} )
My model is a User class which has
Thanks Sandeep for this suggestion, I will digg further in this direction.
On Fri, Oct 23, 2009 at 12:29 PM, Sandeep Shenvi <
sandeep.she...@lntinfotech.com> wrote:
> Hi,
> If I understand ur problem correctly then u want to jump from
> ChangesFilterAction class to some other Action class... bef
swapna_here wrote:
>
> Hi all,
> can any body explain how to access wild card mapped params in interceptor
> in struts2
> Here is my action mapping :
>
> method="myMethod">
> {1}
> /pages/news_wire.jsp
>
>
> when i use interceptor which executes first and use
Hi! I am new to Struts 2 and would appreciate a little help here.
>From the Struts2 tutorial
(http://struts.apache.org/2.1.8/docs/localizing-output.html), I learnt
that if I have the following messages in my resource bundle:
requiredstring = ${getText(fieldName)} is required.
password = Password
Hi,
If I understand ur problem correctly then u want to jump from
ChangesFilterAction class to some other Action class... before reloading
the page...
If this is the case then I think you should go for MappingDispatchAction
class... It enables you to group logical Actions within the same Class and
Hello,
Please, how can I get the selected value from a scroll down list (it's a
collection of values extracted dynamically :
and submit it to another action?? (the problem is that I can extract the
value
28 matches
Mail list logo