w3pop.com :: ÍøÂçѧԺ :: APPML :: New ÊôÐÔ
The new attribute removes the "New" button from the HTML list.
newÊôÐÔɾ³ýÁËHTMLÁбíÖеēNew”°´Å¥¡£
Note: The "New" button will not work in an editable HTML list if not the newlines attribute is specified OR the AppML description has an <htmlform> element.
×¢Ò⣺Èç¹ûûÓÐÖ¸¶¨newlinesÊôÐÔ»òÕßAppMLÃèÊö°üº¬ÁËÒ»¸ö<htmlform>ÔªËØ£¬ÄÇô£¬“New”°´Å¥½«²»ÄÜÔÚÒ»¸ö¿É±à¼µÄHTMLÁбíÖÐÔËÐС£
The new attribute disables the "New" button in the HTML input form
newÊôÐÔÈ¡ÏûÁËHTMLÊäÈë±íµ¥ÖеēNew”°´Å¥µÄʹÓá£
Note: The new="false" attribute is available in an editable HTML list AND in a regular HTML list IF an <htmlform> element also is presented.
×¢Ò⣺Èç¹ûÒ»¸ö<htmlform>ÔªËØÍ¬Ñù´æÔÚ£¬ÄÇô£¬new="false"ÊôÐÔÖ»ÄÜÔÚÒ»¸ö¿É±à¼µÄHTMLÁбíºÍÆÕͨµÄHTMLÁбíÖÐʹÓá£
Remove the "New" button from the HTML list:
´ÓHTMLÁбíÖÐɾ³ý“New”°´Å¥£º
<?xml version="1.0" ?> <appml> <database> <htmllist edit="true" new="false" /> </appml> |
View the output produced by the AppML HTML List Service
²é¿´ÓÉAppML HTML ±¨¸æ·þÎñÊä³öµÄ½á¹û
View the XML source file
²é¿´XML Ô´Îļþ
Disable the "New" button in the HTML list and form :
È¡ÏûHTMLÁбíºÍ±êµ¥ÖГNew”°´Å¥µÄʹÓãº
<?xml version="1.0" ?> <appml> <database> <htmllist new="false" /> </appml> |
View the output produced by the AppML List and Form Service
²é¿´ÓÉAppML HTML ±¨¸æ·þÎñÊä³öµÄ½á¹û
View the XML source file
²é¿´XML Ô´Îļþ
ÆÀÂÛ (0)
All