[ 
https://issues.apache.org/jira/browse/VELOCITY-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-59.
------------------------------------------


> Behaviour calling a method in the .vm where the method expects a float
> ----------------------------------------------------------------------
>
>                 Key: VELOCITY-59
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-59
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.2
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Martin
>         Assigned To: Velocity-Dev List
>
> The menthod in an object, lets call it TObject, in the context is defined:
>     public void setSize( float size );
> in the .vm, the code:
>     #set( $size = 99 )
>     $TObject.setSize( $size )
> will produce this output from mergeTemplate:
>     $TObject.setSize( $size )
> rather than set the property. However if you define the method thus:
>     public void setSize( int size );
> all work well, setting the property rather than outputing the text of the 
> call.
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to