Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator check inputs.
I've got this problem :
first page validate an userId selection (required)
When this rules failes on page 2 or 3 (let's consider the user has used
a bookmark), I'd like struts
To be honest, I'm not sure exactly what the Struts framework is using to
manage the file uploads. I simply create a FormFile member in my
ActionForm and it gets populated correctly with the uploaded file data.
Is this a parameter I can configure within Struts? Is there a feasible
replacement
Niall,
Thanks for the reply. This certainly helps (at least, helps me believe
that I'm not doing something egregiously wrong in my webapp :).
Collin
Niall Pemberton wrote:
Parameters parsed from the Multipart request are stored in the
MulitpartRequestWrapper. However before Struts
Greetings
I am seeking a Grid control with column headings which when clicked will
re-sort the individual items according to the clicked column
sort algorithm
I am presently looking at struts-layout Grid control and was wondering if
anyone has experience with sorting characteristics
of the
Have you looked at DisplayTag? http://displaytag.sourceforge.net
-Dennis
Martin Gainty [EMAIL PROTECTED]
11/03/2005 08:37 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users Mailing List user@struts.apache.org
cc
Subject
(Possible OT) Question using
This is Fantastic
Thanks Dennis!
Martin-
617-852-7822
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, November 03, 2005 8:50 AM
Subject: RE: [OT] Question using struts-layout TagLib
Have you looked at DisplayTag?
Here is one way I did it using LookDispatchAction I am sure there are other
ways to do this also:
in my next section of the LookupDispatchAction I put:
public class AddPSLUserWizardAction extends LookupDispatchAction {
public ActionForward next(ActionMapping mapping, ActionForm form,
Is it possible to display an intermediate page while struts action is doing
work...e.g. uploading a large file to a ftp serverand at the end of the
action will show the verfication/success page as usual.
I want to try and use some client-side validation on a project. I have used
the server-side quite a bit in the past. Anyway, I found an example of how
this would work, and the first thing it shows is a taglib include like so:
'[EMAIL PROTECTED] uri=/tags/struts-validator prefix=validator %'
sudip shrestha [EMAIL PROTECTED] wrote on 11/03/2005 09:49:18 AM:
Is it possible to display an intermediate page while struts action is
doing
work...e.g. uploading a large file to a ftp serverand at the end of
the
action will show the verfication/success page as usual.
--
Here you
On 11/3/05, Nicolas De Loof [EMAIL PROTECTED] wrote:
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator check inputs.
I've got this problem :
first page validate an userId selection (required)
When this rules failes on page 2 or 3 (let's
I'll have a look, thansk for the link.
Thanks also to bsimonin for code suggestion.
Michael Jouravlev a écrit :
On 11/3/05, Nicolas De Loof [EMAIL PROTECTED] wrote:
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator check inputs.
I've
Hi,
does anyone know when the first release 1.0 of struts shale is expected?
Are there any other milestone dates like alpha, beta versions?
Thanks
Bernhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Or eXtremeTable (www.extremecomponents.org), which is
what we use in our current project.
-- Ch.
Martin Gainty schrieb:
This is Fantastic
Thanks Dennis!
Martin-
617-852-7822
- Original Message - From: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent:
On 11/3/05, David G. Friedman [EMAIL PROTECTED] wrote:
Niall,
Some of those listed extensions are long awaited. :)
Regards,
David
Great, if you get a chance to try it out, any feedback would be much
appreciated.
Niall
-
Hello,
First off, a quick introduction. I am new to Struts. Actually, I have
just now gotten back to Java and web programming after a long (and
unfortunate) absence. I do have a fair amount of experience in both,
so, am not too concerned about picking it back up. But, I do have a
fair amount
Started a new thread, so it were visible in GMail.
On 11/2/05, Hubert Rabago [EMAIL PROTECTED] wrote:
On 11/2/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
If it were possible to use form definitions made in struts-config.xml,
then you would not have to reimplement this property in
I am a bit confused between the commons validator and the struts validator.
I am trying to incorporate javascript:validations within some JSP
files, and I am having a hard time deciding what to configure. I found
a struts-validtor.tld, but it appears old, and when I search google
for struts
Just for the record, I've tried to search about Validator in Struts docs
yesterday, and it wasn't finding the page(405 error), but today is working
fine. The link is
http://struts.apache.org/struts-doc-1.2.x/userGuide/dev_validator.html.
Best Regards
Rafael Mauricio Nami
2005/11/3, Jim Reynolds
On 11/3/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
Started a new thread, so it were visible in GMail.
That was the idea. If FormDef could somehow pull my definitions from
struts-config.xml or, which is much better, from configured Java
objects, I would not have to redefine the properties
WellI am not a Struts expert yetbut according the book Struts The
Complete Reference Chapter 6 on page 91 a guy named David Winterfeldt created
the Validator framework as a third party add-on to Struts. Validator was later
integrated into the core Struts code base and has since been
On 11/3/05, Bernhard Slominski [EMAIL PROTECTED] wrote:
Hi,
does anyone know when the first release 1.0 of struts shale is expected?
Are there any other milestone dates like alpha, beta versions?
As far as I'm concerned, the feature work I wanted to see for a
1.0.0release is complete --
Or almost dies. Slow server? Low bandwidth?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Craig,
thanks a lot for the answer, that's really helpful!
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 3. November 2005 17:57
As far as I'm concerned, the feature work I wanted to see for a
1.0.0release is complete
You don't want to come up with a specific
I have a struts action that downloads binary files from the database: e.g.:
/actions/download.do?fileId=xxx, etc
So, whenever users download any type of file with any id, the name of the
file displayed on any browser is download.do,
is it possible to set something in the response, so that I
sudip shrestha wrote:
I have a struts action that downloads binary files from the database: e.g.:
/actions/download.do?fileId=xxx, etc
So, whenever users download any type of file with any id, the name of the
file displayed on any browser is download.do,
is it possible to set something in
You'll want to do set a header in your response like this:
response.setHeader(Content-Disposition,attachment; filename=+fileName);
HTH
Collin
sudip shrestha wrote:
I have a struts action that downloads binary files from the database: e.g.:
/actions/download.do?fileId=xxx, etc
So,
On 11/3/05, Christian Bollmeyer [EMAIL PROTECTED] wrote:
Or eXtremeTable (www.extremecomponents.org), which is
what we use in our current project.
Home page is not shown if Javascript is turned off. Not even a message.
In the online samples each page has unique URL, so after going three
pages
The web site was recently reorganised and Google's still catching up
with its indexes. Glad you found the page you needed.
For the record, 'Commons Validator' is the general-purpose validation
framework andd 'Struts Validator' is the component in Struts that wraps
Commons Validator. The docs
In my jsp there is a table with some contents. there is a delete and restore
buttons at bottom.
using LookupDispatchAction I am checking which action to perform and doing
so. But after performing the Action it gets forwarded to the same JSP.
according to what I had written i.e from
Michael Jouravlev schrieb:
On 11/3/05, Christian Bollmeyer [EMAIL PROTECTED] wrote:
Or eXtremeTable (www.extremecomponents.org), which is
what we use in our current project.
Home page is not shown if Javascript is turned off. Not even a message.
Yep. Wasn't so earlier, but according to
On 11/3/05, fea jabi [EMAIL PROTECTED] wrote:
In my jsp there is a table with some contents. there is a delete and restore
buttons at bottom.
using LookupDispatchAction I am checking which action to perform and doing
so. But after performing the Action it gets forwarded to the same JSP.
As part of my JavaOne session on Shale, I demo'd the fact that Clay lets you
have two different views of the page:
Designer view: http://localhost:8080/myapp/login.html
Developer view: http://localhost:8080/myapp/login.faces
To demonstrate that Clay was actually parsing the HTML template, in
Beyond the drama of the demo, I would definitely like to see Clay work
the way you suggest. If the CSS styles are picked up from the span
tag, then I can maintain the separation between UI designer and
developer. If the style needs to be specified in the
clay-config.html, then I need to have my
I believe that currently if the html attribute is not also an attribute on
the underlying component, then the html attribute will be treated as a
symbol.
So, in this case if userNameMessage is actually a h:message, then
span jsfid=usernameMessage class=errors styleClass=errors
username error
I use struts dispatch actionwonder if this 'parameter' parameter will
affect my method 'parameter'
On 11/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
sudip shrestha [EMAIL PROTECTED] wrote on 11/03/2005 09:49:18 AM:
Is it possible to display an intermediate page while struts
Or better yet you could put
set name=styleClass value=@class/ in the attributes of the baseHtml
component of clay
and then it would be picked up by all the descendants.
On 11/3/05, Ryan Wynn [EMAIL PROTECTED] wrote:
I believe that currently if the html attribute is not also an attribute on
As part of my JavaOne session on Shale, I demo'd the fact that Clay lets you
have two different views of the page:
Designer view: http://localhost:8080/myapp/login.html
Developer view: http://localhost:8080/myapp/login.faces
To demonstrate that Clay was actually parsing the HTML template, in
On 11/3/05, Ryan Wynn [EMAIL PROTECTED] wrote:
Or better yet you could put
set name=styleClass value=@class/ in the attributes of the baseHtml
component of clay
and then it would be picked up by all the descendants.
That makes sense to me ... all the JSF standarfd components (and I suspect
Ah, Ryan beat me to the answer. Figures, symbols was his idea anyway.
---BeginMessage---
I believe that currently if the html attribute is not also an attribute on
the underlying component, then the html attribute will be treated as a
symbol.
So, in this case if userNameMessage is actually a
Hubert,
Good morning! ( Since I am sending it from Australia.)
I am reading the document on formDef, it is such a nice plugin so why don't
you incorporate it into Struts? It will make project much productive.
Question for you,
Property type global converters
Property type global converters
On 11/3/05, Yujun Liang [EMAIL PROTECTED] wrote:
Hubert,
Good morning! ( Since I am sending it from Australia.)
Good morning!
How can I convert an input from user to the Date field base on the Locale?
I mean the locale is a varible during the session and conversion can
handle multiple
hi all,
I have to print a report(which I have created using jasper report). I m
setting the content type as
response.setContentType(application/octet-stream);
then writing the jasper print object on the servlet output stream object.
however when I try to execute this, it gives me a dialog box
43 matches
Mail list logo