Re: using html:option tag

2005-09-27 Thread glenn . deschenes
The html:select 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 user@struts.apache.org To

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 of

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

Re: logout problem

2005-08-31 Thread glenn . deschenes
I have used the meta http-equiv=Refresh content=300; URL=../action/Logout.do/ 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

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 user@struts.apache.org To

html-el:messages - 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

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

Re: Token element wrapped with a div tag

2005-07-18 Thread glenn . deschenes
This is the JSP code snippet: html-el:form action=/personal/BeneficiarySubmit method=post focus= ${HTMLFocusElement.elementName} html-el:hidden property=bid value= ${beneficiaryForm.beneficiary.beneficiaryId}/ html-el:hidden property=beneficiaryAdd/ Here is the HTML source: form

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/2005

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 user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject Re: Token element wrapped with a div tag Sorry, my

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? divinput type=hidden name=org.apache.struts.taglib.html.TOKEN value=383952ea7a0093448e02f3f0d635865b/div 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 user@struts.apache.org To user@struts.apache.org cc Subject reponse

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)...