Notes: FIXED BUGS:<br> <br> 557894 Illegal command when clicking an image <br> <br> 557897 Image buttons problem with Mozilla/4 <br> <br> 561862 Bug in jformular.tld <br> <br> 563119 infinite loop in FormularField.java <br> <br> 563124 Bug with Validation Filters for Fields <br>
Changes: CHANGES IN JFORMULAR API:<br> <br> <br> 1) de.jformular.FormularErrors<br> <br> public String getError (String fieldname)<br> <br> retrives error for the given formularfield if present, otherwise null<br> <br> <br> <br> 2) new Tags <error-block> and <error><br> <br> <br> <formular:error-block property="date"><br> Der Block wird nur angezeigt wenn für das Feld ein Fehler vorliegt <br><br> <formular:error/><br> </formular:error-block> <br> <br> <br> <br> 3) Interface ValidationFilter new signatur for method filter<br> <br> <br> <br> public boolean filter(FormularErrors aFormularErrors,<br> FormularContext aFormularContext,<br> FormularField aFormularField, String aValue);<br> <br> FormularErrors: allows to add own Errors by the filter<br> <br> FormularContext: global access to all current forms und user data, allows to check the current<br> field againts other user data.<br> <br> <br> <br> <br> 4) Interface TransformFilter new signatur for method transform<br> <br> void transform(Formular formular, FormularEvent formularEvent);<br> <br> FormularEvent has access to HttpSession, HttpRequest, FormularContext and FormularIdentity<br> <br> <br> <br> <br> <br> 5) Enabled creating PDF --> new tags<br> <br> <br> Example1: <formular:pdf/><br> Example2: <formular:pdf name="Antrag"/><br> Example3: <formular:pdflink name="Antrag">Antrag</formular:pdflink><br> Example4: <formular:pdflink name="Antrag" target="_blank">Antrag</formular:pdflink><br> Example5: <formular:pdfuri name="Antrag"/><br> <br> <br>
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use