Hello,
I need to create a wizard with struts.
I find this project : http://struts.apache.org/struts-flow/
Have you docs or other toolkits to do this ?
Thanks.
--
Struts 1.1
JBoss 3.x
Eclipse 3.1
-
To unsubscribe, e-mail:
HI,
Is there is any way to attach error messages with the specific field. I
mean I have an error messsage Username required How can I print that
message just down the label of username.
thanks sony
-
To unsubscribe, e-mail:
This might be a dumb question but for those of us not able to make
ApacheCon, are there any videos of the presentations online anywhere?
Chris
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: 14 December 2005 20:22
To: announcements@struts.apache.org;
Hi every body,
I get an javax.servlet.ServletException: duplicate class definition:
com/amarda/framework/taglib/RowTag
on webapp start up only. Upon refreshing the page this error goes away.
This exception occurs when using more than one frame (including internal frame).
Tks folks.
Hi,
I am trying to use ExceptionHandler to handle the exception and to throw the
customized error message using html:error/ tag but I am not able to
display the message.
I want help about what actually storeException method do.
I tried google search but I didnt get clear Idea about that.
Code of
Hi,
I want to upload all the files of a directory at one go. Is there a tag
available that I can use. The html:file tag would only let me select a
file not a directory.
Any help will be much appreciated.
Regards,
Shivani
This message may contain confidential and/or privileged
I'm not sure it matters much which order they're applied in, though,
since all have to pass
anyway.
Order does matter... That will decide which *one* of the error messages to
display to the user when one of these tests fail.
On 12/15/05, Laurie Harper [EMAIL PROTECTED] wrote:
Deepa Khetan
The presentation looks similar to the one made during JavaOne 2005.
Audio is available on JavaOne website.
On 12/15/05, Chris McCormack [EMAIL PROTECTED] wrote:
This might be a dumb question but for those of us not able to make
ApacheCon, are there any videos of the presentations online
Shivani Sawhney wrote:
I want to upload all the files of a directory at one go. Is there a tag
available that I can use. The html:file tag would only let me select a
file not a directory.
Short answer: no. That's just not how browsers work.
off-topic
There seems to be a general lack of
Hi
I have a un-natural problem here
Im trying to use :
[code]
logic:equal name=sysvar value=loop
td
..
/td
/logic:equal
[/code]
it never enter the above block.
even i tried and showed sysvar by using the following code line in the
browser
[code]
%=sysvar%
[/code]
I can see that
Hi
Don't use this. Use the jstl tags instead. In this case c:if
test=${sysvar=='loop'}/c:if
If you read the tag doc's you will see that you are encouraged to switch to the
jstl tags in place og the struts tags. In so doing, use the struts-el tag
librarys
Hermod
-Original
Legolas-
what is the scope for variable sysvar?
Anyone else?
Martin-
- Original Message -
From: Legolas Woodland [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, December 15, 2005 7:43 AM
Subject: Problem with using Logic:equla tag.
Hi
I have a
On 12/15/05, Rivka Shisman [EMAIL PROTECTED] wrote:
When I use in my struts-config.xml the line: !DOCTYPE struts-config
PUBLIC -//Apache Software Foundation//DTD Struts Configuration1.2//EN
http://struts.apache.org/dtds/struts-config_1_2.dtd; - it works while
running the application but not
I've downloaded Struts 1.2.8 and am interested in using the classes in
org.apache.struts.mock package to unit test my actions, forms, etc...
I see the source files but cannot seem to find the binaries.
Am I missing something? Do I have to build and integrate them into the
struts.jar myself or
Hi Dave,
Thanks for the reply.
off-topic
When I said upload all the files of a directory at one go, I didn't
really mean that upload the directory as is. May be a smarter reply
would be that yes, we actually can upload all files of a directory at
one go, given that we zip the directory and
Hello,
I have got a problem. I have created a struts module that fits into an
existing java model 1 architecture webapp.
Anyway, when moving the code to test, I realized that the site is all
HTTPS. But the webservers are not doing the 443. There are a pair of
load balancers handling the 443
Hi
Is there any open source utility which will help in
moving data from one database to other,
Does this utility works with most available and
commonly used databases.
Ashish
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
Shivani Sawhney wrote:
And tell me something, probably I am just thinking aloud and am even
wrong, but if I can do it through code then can't we just have a custom
tag that zips the chosen directory at client side, uploads the zipped
file on to the server and provides the programmer with
You may try this one for a change (it is part of my project):
http://struts.sourceforge.net/strutsdialogs/wizardaction.html
Michael.
On 12/15/05, hicham abassi [EMAIL PROTECTED] wrote:
Hello,
I need to create a wizard with struts.
I find this project : http://struts.apache.org/struts-flow/
This reads like Shale is not only a proposal but part of Struts. Is that
true? If that is true, can someone explain how that happened? What the
process was?
On 12/14/05, Martin Cooper [EMAIL PROTECTED] wrote:
14 Dec 2005 - To give JavaServer Faces developers a head start on building
The latest version of SSLEXT seems to be for Struts 1.2.2, is there a
newer version, or have people had success implementing the 1.2.2
version of SSLEXT with Struts 1.2.7?
Thanks,
Randy
-
To unsubscribe, e-mail: [EMAIL
Does anybody know how to specify a file name when we use DownloadAction
to send a file to users?
Sincerely,
Thai
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 12/15/05, Vu, Thai [EMAIL PROTECTED] wrote:
Does anybody know how to specify a file name when we use DownloadAction
to send a file to users?
This page might help:
http://wiki.apache.org/struts/StrutsFileDownload
--
Wendy
[EMAIL PROTECTED] wrote:
I have problem to show chinese characters stored in MySQL database with
use of struts bean tag. Data is read out using Hibernate. When I call
myHibernateObject.getMyProperty() method - everything works fine. But
using bean:write name=myHibernateObject
Dave Newton wrote:
Shivani Sawhney wrote:
And tell me something, probably I am just thinking aloud and am even
wrong, but if I can do it through code then can't we just have a custom
tag that zips the chosen directory at client side, uploads the zipped
file on to the server and provides the
Jean-Charles Giardina wrote:
Hi every body,
I get an javax.servlet.ServletException: duplicate class definition:
com/amarda/framework/taglib/RowTag
on webapp start up only. Upon refreshing the page this error goes away.
This exception occurs when using more than one frame (including internal
Randy Shepherd wrote:
The latest version of SSLEXT seems to be for Struts 1.2.2, is there a
newer version, or have people had success implementing the 1.2.2 version
of SSLEXT with Struts 1.2.7?
I haven't used sslext, but Struts 1.2.7 should be similar enough to
1.2.2 that you shouldn't have
Well I really tried to solve this one,
but finaly redirect true for all actions aviable from under the HTTPS
part was the only solution... I mean, finally, HTTPS and HTTP is
something like 2 different servers, I don't really think you can move
around there without redirect...
Btw, what do
Sony Thomas wrote:
Is there is any way to attach error messages with the specific field. I
mean I have an error messsage Username required How can I print that
message just down the label of username.
Use html:messages property=user.../... to access messages specific
to the field 'user'. For
[EMAIL PROTECTED] wrote:
Hi
Don't use this. Use the jstl tags instead. In this case c:if
test=${sysvar=='loop'}/c:if
Thank you very much.
I think my problem is wired ,
I used
c:if test=${sysvar=='loop'} Do this Tags when sysvar is equal to loop/c:if
and in some next lines i did :
c:if
Is there a free XML Formatter that lets path be first in the struts config
file be first? The one I have puts the attributes in alphabetical order and
I hate that.
Shawn
This email may contain confidential material.
Is there a free XML Formatter that lets path be first in the struts config
file be first? The one I have puts the attributes in alphabetical order and
I hate that.
Shawn
This email may contain confidential
As someone else mentioned, the problem could be the scope of your
variable. Another thing to check, are you sure that EL is being
evaluated in your page?
dave
On Fri, 2005-12-16 at 00:30 +0330, Legolas Woodland wrote:
[EMAIL PROTECTED] wrote:
Hi
Don't use this. Use the jstl tags instead.
Martin Gainty wrote:
Legolas-
what is the scope for variable sysvar?
variable is in scope , i think it is in page scope .
this variable defined in another jsp file inside some scriptlet.
I think , there is no problem about variable scope because i can view
the content of variable by using
David Evans wrote:
As someone else mentioned, the problem could be the scope of your
variable. Another thing to check, are you sure that EL is being
evaluated in your page?
How i can ensure about : does EL evaluate or not ?
What i have done is :
I add the JSTL taglib declaration to my jsp
[EMAIL PROTECTED] wrote:
Hi
Don't use this. Use the jstl tags instead. In this case c:if
test=${sysvar=='loop'}/c:if
Thank you very much.
I think my problem is wired ,
I used
c:if test=${sysvar=='loop'} Do this Tags when sysvar is equal to loop/c:if
and in some next lines i did :
c:if
actually its fu-bar
it means
nicht genau
Martin-
- Original Message -
From: Danny Lee [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, December 15, 2005 3:57 PM
Subject: Re: Ideas needed for SSL problem
Well I really tried to solve this one,
but finaly redirect true for
I am not sure the specifics, but some versions of jsp require you to do
this:
%@ page isELIgnored=false %
and some older version of the jstl don't take EL in the attributes.
you could test to see if EL is being evaluted by doing this:
c:out value=${sysvar} /
maybe this will help:
On 12/15/05, David Evans [EMAIL PROTECTED] wrote:
I am not sure the specifics, but some versions of jsp require you to do
this:
%@ page isELIgnored=false %
and some older version of the jstl don't take EL in the attributes.
you could test to see if EL is being evaluted by doing this:
c:out
Hey all,
So I am trying to get outbound url rewriting working using the Tuckey
URLRewrite Filter (http://tuckey.org/urlrewrite/) with Struts 1.2.7
with Tiles 1.1.
It appears that my outbound rules are not even being evaluated when the
Struts target is a tile. As a result none of my links
On Dec 15, 2005, at 5:14 PM, Randy Shepherd wrote:
So I am trying to get outbound url rewriting working using the
Tuckey URLRewrite Filter (http://tuckey.org/urlrewrite/) with
Struts 1.2.7 with Tiles 1.1.
It appears that my outbound rules are not even being evaluated when
the Struts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I should clarify one thing. The target JSP when made a tile, is
included in the body of the tile definition tag that extends a
template., If I make the target JSP the path, and do not have the
definition inherit from a template, then the outbound
Cutting right to the chase...
I'm curious on how others handle the age-old struts problem of: How do you
handle nested objects in an ActionForm that have non String properties that
might be editable by a user on a JSP?
To provide a watered down example...
Imagine you go to the DB to get a List
I've always used String values. Given that difference, I've seen this work:
field property=birth indexedListProperty=employees
depends=required,date
arg0 key=employeeform.birth.displayname/
var
var-namedatePatternStrict/var-name
On 12/15/05, Hubert Rabago [EMAIL PROTECTED] wrote:
I've always used String values.
But that above is the problem - you can't always have String values returned
to you in nested objects from the domain-layer, backend, mid-tier, etc. When
you query the backend for value objects that have nested
Ok, my fault. I focused on the validation part.
For this part:
Why if you already have existing code
working great wtih iBATIS, hibernate, or EJBs should you have to try and
re-write all you POJOs to have String properties included in the objects.
That would be a maintenance nightmare and
Thank,
But all my JAR are in WEB-APP/lib. And I've not found multiple copie.
In my my frame there is only JSP from one webapp !
Regards.
2005/12/15, Laurie Harper [EMAIL PROTECTED]:
Jean-Charles Giardina wrote:
Hi every body,
I get an javax.servlet.ServletException: duplicate class
Action Forms are DTO objects. They are not your model/domain/business objects.
Struts is the only
framework (historical design) that forces you to use String objects in the
Form/DTO, but that's
not a bad thing. It's a container to accept user input, which is all from the
Internet transmitted
as
This below is very interesting Hubert. I'm going to have to to give this a
try tomorrow. So basically there is a way to bind all your nested objects to
Dyna objects which of course can be validated as String properties even
though they'll map to non-string props if validation passes. I think this
On 12/15/05, Paul Benedict [EMAIL PROTECTED] wrote:
Action Forms are DTO objects. They are not your model/domain/business
objects. Struts is the only
framework (historical design) that forces you to use String objects in the
Form/DTO, but that's
not a bad thing. It's a container to accept
Dakota,
Last week, I wrote about three messages voicing my opinon that I think it is an
error to accept
Shale under the Struts banner. I still hold that to be true, but I also see the
justification of
the commiters, which are:
[1] Struts is now an umbrella label to contain MANY frameworks. As
I'm concerned with having to deal with that limitation then how DO you deal
with the
'model/domain/business' objects that do need to get populated? Sure in a
simple form it's easy,
but real life is a different story. Many times you get back objects that are
nested in
Collections...
As I
On 12/15/05, Paul Benedict [EMAIL PROTECTED] wrote:
As I said, the problem is you're using model objects for input. Don't do
that. Your load action
should convert the specific and limit poritions of your intended user
input into the Form;
probably a list of Strings. In your save action, you
On 12/15/05, Paul Benedict [EMAIL PROTECTED] wrote:
Dakota,
Last week, I wrote about three messages voicing my opinon that I think it
is an error to accept
Shale under the Struts banner. I still hold that to be true, but I also
see the justification of
the commiters, which are:
[1]
ya.. i agree with you Raghu!! I would want minlength validation to work
before mask is applied.. But the order in which the validations are
specified do not affect the order in which they are applied. I have tried
that out.
On 12/15/05, Raghu Kanchustambham [EMAIL PROTECTED] wrote:
I'm not
Rick,
I just hope you're not making the situation more complicated than it needs to
be. If I have to
display a 2D list of items (like say a table), I may be using a DTO which has
multiple properties.
These are all strings.
I only found nested objects to be complex when I tried to make them
On 12/15/05, Chris McCormack [EMAIL PROTECTED] wrote:
This might be a dumb question but for those of us not able to make
ApacheCon, are there any videos of the presentations online anywhere?
Some of the sessions were videotaped, but this one wasn't alas. As was
mentioned in a different
Have a strDate which is of type string. The setStrDate() needs to be coded
in such a way that it sets the date attribute also which is of type Date.
The getDate() which returns Date object can be used in the business
layers. For example, my Hibernate mappings map to getDate and not to
I want to add one thing to Raghu's advice:
You only need String-only DTOs at the form layer for INPUT variables only.
Anything you retrieved
from the business layer can be stuck in the request as it is for display
purposes, or attached
right to the form. You may want something like this in your
I have an error coming when I start my application using Tiles.
org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
Hi,
You can try with this, for me work fine
// Set the headers.
res.setContentType(application/x-download);
res.setHeader(Content-Disposition, attachment; filename= + filename);
// Send the file.
OutputStream out = res.getOutputStream( );
returnFile(filename, out); // Shown earlier in
61 matches
Mail list logo