I posted a tag (StoreTag) which will store the generated html from a jsp in
a bean, then in your action you can get the RequestDispatchter and do an
include:
Details in the following messages:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg94956.html
http://www.mail-archive.com/[EMAIL
Posting whats in your validation.xml for the form and the bit of your jsp
with your select fields would be helpfull.
If you take the fromDay as an example, you are using
field.getVarValue(fromDay) - if you don't have a var defined in your
validation.xml for fromDay then that would cause the No
Whats missing from your question is how are you identifying which client a
user belongs to?
Niall
- Original Message -
From: Matthew Clark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 22, 2004 12:09 PM
Subject: Struts Validator
Hi there,
I am new to Struts and this
Validator does use ORO - There is an applet you can play with to test your
regexp:
http://jakarta.apache.org/oro/demo.html
Choose the contains option and start/end your regular expressions with ^
and $
Niall
- Original Message -
From: Takhar, Sandeep [EMAIL PROTECTED]
To: Struts Users
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004 12:54 AM
To: Struts Users Mailing List
Subject: Re: best way to highlight error form fields
I have done this by extending the struts html:text tag and using the
stylesheets - its pretty straight
, 2004 10:26 PM
Subject: RE: best way to highlight error form fields
Sorry but this is quite new to me: how do you use this source code? How
I integrate it? Do I write a TLD file??
Erez
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 13, 2004
as it is null. I could not figure out where i have gone wrong. I have
attached my source. Kindly help me.
Thanks
Shanmugam PL
Niall Pemberton wrote:
Yup, thats it - plus dynamic=true
form-bean name=fooForm1
type=lib.framework.struts.LazyValidatorActionForm dynamic=true /
form-bean name
I hesitate to answer this as I don't use modules. However, my understanding
goes like this:
All message resources are stored in application context. The default
module is stored under either the key specified in message-resources or
the default, which is Globals.MESSAGES_KEY. Message Resources
In your struts-config.xml, is the action which initially displays your jsp
page associated with TestBeanForm?
Niall
- Original Message -
From: Mu Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 10:17 AM
Subject: help! I m going mad
I just cant use
There is a SecurityFilter on source forge. Either you can look at how they
do it, or maybe use it
http://securityfilter.sourceforge.net/
Niall
- Original Message -
From: Christian Schlaefcke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 9:59 AM
Subject: Struts,
The question is, where does your action forward to in the valid scenario
after it has saved your properties? Are you forwarding to another action
which is re-popoulating the form from the request?
How about putting the cleanWhitespace() in your setters, rather than the
validate() method:
Shahak is correct except its not one action object per JVM - its one
action object per Struts module.
Struts uses a separate RequestProcessor for each module, the
RequestProcessor stores a single instance of each different Action class in
your module, which it re-uses.
Niall
- Original
Haven't used it but there is a Struts extension for this
http://sslext.sourceforge.net
Niall
- Original Message -
From: Joao Batistella [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 1:36 PM
Subject: RE: Switching from HTTPS to HTTP
What is the bug in ValidatorActionForm?
Niall
- Original Message -
From: Julio Cesar De Salvo [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 1:48 PM
Subject: RE: have anybody ever managed to work the ValidatorActionForm i
don't think
this kind of
information.(papers,
blue prints, class diagrams)
thank you all of you
john
Shout America
Montevideo - Uruguay
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 2:31 PM
I don't think setting debug actually does anything. Struts uses Commons
logging which is a bridge with various logging implementations (I use
log4j).
You need to configure the logging implementation to see the output you want.
Niall
- Original Message -
From: bOOyah [EMAIL PROTECTED]
staticJavascript=false method=validateObjetivoForm/
script language=Javascript1.1 src=staticJavascript.jsp/script
and obviously the ObjetivoForm.java extend the ValidatorActionForm
class.
-Mensaje original-
De: Niall Pemberton [mailto:[EMAIL PROTECTED]
Enviado el: Viernes, 12 de Marzo de 2004
Yes, quite a few.
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 2:43 PM
Subject: [OT] Your Message to [EMAIL PROTECTED] is Blocked
Anyone else been getting these when you send stuff to the list?
The problem you are having, is that each time you forward to an action then
struts will re-populate the form from the request.
That is why you are getting into a loop - when your ResetDataAction
forwards back to getData - the action for getData is having the form
re-populated from the request,
Did you add a page property to your DynaValidatorAction form definition in
the struts-config.xml?
Niall
- Original Message -
From: Dean A. Hoover [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 3:15 PM
Subject: wizard best practices?
I've been reading books, the
The html:optionsCollection tag was introduced in Struts 1.1 so thats why
it doesn't work - which means you are correct to use the html:options tag.
The only comment I have, the difference between your debug stuff and the
html:select tag is you missed out the name attribute on the
html:select tag
and no mentioning that being a bug. Do you know is there a
way that I can get to or send an email to one of the original Struts tag
developers to ask the question?
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 10:54 AM
To: Struts Users Mailing List
]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 4:05 PM
Subject: Re: wizard best practices?
Niall Pemberton wrote:
Did you add a page property to your DynaValidatorAction form definition
in
the struts-config.xml?
Niall
OK. Just added that... BTW it must
logic:present name=org.apache.struts.action.ERROR
property=org.apache.struts.action.GLOBAL_ERROR
- Original Message -
From: mucus snot [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 4:51 PM
Subject: testing for presence of GLOBAL_ERROR
Hi,
I
logic:messagesPresent message=true
property=org.apache.struts.action.GLOBAL_ERROR
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 12, 2004 5:36 PM
Subject: Re: testing for presence of GLOBAL_ERROR
Every thing looks fine to me. Is this the actual struts-config.xml you are
trying to use - because I did notice your /user/update has re-direct in
the Success forward. Obviously you say the problem is with the
/user/setUp action but I ask because a re-direct would cause the kind of
behaviour you
on the userForm.jsp
and it turns out that Struts puts userForm in request scope on its own
with all appropriate data that I set. The question is then why aren't
they displayed in the html tags?
Any ideas?
Danko
Niall Pemberton wrote:
Every thing looks fine to me. Is this the actual struts
I have done this by extending the struts html:text tag and using the
stylesheets - its pretty straight forward.
I overrode the getStyleClass() method to do the following:
1) Retrieve the ActionErrors from the request
2) Check if there is an error message for the name/property
3) If there is an
He's suggesting you use the javascript or method or META:REFRESH tag.
if you put a meta:refresh tag in the head of the document, the browser
will re-direct to a specified url after a specified number of seconds (e.g.
content=300 means it will re-direct after 300 seconds).
head
meta
Take a look at the indexed properties/tags How To
http://jakarta.apache.org/struts/faqs/indexedprops.html
Niall
- Original Message -
From: Mu Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 9:15 AM
Subject: how can I submit an array object in a form using
I would start by looking at Tiles - you can associate roles using tiles.
If you are using XML configuration, you can associate a role with a
definition
definition name=my.tile.definition path= role=myRole
/definition
Also the tiles tags
tiles:insert page=.. role=...
You say No errors are appearing in either the catalina.out or localhost log
file - I don't think validator logs anything to those places and saying
that makes me think what are you expecting to happen when validation
fails.
The normal course of events when validation fails is struts saves an
Mark,
Seems to me you have already worked out the solution, except why do you need
a lookup dispatch action - rather than a roll your own - you have two
methods right - Move Up and Move Down?
Your jsp will populate a (foo?) List with either Move Up or Move Down
(depending on the button pressed)
So in your validation-rules.xml you have something like...
validator name=myValidatorRule
classname=myPackage.MyValidator
method=validateMyRule
methodParams=java.lang.Object,
org.apache.commons.validator.ValidatorAction,
Its the name/property specified on the html:select tag that causes
OptionsCollection to set selected - in your case the select tag needs to
look at he country property of the customer bean - if optionsCollection
finds a value that matches that, it will set selected.
html:select name=customer
to be more the consequence of a crack induced
state of derangement than something that struts supports.
On 11 Mar 2004, at 12:19, Niall Pemberton wrote:
Mark,
Seems to me you have already worked out the solution, except why do
you need
a lookup dispatch action - rather than a roll your own
Its not a struts issue - its a dhtml/javascript issue - maybe you should ask
the question on a dhtml/javascript list.
Niall
- Original Message -
From: Mu Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 12:16 PM
Subject: RE: can anyone help me address this
Whats in your validateNif method - are you adding a error to ActionErrors if
its invalid?
errors.add(field.getKey(), Resources.getActionError(request, va, field));
- Original Message -
From: Diego [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 12:56 PM
Subject:
From what I saw of Jasper a year ago, the html it generated was pretty crud
and you had to set up a load of XML in a definitition to generate a report.
Now I may be way off base here, but if you want to generate a report in html
and then render it using struts why not use jsp, tiles, velocity or
I sent this earlier, but it didn't seem to reach the list. A number of
messages I sent never seemed to arrive (most do) - does anyone else find
this?
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March
] PDF generation (was: Reporting + Struts)
Niall Pemberton wrote
http://www.lowagie.com/iText/
BTW, I wasn't doing it in a web environment and the pdf
generation is slow, can take up to 30 seconds for a large report.
I'm using iText for my Struts app, and it's not that slow for me... 120
list after the current stuff
I'm doing.
Niall
- Original Message -
From: Hubert Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 5:57 PM
Subject: [OT] PDF generation (was: Reporting + Struts)
--- Niall Pemberton [EMAIL PROTECTED
I have to say I think putting it in the source code is the worst possible
option.
If for security reasons (say one of your developers leaves unhappily!) you
need to change your database password, I don't think you want to have to
change your java source, compile and re-deploy your app in order to
2004, at 09:47, shanmugampl wrote:
Hi,
I saw your code. I have one doubt. How do you plugin your own
DynaBean implementation into the struts framework.
Shanmugam PL
Niall Pemberton wrote:
I wrote these
http://www.niallp.pwp.blueyonder.co.uk
Niall
loaded with fields that
never should have been sent, the lazyDynaBean would add them, thus
creating a small hole of security. What do you think?
Erez
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 5:20 PM
To: Struts Users Mailing List
implementation into the struts framework.
Shanmugam PL
Niall Pemberton wrote:
I wrote these
http://www.niallp.pwp.blueyonder.co.uk
Niall
- Original Message - From: shanmugampl
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 7:00 AM
The html:option tag already has this facility - you can specify a key
attribute.
If however you want yo use the html:optionsCollection tag, there was an
identical discussion on this list recently. You can find the start of that
thread here..
http://www.mail-archive.com/[EMAIL
They are in two places, the struts specific validator files are in the
struts.jar - but validator is a commons component and its class files are in
commons-validator.jar.
Everything is shipped with the struts binary - look in the lib folder.
- Original Message -
From: Ramachandran
You can specify a indexedListProperty in the validation.xml
field property=tradeQuantity indexedListProperty=myCollection
depends=integer page=3
arg0 key=request.tradequantity.displayname/
/field
Niall
- Original Message -
From: Rous, Simon [EMAIL
I don't use it, but the struts-menu add on may do what you want.
http://struts-menu.sourceforge.net/
Otherwise, the ModuleConfig class has a method findActionConfigs() which
returns an array of ActionConfig elements. In an Action you can get the
ModuleConfig from the ActionMapping. From
Geeta
You don't need to subclass ActionServlet - you can set the RequestProcessor
class in the controller element in the struts-config.xml
controller processorClass=mypackage.MyRequestProcessor/
Full details for the configuring the controller are in the user guide:
security is
gonna
declare it an act of terrorism..
Geeta
Niall Pemberton wrote:
Geeta
You don't need to subclass ActionServlet - you can set the
RequestProcessor
class in the controller element in the struts-config.xml
controller processorClass=mypackage.MyRequestProcessor/
Full
Paul, there is an indexed attribute for the html:.. tags which means you
don't need the scriptlet. So you could have:
logic:iterate name=/WelcomeForm property=things id=thing
tr
tdcolor:html:text name=thing property=color indexed=true//td
tdfood:html:text name=thing property=food
I haven't used it, but html:messages has a header and footer attribute
where you can specify a resource key.
Niall
- Original Message -
From: Wendy Smoak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 05, 2004 10:37 PM
Subject: Header for errors
There is a bean:struts tag which will expose either the FormBeanConfig,
ForwardConfig or ActionConfig as a scripting variable - however you have to
specify the name of the form bean, forward or mapping. You can get the
ModuleConfig from either the FormBeanConfig or ActionConfig and from
Wendy,
Validator has the concept of a page number - so your first tab could be
page 1, second tab page 2 etc etc.
On each tab's form specify a hidden tag with the page number:
html:hidden name=myForm property=page value=1/
Then in your validation.xml, you specify the page number for each
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, March 01, 2004 5:40 PM
Subject: Re: hiding jsp files under WEB-INF
If you look in 'logic tags' package
This is no good either. Action classes are not thread safe.
Why not read the user manual. Theres a section 4.4.1 Action Class Design
Guidelines
http://jakarta.apache.org/struts/userGuide/building_controller.html#action_classes
- Original Message -
From: Sergei P. Volin [EMAIL
Your can either display all errors:
html:errors/
or errors for a specific property.
html:errors property=windSpeed/
http://jakarta.apache.org/struts/userGuide/struts-html.html#errors
- Original Message -
From: MOHAN RADHAKRISHNAN [EMAIL PROTECTED]
To: 'Struts Users Mailing
Kamakshya,
I answered this message, but I didn't notice you had posted this to both the
struts-dev AND struts-user list and the reply address defaulted to
struts-dev, so my answer went there.
First of all, you need to post messages to the appropriate list - this is a
user question, so it never
Yes you can, no problem. Why not give it a go if you're wondering whether
something will work - be brave, seize the day.
Niall
- Original Message -
From: Shobhana.S, ASDC Chennai [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 8:59 AM
Flash has come up every now and again on this list - have alook through the
archives and you might find the answers you are looking for:
For example
http://www.mail-archive.com/[EMAIL PROTECTED]/msg78601.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg78673.html
- Original Message
validation-rules.xml is here
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/conf/share/
but, with struts 1.2 the javascript moved out of the XML into .js files
in commons here:
Geeta, it was a good try - but you have to get him to call you a cgi
programmer to get the full points ;-)
Niall
- Original Message -
From: Geeta Ramani [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 4:30 PM
Subject: Re: Passing a vector
Even if everything in your system handles 320,000 lines of html, your users
never will. This isn't a performance issue, its a design one. You gotta go
back to the drawing board and stop trying to get something to perform that
your users will never accept.
Niall
- Original Message -
Geeta, it was a good try - but you have to get him to call you a cgi
programmer to get the full points ;-)
Niall
- Original Message -
From: Geeta Ramani [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 4:30 PM
Subject: Re: Passing a vector
Sounds good to me.
I don't know if the validator guys considered JXPath, but why don't you
submit an enhacement request using bugzilla to commons with your JXPath
validator attached (if you include JUnit tests you'll impress them even
more).
For some reason the 'validwhen' validator is part of
on your index.jsp page to an ordinary link
and
see if that works.
html:link action=/Welcome.doClick Here/html:link
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, March 01, 2004 5:40 PM
lib.framework.taglib;
import javax.servlet.jsp.tagext.BodyTagSupport;
import javax.servlet.jsp.JspException;
import org.apache.struts.util.RequestUtils;
import org.apache.commons.beanutils.BeanUtils;
/**
* @author Niall Pemberton
* @version 1.0.0
*/
public class StoreTag extends BodyTagSupport {
protected
in there, but could be
tree-barking or/and smoking too much crack.
On 2 Mar 2004, at 12:59, Niall Pemberton wrote:
Mark,
I'd like to know how to do what you're but, unless someone else knows,
how
about a different approach:
You could have a store tag which gets the body of a tag
You can also do it with struts tags - expose the ServletContext as a
variable:
bean:page id=servletContext property=application/
...and get an enumeration of init parameter names
logic:iterate id=contextParamName name=servletContext
property=initParameterNames
Init Parameter
If you look in 'logic tags' package:
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/taglib/logic/
In LocalStrings.properties you will see that the message you are getting
(Exception forwarding for name ?) matches the message named
'forward.forward'.
If you
Alternatively
Change the logic:forward on your index.jsp page to an ordinary link and
see if that works.
html:link action=/Welcome.doClick Here/html:link
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday
Boaz
Struts should do its normal stuff when you forward to your SetView action.
That is, it should create the form associated with SetView and populate it
from the request.
If, for example I have a view customer action - which gets called with a
customerNumber parameter - struts will populate
in forwarding
between action, then my problem is that if there is a new Item (say
customer) then the Id in the request is not the correct id (usually 0 or
null) and I have updated the Id in the form used my the action.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED
Try adding 'name' attribute to the html:text tag
html:text name=EmailForm property=emailAddress size=35/
The html:form tag will expose (or create a new) the ActionForm associated
with the mapping with a value of 'org.apache.struts.taglib.html.BEAN'. This
is the default 'name' for html
and install mod_gzip with apache.
it will do almost everything you can wish for?
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 5:43 PM
To: Struts User Jakarta
Subject: Tomcat 4 Compression Filter
There is a CompressionFilter
Unfortunately it saves the xhtml 'flag' in page scope so there isn't much
you can do about it.
Background: BaseHandlerTag has an isXhtml() method which calls the
TagUtils.isXhtml() method which checks the xhtml 'flag' in page scope.
I did think a solution would be to override the
Because ctr is an Integer object - not a int primitive.
Niall
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 5:13 PM
Subject: (Fwd) row counts in logic:iterate...
Sorry, my mailer messed up the last one, so here again...
Given your scenario, it sounds like a good candidate for a session scoped
form.
I agree with what Mark Lowe said - usually/often ...theres no more work
invloved scoping to request - thats been the case for my app. I would also
do what you said in a previous post - which is clean up the session
Dam - I was in Camp 3: Form beans are View components...but looking in the
user guide...
Note: While ActionForm beans often have properties that correspond to
properties in your Model beans, the form beans themselves should be
considered a Controller component. As such, they are able to transfer
Thats the problem with sessions, now if you'd done it in request you'd never
really have it to loose. If it has to be sessions though either increase the
timeout or shorten your lunch break.
Niall
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List
Without seeing your jsp/struts-config.xml/action its a bit of a guessing
game.
I'm a bit confused by you saying ...at this point, I set up this form bean
as session scope. To me this implies your getting a form not in session
scope (i.e. request) and saving it yourself in session scope. If that
Also, what about using the existing ValidWhen validation
http://jakarta.apache.org/struts/userGuide/dev_validator.html
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 3:17 PM
Subject
Specify the second field as var
field property=myFirstDate depends=date,dateCompare
var
var-namedatePattern/var-name
var-valuedd/MM//var-value
/var
var
var-namecompareDate/var-name
var-valuemySecondDate/var-value
/var
/field
Then in
of ram? I'll get around to trying it when i get a moment.
On 26 Feb 2004, at 14:04, Niall Pemberton wrote:
Given your scenario, it sounds like a good candidate for a session
scoped
form.
I agree with what Mark Lowe said - usually/often ...theres no more
work
invloved scoping to request
I wrote these
http://www.niallp.pwp.blueyonder.co.uk
Niall
- Original Message -
From: shanmugampl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 7:00 AM
Subject: Populating form Elements from another object.
Hi,
I have a requirement where i
I wrote these
http://www.niallp.pwp.blueyonder.co.uk
Niall
- Original Message -
From: Pradeep, PK [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 7:22 AM
Subject: RE: Action form
Hi,
It first seemed that
You have a '/' at the end of your openning html:form tag
Try...
html:form action=/enquiry/email.do
Instead of...
html:form action=/enquiry/email.do/
Niall
- Original Message -
From: RALPH ROPER [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 6:16 AM
Inside the logic:iterate the beans returned by your getRaw() method should
be exposed with the name you specify in the iterate's 'id' attribute. So
something along the lines of.
logic:iterate name=dateForm property=raw id=foo
indexId=ctr
tr
tdbean:write name=ctr //td
So was it taking out the mutipart stuff that did the trick?
Niall
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:21 AM
Subject: Re: request scoped forms
Seems to be working now..
Also i had
+1
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 11:36 AM
Subject: Re: need help converting from session to request scope
I have to say I'm changing sides in this debate. The only 'need' i see
Yes
- Original Message -
From: Marco Mistroni [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:51 AM
Subject: validation error in FormBean, where to redirect next?
Hi all,
Assume that I have following struts-config.xml
action
There is a CompressionFilter class shipped with with Tomcat which compresses the
ServletResponse that I'm considering using (we have some remote offices which have
slow links):
http://jakarta.apache.org/struts/userGuide/index.html
If you look at the second part of the menu of the left titled Developer
Guides you can see the all the different tag packages guides.
Niall
- Original Message -
From: Kommineni, Sateesh (GE Consumer Industrial)
[EMAIL PROTECTED]
I guess the other approach would be to plug in a custom RequestProcessor -
but its not easy to sub-class the original, there is only one 'hook'
[processPreprocess()] for putting your code in and overriding other methods
usually ends up invloving duplicating some of the code in the original
method.
They don't have anything that specifically addresses nested properties. If
you're just displaying nested properties then no problem - BeanUtils handles
nested properties in the normal way for the struts tags.
The would be an issue if you want an input form with nested properties and
my Lazy forms
...and another could involve using Filters.
Niall
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 12:38 PM
Subject: Re: Common Services across Different Actions.
I guess the other approach
array, in stead of working with the
array[0].fieldname option.
rinke
On 25 Feb 2004, at 10:00, Niall Pemberton wrote:
Inside the logic:iterate the beans returned by your getRaw() method
should be exposed with the name you specify in the iterate's 'id'
attribute. So something along
-Oprindelig meddelelse-
Fra: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sendt: 25. februar 2004 14:18
Til: Struts Users Mailing List
Emne: Re: jsp:include page=some action Really need help
Haven't done what you're trying - but isn't the problem that at the end
of the action execute
1 - 100 of 257 matches
Mail list logo