Hopbot log for 2009-09-08 - Helma IRC channel: #helma on irc.freenode.net

2009-09-08:

[8:44] <Flogge> hey hey
[8:44] <Flogge> anybody there?
[8:56] <zumbrunn> Flogge: pong
[8:57] <zumbrunn> oh, regarding the "attribute less macros"?
[8:58] <Flogge> yup
[8:58] <Flogge> :-D
[8:59] <Flogge> do you know what I am talking about?
[8:59] <zumbrunn> ok... that's a 1.6 feature
[8:59] <Flogge> I have 1.6.2
[8:59] <zumbrunn> (assuming you mean unnamed/positional macro paras)
[8:59] <Flogge> yup
[9:00] <zumbrunn> http://dev.helma.org/wiki/New+Skin+Features+in+Helma+1.6/
[9:00] <Flogge> but I get [Macro error in image: TypeError: Cannot read property "rss.png" from undefined (/usr/local/helma-1.6.2/apps/antville-12/code/Global/Global.js#289)]
[9:01] <zumbrunn> in the line of code you mentioned, you are not using quotes
[9:02] <Flogge> so...
[9:02] <Flogge> <% image /smallchaos.gif | link http://antville.org %>
[9:03] <Flogge> should be
[9:03] <Flogge> <% image "/smallchaos.gif" | link "http://antville.org" %>?
[9:03] <zumbrunn> I think so, yes
[9:03] <Flogge> doesn't fix it
[9:04] <Flogge> I am working on http://infovm9-3.rrze.uni-erlangen.de/ by the way
[9:04] <zumbrunn> does it work if you change the code to use named macro params?
[9:05] <Flogge> I changed it to <% image name="/hop.gif" link="http://helma.org" %> and it stopped producing anyting...
[9:06] <Flogge> oh hangon...
[9:06] <zumbrunn> you are confusing things here
[9:06] <Flogge> now I am getting a different error
[9:06] <Flogge> after removing the prefixing slash
[9:06] <Flogge> [Macro error in image: Wrapped javax.imageio.IIOException: Can't read input file! (/usr/local/helma-1.6.2/modules/helma/Image.js#52)]
[9:06] <zumbrunn> either you want two params or macro filters
[9:07] <zumbrunn> not the same thing
[9:07] <Flogge> I thought in antville on 1.5.x that was the way images with links worked..
[9:07] <zumbrunn> is link intended to be a second paramater or a macro filter?
[9:09] <zumbrunn> the pipe syntax is intended for filters
[9:09] <Flogge> I know
[9:09] <Flogge> but the old antville accepted link to be a attribute
[9:09] <Flogge> in images
[9:10] <zumbrunn> then it sounds like <% image name="/hop.gif" link="http://helma.org" %> is what you want?
[9:11] <Flogge> yup
[9:11] <Flogge> anyways
[9:11] <Flogge> I got it to work
[9:11] <Flogge> ...sort of
[9:12] <Flogge> all I need to fix is the broken static directory
[9:16] <Flogge> hm
[9:16] <Flogge> stupid thing, work already!
[9:18] <Flogge> I have Antville 1.2 in /usr/local/helma/apps/antville-12/
[9:18] <Flogge> my apps.properties says
[9:18] <Flogge> antville2.appdir = apps/antville-12/code
[9:18] <Flogge> antville2.static = apps/antville-12/static/www
[9:18] <Flogge> antville2.staticMountpoint = /static/www
[9:30] <Flogge> zumbrunn: any idea? :-D

 

 

In the channel now:

Logs by date: