Jahia in English > Jahia 6.1 : module...

0 (0 Good)
0 (0 Bad)

Jahia 6.1 : module job with upload file field

by  darkman »  2011/10/03 09:27

Hi,

I use the module job for publish  some jobs,  in the formular ((jobdetaildisplay.jspf)  I want to add a field upload file for send document, I add a type file in the container (answerJobContainer), for display the formular, I use this code :

       <template:gwtJahiaModule isTemplate="true" jahiaType="form" id="form"  nodeType="groupeid_templates:answerJobContainer"
                          captcha="${pageContext.request.contextPath}/jcaptcha"  action="createNode"   target="${jobContainer.JCRPath}/jobAnswers"
                                         cssClassName="answer">
         <template:containerList name="jobAnswers" id="jobAnswers">
            </template:containerList>
                        </template:gwtJahiaModule>

 

But the field upload file doesn't display!, it's ok for other type field (smalltext for example)

Thank us.

 

  • Jahia 6.1 : module job with upload file field
    2011/10/03 09:27

    darkman <p> Hi,</p> <p> I use the module job for publish&nbsp; some jobs,&nbsp; in the formular ((jobdetaildisplay.jspf)&nbsp; I want to add a field upload file for send document, I add a type file in the container (answerJobContainer), for display the formular, I use this code :</p> <p> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;template:gwtJahiaModule isTemplate=&quot;true&quot; jahiaType=&quot;form&quot; id=&quot;form&quot;&nbsp; nodeType=&quot;groupeid_templates:answerJobContainer&quot;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; captcha=&quot;${pageContext.request.contextPath}/jcaptcha&quot;&nbsp; action=&quot;createNode&quot;&nbsp;&nbsp; target=&quot;${jobContainer.JCRPath}/jobAnswers&quot;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cssClassName=&quot;answer&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;template:containerList name=&quot;jobAnswers&quot; id=&quot;jobAnswers&quot;&gt;<br /> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/template:containerList&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/template:gwtJahiaModule&gt;</p> <p> &nbsp;</p> <p> But the field upload file doesn&#39;t display!, it&#39;s ok for other type field (smalltext for example)</p> <p> Thank us.</p> <p> &nbsp;</p>

  • Number of messages  3
    Registration date Oct 3, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page