01.  I have visited every page that seems relevant and read every 
email/tutorial, but I cannot find the answer to my question(s).  What I am 
trying to do, seems to fall between the cracks in the nice informaiton you have 
provided across the spectrum of Template-Tweeking-to-Plugin-Development.
02.  I don't want to create my own Model; I don't think it is necesary.  I just 
want to add one additional method to one of your existing Models.
03.  Here is what I have been able to do:
       A.  Add a method to SiteModel.
       B.  Add the interface defintion to the business layer in UserManager.
       C.  Add the implementation to JPAUserManagerImpl.
       D.  Test the query against the database outside of this framework just 
to confirm that it has valid MySQL syntax and returns the expected results.
       E.  Insert the necessary velocity code into a convenient template to 
call the method.
04.  Here is what I have not been able to do:
      A.  Get any output.
05.  Here is what I have done for troubleshooting:
     A.  Set all log4j properties to DEBUG for maximum information.
     B.  Finally coerce/capture this diagnostic:
          "INFO  2009-03-04 21:50:04,875 
SimpleLog4JLogSystem:logVelocityMessage - RHS of #set statement is null. 
Context will not be modified. basic:sidebar [line 38, column 5]"
     C: Check the archives of this newslist to no avail.
     D.  Read every email thread you ever wrote to folks outside of the 
development community.
     D.  Google the whole world concerning the RHS message.
06.  I have log.info() statements at every key point in my code -- well before 
any Exception could have been silently thrown and captured -- and I cannot get 
any evidence of getting to my method via $site.myMethod().  I have grepped 
every single inch of the code and all the jar files and cannot determine where 
there must be some other build/configuration/binding declaration that is 
required before the renderer will actually call my back-end code.  But, knowing 
nothing about Velocity or Struts or Spring -- just being a very old 'do it the 
hard way' Servlet coder, I have not been able to find the missing link.  I hope 
I can get some advice as the method I am trying to implement is the key 
determinant of whether to build the application around Roller, or go back to 
try with one of the lesser contenders in the open source bag.
Thank you.

Reply via email to