ActionForm alive.
Thanks
Rob
Robert
Don't use a protected modifier on your setter methods in ActionForms. Make
them public so that they can actually be invoked like you expected them to
be.
I did by 'mistake' and now I'm paying for it... : )
Rob
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e
bean:write name=el property=name/
/logic:iterate
It's almost as if the ActionForm isn't being saved in the request but then
why does the display work when I don't use iterate?
I'm going round in circles with this so any help to get me moving again is
appreciated.
Thanks
Rob Breeds
--
To unsubscribe
=names
bean:write name=el property=name/
/logic:iterate
Thanks
Rob Breeds
Tom Klaasen
Brian
Thanks so much for that pointer - that was the solution to that part of the
problem.
Now I need to work out why the name value I'm submitting isn't getting into
the form... (just get nulls every time)
Rob Breeds
.
Ultimately I want one form on the page, with several ways of submitting the
form depending on which section I'm in, and then have the final submit
button indicate to the Action class that the form is complete.
Any ideas please?
Thanks
Rob
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
Brian
That would work but what if the text on the button was multilingual, ie
could be any one of 100 languages depending on user locale setting, which
is what I have to support!
Rob
Yes!
Thanks to everyone for your help today - if I can't work it out now there's
no hope! : )
I'm off for sleep now...
Rob Breeds
|+-
|| Nocera, Robert |
|| [EMAIL PROTECTED]|
|| fizer.com
for confidentiality reasons
but that doesn't change the problem!)
Any ideas please? I'm stumped. I'm running in WebSphere App Server 4.0 and
up until now, that hasn't been a problem...
Thanks
Rob Breeds
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto
That's the error message I get in the browser for my current problem too
(see earlier post)! I don't think I see a specific ClassCastException
though, only 'incompatible object'.
You're right - it makes no sense
Rob Breeds
You can have your JSPs in the WEB-INF directory - I use that and it works
fine.
Are you using a html:base/ in your JSP?
Rob Breeds
|+-
|| Drozdowski, Terry|
|| Terry.Drozdowski@s|
|| chwab.com
1. You need to put the html:errors property=whatever/ where you want
them to appear. If you have several input fields, put a html:errors
property=whatever/ next to each input field.
The header and footer are for formatting but they are optional.
Rob Breeds
you still get error messages even without the html:errors/ tag? Sounds
like a restart web app required?
in the ActionForm validation() method, how do you populate Errors?
Rob
looks OK to me. Do the variables _firstName and _lastName get populated by
setFirstName() and setLastName()?
Other than that I'm afraid I've no idea - I'm still writing my first struts
app!
Rob
long, which is wrong.
I have a reset() method in my ActionForm setting the name value to null but
this has no effect.
Any ideas please on how to prevent the error message(s) displaying when the
page is displayed after hitting back button?
Thank you
Rob Breeds
/theimage.gif and will not show
the image (can't serve from WEB-INF)
Can anyone help please?
Thanks
Rob Breeds
://localhost:9080/myApp/WEB-INF/pages/index.jsp;
and that's bad because users shouldn't be able to get to WEB-INF directly
should they?
Rob Breeds
from the input frame. But if the errors collection is only
stored in the request, it'd be too late to retrieve the errors I think.
Can anyone offer a solution?
Thanks
Rob Breeds
Ritter, Steve wrote:
Craig, if you read this thread it might not be a bad idea to send a quick
email to the editor's of Java Report and let them know about some of the
mis-leading statements.
Maybe you could also share with the editor what you view as
mis-leading statements ?
-Rob
Robert
-user_jakarta_apache_orgrestrict=exclude=words=enctype
Rob
-Original Message-
From: Andy Wicks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 10:55 AM
To: [EMAIL PROTECTED]
Cc: Simon Wawra; [EMAIL PROTECTED]
Subject: uploading files.
Hi,
I'm using jakarta-struts-1.0-b1
Switching from a May 2nd build of struts
to a May 9th build of struts gives the error below.
Switching back to the May 2nd jar fixes the error.
When switching I am also updating the tld files.
Internal Servlet Error:
javax.servlet.ServletException
at
http://marc.theaimsgroup.com/?l=struts-userm=96946875918003w=2
James Howe wrote:
It's not a
terribly big deal, but it seems as if the name attribute shouldn't have to
be required if some sort of "default" bean is available for the page.
The original designers were probably trying not to couple the logic
tags to the html tags, or to struts itself.
The
Eric Rasmussen wrote:
I am trying to set a form bean in session so it can be used accross
Action classes. Specifically, I am trying to get the form bean to
remember a value so it can repopulate the jsp page accordingly when
that page appears again (if the user hits 'cancel').
As you
I run the struts applications on tomcat 3.2.1 all the time.
[EMAIL PROTECTED] wrote:
Has anyone ever tried to use Struts-based applications on a Tomcat 3.2.1
server?
org.apache.jasper.compiler.ParseException:
/usr/local/tomcat/webapps/night/content.jsp(43,0) Unterminated user-defined
just as you said but why did it work with the former version
then?
Michael
-Ursprungliche Nachricht-
Von: Rob Leland [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 17. April 2001 03:57
An: [EMAIL PROTECTED]
Betreff: Re: Parsing problem with Tomcat 3.2.1
I run the s
No,
And it will not work with 9i either.
Both use JServ which is a JSP 1.0, Servlet 2.0 container.
However, I know 9i uses Apache which could then
be modified to use tomcat. Oracle 8i may also
use Apache but I am not sure.
-Rob
Michael Schommer wrote:
Hi,
we work with Oracle
It keeps users from double posting information,
for more info see:
See the struts-dev mailing list on www.mail-archive.org:
Subject: Re: [Q] TRANSACTION_TOKEN_KEY
Date: Fri, 09 Feb 2001 09:52:04 -0500
From: Rob Leland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
"Trieu,
Update to the latest nightly build, this problem was fixed about
5 weeks ago.
-Rob
"Assenza, Chris" wrote:
Well, here I am again - new problem. :| (BTW, thanks to all for helping,
this is by far one of the best list I've been on).
Problem:
Okay, I've been working with
the program.
Rob Leland
There is a method something like:
html:errors property="firstName"/
[EMAIL PROTECTED] wrote:
Hi,
I 'am using staruts for a small pilot project.
On the form bean when validate method collect errors and shows in JSP,
I want at the same time my cursor should move to the first error field. how
It's in the subscription.jsp look for the
logic:equals action="Delete"
Firmin David wrote:
Do you have an example of how you'd control this in the Struts action, as
I'm having the same problem with Netscape and can't solve it.
Thanks in advance for any help.
-Original Message-
d productID that you need to access then you need
to store the collection in a
request or session scope variable.
and access it by
collection="%= productList %", property="productID".
The example program has an example of this in either the
register.jsp or subscription.jsp.
-Ro
If you are using multiple threads per session you'll need
to find another method for transaction control.
Specifically in the session you'll need to create
a Map of tokens, and use the request id as a lookup key.
-Rob
"Handy, Steve" wrote:
Previous posts have referre
I am not sure bute have you taken a look at
the tag html:base/ ?
-Rob
[EMAIL PROTECTED] wrote:
We are trying to use the link tag to create server relative URI.
But the linktag doesn't create a server relative URI like it says in the
documentation.
"... generate a s
Luckly someone answered this last week:
template:put name="title" direct="true"
b bean:message key="publish.title" / /b
/template:put
Troy Hart wrote:
I am using struts-template.tld and I want to be able to use my application
resources to get the correct title for any given page. I
^^
[Items deleted]
/action
Tyen check that the form Instance Name has
a class associated with it.
form-bean name="logonForm"
type="com.solers.portal.pcontrol.common.LogonForm"/
Class associated with the Login Instance
-Rob
Given an action mapping with these attributes set:
!-- Process a admin logon --
action path="/admin/logon"
type="com.solers.portal.pcontrol.admin.LogonAction"
name="logonForm"
scope="request"
validate="true"
Is the org.apache.struts.taglib.Enumerate tag
going to go away with the other 0.5 tags ?
We currently have data structures that use the
enumerate interface. Is there any chance this
could be migrated into the struts 1.0 taglib ?
-Rob
it doesn't support 'Enumeration'.
-Rob
-Rob
Craig
Sarbjit Singh wrote:
hi,
What is the actual intention or actual diferences between the tags in
the:
org.apache.strtus.taglibs.*
Struts 0.5 old
org.apache.strtus.taglibs.html.* --- Newest
Struts 1.0
org.apache.strtus.taglibs.form.*
Struts 0.7, ie
In January ,someone posted a sequence diagram of the struts login
process,
very informative !
Check www.mail-archive.com for it.
Maybe that could make it into our docs somehow.
Bryan Field-Elliot wrote:
I'm exercising my new copy of TogetherJ, and at the same time learning
Struts for the
I have no problem with using J2eesdk1.2.1.
You'll need to be more specific, as to the problem you
are encountering. It is likely a CLASSPATH problem.
-Rob
Maya Muchnik wrote:
With jdk 1.3 it works 100%.
Thai Thanh Ha wrote:
I can't deploy struts-blank.war (struts 1.0b1) onto
Josh wrote:
Could someone explain to me why there is:
org.apache.struts.taglib.MessageTag
This is stuts 0.5 for backwards compatability
all tags in this dir are struts 0.5
org.apache.struts.taglib.bean.MessageTag
This is stuts 1.0
Thanks,
Josh
-Rob
Search the www.mail-archives.com for the phrase 'token'
The Action.saveToken methods and Action.resetToken
methods will do what you want on the server side.
-Rob
"Nanduri, Amarnath" wrote:
Hi all,
Will struts be able to handle the double posting of forms ?
For example
I asked the same dumb question about 3 months ago.
They should be depreciated.
-Rob
Josh wrote:
This might be a dumb question, but they don't seem to be deprecated? Are they
and I somehow have missed the point? If they aren't, shouldn't they be?
- josh
--- Rob Leland [EMAIL PROTECTED
Also the classes themselves should be marked as depreciated.
I just figured out wincvs and ssh so maybe i'll
add the depreciated indication.
-Rob
[EMAIL PROTECTED] wrote:
There is a warning in the .tld file (struts.tld) to the effect that all the
tags in that taglib are deprecated
ng us know !!!
-Rob
I answered that On Feb 14th and Feb 6th.
Take a look at :
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02759.html
I always search through the mailing archive first when I have a problem.
It is a good bookmark to save !!
-Rob
discussion on this topic.
-Rob
soh syed wrote:
i have to add an encryption fields for every record so
changes can be tracked with respect to user's id and
his private key
any ideas ..
__
Do You Yahoo!?
Yahoo! Auctions - Buy
at the custom tag approach again.
-ROb
Richard Reich wrote:
The transaction enforcement support in class Action assumes that the key
will be returned in the request attributes. This is not the case with pages
that require multipart support (for file uploads, for example). A direct
work
Does anyone have an example of a multi-part form they would like to
donate to the struts example library ?
-Rob
Use the Action.saveToken(), Action.resetToken(),
Action.isTokenValid() for
form transactions. This does exactly what you want.
see
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02888.html
for the thread that discusses this.
Lind Jrgen wrote:
Hi there,
I have the
One Resource for this is the mail archives.
http://www.mail-archive.com/struts-user%40jakarta.apache.org/maillist.html
Use the keywords 'jbuilder context'
This will bring up an answer to your question, last answer.
[EMAIL PROTECTED] wrote:
Hello,
it's only slightly related to STruts,
Use the Action.saveToken(), Action.resetToken(),
Action.isTokenValid() for
form transactions. This does exactly what you want.
see
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02888.html
for the thread that discusses this.
Lind Jrgen wrote:
Hi there,
I have the
You can probably get javascript to update the parent
frame. I did this in a previous project but now avoid
frames, even if the speed up page reloads.
Shad wrote:
Is there a way to forward a request to more than on
JSP from the same action class, and have the JSPs
updated different frames?
EditRegistrationAction.java SaveRegistrationAction.java
provide examples.
You would probably never use generateToken().
It is used whenever you want to prevent the user
from bookmarking a page, or from using the browser
back arrow and then posting a second time.
In the
Let me clean this up, and make it a little clearer.
Oleg V Alexeev wrote:
Hello Rob,
+1 to add it to the struts doc.
java.lang.NoClassDefFoundError
My guess is that is unable to find one of your class referenced in
your jsp file. This could be a custom tag or a java class.
Double check your class paths.
-Rob
It is confusing. If you are starting a new application then use
struts-config.xml and
delete action.xml. The action.xml was originally used with struts 0.5, after
that
struts-config.xml was created which replaces action.xml.
It is only left in the example application since struts 1.0
will still
Once I unpacked the struts-example.war into tomcat
I found them in tomcat/webapps/example/WEB-INF
[EMAIL PROTECTED] wrote:
Hi,
where do I find the 'new' *.tld-files.
I have downloaded the latest nightly build and try to migrate the example,
but I can't find the *.tlds mentioned for example
The struts example for January 23 uses depreciated
tags for error handling in login.jsp. This appears to be
the last place the old tag library is used.
-Rob
I thought action.xml, was depreciated, and no longer used
however it is still in the struts download as of January 17.
Shouldn't this be removed ?
Sorry, I didn't make myself clear.
In the 'struts example' there is still an Action.xml in the distribution for Jan 22
2001.
If it isn't used then at least in the 'struts example' it should be removed.
-Rob
"Craig R. McClanahan" wrote:
Rob Leland wrote:
I thought
201 - 264 of 264 matches
Mail list logo