Re: T5.3.1 : How to load image outside context when different options selected in t:select?

2013-06-26 Thread Wesley Too
hi, currently i have a folder reside in C:\\mypic to store all the pictures. my tapestry page has a t:select bound to the event and zone update. when i select option in t:select, based on the value of the option i need to load the picture from C:\\mypic directory. the problem is this picture

T5.3.1 : How to load image outside context when different options selected in t:select?

2013-06-26 Thread Wesley Too
hi, currently i have a folder reside in C:\\mypic to store all the pictures. my tapestry page has a t:select bound to the event and zone update. when i select option in t:select, based on the value of the option i need to load the picture from C:\\mypic directory. the problem is this pictures

Re: T5.3.1 : How to load image outside context when different options selected in t:select?

2013-06-26 Thread Woei Jye Wesley Too
the example shown were loaded during onEvent, assume that i can get the image loaded with inputstream and return as StreamResponse; upon changing selection as this for my t:select component @InjectComponent private Zone showPictureZone; @OnEvent(value=EventConstants.VALUE_CHANGED,component="packa