Re: using html:option tag

2005-09-27 Thread glenn . deschenes
The tag has an attribute value. http://struts.apache.org/userGuide/struts-html.html#select The value to compare with for marking an option selected. [RT Expr] HTH, Glenn <[EMAIL PROTECTED]> 27/09/2005 12:08 PM Please respond to "Struts Users Mailing List" To cc Subject using html:option

Re: Forwarding to the previous page

2005-09-07 Thread glenn . deschenes
You can always get from where the request is coming from by getting the Referer from the Request. String referer = request.getHeader("REFERER"); I'm not sure that this is want you want. You must beware that the referrer can be blank when typing in the URL in the browser, plus the consequences o

Re: Select Options Question

2005-09-01 Thread glenn . deschenes
You can also build a javascript array of the descriptions. When the user selects the option from the list, execute a javascript function that will do a lookup for the description in the array and set a hidden form field with the description found in the array. It may happen that the character yo

Re: logout problem

2005-08-31 Thread glenn . deschenes
I have used the tag in an application that is very information sensitive. The idea is that the sensitive information does not stay displayed unused for nothing. This was a user requirement. BTW, you don't need an iframe. Also, you can never catch all instances where a logout will occur, such as

Re: messages help

2005-08-22 Thread glenn . deschenes
Did you read this ? http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html Especially the section 4.2 Using a Custom Key. HTH, Glenn "draegoon Z" <[EMAIL PROTECTED]> 22/08/2005 02:19 PM Please respond to "Struts Users Mailing List" To struts-user@jakarta.apache.org cc Subj

- bis

2005-08-18 Thread glenn . deschenes
Greetings, I have sent this post more almost 2 days ago without one response. I hope it was simply lost with other posts but still worthy of attention. Here is the original post: I am unable to find a solution... even after searching... and waiting for the espresso to kick in. I have messages a

html:messages

2005-08-16 Thread glenn . deschenes
Greetings, I am unable to find a solution... even after searching... and waiting for the espresso to kick in. I have messages and would like to determine the number of messages in the bean. If there is more than one message format the output as a list or else just display the message. Unable t

Re: Token element wrapped with a div tag

2005-07-18 Thread glenn . deschenes
Thanks Niall for your time and patience. - Glenn "Niall Pemberton" <[EMAIL PROTECTED]> 18/07/2005 10:33 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: Token element wrapped with a div tag Sorry, my reply wasn't very verbose. That bug i

Re: Token element wrapped with a div tag

2005-07-18 Thread glenn . deschenes
Thanks Niall. It did not occur to me to check the ASF Bugzilla for Struts [I will remember for the next time]. I'm not familiar with the Status... since it is not yet closed.. this means that the bug is not yet fixed in version 1.2.7 ? - Glenn "Niall Pemberton" <[EMAIL PROTECTED]> 18/07/20

Re: Token element wrapped with a div tag

2005-07-18 Thread glenn . deschenes
This is the JSP code snippet: Here is the HTML source: Here is code in my Action class: // set the synchronization token String token = generateToken(request); httpSession.setAttribute(Globals.TRANSACTION_TOKEN_KEY, token); - Glenn Laurie Harper <[EMAIL PROTECTED]> Sent by:

Token element wrapped with a div tag

2005-07-14 Thread glenn . deschenes
Hi, Just curious as to why in the JSP the token is wrapped in a div tag? I'm using v1.2.7. Regards, Glenn

Re: reponse commited

2005-06-14 Thread glenn . deschenes
Quickly glancing at your code I believe you need to return null such as ostr.close(); return null; HTH, Glenn Karthika L V somayajula <[EMAIL PROTECTED]> 14/06/2005 10:35 AM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject reponse commited I hope a

Re: Confused

2005-06-13 Thread glenn . deschenes
Pierre, Struts is no longer a sub-project of Jakarta but is now on its own. Struts is alive and kicking: http://struts.apache.org/ You can look at section 6 [this might help]: http://struts.apache.org/userGuide/index.html As for JBoss... the last time I used it (can't exactly remember when)...