February 23, 2009

eclipse update site for Resource Bundle Editor

the Resource Bundle Editor com.essiembre.eclipse.i18n.resourcebundle Version 0.7.7 is now available on our update site http://www.nightlabs.de/updatesites/development/
Forum - Announcements - Resource Bundle Editor on Update Site - jfire.org - Free / Open Source ERP


ref http://sourceforge.net/project/showfiles.php?group_id=125041
Blogged with the Flock Browser

February 19, 2009

subclipse vs subversive...

Subclipse vs. Subversive at BarneyBlog
I tried Subversive as well but then read an insightful post by one of the Subversion developers …

http://eclipsezone.com/eclipse/forums/t77149.rhtml

Scroll down to entry #10 I think…

After reading that I switched back to Subclipse…

February 18, 2009

Vil avlive forhatt nettleser - digi.no : Personlig teknologi

Flere av Norges største nettsteder har innledet en kampanje mot Internet Explorer 6.
Vil avlive forhatt nettleser - digi.no : Personlig teknologi

hmm - kanskje me endeleg kan byrja med graceful degradation?

"Graceful Degradation is the principle that a web page should be
coded in such a way that if a browser cannot cope with something in it
the page can nonetheless be displayed in a simplified form
." (Ben's web prog.)

"Graceful degradation has two basic rules:
  1. Any browser must be able to view the content of the site.
  2. Any browser must be able to navigate the site."
....
"The simplest way to avoid box model problems is to make sure they don't
matter much. If your box has a fixed width, a 5px padding and a 1px border,
Explorer will show it 12px smaller than the other browsers. If the design is
fluid enough to accommodate this difference you don't need to worry."

(fluid thinking, digital web mag.)

ev progressive enhancement...
poenget er vel at me kanskje har fått litt meir aksept for ulik oppleving i ulike weblesarar, ift ikkje-essensielle bells and whistles...
Blogged with the Flock Browser

Tapestry Central: Importance of toString()

Tapestry mostly use ToStringBuilder from Jakarta commons-lang.
Tapestry Central: Importance of toString()
Blogged with the Flock Browser

February 11, 2009

get selected dynamically from list

i.e., dynamically updated list of checked choices in a simple list of checkboxes and their labels.

(note to self...)

assumed (h)tml structure:
- divs with a certain class, containing inputs and labels
- inputs of checkbox type
- labels attached to the checkboxes

f.ex:

(h)tml:

<div id="updatedList" style="float: left; width: 150px;" />

<div id="column2" style="margin-left: 155px; " />

  <div class="box">
     <input type="checkbox" id="c1" onclick="updateList()">
     <label for="c1">Checkbox 1</label>
  </div>
  <div class="box">
     <input type="checkbox" id="c2" onclick="updateList()">
     <label for="c2">Checkbox 2</label>
  </div>

</div>

js (w/prototype):

Event.observe(window, 'load', updateList);

function updateList() {
   var sel=[]; //selected list elements
   var all=$$('div.box'); //all list elements, in form of enclosing divs
   all.each(
     function (e) {
       if (e.down('input').checked == true)
         sel.push('<br />' + e.down('label').innerHTML);
     }
   );
   $('updatedList').update(sel);
}