Hello,
Recently I started to examine AJAX features in T5 and I already have a lot
of question of course, but I'd like to go through the each very deeply.
The question is: how can I send an AJAX request from within the control and
also include component (page) state? I've created a mixin similar to
Hello,
I'm trying to use RadioGroup with Enum values and getting
ClassCastException: java.lang.String cannot be cast to java.lang.Enum.
My page is as follows:
public class Page {
private EnumValueEncoder enumTypeEncoder = new
EnumValueEncoder(EnumType.class);
private EnumType enumType;
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Radio.html
>
> HTH,
>
> Uli
>
> Am Mi, 8.10.2008, 15:10, schrieb Alexey Hanin:
>> Hello,
>>
>> I'm trying to use RadioGroup with Enum values and getting
>> ClassC
Hi!
I am using Tapestry 5.0.4 and trying to display cyrillic unicode characters
within a simple template (Login.html):
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
:
Here are contents of my Login_ru.properties:
username-label=Юзернэйм
submit-label=Сабмит
In result i have scrambl
Hello,
Recently I found that autoconnect-parameters are being copied instead
of being set as reference to parent parameter.
What I want is to implement various editor-components containing
BeanEditForm accessing parent property.
class Page {
@Property
private EntityObject entity;
void on
Hello,
Recently I found that autoconnect-parameters are being copied instead
of being set as reference to parent parameter.
What I want is to implement various editor-components containing
BeanEditForm accessing parent property.
class Page {
@Property
private EntityObject entity;
void onSuc
Hmm... Seems like autoconnect does not work for me as I expect.
I checked in setupRender() inside EditorComponent and found that
'entity' is null, while Page.setupRender() assigns new value to its
same named property.
What am I doing wrong?
On Sat, Nov 7, 2009 at 7:50 PM, Alexey Ha
Seriously, guys? Anyone?
On Sun, Nov 8, 2009 at 8:55 AM, Alexey Hanin wrote:
> Hmm... Seems like autoconnect does not work for me as I expect.
>
> I checked in setupRender() inside EditorComponent and found that
> 'entity' is null, while Page.setupRender() assigns new val
Just make it empty string when it's null:
lnk.addParameter("country", country == null ? "" : country);
On Mon, Nov 9, 2009 at 3:24 PM, Angelo Chen wrote:
>
> Hi,
>
> I have a query string that I need to append to a Link object, the query
> string is:
>
> ?gender=M&country=
>
> I got two questio
gt; if (parameters == null)
> parameters = CollectionFactory.newMap();
>
> parameters.put(parameterName, value);
> }
>
> it is making sure the value is not blank, but I believe query string having
> blank value is often.
>
>
> Alexey Hani
Oh, I finally found what I was doing wrong :) Just misread the
documentation. The parameter bound to the property which is named
exactly as component. In fact only one property can be bound.
On Mon, Nov 9, 2009 at 2:14 PM, Alexey Hanin wrote:
> Seriously, guys? Anyone?
>
> On Sun, Nov 8
11 matches
Mail list logo