I'm trying to use the VistorFieldValidator via annotation. The validator is
being called ok, but using @VisitorFieldValidator() all the error messages
are prefixed with the word null. If I use
@VisitorFieldValidator(appendPrefix=false) then I don't get any error
messages at all.
Why am I getting
According with documentation appendPrefix Determines whether the field name
of this field validator should be prepended to the field name of the visited
field to determine the full field name when an error occurs
this link should be useful
Maurizio Cucchiara wrote:
According with documentation appendPrefix Determines whether the field
name
of this field validator should be prepended to the field name of the
visited
field to determine the full field name when an error occurs
this link should be useful
I have several actions in my application where a user can click an
export option on the page and the content that was rendered to the
screen gets formatted in a file, zipped, and then streamed to the client
browser using the stream result type. The problem is that for one
particular page, the
Anjib,
i'd certainly take a look at hibernate, i've been using it for a while now and
find it easy enough and functionally rich enough for most things.
adam
Date: Tue, 7 Dec 2010 14:36:01 -0500
From: anji...@hotmail.com
To: user@struts.apache.org
Subject: Connection Pooling with
Ok,
try this
@VisitorFieldValidator(fieldName = YOUR FIELD NAME, appendPrefix =
true, message = YOUR MESSAGE)
Struts should use Field Name like a prefix for every invalid element
inside the annotated object.
2010/12/8 RogerV roger.var...@googlemail.com:
Maurizio Cucchiara wrote:
According
In my experience this kind of issue usually depends on the content
length value.
As far I can recall, you should be able to monitor net activity
through firebug. Check that content length is equal to the effective
file size.
2010/12/8 CRANFORD, CHRIS chris.cranf...@setech.com:
I have several
Hello,
Is there a standard Struts declarative way of removing the model
object from session when using a ScopedModelDriven action?
i.e. so when invoking another action, which doesn't implement
ScopedModelDriven and doesn't need the model object previously placed
in session, the model object is
Found the culprit, but it doesn't make any sense to me.
This one particular page was triggering the export by using a GET operation.
The other pages where it was working fine was using javascript to set a form
value and then submitted the form to the action, inevitably doing a POST
operation
Did you get this behavior with different browser?
Maurizio Cucchiara
Il giorno 08/dic/2010 19.47, CRANFORD, CHRIS chris.cranf...@setech.com
ha scritto:
Found the culprit, but it doesn't make any sense to me.
This one particular page was triggering the export by using a GET
operation. The
Sure I will
For time being I used DBCP.
Anjib
On 12/8/2010 12:54 PM, adam pinder wrote:
Anjib,
i'd certainly take a look at hibernate, i've been using it for a while now and
find it easy enough and functionally rich enough for most things.
adam
Date: Tue, 7 Dec 2010 14:36:01 -0500
No, behavior was the same between Firefox and IE.
The ZIP file simply could not be opened as Explorer felt it was invalid.
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Wednesday, December 08, 2010 2:45 PM
To: Struts Users Mailing List
And was the content of file really corrupt or something like smaller than
expexcted result (data truncated)?
Maurizio Cucchiara
Il giorno 08/dic/2010 23.05, CRANFORD, CHRIS chris.cranf...@setech.com
ha scritto:
No, behavior was the same between Firefox and IE.
The ZIP file simply could not be
If I compare the binary data written to disk from the browser to that of
the file written on the server (mind you both locally on the same
machine) the actually contents seem different as if the stream had
certain bytes shifted or altered for some reason. They just do not look
the same.
Are the file size different?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
There wouldn't be any difference between get and post request for struts
(struts acts as filter and AFAIK at that abstraction level there would be no
method awareness).
I'd take a look at the client and server enviroment (like application
server)
Maurizio Cucchiara
Il giorno 09/dic/2010 00.05,
which stream class is being implemented?
http://www.visionlab.uncc.edu/~arwillis/online/docs/jdk-6-docs/api/java/io/package-summary.html
?
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist
Thanks Burton. Your suggestion got this problem resolved.
On 08-12-2010 06:43, Burton Rhodes wrote:
You may have a corrupt file in your local repository. Try deleting
the C:\Users\Balwinder\.m2\repository\org\apache\struts directory and
try again
On Tue, Dec 7, 2010 at 10:26 AM,
18 matches
Mail list logo