on 08-08-2006 12:11 AM
Hi Friends,
I am using layout 270. it has three views, so on left half screen, 2 views.
when I click on one button on first view, which has input fields, search results are displayed.
when user clicks back to search button, I should be able to clear al the input field values provided, hwo to do it?
Set context attributes which are bound to value property of InputField to null in action habdler after search.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nav,
You can use WebDynpro client side event handlers. When User clicks on search button, generate an event, register and handle this event on the view where you want to clear the input fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sridhar,
Thanks a lot.
can you please send me some example how to use cleint side event ?
or, any related example where input fields are cleared using client side event?
another point:-
I actually want to get the inputfield values at runtime, but I get the values which were entered previously.
so when I click on search again after changing values, I shoudl get latest values.
Hi ,
when I click on search with no input, I get proeper eror message, provide at least one input field entry.
when I provide entry, I get data as search result.
when I again remove all input field values and press search I dont get same error message that provide input values.. I should get the message.
why again exception is not raised? or is it internally taking some values?
Nav,
Checkout this tutorials: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd2...
It has step by step instructions for event handling in WebDynpro.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.