On Mar 10, 2008, at 4:40 AM, Peter Evans wrote:


---------------------------------------------------------------------------------
I am not a java programmer, nor have I any intention of getting involved in the nitty gritty of 200+ line information free tracebacks from the slightest error. So please, none of that linux "if you don't like it, you fix it!" mentality.

You could post your findings to bug track so at least they don't get forgotten,
they properly will get forgotten in the mailing list....
I am sure the developers would appreciate such an action. You could even
make suggestions to make the documentation better.



---------------------------------------------------------------------------------
glassfish 2 ur1, roller 4, opensolaris, etc.
---------------------------------------------------------------------------------

Is someone working on updating the documentation?
The "roller-template-guide.pdf" is dated August 2007 and contains numerous omissions,
or it would, if they hadn't been omitted.


Using the frontpage template and an example, I'm trying to make my own site page full
of various tunes.

First up, *Pinned* are undocumented, eg: $site.getPinnedWeblogEntries

Second, bits of USER Objects may or may not exist: $entry.creator.screenName
Third: bits of ENTRY Objects may or may not contain what is expected:

$entry.permalink                in _entry.vm

$model.permalink, appears boolean.
PLANET ENTRY Object has:
$entry.permalink, it is about as clear as mud which object I have at which time, eg:

this is _site.vm (a homebrew based on frontpage)

#set($ps = $site.getWeblogEntriesPager($since, $maxResults))
#foreach($entry in $ps.items)
 #set($e=$entry)
 #if($velocityCount <= $maxResults)
  #includeTemplate($model.weblog "_entry")
 #end
#end

(the silliness with $e is because it won't pass $entry down ...)

this is _planet.vm

#set($pp = $planet.getAggregationPager($since, $maxResults))
#foreach($entry in $pp.items)
 #set($e=$entry)
 #if($velocityCount <= $maxResults)
  #includeTemplate($model.weblog "_entry")
 #end
#end

_entry.vm consists of some nonsense vaguely like the frontpage one.

$e.permalink            site gives correct url /roller/front/entry/blah
                        planet gives only the top site page!

$e.creator.screenName   site gives correct one,
                        planet has no such animal



And, from the special extra box, doing:
asadmin deploydir ~/apache-roller-4.0/webapp/roller/
causes glassfish to eat memory at about 20mb/reload
is there perhaps a more intelligent way to get it to reload themes one is playing with
(and "export custom theme" would be really nice here ...)



Reply via email to