![JAR search and dependency download from the Maven repository](/logo.png)
org.semanticwb.portal.resources.RSSResource.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SWBPortal Show documentation
Show all versions of SWBPortal Show documentation
SemanticWebBuilder Portal API components and utilities
The newest version!
<?xml version="1.0" encoding="ISO-8859-1"?> <admresource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xslfile>admresource.xslt</xslfile> <form name="frmRSSResource" action="true" method="POST"> <admdbconnmgr defconn="true"/> <fieldset legend="Datos"> <input type="TEXT" name="url" label="URL del RSS" size="50" jsrequired="true" /> </fieldset> <fieldset legend="Forma y estilo"> <input type="FILE" name="template" label="Plantilla (xsl, xslt):" showfile="true" msg="Plantilla actual " bydefault="{@webpath}/swbadmin/xsl/RSSResource/RSSResource.xslt" msgbydefault="Plantilla por defecto " filetype="xsl|xslt" isshowfiletype="true" size="40"/> </fieldset> <fieldset> <statictext name="b"> <![CDATA[ <button id="btnSave" dojoType="dijit.form.Button">Guardar</button> <button id="btnReset" dojoType="dijit.form.Button">Reestablecer</button> ]]> </statictext> </fieldset> </form> <statictext name="txtNote"> <![CDATA[ <font style="color: #428AD4; font-family: Verdana; font-size: 10px;"> * Dato requerido </font> ]]> </statictext> <script type="text/javascript"> <![CDATA[ dojo.require("dijit.form.Button"); dojo.addOnLoad(function(){ dojo.connect(dijit.byId("btnSave"), "onClick", function() { if(jsValida(dojo.byId("frmRSSResource"))) { dojo.byId("frmRSSResource").submit(); } } ); }); dojo.addOnLoad(function(){ dojo.connect(dijit.byId("btnReset"), "onClick", function() { dojo.byId("frmRSSResource").reset(); } ); }); ]]> </script> <script language="JavaScript"> <![CDATA[ function jsValida(frm) { if(frm.url.value==null || frm.url.value=='' || frm.url.value==' ') { alert('Indique la Url del RSS.'); frm.pos.focus(); return false; } return true; } ]]> </script> </admresource>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy