dev@woodstock.java.net

Re: Build gotchas and my first fix (as an ex-employee)

From: Dick Spellman <Richard.Spellman_at_Sun.COM>
Date: Wed, 01 Aug 2007 19:30:42 -0400


Sean Comerford wrote:
I've attached a list of the "gotchas" I came across building the 3 projects.

Also, I have a simple 3 line fix to something (surprise surprise) I botched a
long time ago - issue 488. Diffs follow - advise if there is some other
specific way to send reviews.

Now when do I get paid? I'm hungry Dick and we have an agreement!
  
Whenever you can make it to Burlington.  Nice job.

D
----------------------------

RCS file:
/cvs/woodstock/webui/src/runtime/com/sun/webui/jsf/renderkit/html/TabSetRenderer.java,v
retrieving revision 1.1
diff -u -w -b -r1.1 TabSetRenderer.java
--- TabSetRenderer.java	16 Feb 2007 01:44:40 -0000	1.1
+++ TabSetRenderer.java	31 Jul 2007 23:53:21 -0000
@@ -226,6 +226,11 @@
         
         writer.startElement("div", tabSet);
         
+        String clientId =
tabSet.getClientId(FacesContext.getCurrentInstance());
+        if (clientId != null) {
+            writer.writeAttribute("id", clientId, null);
+        }
+        
         if (style != null) {
             writer.writeAttribute("style", style, null); // NOI18N
         }



later,
Sean
http://seanc.us
  

--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@woodstock.dev.java.net For additional commands, e-mail: dev-help@woodstock.dev.java.net