You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by debsahoo <ds...@alloy.com> on 2007/10/26 23:50:17 UTC

#springBind not working properly

Hello,

   I have a bean called command which has a String field called title. I can
fetch the value using the tag

$command.title , I can see the value I set to that field (ex, "myValue")

But when I do
#springBind("command.title")
${status.expression} gives the proper value "title", but
${status.value} is null

Any idea why it is this way?

Thank, Dev
-- 
View this message in context: http://www.nabble.com/-springBind-not-working-properly-tf4699919.html#a13436027
Sent from the Velocity - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Re: #springBind not working properly

Posted by Nathan Bubna <nb...@gmail.com>.
This is a question best asked on the spring user forums.  They control
the #springBind() directive.  Someone here may know (i don't), but
you'll probably have a better chance of an explanation over at Spring.

On 10/26/07, debsahoo <ds...@alloy.com> wrote:
>
> Hello,
>
>    I have a bean called command which has a String field called title. I can
> fetch the value using the tag
>
> $command.title , I can see the value I set to that field (ex, "myValue")
>
> But when I do
> #springBind("command.title")
> ${status.expression} gives the proper value "title", but
> ${status.value} is null
>
> Any idea why it is this way?
>
> Thank, Dev
> --
> View this message in context: http://www.nabble.com/-springBind-not-working-properly-tf4699919.html#a13436027
> Sent from the Velocity - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org