Re: EventLink and context from page

2008-05-17 Thread Tomasz Dziurko
You understood me very correcltly :) But I have loop with products and each product has 'add to cart' link. AFAIK it's not possible to use ActionLink in loop, cause every ActionLink must have unique id and when I don't know how many items will be in the loop it's hard do write methods connected to

EventLink and context from page

2008-05-15 Thread Tomasz Dziurko
pages with filtered items bookmarkable. Thank you for your help. Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5.0.11: onActivate() called twice, more questions

2008-05-12 Thread Tomasz Dziurko
the problems: img src=images/pic.gif alt=default image / Now question: How is it possible that this situation might occur? -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5.0.11: onActivate() called twice, more questions

2008-05-12 Thread Tomasz Dziurko
get: 11:59:25,219 [ INFO] Start - TEST LOG 11:59:25,919 [ INFO] Start - TEST LOG so onActivate() is called two times. Anyone maybe could help? Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: T5: default.css and IE7 problem

2008-05-06 Thread Tomasz Dziurko
) private Asset styles; public Asset getStyles() { return styles; } and in file style.css place: html body div.t-error li { margin-left: 20px; } In this file you can everride all default styles from Tapestry. Regards -- Tomasz Dziurko

Re: T5: default.css and IE7 problem

2008-05-06 Thread Tomasz Dziurko
Almost forgot :) You need also add to head tag in you tml file: head link rel=stylesheet href=${styles} type=text/css/ /head Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: T5: Persistence pains

2008-05-03 Thread Tomasz Dziurko
() from T5 api: Discards all persistent field changes for the page containing the component. Changes are eliminated from persistent storage (such as the Session) which will take effect in the next request (the attached page instance is not affected). Regards -- Tomasz Dziurko

Custom Validator: ValidateInt message problem

2008-05-02 Thread Tomasz Dziurko
value '%s' is not parseable as an integer value. from default ValidationMessages.properties. Is there any way (except replacing message in default file) to make custom validator show custom validation error message? Regards -- Tomasz Dziurko

Tapestry 5 NetBeans 6 plugin - is it worth?

2008-04-29 Thread Tomasz Dziurko
of course :-) ) for students society in my University and sometimes it's difficult to decide what project would be most useful :) Thank you for your opinions Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [T5] component is not Datefield format for dd / mm / yyyy?

2008-04-25 Thread Tomasz Dziurko
Is there any way of using old calendar or (better) is there any component similar to this one but with more features (localisation, data formatting, etc.)? Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: logging (howto?)

2008-04-24 Thread Tomasz Dziurko
I don't know if my solution is 'suggested-way-of-using-logger-in-t5', but it's working. Here what you need to do: 0. Add to your project jars: slf4j-api slf4j-log4j log4j // not sure if it's necessary commons-logging /// not sure if it's necessary 1. Place log4j.properties file in your default

Re: logging (howto?)

2008-04-24 Thread Tomasz Dziurko
I'm glad it helped. It's my first succesfull advice in this list :) Earlier I was only shamelessly asking for help ;) Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Problem with select and beanEditForm

2008-04-22 Thread Tomasz Dziurko
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

Re: Problem with select and beanEditForm

2008-04-22 Thread Tomasz Dziurko
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

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,

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

Re: RequestGlobals in a PersistentFieldStrategy

2008-04-14 Thread Tomasz Dziurko
you will get NullPointerException, so I think it's not the right way. Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[T 5.0.11] Problem with localizing error message in bean edit form

2008-04-13 Thread Tomasz Dziurko
t:errors banner=${message:error-occured}/ /t:beaneditform I still get default You must correct the following errors before you may continue. Anyone have idea how to fix this? -- Tomasz Dziurko

Re: [T 5.0.11] Problem with localizing error message in bean edit form

2008-04-13 Thread Tomasz Dziurko
It's rather brute-force solution, but it works :) -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with page life cycle

2008-04-13 Thread Tomasz Dziurko
? Maybe put simpleMathQuestionGenerate() in other place? Thank you in advance for your help -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with page life cycle

2008-04-13 Thread Tomasz Dziurko
{ if(oldSimpleMathQuestion.answer==getUserInput()) { // do normal action } else // perform error message, etc. } -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[T5.0.11]:Select component - possible bug

2008-04-02 Thread Tomasz Dziurko
to force Tapestry to mark as selected option different than first one. Thank you in advance for your time and answers. Regards, Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TapestryHibernate

2008-04-02 Thread Tomasz Dziurko
Maybe you also have tapestry-hibernate-5.0.11.jar in your lib directory? Try removing it. Regards, Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]