cancel
Showing results for 
Search instead for 
Did you mean: 

problme with protect DoubleSumbit

Former Member
0 Kudos

Hi

I am using protectDoubleSubmit tag using design2002 i am facing a problem in DO_REQUEST event.

In my layout i am using some inputfields and lables and dropdownlist boxes, when submitting the page all the dorpdownboxes present in layout are becomming disabled so i am not able to get the values into the form_fields of the DO_REQUEST.

Any comments on this ?

Accepted Solutions (1)

Accepted Solutions (1)

rainer_liebisch
Contributor
0 Kudos

Hi Leoiz,

as Max has already written, the basis support package is important in that case. If you use WAS6.20 with SP something between 25 and 29, you should apply note 646781.

Regards,

Rainer

Answers (2)

Answers (2)

maximilian_schaufler
Active Contributor
0 Kudos

What version of WebAS are you using, and which SP level is it running on?

Haven't heard of this problem, but it sounds like a bug that should be fixed by now ...

Former Member
0 Kudos

Max perhaps I misunderstood the problem but they stated "When Submitting"???

maximilian_schaufler
Active Contributor
0 Kudos

Ok, Craig and me again got different ways of looking at this problem ... again

protectDoubleSubmit should disable the user's ability to place any actions with form elements, but from what I understand from the problem is that the form elements themselves get disabled, and disabled form elements don't get submitted by the browser => and so are not present through the get_form_fields method.

Therefore my conclusion that this is an older SP-version, as protectDoubleSubmit creates a protection layer on my system (and always has, as far as I remember).

Craig, you can test this with let's say a dropdown element, let it render with disabled="TRUE", and have a look at the submitted form fields with normal rendering first, and then with controlRendering="SAP" as a htmlb:content attribute. The disabled browser-dropdown does not get submitted, while the controlRendering="SAP"-dropdown (which is no browser-dropdown) does not get deactived the browser-like way and therefore gets submitted no matter if it is disabled or not.

P.S.:

(... the seconds I was typing this I got the notification-mail about your second post, Craig g)

Former Member
0 Kudos

Yep we seem to look at it different ways quite often. We'll know for sure when they come back. However on older version I don't think the protectDoubleSubmit was available and when it was there it worked ok ??

Ok now we wait

Former Member
0 Kudos

protectDoubleSubmit disabled all form fields when the DO_REQUEST/onInputProcessing occurs to prevent someone from clicking something else and causing in essence a "Double Submit".

What is occuring is exactly what is supposed to occur.

former_member196065
Participant
0 Kudos

Hi

Thanks for looking to my issue

In my layout i have few inputfields and few dropdownboxes if i enter some data into all the inputfields and dropdownboxes, after pagesubmitting i used to get the data which i enter in layout in DO_REQUEST using form_fields.

Before putting protectDoubleSummit i used to get all the values including inputfield value and Dropdown box values. But after placing protectDoubleSummit Tag while submitting page all the dorpdownboxes are disabling and i am not getting dropdown values into FORM_FIELDS in DO_REQUEST where as i am able to get other inputfiels values. I am using design2002 and SP26

maximilian_schaufler
Active Contributor
0 Kudos

SP upgrade highly recommended

If not possible, check out the note from Rainer's post.

Former Member
0 Kudos

Good job Max you nailed it right on the head!