Hi,
I'm currently evaluating Struts 2 for our next project. Our UI people
have laid out some standards for the markup generated by the application
pages, which the XHTML theme does not satisfy.
I started looking into the "Extending Themes" topic, but it seems that
there's no clear reference on ho
based on the scope your form bean is in you can access it like this.
ActionForm formA = request.getAttribute("A");
or
ActionForm formA = session.getAttribute("A");
Thanks,
Nuwan
- Original Message -
From: "Sheetal Gupta" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Th
Hi,
I hava a action class "A" , which
based on the value in it's form bean takes an appropriate action..
Now, I have an another action class(B),
which would explicitly invoke
action class A.
But the problem is how do i get a
reference of form bean of " A",
SO THAT i CAN MANUALLY SET .
the p
Try changing the form method to get. I think post does not sends the
data in the way you have done.
Just my guess..
Anil.
-Original Message-
From: temp temp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 8:13 PM
To: user@struts.apache.org
Subject: html form
I have a h
In JSP make sure you add taglib directive
<%@ taglib uri="/tags/struts-nested" prefix="nested" %>
or
<%@ taglib uri="/WEB-INF/struts-nested" prefix="nested" %>
-Original Message-
From: Raghu [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 23, 2006 9:47 AM
To: 'Adam K'
Cc:
I am 100% sure.
I have extensively used these futures and successful.
Using Nested Tags will decrease the Lines of Code,Easy Maintenance..
Nested tags will take care of setting the latest values to form bean .There
will not be any change in ActionForm/Action class.
Framework will take care of se
I gave up on using a .tag file to do this and wrote my own Tag class.
In the process I think I may have learned something that relates to this
problem: No matter the expression language to be applied to the attributes
of a tag, they are all set as Strings. In doTag() (or a related method with
b
ok, I found the solution: adding escape="false" to tag
will do the work.
On 11/23/06, Andrew Stepanenko <[EMAIL PROTECTED]> wrote:
Hello,
I have content stored in MySQL DB in HTML format, but when I try to
display it in my page using tag, symbols '<' and '>' are
replaced with '<' and '>>', t
Sorry :
java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext...
On 11/22/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote:
David,
I downloaded the struts2-core-2.0.2-SNAPSHOT-20061122.jar and the
tiles-core-2.0-SNAPSHOT-20061122.jar as you told me in your previous mail,
but it d
David,
I downloaded the struts2-core-2.0.2-SNAPSHOT-20061122.jar and the
tiles-core-2.0-SNAPSHOT-20061122.jar as you told me in your previous mail,
but it doesn't work too. I have exactly the same problem while starting
Tomcat and initializing the Tiles listener.
If I don't register
Hello,
I have content stored in MySQL DB in HTML format, but when I try to
display it in my page using tag, symbols '<' and '>' are
replaced with '<' and '>>', thus the HTML code is displayed
instead of being rendered by the browser. Is there any option to tell
struts not to replace '<' and '>'
Hi David,
Thank you for your answer. I did not had enough time to try it until now,
but it doesn't work. I'm quite sure I'm doing something wrong, in particular
I think I did not have the right jars. Depending on the jars included in my
/lib directory, I always have ClassNotFoundExcpetions...
As
it's even easier to integrate it with Struts1. Use FCKeditor Java
integration pack and provide the id in the tag the same
as your property name in struts-config.xml.
Andrew
On 11/22/06, Joseph McGranaghan <[EMAIL PROTECTED]> wrote:
I'm still using struts1 for now
Andrew Stepanenko wrote:
> He
I'm still using struts1 for now
Andrew Stepanenko wrote:
Hello,
FCKeditor is very nice, but it was removed from Struts2 due to
licensing issues. It is still integrated in Webwork. To make it a part
of I had to port tag from Webwork into
struts-tags tag library.
Regards,
Andrew Stepanenko,
ht
Alright, I guess I should have thought that. I was worried that my
fundamental understanding for this was wrong. For debugging I am putting my
information into a String which is not being iterated (it for some reason
always works, but those that are iterated over don't for some reason.
I have no
HI
I think Christopher is right. Popping up the user is not that much
useful. I think it is good that you directly redirect the user to login
page, if set session time out value expires on server site with Session
time out error message.
Here I have Q for Chirstopher :
Christopher below is som
HI Levan
I think the solution you are trying is good. But also look at this.
What I will say. Don't create any thread from current action. Either put
a entry in database. Like need to send a e-mail for [EMAIL PROTECTED]
Write a daemon process using java or other language. This actually reads
From: Adam K [mailto:[EMAIL PROTECTED]
> What is the purpose of the System.out.println that you have at the end
> of your action ?
Debugging?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
I should also like to say that the one part that seems to be giving me the
most problem is the setting of the variables in action when it is
submitted.
The other thing I am curious about is if what I am doing is incorrect. I am
using one action for both the submit as well as the prepopulate based
Thanks for the lengthy example, but there is one part that I am completly
lost on. I thought that the following occurred:
Click link to open page, formbean is reset aciton poppulates formbean jsp
retrieves values from the formbean. User sees the screen prepopulated.
User modifies the information
But this requires J2EE Container right?
Levan Dvalishvili
Support Lead US
Verticali,Inc
(646) 736 - 6075
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 21, 2006 2:02 PM
To: user@struts.apache.org
Subject: RE: Struts, running email process
In short, no. You should create hidden fields for each of the params
you want to pass.
On 11/22/06, temp temp <[EMAIL PROTECTED]> wrote:
I have a html form
Display OptionsShow 10
Show 20
Show 50
Show 100
Show 200
When I receive request posted
Hello:
I'm not sure if this is the right place to post this problem. Sorry for
disturbing.
I'm using a partial list 'cause I need to manipulate sorting and pagination.
Everything goes well and pagination and sorting works perfectly. The problem is
cause in the message X items found, displaying
From: Gallagher, Jim (RBoS ITD&S Dublin)
> Up to now, when designing a jsp I've only used the formbean to
> collect the information entered, rather than to pass it to the jsp in
> the first place. I'm wondering whether it's a better idea to create
> the formbean, populate it and use that to pass t
Jim,
Basically, that is how our application is set up. There are transfer
object beans that handle the movement between our controller layer and
model and form beans for moving data between the view and controller
layer. Sometimes, the TO and form bean may be exact matches and other
times I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
Gallagher, Jim (RBoS ITD&S Dublin) wrote:
> I'm wondering whether it's a better idea to create the
> formbean, populate it and use that to pass the information to the jsp?
This really is the "struts way". But, in order to do this, you don't
have
Hi,
I've designed & written a couple of struts applications up to now,
and recently the solution to a problem has caused me to wonder if I'm making
a fundamental error in the way I've been doing it.
Up to now, when designing a jsp I've only used the formbean to
collect the inform
what is the trouble?...all looks good to me
do you need to include:
classtype="org.apache.struts.tiles.beans.SimpleMenuItem" ?
From: Java Programmer [mailto:[EMAIL PROTECTED]
Sent: Thu 23/11/2006 12:07 AM
To: user@struts.apache.org
Subject: Tiles & menus
Hi,
what exact value did you enter with the date pattern MM/dd/yy?
I dont like datePatternStrict because you have to enter the leading zero for dd
and MM; and the year should format according to java.text.SimpleDateFormat
rules.
I use dd/MM/ (not strict) and the user can type the full yea
Thanks Niall,
perfect, you were right, it was an issue with the jcv_retrieveFormName.
I'll post again when I've figured out whether it's caused by rhino,
validator, httpunit or a combination of all three :)
As a workaround I can override the jcv_retrieveFormName(form) in each
jsp to return
Hello,
I have some troubles with finding examples of using SimpleMenuItem and
tags within , so far I did menu like this:
- part of tiles-def.xml:
- part of jsp *tile*
">
So first I import attribute
Hello,
FCKeditor is very nice, but it was removed from Struts2 due to
licensing issues. It is still integrated in Webwork. To make it a part
of I had to port tag from Webwork into
struts-tags tag library.
Regards,
Andrew Stepanenko,
http://unf.tane.edu.ua
On 11/22/06, Joseph McGranaghan <[EMA
What good html editors or rich text editors
are successfully being used in html forms for textarea
submissions.
I'm looking at FCKeditor and the dojo rich text editor.
What experiences have you guys had with these and others.
-Joe
---
Hi,
I've got three similiar web applications (struts 1.3). They are a part
of one service, with single-sign-on enabled. It works fine. I wonder how
difficult would it be to convert them into one, module aware application.
There are session form-beans used. Probably with the same names. Would
This is how I do it:
dateFormat
dd/MM/
...
...
...
datePattern
${dateFormat}
-Original Message-
From: vacak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 10:41 AM
To: user@struts.apache.org
Subject: Date validation
Hi,
I use
Hi,
I use Validator 1.0 and I would like to validate date fields with the
format MM/dd/yy but it works only with the format: MM/dd/.
In the validation.xml i use this:
datePatternStrict
MM/
Hi.
I am trying to use struts-config_1_3.dtd
I have changed my struts-config.xml doctype to:
http://struts.apache.org/dtds/struts-config_1_3.dtd";>
I get the following error in JBuilder 2006 :
Unable to load document from file (myProject>/WEB-INF/struts-config.xml)
Any idears?
BR
Soren, DK
forwarding to a definition in i dont have any problem. I
have problems forwarding from struts-menu but I believe that it's not
possible.
From: Antonio Petrelli <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: dont exist ForwardAction ??
D
daniel blanco cuadrado ha scritto:
Thank you very much.
this run with tiles ? yes of course, or no ?
Yes, of course :-) Did you have any problem forwarding to a definition?
Ciao
Antonio
-
To unsubscribe, e-mail: [EMAIL PRO
Thank you very much.
this run with tiles ? yes of course, or no ?
From: "Hubert Rabago" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: dont exist ForwardAction ??
Date: Tue, 21 Nov 2006 14:41:13 -0600
I think he's looking for:
Danie
thanks, but no.
In others versions of Struts exited a class named ForwardAction that did
mapping.findforward automatically whithout create a action if you mapping
this in . Or that I believe.
sorry, but my english is very bad.
From: Laurie Harper <[EMAIL PROTECTED]>
Reply-To: "Struts Users
41 matches
Mail list logo