On 10/29/2011 8:39 PM, Matt Jones wrote:
On Oct 29, 2011, at 1:38 PM, Donald R. Ziesig wrote:
Hi Again!
I hate to be a PITA, but one more issue:
<extend tag="nav-item">
*
*
*
</extend>
works in RC2, but produces:
undefined method `nav_item' for class `#<Class:0xaeb1a54>'
in RC3.
The original def tag for nav-item is in the RC3 file
gems/hobo-1.3.0.RC3/lib/hobo/rapid/taglibs/rapid_navigation.dryml, as in the
RC2 file gems/hobo-1.3.0.RC2/lib/hobo/rapid/taglibs/rapid_navigation.dryml
but I can't seem to make it visible to application.dryml (where I include the
file that extends nav_item) in the RC3 code.
Ideas anyone?
I can't seem to reproduce this, even when doing things that I would have suspected would cause it
(extending the tag before it's included, for instance). I was able to produce the same error, but only
when I commented out the<include src="rapid" gem="hobo"/> line in
application.dryml - not something I suspect is applicable to your situation.
Can you be more specific about the order of files that causes this problem?
--Matt Jones
I can reproduce this in multiple apps with multiple configurations, the
simplest being an app that accepts the defaults in setup_wizard (where
possible) and is a no-invite, with admin subsite.
Matt's reply pointed me to application.dryml which in all of the sites I
generated contains only _one_ line:
<!-- Global taglib - these tags are shared across all subsites -->
/<eof>/
I had been adding the line:
<include src="taglibs/nav_item"/>
which points to an existing dryml file hav_item.dryml in the tablibs
directory.
As soon as I put this line in, I got the error.
Matt said he commented out <include src="rapid" gem="hobo"/> which does
not exist in the original application.dryml, so I added that line giving
me an application.dryml that looks like this:
<!-- Global taglib - these tags are shared across all subsites -->
<include src="rapid" gem="hobo"/>
<include src="taglibs/nav_item"/>
/<eof>/
*I restarted the app and it works.*
So where did the line <include src="rapid" gem="hobo"/> go between RC2
and RC3?
Don Z.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.