2009/3/24 Ville Virtanen :
>
> Also the line
>
> writer.write(""+value);
>
> could be to blame?
>
> try something like
>
> if(value == null) {
> writer.write("null");
> } else if (value.booleanValue() == true) {
> writer.write("true");
> } else {
> writer.write("false");
> }
>
Your code gives th
On Tue, Mar 24, 2009 at 5:27 AM, Ville Virtanen
wrote:
> Also the line
> writer.write(""+value);
What about writer.write(String.valueOf(value))? Anyway, conversions
from almost any type to String are best handled by String.valueOf().
--
Thiago
-
e, that so base functionality is buggy in stable release
>>> (5.0.18) and nobody noticed it before? Neither unit tests? I can't
>>> belive. I still think it's my fault and my lack of understanding.
>>>
>>>
>>> Łukasz
>>>
>>
---------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>>
>
> --
> View this message in context:
> http://www.
ither unit tests? I can't
> belive. I still think it's my fault and my lack of understanding.
>
>
> Łukasz
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tap
2009/3/24 Ville Virtanen :
>
> Hi,
>
> double check that the boolean is not primitive _anywhere_, as then assigning
> null to it would coerse the value to false witch is the default in Java if
> it is unknown.
I checked it 10 times before. Parameter of component and property of
page are not primit
ards
> Lukasz
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
>
--
View this message in context:
h
Hi all,
I am a newbie in Tapestry. Please, help me to understand, how binding of
parameters works. I'll show my problem on very simplified example.
There is a component:
public class BooleanComponent {
@Parameter
private Boolean value;
boolean beginRender(MarkupWriter writer) {