if you are using the latest (1.2) release of VelocityTools, then
$text.label.one should work just fine.  see
http://jakarta.apache.org/velocity/tools/struts/MessageTool.html#get()

On 2/6/06, Magnus Kvalheim <[EMAIL PROTECTED]> wrote:
> Are you using VelocityStruts(Velocity-tools)?
> Because I experienced the same problems there.
>
> Accessing
> label.one=foobar
> as
> $text.label.one
> didn't work, so I had to use
> $text.get('label.one')
>
> However, properties without dots work fine in velocitystruts
> label_one=foobar
> $text.label_one
>
> Can anyone confirm this issue?
>
> best
> Magnus
>
> Shashikanth Duchetty wrote:
>
> >but it doesn't work. If I remove "." in between them it works fine
> >thanks
> >Shashi
> >
> >
> >On 2/7/06, Sreeni Gali <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Yeah definitly you can do this.
> >>
> >>On 2/5/06, Shashikanth Duchetty <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>Hi all,
> >>>can I keep such property in properties file
> >>>
> >>>some.one.like=somexyz
> >>>thanks
> >>>Shashi
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>
>

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

Reply via email to