If you have a list of items and you want to display them in a grid structure (e.g. a table), here's an example of usage for the h:panelGrid for a 4-column layout:
Tuesday, 18 August 2009
Wednesday, 5 August 2009
Java Reflections API (example)
Looping through Objects in a list, checking whether each Object contains a method called getId(). If so, invoke the method and show the result:
Tuesday, 4 August 2009
Glassfish and Eclipse : Cutting down the number of "out of PermGen space" errors
We've run into an issue where making and re-deploying several changes to a webapp on glassfish causes PermGen space errors. This behaviour has been observed when using the glassfish adapter in Eclipse whilst working on a JSF(1.2) application.
For a quick fix, edit your domains\{domain-name}\config\domain.xml and look for a line specifying the -XX:MaxPermSize. Try upping the value somewhat:
For a quick fix, edit your domains\{domain-name}\config\domain.xml and look for a line specifying the -XX:MaxPermSize. Try upping the value somewhat:
Subscribe to:
Posts (Atom)
Blog Archive
-
►
2011
(35)
-
►
June
(6)
- MarkLogic/XCC: Copying a Module with User Content ...
- MarkLogic: clearing a forest in a database program...
- MarkLogic: Enabling debug options when using the S...
- Linux: SCP syntax and structure note
- MarkLogic/XCC: Installing Modules Programatically
- Eclipse: Installing XQDT (and DLTK) on Eclipse Ind...
-
►
June
(6)
-
►
2010
(43)
-
►
September
(7)
- MarkLogic: Creating Multiple Range Element Indexes...
- MarkLogic: Listing all Collections in a Database
- MarkLogic: Basic Database Cloning Script
- MarkLogic: Estimating the number of documents cont...
- MarkLogic: Search: Compound OR Queries
- MarkLogic: XQuery: Check for the presence of an el...
- MarkLogic: XQuery: Type Validation using xsi:type
-
►
September
(7)