Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-19 Thread Tomasz Dziurko
+1 on org.apache.tapestry5 -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
want 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
problems: 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
7/myApp/start/testmessage on console I 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

Re: T5: default.css and IE7 problem

2008-05-06 Thread Tomasz Dziurko
Almost forgot :) You need also add to tag in you tml file: Regards -- Tomasz Dziurko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: default.css and IE7 problem

2008-05-06 Thread Tomasz Dziurko
/style.css") 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

Re: T5: Persistence pains

2008-05-03 Thread Tomasz Dziurko
orm.clearErrors(); } // discardPersistentFieldChanges() 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 --

Custom Validator: ValidateInt message problem

2008-05-02 Thread Tomasz Dziurko
ption=The input 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 messag

Tapestry 5 NetBeans 6 plugin - is it worth?

2008-04-29 Thread Tomasz Dziurko
ns, application (in T5 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,

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'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-ma

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 Workin

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(MappedConfiguration configuration) { configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "false"); } And it also solved my problem showing which my method caused problem

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-mai

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
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 unsubsc

Problem with select and beanEditForm

2008-04-22 Thread Tomasz Dziurko
There is a beanEditForm component - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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]

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]

Problem with page life cycle

2008-04-13 Thread Tomasz Dziurko
t solution? 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: [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]

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

2008-04-13 Thread Tomasz Dziurko
file I still get default "You must correct the following errors before you may continue." Anyone have idea how to fix this? -- Tomasz Dziurko

users@tapestry.apache.org

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]

[T5.0.11]:Select component - possible bug

2008-04-02 Thread Tomasz Dziurko
erent 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]