As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
javax.faces.FacesException: /jsp/dashboards/dashlets/hello.jsp(4,11) Tag <r:template non terminé caused by: org.apache.jasper.JasperException: /jsp/dashboards/dashlets/hello.jsp(4,11) Tag <r:template non terminé
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> <%– Note that this template is loaded from the classpath –%> <r:template="/alfresco/templates/hello.html.ftl"> </r:template>
<#assign name = person.properties.userName> Hello ${name}
J'ai suivi le tutoriel quie se trouve dans cette lien: http://livinginjava.blogspot.com/2008/11/how-to-create-custom-dashlet-in.htmlQuand j'ajoute le dashlet que j'ai créé, je reçois l'erreur siuvant:javax.faces.FacesException: /jsp/dashboards/dashlets/hello.jsp(4,11) Tag <r:template non terminé caused by: org.apache.jasper.JasperException: /jsp/dashboards/dashlets/hello.jsp(4,11) Tag <r:template non terminéCela est hello.jsp:<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> <%– Note that this template is loaded from the classpath –%> <r:template="/alfresco/templates/hello.html.ftl"> </r:template>
<r:template templatePath="/alfresco/templates/hello.html.ftl"> </r:template>
<r:template template="/alfresco/templates/hello.html.ftl"> </r:template>
Expression args is undefined on line
<#if !args.searchString?has_content><!–Erreur sur cette ligne–> <h2>Input</h2> <form method="GET"> Search:<input type="textfield" name="searchString"></input><br> <input type="submit"/> </form> <#else> <h2>Result</h2> </#if>
Est j'ai mis un formulaire (méthode GETMais l'argument n'est pas vu. Dans un webscript je fait URL/?search= et cela marche. Mais dans le webclient je dois trouver un autre méthode. J'aussi essayer le méthode POST, aucun différence.Je reçois:Expression args is undefined on line
Et le code que j'utilise:<#if !args.searchString?has_content><!–Erreur sur cette ligne–> <h2>Input</h2> <form method="GET"> Search:<input type="textfield" name="searchString"></input><br> <input type="submit"/> </form> <#else> <h2>Result</h2> </#if>Avez vouz une idée?
<script src="prototype.js" type="text/javascript"></script> <script type="text/javascript"> Event.observe(window, 'load', function() { Event.observe($('maj'), 'click', function(event) { new Ajax.Updater( 'news', '', { method: 'get', parameters: {clics: $('news').className}, onSuccess: function() { $('news').className = parseInt($('news').className)+1; if ($('news').className == '7') $('maj').parentNode.removeChild($('maj'));}, onFailure: function() {$('news').className = "Une erreur est survenue lors de l'appel AJAX.\nRecharger la page devrait résoudre le problème."; } } ); Event.stop(event); }.bindAsEventListener()) }); …
<script src="/alfresco/scripts/prototype.js"