2009/6/12 Sergey Didenko :
> Could you help me, I can't understand how it is wired together.
>
> What is passed as its "by" parameter.
Generally, Block with inside, which I name "decorator".
> Where the class Decorate is used?
Take a look at my former post.
Page.tml has ComplexComponent and pa
er()
> {
> return environment.peek(Block.class);
> }
> }
>
>
> I've test and it works.
>
>
> aaa bbb
>
>
>
>
>
>
>
>
> They all work and show what I need.
>
> DH
>
> - Original Message -----
&g
2009/6/5 Lukasz Jazgar :
> Suppose, I have a component:
>
> ComplexComponent.tml
>
> ...
> a lot of tags and components
> ...
>
> .. complex content ..
>
> ...
> a lot of other tags and components
> ...
>
&
2009/6/5 Inge Solvoll :
> From your explanation, I think you're looking for something like this? This
> should be pretty close to working code.
>
> yourPage.tml:
>
>
> Lots of HTML here
>
>
>
> public class YourComponent {
> @Parameter
> private Block param1;
> }
>
> yourComponent.tml:
>
>
2009/6/5 Thiago H. de Paula Figueiredo :
> On Fri, Jun 5, 2009 at 12:53 PM, Lukasz Jazgar wrote:
>
>> Is it possible in Tapestry to pass by parameter to component piece of
>> html, by which component will surround some part of it?
>
> Take a look at the component render lif
Hi,
Is it possible in Tapestry to pass by parameter to component piece of
html, by which component will surround some part of it?
Regards
Lukasz
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional comm
Hi,
When I have a page with property:
@Property
Double result;
and in template I use expansion:
Result is: ${result}
i get something like that: "123.456".
I'd rather expect "123,456" because of polish locale of my browser.
Same property shown in TextField has ',' so it is correctly loca
Hi,
It won't help to find a cause, but I can confirm that I observe
exactly the same behaviour in my application.
Regards
Lukasz
W dniu 3 czerwca 2009 00:35 użytkownik grabarz napisał:
> hi,
> thanks for that solution!
>
> i will try to find a reason of this strange behaviour debugging
> tapest
2009/5/31 Robert Zeigler :
> So, you're suggesting that a translator named, eg, "StringTranslator" would
> be the default for strings, "IntegerTranslator" for integers, and so forth.
> It could be done.
Yes, but Translator name property should be meaningful, not class name
of Translator. So, "stri
2009/5/29 Robert Zeigler :
> Certainly, your use-case would be supported if the configuration were
> ordered, b/c you could order your contribution in such a way that the
> default contribution isn't overridden, the way it is now.
Yes, then I could add new translators before built-in one. But it
d
2009/5/28 Robert Zeigler :
> So don't contribute your translator.
> Instead, supply the translator directly to the translator parameter, and
> construct it yourself?
> The TranslatorSource is meant to be exactly that: a general source for
> translators, so you don't have to constantly specify them
2009/5/28 Thiago H. de Paula Figueiredo :
> 2009/5/28 Łukasz Jazgar :
>
> As Igor pointed out, it's not a bug, it's how things are. You can't
> provide more than one default translator for a given type.
I don't want to provide more than one DEFAULT translator. Of course
more than one default trans
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
5.0.18
2009/3/24 Ville Virtanen :
>
> What version are you using?
>
> - Ville
>
>
> Łukasz Jazgar wrote:
>>
>> 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 th
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
15 matches
Mail list logo