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 name=beneficiaryForm method=post 
action=/hronline/secure/personal/BeneficiarySubmit.dodivinput 
type=hidden name=org.apache.struts.taglib.html.TOKEN 
value=0e4c64c9eeefb8cf6be7f6f09cb183df/div
   input type=hidden name=bid value=D00
   input type=hidden name=beneficiaryAdd value=true

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: news [EMAIL PROTECTED]
14/07/2005 06:29 PM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
user@struts.apache.org
cc

Subject
Re: Token element wrapped with a div tag






[EMAIL PROTECTED] wrote:
 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.

What does your JSP look like?

L.
-- 
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/~laurie/


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





Re: Token element wrapped with a div tag

2005-07-18 Thread Niall Pemberton
http://issues.apache.org/bugzilla/show_bug.cgi?id=32016

Niall

- Original Message - 
From: [EMAIL PROTECTED]
Sent: Thursday, July 14, 2005 4:11 PM


 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


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



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 08:38 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






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

Niall

- Original Message - 
From: [EMAIL PROTECTED]
Sent: Thursday, July 14, 2005 4:11 PM


 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


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





Re: Token element wrapped with a div tag

2005-07-18 Thread Niall Pemberton
Sorry, my reply wasn't very verbose. That bug is fixed in Version 1.2.7 -
which is why you're seeing the div elements.

Generally we're not very good at actually closing bugs - once they're
marked as RESOLVED they don't generally get any more attention. So if you
see RESOLVED FIXED then it means its been done. Finding out whether a fix
has made it into a released version or is just currently in the current svn
repository is another matter. The release notes usually contain details of
fixed bugs so thats probably the easiest way, if you know the bug number.

http://struts.apache.org/userGuide/release-notes.html

Niall

- Original Message - 
From: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, July 18, 2005 1:55 PM
Subject: Re: Token element wrapped with a div tag


 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 08:38 AM

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

 Niall

 - Original Message - 
 From: [EMAIL PROTECTED]
 Sent: Thursday, July 14, 2005 4:11 PM


  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



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



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 reply wasn't very verbose. That bug is fixed in Version 1.2.7 -
which is why you're seeing the div elements.

Generally we're not very good at actually closing bugs - once they're
marked as RESOLVED they don't generally get any more attention. So if 
you
see RESOLVED FIXED then it means its been done. Finding out whether a 
fix
has made it into a released version or is just currently in the current 
svn
repository is another matter. The release notes usually contain details of
fixed bugs so thats probably the easiest way, if you know the bug number.

http://struts.apache.org/userGuide/release-notes.html

Niall

- Original Message - 
From: [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, July 18, 2005 1:55 PM
Subject: Re: Token element wrapped with a div tag


 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 08:38 AM

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

 Niall

 - Original Message - 
 From: [EMAIL PROTECTED]
 Sent: Thursday, July 14, 2005 4:11 PM


  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



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





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: Token element wrapped with a div tag

2005-07-14 Thread Laurie Harper

[EMAIL PROTECTED] wrote:

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.


What does your JSP look like?

L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/~laurie/


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