Hi all,

I've got the following in my Init.html:

<t:loop source="directory.options" value="subdirectory">
<a t:type="ActionLink" t:context="subdirectory"
t:id="subdir">${subdirectory}</a><br/>
</t:loop>

which nicely generates a list of links. The subdirectory parameter is
a string (i.e. directory.options is a List<String>, a list of
subdirectories).

In Init.java I have

public void onActionFromSubdir(final String subdirectory) {
System.out.println("subdirectory='" + subdirectory + "'");
}

which gets called when I click on one of the above links. However, the
subdirectory parameter is always empty (""). In the T5 tutorial with
integers this worked perfectly. What am I doing wrong?

On top of that I'm getting a warning:

[WARN] ResourceCache Alias request of
'file:/...dirs.../src/main/webapp/init.subdir/the/sub/dir' for
'file:/...dirs.../src/main/webapp/init.subdir/the/sub/dir'

(when selecting /the/sub/dir link). How can I suppress this?

Cheers,
Hilco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to