cancel
Showing results for 
Search instead for 
Did you mean: 

setServerEvent in jsp

Former Member
0 Kudos

Hi,

I'm, trying to access my server when leaving an inputfield.

<hbj:inputField 
                id="party2" 
		disabled="false" 
		visible="true" 
		value="" 
		jsObjectNeeded="true">
                <% 
		party2.setServerEvent(EventTrigger.ON_BLUR, Event Ev);
                %>
</hbj:inputField>

When i do this the page can't render.

I get an error in the log.

pagelet/_sapportalsjsp_TransactionJSP.java:976: ')' expected

party2.setServerEvent(EventTrigger.ON_BLUR, Event Ev);

Has anybody got a serverEvent that is working ?

I'm on sp14.

Br Rasmus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Include in jsp for setClientEvent

<%@ page import = "com.sapportals.htmlb.enum.EventTrigger" %>

<%@ page import = "com.sapportals.htmlb.event.Event;"%>

=======================================================

<b>There is no taglib for setServerEvent, Refer the htmlb inputfield(event validation link) in this link.</b>

http://help.sap.com/saphelp_nw04/helpdata/en/95/8bfe40f652f323e10000000a155106/frameset.htm

Refer this thread for a work around

/message/1067848#1067848 [original link is broken]

Answers (0)