notify embedded components

2013-03-21 Thread Paul Stanton
Hi all, Is there a way to trigger an event in a container (Page) which notifies embedded components? I'm hoping to do something like this (pseudo code) : Page { void onSomeEvent() { notifyListeners("SomethingHappened"); } } EmbeddedComponent { void setupRender() {

Re: For Nabble users

2013-03-21 Thread Bob Harner
Yeah, I 'm with you, Lance. And I didn't think the annoyances of the nabble posts were significant. On Mar 21, 2013 7:06 PM, "Lance Java" wrote: > That's actually really annoying for me. > > Most workplaces don't allow personal email but they do allow Nabble. Sure I > can always use my phone but

Re: For Nabble users

2013-03-21 Thread Lance Java
That's actually really annoying for me. Most workplaces don't allow personal email but they do allow Nabble. Sure I can always use my phone but writing code and copy / paste etc is really annoying on a phone. On 21 March 2013 16:31, Thiago H de Paula Figueiredo wrote: > Hi! > > Due to many heada

Re: InjectComponent Field in component and validate field in page class

2013-03-21 Thread Ivan Khalopik
You can add getter for injected field inside vendor component: Vendor.class @InjectComponent private Field vendorNameField; public Field getVendorNameField() { return vendorNameField; } Then inject vendor component inside the page Page.class @InjectComponent private Vendor vendor; void on

For Nabble users

2013-03-21 Thread Thiago H de Paula Figueiredo
Hi! Due to many headaches we're having with posts from Nabble (including swallowing of code), we decided to not allow them anymore. People, please remember: this isn't a forum, it never was a forum, this is a mailing list, and Apache Foundation projects must use mailing lists as the offic

Re: InjectComponent Field in component and validate field in page class

2013-03-21 Thread Shing Hing Man
The following example might be useful. http://lombok.demon.co.uk/tapestry5Demo/test/crossvalidation2   Shing - Original Message - From: George Christman To: users@tapestry.apache.org Cc: Sent: Thursday, March 21, 2013 3:33 PM Subject: InjectComponent Field in component and validat

AUTO: Dieter Schrottshammer is out of office

2013-03-21 Thread Dieter Schrottshammer
Ich bin von Mi, 20.03.2013 bis Di, 26.03.2013 abwesend. Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "InjectComponent Field in component and validate field in page class" gesendet am 21.3.2013 16:33:46. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, währen

InjectComponent Field in component and validate field in page class

2013-03-21 Thread George Christman
I have a component that contains a field like so, Vendor.class @InjectComponent @Parameter private Field vendorName; I have a page class like so, Page.class @Property private Field vendorName; onValidateFromForm() { //I would like to do some serverside validation and return the error back to

Re: No picture preview with absolute path

2013-03-21 Thread Volodymyr Khomik
Hi,  thank you for the very fast answer! My app have to access different pic from different folders and URLs... It have to work dynamically. If I copy to browser file///... adress, it works. Thank you! Vlady Von: Thiago H de Paula Figueiredo An: Tapestry u

Re: No picture preview with absolute path

2013-03-21 Thread Thiago H de Paula Figueiredo
On Thu, 21 Mar 2013 10:31:30 -0300, Volodymyr Khomik wrote: Hello, Hi! could somebody help me to resolve this problem: My pic previes is working just with relative pathes, but I have to use absolute pathes. Why? Here is my code: ... exercise.getPicture() returns H:/git/.../t