Re: Problem with select and beanEditForm

2008-04-22 Thread Tomasz Dziurko
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with select and beanEditForm

2008-04-22 Thread Tomasz Dziurko
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with select and beanEditForm

2008-04-22 Thread dhning
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 [EMAIL PROTECTED]
To: Tapestry users users@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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Problem with select and beanEditForm

2008-04-22 Thread Tomasz Dziurko
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with select and beanEditForm

2008-04-22 Thread Filip S. Adamsen

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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



Re: Problem with select and beanEditForm

2008-04-22 Thread Tomasz Dziurko
Yea, it helped. Just added method below into AppModule

public static void
contributeApplicationDefaults(MappedConfigurationString, 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with select and beanEditForm

2008-04-22 Thread Blower, Andy
It's already mentioned in this page:

http://wiki.apache.org/tapestry/Tapestry5UsefulConfigurationsForDevelopment


 -Original Message-
 From: Tomasz Dziurko [mailto:[EMAIL PROTECTED]
 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(MappedConfigurationString, 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: Problem with select and beanEditForm

2008-04-22 Thread Filip S. Adamsen

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:[EMAIL PROTECTED]
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(MappedConfigurationString, 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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



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