Project

General

Profile

Actions

Bug #7236

closed

Erreur dans l'utilisation du printForm

Bug #7236: Erreur dans l'utilisation du printForm

Added by Mathis FIBLEUIL over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Category:
Workflow
Start date:
12/16/2015
Due date:
% Done:

100%

Estimated time:
Navigateur:
Tous
Votre version de Silverpeas:
5.14.4
Système d'exploitation:
Windows OS
Votre base de données:
PostgreSQL
Livraison en TEST:
Livraison en PROD:

Description

Bonjour,

J'aimerais savoir comment utiliser le printForm au sein du workflow ?

L'ayant mis en place, je n'ai aucune option supplémentaire :/

J'aimerais mettre en place un bouton permettant l'impression apparaissant/définit dans le printForm à un moment bien particulier dans le process.
Dispose t-on d'une fonction que l'on pourrais appeler sur une DIV, en javascript, ou autre ?

Nous utilisons une 5.14 mais en cours de test en 5.15 qui me rassure en terme de stabilité.

Mathis


Files

DemandeCongesSimple.xml (11.8 KB) DemandeCongesSimple.xml Nicolas Eysseric, 07/07/2016 04:19 PM
print.html (1.12 KB) print.html Nicolas Eysseric, 07/07/2016 04:19 PM
recap.html (1.04 KB) recap.html Nicolas Eysseric, 07/07/2016 04:19 PM

Updated by David Lesimple over 10 years ago Actions #1

  • Status changed from New to Feedback
  • Assignee set to David Lesimple

Bonjour Mathis,

Pour l'activer il faut déja que le paramètre dans le descripteur xmlComponent du WF soit bien paramétré:

  <parameter>
      <name>printButtonEnabled</name>
      <label>
      <message lang="fr">Afficher l'opération Imprimer</message>
      <message lang="en">Display print operation</message>
      </label>
      <order>5</order>
      <mandatory>false</mandatory>
      <value>no</value>
      <type>checkbox</type>
      <updatable>always</updatable>
      <help>
      <message lang="fr">Permet d'utiliser le printForm (fichier HTML avec des données Workflow) mise en place</message>
      <message lang="en"></message>
      </help>
    </parameter>

A ce moment là, l'option Imprimer apparait (sauf erreur de ma part) sur chaque détail d'instance dans le Workflow.

Cette page permet d'afficher une page HTML (printForm.html) dans laquelle tu peux mettre également du CSS et du javascript, voire du Jquery.

Updated by Mathis FIBLEUIL over 10 years ago Actions #2

  • Status changed from Feedback to Closed

Ok, je l'ai mit en place sans souci.
Par contre cela ne me sert finalement pas en l'état, je vais essayer de créer un bouton "au sein" de l'instance pour appeler cette fonction.
Merci encore.
Je clôture.

Updated by Mathis FIBLEUIL over 10 years ago Actions #3

  • File Wefit Print Error Button.png added
  • File Wefit Print Error Popup.png added
  • Status changed from Closed to Feedback

Bon effectivement le bouton apparaît mais ça me remonte des messages d'erreurs à chaque fois.
Mon form est définit dans mon modèle, les champs sont défintit et l'HTML est en place mais rien ne remonte.

Aurais-tu des exemples de mise en place sur le modèle de workflow et un html associé ?

