Things I wish I'd Known Earlier

But learned the hard way!

TagJSF

JSF2 Annotations Ignored

Written by Tim on March 20, 2012

I couldn’t figure out why when I tried to retro-fit an old JSF project for JSF2 annotations the annotations weren’t being processed and the managed beans weren’t being instantiated. Duh. The JSF2 annotation processor defers to faces-config.xml. My faces-config still said JSF 1.2 in the faces-config element and related xmlns ( more… )

Posted In Enterprise Java
Tagged JSF

RichFaces “columns” tag doesn’t display columns

Written by Tim on December 2, 2011

The RichFaces manual show this example on using the “columns” tag: <rich:dataTable value=”#{capitalsBean.capitals}” var=”cap”> <rich:columns value=”#{capitalsBean.labels}” var=”col” index=”index”> <h:outputText value=”#{cap[index]}” /> </rich:columns> </rich:dataTable> There is no corresponding sample Java code. That’s very unfortunate, since in the absence of any better documentation, the natural thing to expect is that “capitalBeans.labels” would ( more… )

Posted In Enterprise Java
Tagged JSF | RichFaces

JSF Submit-on-Enter forms

Written by Tim on September 10, 2009

It’s not (so far as I know) officially required anywhere, but it’s a generally accepted principle that a form on a web page containing one text field and one submit button should submit itself when you type in text and press the ENTER key. A classic example of this is ( more… )

Posted In Uncategorized
Tagged auto-submit | enter | JSF | RichFaces | submit

JSF/Facelets/RichFaces – and Maven

Written by Tim on November 16, 2008

SF itself is fairly straightforward. Getting it functional in an appserver is another matter. Originally, I used MyFaces and Tomahawk. More recently, I’ve replaced MyFaces with the Sun JSF Reference Implementation (RI). Tomahawk, although a MyFaces library works just fine with the RI. The JSF-impl jar is part of the ( more… )

Posted In Enterprise Java
Tagged Facelets | JSF | Maven | RichFaces | Tomahawk | Tomcat | tomcat5 | tomcat6

Detached objects and JSF

Written by Tim on July 23, 2008

JSF and JPA have proven to be more problematic than expected. The upside of the JSF framework is that the datamodel objects can be presented more or less right up to the page view layer without recourse to Data Transer Objects (DTOs). The downside, is that what’s presented isn’t always ( more… )

Posted In Java Persistence Architecture (JPA) and related ORM
Tagged attach | detach | JPA | JSF | ORM

Categories

  • Android
  • Bad Practices
  • Better Software Design
  • Enterprise Java
  • Hardware
  • Internet of Things
  • Java Persistence Architecture (JPA) and related ORM
  • Libre Office
  • MillRight CNC
  • Random maniacal ravings
  • Stupid Linux Tricks
  • The Cloud
  • Uncategorized
May 2022
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Jun    

Categories

  • Android
  • Bad Practices
  • Better Software Design
  • Enterprise Java
  • Hardware
  • Internet of Things
  • Java Persistence Architecture (JPA) and related ORM
  • Libre Office
  • MillRight CNC
  • Random maniacal ravings
  • Stupid Linux Tricks
  • The Cloud
  • Uncategorized

Tags

Android annoyances jpa hibernate Apache Arduino attach ATTiny85 centos centos 7 configuration date/time design detach DigiSpark documents Enterprise Java Facelets floating-point fonts graphviz hibernate howto IDE Imprecise data types JBoss JPA JSF linux Maven oowriter openjpa ORM recipe RichFaces scalable graphics security spring testing Tomahawk Tomcat tomcat5 tomcat6 Tomcat Instrumentation vector graphics weaver Xen

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2022. Things I wish I'd Known Earlier
Powered By WordPress and Auspicious