I don't think it is valid JSP syntax to nest tags like that. I have tried
stuff like that in the past and concluded that you cannot use one JSP custom
tag to render an attribute value for another JSP custom tag.
This might be an alternative:
tiles:useAttribute id=sectionURL name=section_url/
Set up security in your web.xml; when the server encounters a request for a
protected url and there is no session, it will redirect the request to a
form defined in your security and then display the requested url.
Your form should post to j_security_check with inputs name j_username and
Works great. Thank you very much...
---
Thanks
Mick Knutson
http://www.baselogic.com
+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---
- Original Message -
From: Max Cooper [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 11:28
Is there a menu builder, like struts-menu, available that will build a
tree menu (and other menu types) from a bean?
Anyone got struts-menu converted to get its data from a bean?
Thanks in advance,
Johan
I'm developing a site where the pages consists of a number of different parts:
top, left, right, MAIN, footer, buttom
I want to dynamically include the MAIN part, so that I include a page, that
I generate in the action that forwards to the page. For instance I would
like to say:
In
This is easily done with Tiles.
---
Thanks
Mick Knutson
http://www.baselogic.com
+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---
- Original Message -
From: Morten Andersen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 11:57 PM
Subject: How to include
+1
While Ive not had opportunity to use tiles myself but Ive only ever heard
good things about it. Id suggest its well worth the effort learning as it
appears to be far superior to other jsp templating methodologies.
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent:
Günter,
I don't know if there is any standard support for navigation bars as you
describe. I made a similar functionality;
As you mention yourself (business function context) navigation is part of
the business logic; so I made a navigation object which is maintained in my
action classes; the
Mainguy, Mike wrote:
I started with #1 but then switched to #2.
As this is my first big struts project I might be wrong but I had the
impression that #2 would be preferrable because with #1 I would have to
repeat the action mapping as a string in my action classes.
I saw that most of the
In an app I'm working on I have to maintain date information across a
system that encompasses Oracle, SQL Server VB and Java. To do this I
store the dates on both databases and in XML directly using the format
you mentioned MMddHHmmss (in a char(14) in the dbs).
Because all developers can be
My choce would be #2.
We are doing a quite a big struts project here and i have seen both the approaches
being used here.And from my experience,I thik that apprioach 2 is definately
betetr,maintainable and leads to better code.
With approach 1, there is a lot of conditional code in action
So, did you find it ? If yes, let me know too. I was looking out for
something similar.
- Navneet
Matt Raible said the following on 25/09/2003 4:15 AM:
I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I
want an in-page calendar.
Matt
-Original Message-
From:
So, did you find it ? If yes, let me know too. I was looking out for
something similar.
- Navneet
Matt Raible said the following on 25/09/2003 4:15 AM:
I'm aware of Matt's Library (and I love it), but I don't want a pop-up, I
want an in-page calendar.
Matt
-Original Message-
From:
Hi All,
I am evaluating the struts workflow extension written by Mr. Matthias Bauer(
http://www.livinglogic.de/Struts/index.html ) And I have found it to be extremely
useful.But I am facing some problems in configuring it to work with my application.
Right now we are just using tiles, so the
Hello everybody,
I have two web browser pages opened. I would like to display ( or update
) the contents of one of the pages when a method in Struts
LookupDispatchAction class has completed ( the LookupDispatchAction is
triggered in the other page ). Is there some simple and elegant way to
do
Hi guys!
How would I remove a DynaValidatorForm from the session after I do not
need it anymore? Is there a struts specific way or should I simply use
session.removeAttribute(...)? Or would you recommend simply calling
form.initialize()?
Any help would be apreciated.
Timo
--
FF Computer
I like Tiles, too, and think it is definitely worth a look for your site.
One of the best parts about it relative to some other page templating
techniques is that tiles page definitions support inheritance so you don't
have to specify the same stuff over and over for each page. Your proposed
Shirish,
what Struts version are you using? I certainly tested the
TilesWorkflowRequestProcessor together with the Tile plugin and it
worked fine in my setup. Has the Tiles initialization code changed lately?
--- Matthias
[EMAIL PROTECTED] wrote:
Hi All,
I am evaluating the struts workflow
You could define a switcher action
action-mappings
...
action path=/switcher type=org.apache.struts.actions.SwitchAction
...
/action-mappings
Then your global forward could use that:
global-forwards
forward name=error path=/switcher.do?prefix=page=doError.do/
/global-forwards
[Shameless Vendor Plug]
JDeveloper 10g will evaluate tags for you in the JSP Visual Editor if you wish - no
need to even go into preview
Regards
Duncan Mills
- Original Message -
From: Mark Galbreath
To: Struts Users Mailing List
Sent: Wednesday, September 24, 2003 2:20 PM
Subject:
Hi Matthias,
It was my fault.The configuration entry I had done to register the controller was
wrong.
I had written
controllerprocessorClasscom.livinglogic.struts.workflow.TilesWorkflowRequestProcessor/processorClass/controller
when it should have been controller
Hi,
I have a hash table, I want to iterate through keys of the hashtable and
display key value pair on the jsp page, how can i do this using logic tags in struts
tag library.
I need to show keys as well as values on the jsp page.
Regards,
Tarun
DISCLAIMER:
This message contains
Glad to hear that,
--- Matthias
[EMAIL PROTECTED] wrote:
Hi Matthias,
It was my fault.The configuration entry I had done to register the controller was
wrong.
I had written
controllerprocessorClasscom.livinglogic.struts.workflow.TilesWorkflowRequestProcessor/processorClass/controller
when it
how can we assign the JSP value to the hidden field
code is as follows
String date = session.getValue(BussinessDate);
this date variable i want to assign to following field...
html:hidden property=txtBusidate width=15 size=25 maxlength=25 /
will this work ?
html:hidden value = %=date %
What about this?
bean:define id=date name=BussinessDate scope=session/
html:hidden value = %=date % property=txtBusidate width=15 size=25
maxlength=25/
Adolfo.
From: Abhijeet Mahalkar [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List
thanks..
- Original Message -
From: Adolfo Miguelez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 3:37 PM
Subject: Re: Value assignment to html:hidden field...
What about this?
bean:define id=date name=BussinessDate scope=session/
html:hidden value =
Hi all,
is it possible to use the validator framework to check values of beans
that are stored in a collection in a DynaValidatorForm?
TIA,
Timo
--
FF Computer AnwendungenTel: +49 89 51727-352
und Unternehmensberatung GmbH Fax: +49 89 51727-111
Westendstr. 195 Mail:
try this,
Action Class
HashMap map = new HashMap();
map.put(myKey1,myValue1);
map.put(myKey2,myValue2);
request.setAttribute(map,map);
--- JSP page
logic:iterate id=myIterate name=map
bean:write name=myIterate property=key/
bean:write name=myIterate property=value/
Hi!
I need to prefill a form with valus (that a get in a struts action), how can i do this?
thanks
Mehdi
I had no problem using the quartz-config you supplied. Is your plugin configured like
this in the struts-config?
plug-in className='com.jgsullivan.struts.plugins.QuartzPlugIn'
set-property property='configPath'
value='/WEB-INF/quartz-config.xml'/
/plug-in
Cal
yes
Timo Neumann wrote:
Hi all,
is it possible to use the validator framework to check values of beans
that are stored in a collection in a DynaValidatorForm?
TIA,
Timo
--
FF Computer AnwendungenTel: +49 89 51727-352
und Unternehmensberatung GmbH Fax: +49 89 51727-111
+1. We found that #2 worked best for our current application.
On 09/25/2003 03:42:52 AM shirishchandra.sakhare wrote:
My choce would be #2.
We are doing a quite a big struts project here and i have seen both the
approaches being used here.And from my experience,I thik that apprioach
2
You can probably find your answer here because it is asked quite often:
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
Contains examples:
http://apache.roweboat.net/jakarta/struts/binaries/jakarta-struts-1.1.zip
Brief overview:
-Define a form in your struts-config file
-Define
Natalie D Rassmann wrote:
yes
how?
Timo Neumann wrote:
Hi all,
is it possible to use the validator framework to check values of beans
that are stored in a collection in a DynaValidatorForm?
TIA,
Timo
--
FF Computer AnwendungenTel: +49 89 51727-352
und Unternehmensberatung GmbH Fax:
Thanks for the *contextRelative=true* tip
Regards
--
Franck Lefebure
equipe web http://www.orangecaraibe.com
mailto:[EMAIL PROTECTED]
0590323872
0690569880
- Original Message -
From: Manish Singla [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September
Hi ,
I need to extend the functionality of struts workflow extension provided by Mr.
Matthias Bauer( http://www.livinglogic.de/Struts/index.html ).
I want to add some Warning messages when the workflow exception occurs.For the same, I
need to Extend the WorkflowRequestProcessorLogic class and
Like you would any other type of form. Do you know how to set up the
validator framework? If not try this link below:
http://jakarta.apache.org/struts/userGuide/dev_validator.html
Timo Neumann wrote:
Natalie D Rassmann wrote:
yes
how?
Timo Neumann wrote:
Hi all,
is it
Just call the setters on the ActionForm from your Action class and fill the
form with data.
-Original Message-
From: EL AKARI Mehdi [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 6:58 AM
To: Struts Users Mailing List
Subject: How to make a form pre-filled from an action
Hello
I have a html form html:form action=/search.do in my searchForm.jsp page
in struts-config.xml this action is defined like:
action path=/search
name=searchForm
attribute=searchForm
validate=true
scope=session
type=struts.SearchAction
Natalie D Rassmann wrote:
So this works if forms is a collection of beans with a property value?
form name=FundForm
field property=forms.value depends=integer
arg0 key=global.value/
/field
/form
Like you would any other type of form. Do you know how to set up
Dear all,
(BI am a new user of this mailling list.
(BAs I saw in Installation document, when use Struts with WebLogic 5.1SP8,
(BI have to config so much. But I use WebLogic SP10, so what I have to do
(Bwith my WebLogic
(BThanks
(BChien
(B
(B
It depends on if it is indexed or not.
Here is an example that I have...
field property=prepTime indexedListProperty=prepTime
depends=float,isFloatNegative page=3
arg0 key=label.revRec.mtgMetricPrepTime/
/field
I am using a multi-page for that is why I have the page
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added myself to both 1 and 3 as I've done a project both ways... Now I
wonder, how does everyone determine which operation you are doing? As a
parameter in the action mapping? A big case-style (if else) statement?
-Original
I have an interesting problem that I can't figure out how to solve.
We are using Tiles, as well as a custom tag library that renders
content from Velocity Templates. These templates have HTML content in
them, but they're mostly text - and this is our CMS (for now). The
problem is is that
I think for #3 it would be silly not to use a DispatchAction or
LookupDispatchAction, right? It seems like you would also want
DispatchAction or LookupDispatchAction for #1, but I really don't understand
why people are using #1 at all. Is there some reason multiple action
mappings are needed for
Matt,
We have solved this in our application by defining our tile as follows
definition name=baseDef path=/Template.jsp
put name=title value=My Title1 /
put name=header value=/header.jsp/
put name=topnav value=/topnav.jsp/
put name=leftnav
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You don't have to create a different ActionClass for every Operation with
the same display/FormBean... I.E. If you use the same formbean and display
component, you don't want to also always create another ActionClass...
Similar to dispatchaction except you use the pathmapping instead of the
I personally would assign that value in the Action or somewhere else in the
java code (even default it in the form bean perhaps), not in the jsp. I'm
not sure that you can use a scriptlet variable in a CustomTag.
-Original Message-
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Sent:
You can always extend DynaValidatorForm and overwrite the validate method .
-Original Message-
From: Timo Neumann [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 6:06 PM
To: Struts Users Mailing List
Subject: Re: Validate values in collection?
Natalie D Rassmann wrote:
OK, I think I understand #1 now. However, I still disagree with it ;) If
you are using the same form bean and display components, you can define a
single action mapping and thus eliminate duplicate configuration information
in the struts-config file. I am a zealot when it comes to violations of
Yes, here is an exact cut-n-paste:
plug-in className=com.jgsullivan.struts.plugins.QuartzPlugIn
set-property property=configPath
value=/WEB-INF/quartz-config.xml /
/plug-in
---
Thanks
Mick Knutson
http://www.baselogic.com
+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---
yes, you can. it is evaluated previously to the tags themselves, so
thechnically is possible. You can also preload the form either:
- declaring the form with session scope for the previous action, so you can
take it in the action to preload it,
- or create a new instance also in the previous
Thats what prompted me to vote for 2...
Why to have unnecessary have this case statement in every action?
HAve the actions as simple handlers.Performing just simple atomic operations and
acting on whatever configuration they are provided to decide navigation
Something like
execute(){
What about:
#5:
A DispatchAction (struts 1.1) with a single action map entry:
/maintainUser.do?action=create - MaintainUserAction.java
/maintainUser.do?action=read- MaintainUserAction.java
/maintainuser.do?action=update -
That is exactly the method signature I use (well, different names, but
exactly the concept). I actually use
+++
Public string commandParameter = ProjectAction
Public List commandFoo(DynaBean bean, WebSecurityHolder security) {
..do stuff..
return ArrayList (or whatever) with a bunch
How is #3 different from #5?
Matt
- Original Message -
From: Richard J. Duncan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:29 AM
Subject: RE: [Poll] action mappings
What about:
#5:
A DispatchAction (struts 1.1) with a single action map entry:
How does everyone manage different deployment configurations?
Let's say your webapp needs to run in various environments.. for example
dev, staging and production. Each environment has its own database
connection info and third party SOAP endpoints.. etc.
What is a good way to automate (at
#2 and #3 are, to me, flip sides of the same coin. Our team is really
divided over which is better. Currently, we're using #3 and I personally
think it's the best way, but, the argument that has been made that it is
much simpler to understand the application if there is a 1 to 1 mapping and
+1 (#3)
--- Mainguy, Mike [EMAIL PROTECTED] wrote:
#2 and #3 are, to me, flip sides of the same coin. Our team is really
divided over which is better. Currently, we're using #3 and I personally
think it's the best way, but, the argument that has been made that it is
much simpler to
The point of being easy to understand is very important for a big application
especially I think.
And I don't understand why u need code duplication?The save action after doing update
if needs to read, the forward can point to readAction ...
That's what we have done al over our application.So
Normally a parameter in the action mapping, but other things affect it
too, such as the cancel button.
And then a big case-style if else in my action superclass.
On 09/25/2003 03:47 PM Mainguy, Mike wrote:
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added myself to both 1 and 3 as
I just find it naturally easier to grasp what is going on with one
Action and one form bean for each object in my model (and normally one
factory or 'business delegate') plus a host of mappings.
On 09/25/2003 03:59 PM Mainguy, Mike wrote:
You don't have to create a different ActionClass for
Hi,
My struts-config looks like :
struts-config
global-forwards
forward name=error path=/doError.do /
/global-forwards
action-mappings
action path = /doError scope=request
type=com.orange.struts.actions.ErrorAction
forward name=success path=/error.jsp contextRelative=true/
I do something a little different to pull the title out of application.properties
definition name=whatsnew.pagedef extends=home.pagedef
put name=title value=whatsnew.title /
put name=content value=/web/pages/home/WhatsNew.jsp /
put
We do development on Tomcat and testing/production on Oracle 9iAS, release
2. To accomplish this we:
1) Store our main directory with Tomcat files in our source repository (say
in $\PROJECT)
2) Store any Oracle-specific configuration info is in a separate directory
WITH A DIRECTORY STRUCTURE
Right, that's the way I look at it too. I guess you could call it a model or
data centric perspective of the system. To me personally, any business
system is centered around a logical data model. I tend to build (grow)
everything from the model out to the view.
It seems like the perspective
Very cool :)
However, I am hesitant to depend even on DynaBean. What if I want to use a
normal POJO bean? Here's what I'm thinking of doing:
IInputForm.java:
public interface IInputForm { }
IDynaInputForm.java:
public itnerface IDynaInputForm extends IInputForm {
public Object get(String
Whoops!, I goofed up my response, let me clarify.
From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
I just find it naturally easier to grasp what is going on with one
Action and one form bean for each object in my model (and normally one
factory or 'business delegate') plus a host of mappings.
Try this:
http://www.aoc.nrao.edu/~bwaters/pub/taglib/calendar-taglib.html
-Original Message-
From: Navneet Karnani [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 1:58 AM
To: [EMAIL PROTECTED]
Subject: Re: Know of any good Calendar Tag Libraries? (Sorry, that was
Aug 21)
How is #3 different from #5?
No different if you implement #3 with a DispatchAction rather than rolling your own
dispatcher in your action class's execute method (a good point raised in another
comment in this thread).
Regards,
Rich
-Original Message-
From: Sgarlata Matt
Natalie D Rassmann wrote:
Hi Natalie,
now I got it. Thanks a lot.
Timo
It depends on if it is indexed or not.
Here is an example that I have...
field property=prepTime indexedListProperty=prepTime
depends=float,isFloatNegative page=3
arg0
This calendar seems to perform like the one I remember
reading about (but can't find), but it looks a little
different than I remember. It's not taglib, but all
Javascript and CSS/DHTML.
http://dynarch.com/mishoo/calendar.epl
Regards,
David
-Original Message-
From: news [mailto:[EMAIL
Shirish,
why do you want to change the workflow extension for doing this? Maybe
you want to have a look at the demo application. If I am getting you
right, I suppose I am doing exactly what you want to do: Just let the
action that handles the workflow violation put the application specific
Well to a certain extent yes I 'build the system around each atomic
transaction the system is designed to support' but the atomic
transactions aren't necessarily remotely atomic.
Plus they are generally use-case based from the original UML design,
assuming it was big enough to warrant one, and
I came across one of the sexiest calendar's I've ever seen here:
http://secure.basshall.com/basshall/events.jsp
It's Flash, but it's small, fast, and responsive. Love to get my hands on the source
for that baby. The only thing it seems to be lacking is having the date highlighted
when that
Hi All
I am currently running tomcat4.1.27 and apache1.3.x. I am using struts. I
used call my webapplication xyz using www.abc.org/xyz. Now company has
decided that pople should be able to access this webapplication through
the URL
www.abc/javapps/xyz. Do i need to change the whole architecture
I'm already doing this in most of my definitions:
put name=titleKey value=activities.title/
%-- Push tiles attributes in page context --%
tiles:importAttribute scope=request/
titlebean:message name=titleKey//title
But if you read my message closely - you'd see that I don't have a
It's a shockwave calendar... Is it:
a) free?
b) how would you customize it to post
to the location of your choice?
Regards,
David
-Original Message-
From: James Childers [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 11:30 AM
To: Struts Users Mailing List
Subject: [OT] RE:
You can easily replicate the same calendar via a taglib or straight
dhtml/javascript.
We have a very similar calendar that we use for most of our projects.
It wont take that long either if that's all the functionality you need.
-Tim
-Original Message-
From: David G Friedman [mailto:[EMAIL
I'm aware of Matt's Library (and I love it), but I don't want
a pop-up, I want an in-page calendar.
BTW, I'm going to be adding an 'inline' option to the javascript library,
which will then find its way into the taglib also.
Unfortunately, I've not had much time to work on it lately, so the
Ant is the key to solving this problem. Unfortunately I don't have the
gift of being able to elegantly summarize the solution for you, but I
will tell you that I rely on Ant to solve this problem for me, and it
works! The key is to have multiple property file sets, and work out a
way to
Hi,
I'm having a problem with (I think) plugins that open a new thread, such
as the Quartz plugin. It starts up fine and appears to work alright,
but when I try to shut down, the server appears to hang on that
particular thread so that the process continues. I tried to do this on
a completely
I use session.removeAttribute
-Tim
-Original Message-
From: Timo Neumann [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 4:07 AM
To: Struts Users Mailing List
Subject: How to remove DynaForm from session the struts way?
Hi guys!
How would I remove a DynaValidatorForm from
I have an HTML image map that needs to use the SSLExt links:
pmap name=Map2
area shape=rect coords=17,0,84,26 href=/index.jsp
area shape=rect coords=96,0,187,26 href=/member.do
area shape=rect coords=204,0,284,26 href=/notification.do
area shape=rect coords=302,0,406,26 href=/cms.do
Hi,
Im trying to develop a small application using struts. Everything works fine except
the Action Errors part -- When the error messages show up, the form element values
from the previous screen are not being retrieved in the next screen -- Am I missing
something??? Help appreciated...
The JVM can only quit when all non-daemon threads have finished.
I don't believe the plugin itself starts any threads; it's probably a
problem internal to Quartz -- I don't know if you can tell it that it
should treat your scheduled tasks as daemon threads or not.
I'm not actually so familiar
Hello
I think http://www.servletsuite.com/servlets.htm
it's a very good library
Jim Theodoridis
- Original Message -
From: Kruse, Matt [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 6:36 PM
Subject: RE: Know of any good Calendar Tag
Kevin Tung wrote:
How does everyone manage different deployment configurations?
Let's say your webapp needs to run in various environments.. for example
dev, staging and production. Each environment has its own database
connection info and third party SOAP endpoints.. etc.
What is a good way to
Your best bet is to ask this question on the tomcat user list since it's
really a tomcat issue. My suggestion would be to put apache in front of
Tomcat and create a mapping for the jk to map javapps/* to tomcat. OT:
javapps makes no sense, I'd use /javaapps or /java or /apps. And when are
If you have developed your application in struts friendly way, this should
be as easy as changing
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping
to
servlet-mapping
servlet-nameaction/servlet-name
This is with regards to my question about retaining the form field values when the
error messages shouw up thru the Action errors... Just now, I figured out it was coz
of the html:form/ In this tag, I had added the name and type attribute too -- This
is coz I wanna do the client side
[EMAIL PROTECTED] wrote:
Hi All
I am currently running tomcat4.1.27 and apache1.3.x. I am using struts. I
used call my webapplication xyz using www.abc.org/xyz. Now company has
decided that pople should be able to access this webapplication through
the URL
www.abc/javapps/xyz. Do i need to change
Chen, Gin wrote:
I use session.removeAttribute
That's what I do now. To be exact I user
session.removeAttribute(dvForm.getDynaClass().getName());
That makes it more robust than hard coding the DynaForm's name.
Timo
-Tim
-Original Message-
From: Timo Neumann [mailto:[EMAIL
Hi Joseph,
if you leave the name attribute out, then the html:form tag will
automatically name the form after the name you specify in the action
mapping. You must specify the form (in the mapping) and the form fields
with html:text etc if you want the values submitted to reappear in the
fields
Take a look at the nightly struts validator example.
The pattern is:
!-- JavaScript Type Action --
actionpath=/editJsType
type=org.apache.struts.webapp.validator.EditTypeAction
scope=request
validate=false
forward name=success
I did figure that out Adam. Thanks much!
But, in the browser, when I hit the back button and then the refresh button, the
values remain in the appropriate elements... this is fine. But, when I hit the enter
key in the location bar, should not the page reload and the values cleared??? This
For an action form I use:
MyForm eForm = (MyForm)form;
eForm.getEmail()
In my DynaValidatorForm:
form-bean name=myForm
type=org.apache.struts.validator.DynaValidatorForm
form-property
name=email
type=java.lang.String
initial=No/
How do I expose the
Just did this earlier today for the first time.
DynaValidatorForm dynaForm = (DynaValidatorForm) form;
String email = (String) dynaForm.get(email);
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 14:08
To: Struts Users Mailing List
One of the parameters to the execute in your action
Is ActionForm form
So
String submittedEmail = (String) ((DynaActionForm) form).get
(email);
Should do it for you.
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 2:08 PM
To:
1 - 100 of 153 matches
Mail list logo