12:00:06,156 INFOS [STDOUT] ERROR : util.MSG_EXCEPTION_NOT_EMBEDED | MODULE : util.HomePageUtil.traceException() | Exception non encapsul´┐¢e dans une Silverpeas...Exception (EXCEPTION : java.lang.Nul
lPointerException
12:00:06,156 INFOS [STDOUT] at java.io.FileInputStream.<init>(FileInputStream.java:138)
12:00:06,156 INFOS [STDOUT] at java.io.FileInputStream.<init>(FileInputStream.java:101)
12:00:06,156 INFOS [STDOUT] at com.silverpeas.form.form.HtmlForm.openHtmlFile(HtmlForm.java:109)
12:00:06,156 INFOS [STDOUT] at com.silverpeas.form.form.HtmlForm.parseFile(HtmlForm.java:121)
12:00:06,156 INFOS [STDOUT] at com.silverpeas.form.form.HtmlForm.toString(HtmlForm.java:322)
12:00:06,156 INFOS [STDOUT] at com.silverpeas.form.form.HtmlForm.display(HtmlForm.java:296)
12:00:06,156 INFOS [STDOUT] at org.apache.jsp.processManager.jsp.printProcess_jsp._jspService(printProcess_jsp.java:235)
12:00:06,156 INFOS [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
12:00:06,156 INFOS [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
12:00:06,156 INFOS [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
12:00:06,156 INFOS [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
12:00:06,156 INFOS [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
12:00:06,156 INFOS [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)
12:00:06,156 INFOS [STDOUT] at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.redirectService(ComponentRequestRouter.java:293)
12:00:06,156 INFOS [STDOUT] at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:121)
12:00:06,156 INFOS [STDOUT] at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doGet(ComponentRequestRouter.java:127)
12:00:06,156 INFOS [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
12:00:06,156 INFOS [STDOUT] at com.stratelia.silverpeas.peasCore.servlets.SilverpeasHttpServlet.service(SilverpeasHttpServlet.java:49)
12:00:06,156 INFOS [STDOUT] at com.stratelia.silverpeas.peasCore.servlets.SilverpeasAuthenticatedHttpServlet.service(SilverpeasAuthenticatedHttpServlet.java:81)
12:00:06,156 INFOS [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:74)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at org.silverpeas.web.filter.MassiveWebSecurityFilter.doFilter(MassiveWebSecurityFilter.java:173)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at org.silverpeas.web.token.SessionSynchronizerTokenValidator.doFilter(SessionSynchronizerTokenValidator.java:102)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at org.silverpeas.web.filter.MessageFilter.doFilter(MessageFilter.java:74)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at org.silverpeas.web.filter.HttpServletRequestDecoration.doFilter(HttpServletRequestDecoration.java:47)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
12:00:06,156 INFOS [STDOUT] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
12:00:06,156 INFOS [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
12:00:06,156 INFOS [STDOUT] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
12:00:06,156 INFOS [STDOUT] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
12:00:06,156 INFOS [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
12:00:06,156 INFOS [STDOUT] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
12:00:06,156 INFOS [STDOUT] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
12:00:06,156 INFOS [STDOUT] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
12:00:06,156 INFOS [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
12:00:06,156 INFOS [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
12:00:06,172 INFOS [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
12:00:06,172 INFOS [STDOUT] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
12:00:06,172 INFOS [STDOUT] at java.lang.Thread.run(Thread.java:745)
12:00:06,172 INFOS [STDOUT] )

Updated by David Lesimple over 10 years ago Actions #4

Tout d'abord, dans le descripteur du WF, quel est le chemin vers le printForm ?

Exemple:

<form HTMLFileName="d:\silverpeas\web\weblib.war\processManager\printProduct.html" name="printForm"/>

une fois que la page html est bien appelée, est-ce que son contenu est correct ?

Updated by Mathis FIBLEUIL over 10 years ago Actions #5

Et bien en utilisant un form ce n'est justement pas plus la forme, et je n'ai qu'un champ file dedans :

java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at com.silverpeas.form.form.HtmlForm.openHtmlFile(HtmlForm.java:109)
at com.silverpeas.form.form.HtmlForm.parseFile(HtmlForm.java:121)
at com.silverpeas.form.form.HtmlForm.toString(HtmlForm.java:322)
at com.silverpeas.form.form.HtmlForm.display(HtmlForm.java:296)
at org.apache.jsp.processManager.jsp.printProcess_jsp._jspService(printProcess_jsp.java:235)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.redirectService(ComponentRequestRouter.java:293)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:121)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doGet(ComponentRequestRouter.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at com.stratelia.silverpeas.peasCore.servlets.SilverpeasHttpServlet.service(SilverpeasHttpServlet.java:49)
at com.stratelia.silverpeas.peasCore.servlets.SilverpeasAuthenticatedHttpServlet.service(SilverpeasAuthenticatedHttpServlet.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.silverpeas.web.filter.MassiveWebSecurityFilter.doFilter(MassiveWebSecurityFilter.java:173)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.silverpeas.web.token.SessionSynchronizerTokenValidator.doFilter(SessionSynchronizerTokenValidator.java:102)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.silverpeas.web.filter.MessageFilter.doFilter(MessageFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.silverpeas.web.filter.HttpServletRequestDecoration.doFilter(HttpServletRequestDecoration.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:745)

Updated by David Lesimple over 10 years ago Actions #6

As-tu essayé avec un champ texte uniquement ?

Updated by Mathis FIBLEUIL over 10 years ago Actions #7

Oui pardon, c'est un champ "text".

Une idée ?

Updated by David Lesimple over 10 years ago Actions #8

  • % Done changed from 0 to 10

Possiblement un bug produit qu'il faut qu'on reproduise.
Réponse après les fêtes. :o))

Updated by Mathis FIBLEUIL over 10 years ago Actions #9

Ok pour janvier...
Je reproduis les mêmes phénomènes en 5.15 avec et sans surcouche HTML

Bonne fêtes à tous !

Updated by David Lesimple over 10 years ago Actions #10

  • Status changed from Feedback to In progress...

Updated by David Lesimple over 10 years ago Actions #11

  • Status changed from In progress... to Feedback

Autant pour moi, je me suis trompé dans la valorisation du paramètre HTMLFilename (voir https://tracker.silverpeas.org/issues/7236#note-4)

il faut indiquer un chemin complet vers ce fichier et pas une URL ni un chemin relatif.

Updated by Mathis FIBLEUIL over 10 years ago Actions #12

<div class="Form">
    <ul><br/>

    <li><label><%=nom.label%></label><%=nom%></li></br>
    <li><label><%=prenom.label%></label><%=prenom%></li></br>

    </ul>
</div>

Les displayer du xml sont :

        <form HTMLFileName="D:\Silverpeas\data\workflowRepository\HTMLForms\formPrintTest.html" name="printForm"> 
            <input item="nom"  value="New" readonly="false" mandatory="false" displayerName="text"/>        
            <input item="prenom"  value="New" readonly="false" mandatory="false" displayerName="text"/>        
        </form>

Updated by David Lesimple over 10 years ago Actions #13

  • Tracker changed from Support to Bug
  • Project changed from 46 to Silverpeas Core
  • Subject changed from Workflow - Utilisation du printForm to Workflow - Erreur dans l'utilisation du printForm
  • Category set to Workflow
  • Status changed from Feedback to New
  • % Done changed from 10 to 0
  • Votre base de données set to PostgreSQL

Sauf erreur de ma part, d'après mes tests, il est inutile de spécifier les items dans le descripteur du formulaire printForm.

En fait, ta syntaxe dans le .html est incorrect, elle est différente de la syntaxe des formulaires.

Il faut écrire par exemple :

 <li><label><%=nom..label%></label><%=folder.nom%></li></br>

ou

 <li><label><%=nom.label%></label><%=action.Creation.actor%></li></br>

pour indiquer le nom du créateur de l'étape Creation

Cependant, l'exemple 2 fonctionne mais pas le 1, il y a donc un vrai bug à ce niveau là.
je déplace ce ticket dans la partie Worfkflow.

Updated by David Lesimple over 10 years ago Actions #14

  • File deleted (Wefit Print Error Button.png)

Updated by David Lesimple over 10 years ago Actions #15

  • File deleted (Wefit Print Error Popup.png)

Updated by Nicolas Eysseric over 10 years ago Actions #16

  • Status changed from New to In progress...
  • Assignee changed from David Lesimple to Nicolas Eysseric
  • Target version set to Version 5.15.1

Updated by Nicolas Eysseric over 10 years ago Actions #17

  • Target version deleted (Version 5.15.1)

Updated by Mathis FIBLEUIL about 10 years ago Actions #18

  • Project changed from Silverpeas Core to 46
  • Category deleted (Workflow)

Updated by Pierre TEISSONNIERE about 10 years ago Actions #19

Un début de debug.

Dans la fonction printProcessHandler de ProcessManagerRequestRouter.java :

      // Get the form data
      DataRecord data = session.getPrintRecord();
      request.setAttribute("data", data);

Alors que dans la fonction getFormRecord de ProcessInstanceImpl.java :
      String[] fieldNames = form.toRecordTemplate(role, lang).getFieldNames();
      DataRecord data = form.getDefaultRecord(role, lang, getAllDataRecord(role, lang));
      DataRecordUtil.updateFields(fieldNames, data, getFolder());
      return data;
<input>

Dans le deuxième cas, après avoir construit le DataRecord data, on met à jour les champs. Dans la partie impression, ce n'est pas le cas. Le tableau est vide.

Updated by Nicolas Eysseric about 10 years ago Actions #20

Je suis repassé sur cette anomalie.
Le problème ne vient pas de là car on est dans un cas bien différent lors du formulaire d'impression.

Updated by Nicolas Eysseric about 10 years ago Actions #21

  • Project changed from 46 to Silverpeas Core
  • Subject changed from Workflow - Erreur dans l'utilisation du printForm to Erreur dans l'utilisation du printForm
  • Category set to Workflow
  • Target version set to Version 5.15.4

Updated by Nicolas Eysseric about 10 years ago Actions #22

Pour être homogène avec l'emplacement des autres surcouches, désormais le fichier HTML du print doit obligatoirement être dans le répertoire data/workflowRepository (ou un de ses sous répertoires - idéalement dans celui du processus).

Traité par PR :

Pour les tests d'intégration, les 3 fichiers fournis doivent être déposés dans le répertoire SILVERPEAS_DATA_HOME/workflowRepository/DemandeCongesSimple

Attention le fichier XML est écrasé lors de la mise à jour de Silverpeas.

Updated by Miguel Moquillon about 10 years ago Actions #23

  • Status changed from Resolved to Integration in progress...

Updated by Miguel Moquillon about 10 years ago Actions #24

  • Status changed from Integration in progress... to V6 pending

Updated by Yohann Chastagnier about 10 years ago Actions #25

  • Status changed from V6 pending to Closed

Reporté en 6.x

Actions

Also available in: PDF Atom