<f:section title="${%Source Details}" >
<f:entry title="${%Title}" field="exportreportTitle">
<f:textbox />
</f:entry>
<f:entry title="${%By}" field="exportreportBy">
<f:textbox />
</f:entry>
<f:entry title="${%For}" field="exportreportFor">
<f:textbox />
</f:entry>
<f:entry title="${%Scan Date}" field="exportreportScanDate">
<f:textbox />
</f:entry>
<f:entry title="${%Report Date}" field="exportreportReportDate">
<f:textbox />
</f:entry>
<f:entry title="${%Scan Version}" field="exportreportScanVersion">
<f:textbox />
</f:entry>
<f:entry title="${%Report Version}" field="exportreportReportVersion">
<f:textbox />
</f:entry>
<f:entry title="${%Description}" field="exportreportReportDescription">
<f:textarea />
</f:entry>
</f:section>
<f:section title="${%Source Details}">
<f:entry>
<table width="100%">
<tr>
<td>Title</td>
<td colspan="3"><f:textbox field="exportreportTitle"/></td>
</tr>
<tr>
<td>Scan Date</td>
<td><f:textbox field="exportreportScanDate"/></td>
<td>Scan Version</td>
<td><f:textbox field="exportreportReportDate"/></td>
</tr>
<tr>
<td>Report Date</td>
<td><f:textbox field="exportreportScanVersion"/></td>
<td>Report Version</td>
<td><f:textbox field="exportreportReportVersion"/></td>
</tr>
<tr>
<td>Description</td>
<td colspan="3"><f:textbox field="exportreportReportDescription"/></td>
</tr>
</table>
</f:entry>
</f:section>
${%}
which is for internationalization i get a serialization error. So to compensate for that, please see the attached image. Notice how that worked? That's my desired table and it seriabled properly BUT the variable names have A appended to the end, making me lose everything on a load. But if i remove the A, then i still have a serialization error. <f:entry title="${%Title}" field="exportreportTitle">
<f:textbox />
</f:entry>
<f:entry>
<table width="100%">
<tr>
<td>${%Title}</td>
<td><f:textbox field="exportreportTitle"/></td>
</tr>
</table>
</f:entry>
java.lang.NullPointerException
at org.jenkinsci.plugins.zap.ZAPBuilder.<init>(ZAPBuilder.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:529)
at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:783)
at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:474)
at hudson.model.Descriptor.newInstance(Descriptor.java:591)
Caused: java.lang.Error: Failed to instantiate class org.jenkinsci.plugins.zap.ZAPBuilder from {"zapHost":"127.0.0.1","zapPort":"9090","startZAPFirst":false,"jdk":"InheritFromJob","autoInstall":"true","toolUsed":"","zapHome":"ZAPROXY_HOME","timeout":"60","zapSettingsDir":"","autoLoadSession":"true","loadSession":"","sessionFilename":"","removeExternalSites":false,"internalSites":"","contextName":"","includedURL":"","excludedURL":"","authMode":false,"username":"user1","password":"pwd1","loggedInIndicator":"","authMethod":"FORM_BASED","loginURL":"","usernameParameter":"","passwordParameter":"","extraPostData":"","authScript":"","targetURL":"","spiderScanURL":false,"spiderScanRecurse":true,"spiderScanSubtreeOnly":false,"spiderScanMaxChildrenToCrawl":"0","ajaxSpiderURL":false,"ajaxSpiderInScopeOnly":false,"activeScanURL":false,"activeScanPolicy":"","activeScanRecurse":true,"generateReports":false,"deleteReports":false,"reportFilename":"JENKINS_ZAP_VULNERABILITY_REPORT","selectedReportMethod":"DEFAULT_REPORT","selectedReportFormats":[],"selectedExportFormats":[],"exportreportTitle":"","exportreportBy":"","exportreportFor":"","exportreportScanDate":"","exportreportReportDate":"","exportreportScanVersion":"","exportreportReportVersion":"","exportreportReportDescription":"","exportreportAlertHigh":true,"exportreportAlertMedium":true,"exportreportAlertLow":true,"exportreportAlertInformational":true,"exportreportCWEID":true,"exportreportWASCID":true,"exportreportDescription":true,"exportreportOtherInfo":true,"exportreportSolution":true,"exportreportReference":true,"exportreportRequestHeader":false,"exportreportResponseHeader":false,"exportreportRequestBody":false,"exportreportResponseBody":false,"jiraCreate":false,"jiraProjectKey":"","jiraAssignee":"","jiraAlertHigh":false,"jiraAlertMedium":false,"jiraAlertLow":false,"jiraFilterIssuesByResourceType":false,"stapler-class":"org.jenkinsci.plugins.zap.ZAPBuilder","$class":"org.jenkinsci.plugins.zap.ZAPBuilder"}
Hopefully it helps,
Cool thank you, could you please link me any tutorials or guide or maybe other plugins you're familiar with that use JavaScript or Custom Jelly controls. Always open to learning but not sure where to start. (Google search isn't returning anything useful)
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/acAcP0XNooo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7e131dfd-b1ca-4ece-a896-5f3e714dc244%40googlegroups.com.
Thank you +1