01: /* ClientInputSupport.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Aug 9, 2007 4:51:13 PM 2007, Created by Dennis.Chen
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.jsf.zul.impl;
20:
21: /**
22: * Define a set of interface to support client side input naming & decoding.
23: *
24: * @author Dennis.Chen
25: */
26: public interface ClientInputSupport {
27:
28: /**
29: * Return attribute name of ZUL component to generate [name] attribute of the [input] element in HTML,
30: * in general case, return 'name';
31: * @return name of attribute
32: */
33: public String getInputAttributeName();
34:
35: /**
36: * Get attribute value of ZUL component to generate [name] attribute's value of [input] element in HTML,
37: * @return value of attribute
38: */
39: public String getInputAttributeValue();
40: }
|