« Formulaire:DemoAjax1 » : différence entre les versions

De Semantic MediaWiki - Sandbox

m (1 revision imported)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<noinclude>
<noinclude>
{{#formlink:form=DemoAjax1|link text=Demonstrate dynamically loading using function or query }}
{{#formlink:form=DemoAjax1|link text=Demonstrate dynamically loading using function or query }} [[Category:Semantic Forms Select example]]
</noinclude><includeonly>
</noinclude><includeonly>
{{{info|page name=Demo<unique number>}}}
{{{info|page name=Demo<unique number>}}}
Ligne 16 : Ligne 16 :
|-
|-
|{{{field|Protocol2|input type=SF_Select|function=ask:((Category:Protocol))((Protocol Belongs to Project::@@@@));format~list;sep~,;link~none;headers~hide;limit~200|sametemplate|field=Project2}}}
|{{{field|Protocol2|input type=SF_Select|function=ask:((Category:Protocol))((Protocol Belongs to Project::@@@@));format~list;sep~,;link~none;headers~hide;limit~200|sametemplate|field=Project2}}}
|-
|The above function demo does not work right now. This demo uses Ask Parser function from SemanticMediaWiki. Ask has some dependency on wgParser. wgParser in ajax environment is not a full environment. This breaks Ask from SemanticMediawiki. If you use this feature, you need to test whether you parser function work in ajax environment or not.
|}
|}
{{{end template}}}
{{{end template}}}

Version du 29 septembre 2015 à 02:53

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.