Navigating back to a previous page

2005-08-27 Thread jonathan gilmore


I have a common screen that is navigated to by many other screens.  Does 
Struts have support for remembering the previous screen so that my common 
screen needs only one 'back' button to return the user to their original 
location?


I have looked through the docs and havn't found anything.

Any comments much appreciated



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] RE: CSS not working with JSF

2005-08-27 Thread David G. Friedman
You should join us over at the myfaces.apache.org
user list to discuss JSF.

Regards,
David

-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 27, 2005 4:19 AM
To: 'Struts Users Mailing List'
Subject: [OT] RE: CSS not working with JSF


This is a Struts discussion list, not JSF.

-Original Message-
From: Ivan Rodriguez [mailto:[EMAIL PROTECTED]
Sent: 26 August 2005 07:12
To: Struts Users Mailing List
Subject: Re: CSS not working with JSF

[EMAIL PROTECTED] escribió:

Rick, classes seem to work.  Thank You.  But the requirement is to use ID.
May be I can convince my team.  I will go try Geeta's idea now to see how
fun that is...:=)


Keep in mind that ID must be unique in the same HTML page. You can`t
write for example, 2 links A with the same ID.
( XHTML mode of course)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Navigating back to a previous page

2005-08-27 Thread Manfred Wolff
http://www.manfred-wolff.de/struts/articles/HowTo-Back.html

jonathan gilmore schrieb:


 I have a common screen that is navigated to by many other screens. 
 Does Struts have support for remembering the previous screen so that
 my common screen needs only one 'back' button to return the user to
 their original location?

 I have looked through the docs and havn't found anything.

 Any comments much appreciated



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-- 
===
Dipl.-Inf. Manfred Wolff
Software Engineer
---
http://www.manfred-wolff.de
http://www.struts-it.org
http://www.unartigen.de
---


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mailreader logon bugs

2005-08-27 Thread chhum
Bugs in the struts mailreader example app.

I've found a couple of small bugs in the logon page for the struts
mailreeader app and was wondering if anyone knew what to do about them.

The first is a message problem.  If you enter a user name of, say, abc,
and  password of say 1, the minimum length check fires and returns the
message
 3 cannot be less than null characters.

The other may be a Javascript issue, but I'm not sure.  To test this
you'd need a copy of Internet Explorer (I tested using version 6) with
script debugging enabled.  (Tools…Internet options…Advanced and uncheck
Disable script debugging.
A Runtime error is thrown when the login button is clicked giving an
Error – object expected for return validateLogonForm(this);

I have similar issues in an app I've been working on (unsurprisingly
since I spent quite a bit of time looking at struts mailreader when I
started writing it).

Any ideas?

Chhim



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mailreader logon bugs

2005-08-27 Thread Martin Gainty

Chhum

in ApplicationResources.properties 
errors.minlength={0} can not be less than {1} characters. 


did you(r validator) make sure your {0} and {1} parameters are NOT Null ???

Martin-
- Original Message - 
From: [EMAIL PROTECTED]

To: Struts Users Mailing List user@struts.apache.org
Sent: Saturday, August 27, 2005 4:13 PM
Subject: mailreader logon bugs



Bugs in the struts mailreader example app.

I've found a couple of small bugs in the logon page for the struts
mailreeader app and was wondering if anyone knew what to do about them.

The first is a message problem.  If you enter a user name of, say, abc,
and  password of say 1, the minimum length check fires and returns the
message
 3 cannot be less than null characters.

The other may be a Javascript issue, but I'm not sure.  To test this
you'd need a copy of Internet Explorer (I tested using version 6) with
script debugging enabled.  (Tools.Internet options.Advanced and uncheck
Disable script debugging.
A Runtime error is thrown when the login button is clicked giving an
Error - object expected for return validateLogonForm(this);

I have similar issues in an app I've been working on (unsurprisingly
since I spent quite a bit of time looking at struts mailreader when I
started writing it).

Any ideas?

Chhim



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Navigating back to a previous page

2005-08-27 Thread Martin Gainty
Javascript:go.history(-1) will accomplish this.. but beware you will lose 
the contents of the previous form


Unless you know of a way to retain all the information by pressing/clicking 
the back button ?


M-
- Original Message - 
From: Leon Rosenberg [EMAIL PROTECTED]

To: 'Struts Users Mailing List' user@struts.apache.org
Sent: Saturday, August 27, 2005 9:45 AM
Subject: Re: Navigating back to a previous page


Hmm

Correct me if I wrong,
but  I think the reset method of the form will help you only if you want to
get back to the input page of the form.
In the described usecase Jonathan wants to get back to ANY other page he
could came from. So how you can ensure that he
have a form at all?

Regards
Leon


-Ursprüngliche Nachricht-
Von: Martin Gainty [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 27. August 2005 15:20
An: Struts Users Mailing List
Betreff: Re: Navigating back to a previous page

Jonathan-

If you want to preserve the values when back button is
pressed you will have to override reset method in your
(Dyna)ActionForm

Take a look at
http://64.233.161.104/search?q=cache:dHwd5qvFAJ4J:www.javapass
ion.com/j2ee/StrutsAdvanced_speakernoted.pdf+Struts+and+%22ove
rride+reset%22+AND+%22example%22hl=en

Martin-
- Original Message -
From: jonathan gilmore [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Saturday, August 27, 2005 6:41 AM
Subject: Navigating back to a previous page



 I have a common screen that is navigated to by many other
screens.  Does
 Struts have support for remembering the previous screen so
that my common
 screen needs only one 'back' button to return the user to
their original
 location?

 I have looked through the docs and havn't found anything.

 Any comments much appreciated




-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mailreader logon bugs

2005-08-27 Thread Wendy Smoak

From: [EMAIL PROTECTED]


Bugs in the struts mailreader example app.

I've found a couple of small bugs in the logon page for the struts
mailreeader app and was wondering if anyone knew what to do about them.


What version?  There's an open bug for the nightly builds:

  http://issues.apache.org/bugzilla/show_bug.cgi?id=35988

Please feel free to add more information if you think it's the same issue.

--
Wendy Smoak




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]