19 package org.turro.push.zul;
21 import org.turro.auth.Authentication;
22 import org.turro.elephant.context.ElephantContext;
23 import org.turro.push.PushMessage;
24 import org.turro.push.UserPushSubscription;
25 import org.zkoss.zk.ui.Executions;
26 import org.zkoss.zk.ui.IdSpace;
27 import org.zkoss.zk.ui.ext.AfterCompose;
28 import org.zkoss.zk.ui.select.Selectors;
29 import org.zkoss.zk.ui.select.annotation.Listen;
30 import org.zkoss.zk.ui.select.annotation.Wire;
31 import org.zkoss.zul.Panel;
32 import org.zkoss.zul.Textbox;
43 @Listen(
"onClick = #send")
53 Executions.createComponents(
"/WEB-INF/_zul/bs/comps/push/testPushControl.zul",
this,
null);
54 Selectors.wireComponents(
this,
this,
false);
55 Selectors.wireEventListeners(
this,
this);
static IContact getIContact()
static String getServerUrl(String scheme)
static PushMessage title(String title)
PushMessage click(String target)
PushMessage message(String message)
static void pushMessage(String idContact, String payload)