Hi all,
probably this is a stupid question, but please be patient, I'm almost
a noob with Velocity.
With a request-scoped tool I set an entry in the context:
velocityContext.put("stringTest", "this is a test");
Is it possible to expose it as a reference, i.e.:
$stringTest
I tried with ContextTo
On Thu, Mar 5, 2009 at 5:43 AM, Antonio Petrelli
wrote:
> Hi all,
> probably this is a stupid question, but please be patient, I'm almost
> a noob with Velocity.
> With a request-scoped tool I set an entry in the context:
>
> velocityContext.put("stringTest", "this is a test");
>
> Is it possible
2009/3/5 Nathan Bubna :
> On Thu, Mar 5, 2009 at 5:43 AM, Antonio Petrelli
> wrote:
>> Hi all,
>> probably this is a stupid question, but please be patient, I'm almost
>> a noob with Velocity.
>> With a request-scoped tool I set an entry in the context:
>>
>> velocityContext.put("stringTest", "thi
On Thu, Mar 5, 2009 at 7:03 AM, Antonio Petrelli
wrote:
> 2009/3/5 Nathan Bubna :
>> On Thu, Mar 5, 2009 at 5:43 AM, Antonio Petrelli
>> wrote:
>>> Hi all,
>>> probably this is a stupid question, but please be patient, I'm almost
>>> a noob with Velocity.
>>> With a request-scoped tool I set an e
2009/3/5 Nathan Bubna :
> On Thu, Mar 5, 2009 at 7:03 AM, Antonio Petrelli
> wrote:
>> 2009/3/5 Nathan Bubna :
>>> On Thu, Mar 5, 2009 at 5:43 AM, Antonio Petrelli
>>> wrote:
Hi all,
probably this is a stupid question, but please be patient, I'm almost
a noob with Velocity.
Wi
Got a link to the code for $tiles.importAttribute(...)? Just for
completeness...
On Thu, Mar 5, 2009 at 7:22 AM, Antonio Petrelli
wrote:
> 2009/3/5 Nathan Bubna :
>> On Thu, Mar 5, 2009 at 7:03 AM, Antonio Petrelli
>> wrote:
>>> 2009/3/5 Nathan Bubna :
On Thu, Mar 5, 2009 at 5:43 AM, Anton
2009/3/5 Nathan Bubna :
> Got a link to the code for $tiles.importAttribute(...)? Just for
> completeness...
http://svn.eu.apache.org/repos/asf/tiles/sandbox/trunk/tiles-velocity/src/main/java/org/apache/tiles/velocity/template/Tiles2Tool.java
See the "importAttribute" method.
This calls the Impo
I looked through most of the code and don't see the problem, assuming
that ImportAttributeModel.getImportedAttributes(...) works as
expected. I've got some other things to do at the moment, but i'll
try to find some time to install and run it myself today. I've been
meaning to get to that anyway.
2009/3/5 Nathan Bubna :
> I looked through most of the code and don't see the problem, assuming
> that ImportAttributeModel.getImportedAttributes(...) works as
> expected. I've got some other things to do at the moment, but i'll
> try to find some time to install and run it myself today. I've bee