You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tomasz Dziurko <td...@gmail.com> on 2008/04/22 11:45:52 UTC
Problem with select and beanEditForm
There is a beanEditForm component
<t:beanEditForm t:id="profile" t:submitLabel="Utwórz profil"
exclude="id,isPerson"
reorder="name, surname, companyName, nip, sex, birthday, email,
password, phone, street, countryid"
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with select and beanEditForm
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Ah, there it was. I was looking for that earlier.
Anyhow, glad it was solved. :)
-Filip
On 2008-04-22 16:17, Blower, Andy wrote:
> It's already mentioned in this page:
>
> http://wiki.apache.org/tapestry/Tapestry5UsefulConfigurationsForDevelopment
>
>
>> -----Original Message-----
>> From: Tomasz Dziurko [mailto:tdziurko@gmail.com]
>> Sent: 22 April 2008 14:50
>> To: Tapestry users
>> Subject: Re: Problem with select and beanEditForm
>>
>> Yea, it helped. Just added method below into AppModule
>>
>> public static void
>> contributeApplicationDefaults(MappedConfiguration<String, String>
>> configuration)
>> {
>> configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL,
>> "false");
>> }
>>
>> And it also solved my problem showing which my method caused problem
>> completely not connected with tapestry :)
>>
>> Thank you for help, again community at users@tapestry.apache.org
>> showed its power and potential :)
>>
>> PS: What about adding it to WIki Pages? I don't see it clearly written
>> in any of wiki articles. I could do it, but I am not sure is it good
>> idea :)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: Problem with select and beanEditForm
Posted by "Blower, Andy" <An...@proquest.co.uk>.
It's already mentioned in this page:
http://wiki.apache.org/tapestry/Tapestry5UsefulConfigurationsForDevelopment
> -----Original Message-----
> From: Tomasz Dziurko [mailto:tdziurko@gmail.com]
> Sent: 22 April 2008 14:50
> To: Tapestry users
> Subject: Re: Problem with select and beanEditForm
>
> Yea, it helped. Just added method below into AppModule
>
> public static void
> contributeApplicationDefaults(MappedConfiguration<String, String>
> configuration)
> {
> configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL,
> "false");
> }
>
> And it also solved my problem showing which my method caused problem
> completely not connected with tapestry :)
>
> Thank you for help, again community at users@tapestry.apache.org
> showed its power and potential :)
>
> PS: What about adding it to WIki Pages? I don't see it clearly written
> in any of wiki articles. I could do it, but I am not sure is it good
> idea :)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with select and beanEditForm
Posted by Tomasz Dziurko <td...@gmail.com>.
Yea, it helped. Just added method below into AppModule
public static void
contributeApplicationDefaults(MappedConfiguration<String, String>
configuration)
{
configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "false");
}
And it also solved my problem showing which my method caused problem
completely not connected with tapestry :)
Thank you for help, again community at users@tapestry.apache.org
showed its power and potential :)
PS: What about adding it to WIki Pages? I don't see it clearly written
in any of wiki articles. I could do it, but I am not sure is it good
idea :)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with select and beanEditForm
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Hi,
Sounds like production mode is on.
See Configuration Symbols and look for tapestry.production-mode at
http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html.
Then try again. A full stacktrace should be printed then along with lots
of other useful information.
-Filip
On 2008-04-22 14:00, Tomasz Dziurko wrote:
> I checked all logs in Tomcat dir and nothing at all.
> I posted whole error message from error page in first/second post.
> Maybe I should try call printStackTrace() at some methon invoked at
> page render cycle?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with select and beanEditForm
Posted by Tomasz Dziurko <td...@gmail.com>.
I checked all logs in Tomcat dir and nothing at all.
I posted whole error message from error page in first/second post.
Maybe I should try call printStackTrace() at some methon invoked at
page render cycle?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with select and beanEditForm
Posted by dhning <dh...@gmail.com>.
Isn't there any stacktrack message in the exception report page or tomcat console?
Maybe Filip mean this.
If there is, copy and share here.
Thanks!
DH
----- Original Message -----
From: "Tomasz Dziurko" <td...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Tuesday, April 22, 2008 6:48 PM
Subject: Re: Problem with select and beanEditForm
> hmm... no exception in Tomcat logs nor application log. Where should I
> put e.printStackTrace() method to get some more info?
>
> --
> Tomasz Dziurko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Problem with select and beanEditForm
Posted by Tomasz Dziurko <td...@gmail.com>.
hmm... no exception in Tomcat logs nor application log. Where should I
put e.printStackTrace() method to get some more info?
--
Tomasz Dziurko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with select and beanEditForm
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Hi Tomasz,
A full stacktrace would help.
-Filip
Tomasz Dziurko skrev:
> Comment: Sorry for two-post-question
>
> continuation from previous post:
>
> and inside beanEditForm there is:
>
> <t:parameter name="countryid">
> <t:label for="countryid"/>
> <t:select t:id="countryid" t:model="countryModel" t:encoder="countryEncoder"
> t:value="selectedCountry" t:blankOption="never"/>
> </t:parameter>
>
> to change some default behaviour of beanEditForm.
>
> All models, encoders are implemented as in examples in "Tapestry 5,
> Bulding Web Applications" book.
>
> When I run page I get message:
> "Render queue error in BeforeRenderTemplate[Register:countryid]: Not
> supported yet."
> And I have no idea what could be wrong in my code. Anyone could give any clue?
>
> Regards,
> Tomasz Dziurko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Problem with select and beanEditForm
Posted by Tomasz Dziurko <td...@gmail.com>.
Comment: Sorry for two-post-question
continuation from previous post:
and inside beanEditForm there is:
<t:parameter name="countryid">
<t:label for="countryid"/>
<t:select t:id="countryid" t:model="countryModel" t:encoder="countryEncoder"
t:value="selectedCountry" t:blankOption="never"/>
</t:parameter>
to change some default behaviour of beanEditForm.
All models, encoders are implemented as in examples in "Tapestry 5,
Bulding Web Applications" book.
When I run page I get message:
"Render queue error in BeforeRenderTemplate[Register:countryid]: Not
supported yet."
And I have no idea what could be wrong in my code. Anyone could give any clue?
Regards,
Tomasz Dziurko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org