10.07.2015 Views

Tutorial section in PDF - Custom Training Courses - Coreservlets.com

Tutorial section in PDF - Custom Training Courses - Coreservlets.com

Tutorial section in PDF - Custom Training Courses - Coreservlets.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

© 2013 Marty Hall & Yaakov Chaik<strong>in</strong>Wrap-Up<strong>Custom</strong>ized Java EE Tra<strong>in</strong><strong>in</strong>g: http://courses.coreservlets.<strong>com</strong>/GWT, Java 7 and 8, JSF 2, PrimeFaces, HTML5, Servlets, JSP, Ajax, jQuery, Spr<strong>in</strong>g, Hibernate, REST, Hadoop, Android.Developed and taught by well-known author and developer. At public venues or onsite at your location.Summary62• Use XML attributes that correspond towidget’s setter methods (like a JavaBean)– Can pass primitives (or wrappers) or Str<strong>in</strong>gs• Use @UiConstructor if possible– If you wrote the Widget, you can use @UiConstructor <strong>in</strong>Widget code. Then constructor can be used from XML.• Look at JavaDocs before us<strong>in</strong>g a panel– To see if special syntax is required for UI XML• Use CSS with – Use its ‘src’ attribute to po<strong>in</strong>t to a central CSS file• Use ClientBundle approach– To group images and thus improve HTTP performance

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!