Re: Blog Post: Tapestry Magic #1

2011-04-20 Thread Taha Hafeez
http://tawus.wordpress.com/2011/04/21/plastic-property/ On Thu, Apr 21, 2011 at 11:10 AM, Taha Hafeez wrote: > . > . > and another one > > regards > Taha > > > On Wed, Apr 20, 2011 at 8:16 PM, Taha Hafeez wrote: > >> Thanks for the tweets!! >> >> regards >> Taha >> >> On Wed, Apr 20, 2011

Re: Blog Post: Tapestry Magic #1

2011-04-20 Thread Taha Hafeez
. . and another one regards Taha On Wed, Apr 20, 2011 at 8:16 PM, Taha Hafeez wrote: > Thanks for the tweets!! > > regards > Taha > > On Wed, Apr 20, 2011 at 7:46 PM, Massimo Lusetti wrote: > >> On Wed, Apr 20, 2011 at 10:11 AM, Taha Hafeez >> wrote: >> >> > And another one... >> > >>

Re: Live reload in production?

2011-04-20 Thread Nikla Ratinen
Hi, In a busy live environment I would prefer disabled by default but still doable programmatically for occasional critical patching. This would allow reloading to be hooked for example to some administrative web service and result in better atomicity if multiple files need to be patched. That

Re: T5: select zone update in a form

2011-04-20 Thread Mark
When you say "Validation kicks in" does this occur after a submit? If so, is it possible that AddressUIBean is remembering the value that was present when the submit occurred and then on the second submit it is getting set to null again? At the point when you would expect an error to occur, what

Re: RenderSupport in XHR

2011-04-20 Thread Taha Hafeez
Hi What Tapestry version are you using ? regards Taha On Thu, Apr 21, 2011 at 2:54 AM, rektide wrote: > Hi all, > > Doing some XHR code. Normally I'd call RenderSupport's addInit method in > my code. Here's > what I get: > > Caused by: java.lang.RuntimeException: No object of type > org.apac

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-20 Thread Taha Hafeez
You can populate the selectedList in onPrepareForRender(){ //Populate with values } regards Taha On Thu, Apr 21, 2011 at 5:49 AM, Josh Canfield wrote: > What is the value of "selectedList" when you render the component? > Isn't this supposed to contain the values that are selected? > > On Wed

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-20 Thread Josh Canfield
What is the value of "selectedList" when you render the component? Isn't this supposed to contain the values that are selected? On Wed, Apr 20, 2011 at 5:11 PM, TG wrote: > One thing I noticed is, in my form I used the following - > >         >                 >                        ${user.id}

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-20 Thread TG
One thing I noticed is, in my form I used the following - ${user.id} * select more than once for multiple roles Is the ab

Re: Regarding Pagination

2011-04-20 Thread Taha Hafeez
Hi Sarav, Tapestry has Grid but it cannot be customized to your particular case. There is Loop

RenderSupport in XHR

2011-04-20 Thread rektide
Hi all, Doing some XHR code. Normally I'd call RenderSupport's addInit method in my code. Here's what I get: Caused by: java.lang.RuntimeException: No object of type org.apache.tapestry5.RenderSupport is available from the Environment. Available types are org.apache.tapestry5.services.Compon

Re: Live reload in production?

2011-04-20 Thread Howard Lewis Ship
On Wed, Apr 20, 2011 at 12:37 PM, Mark wrote: >> Good point. But a similar argument can be used: enabled, so you get a faster >> development environment without tweaking options. My gosh, these decisions >> are hard. :) > > Couldn't it be enabled by default in development mode and disabled by > de

Regarding Pagination

2011-04-20 Thread sarov saravanan
Hi,    Can any one provide me some examples of how to use pagination(customized) in tapestry which full fill the following use case. - The page should contain list on items (each item has price, detail of item and a link). - whole page is displayed as a table and row which has few nested tables

Re: T5: select zone update in a form

2011-04-20 Thread Josh Canfield
I don't have the time now to dive into this, but it sounds like the select thinks it has a value when it's time to validate. Have you set a breakpoint in the Select component to see what it thinks that value is? Josh On Wed, Apr 20, 2011 at 1:36 PM, Adam Zimowski wrote: > Nobody ran into this? I

Re: T5: select zone update in a form

2011-04-20 Thread Adam Zimowski
Nobody ran into this? I have a feeling that I'm doing something wrong, but then, I'm not sure either if Tapestry is just not working as expected. If I make the stateUpdateZone wrap entire form, then form is aware of state value change. But I do not want to refresh entire form, all I want to update

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-20 Thread TG
Anyone has any idea how to troubleshoot this multiselect component? Any tips on how to preselect the item in the list will be nice. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-5-Select-component-s-multiple-property-tp4304338p4329062.html Sent from

Re: Live reload in production?

2011-04-20 Thread Kalle Korhonen
On Wed, Apr 20, 2011 at 10:03 PM, Thiago H. de Paula Figueiredo wrote: > On Wed, 20 Apr 2011 15:21:10 -0300, LLTYK wrote: >> Disabled, so you automatically get better performance. I don't think you >> should have to tweak Tapestry options to get better performance. > Good point. But a similar arg

Re: Live reload in production?

2011-04-20 Thread Mark
> Good point. But a similar argument can be used: enabled, so you get a faster > development environment without tweaking options. My gosh, these decisions > are hard. :) Couldn't it be enabled by default in development mode and disabled by default in production mode? Isn't that how HTTPS and some

Re: Live reload in production?

2011-04-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Apr 2011 15:21:10 -0300, LLTYK wrote: Disabled, so you automatically get better performance. I don't think you should have to tweak Tapestry options to get better performance. Good point. But a similar argument can be used: enabled, so you get a faster development environment wit

Re: Live reload in production?

2011-04-20 Thread LLTYK
Disabled, so you automatically get better performance. I don't think you should have to tweak Tapestry options to get better performance. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Live-reload-in-production-tp6288037p6291747.html Sent from the Tapestry Users mailing

Re: Live reload in production?

2011-04-20 Thread Adam Zimowski
> What I think should be discussed is what's the best default value for it: > enabled or disabled? That, to us makes no difference, as long as the option is there in 5.3 :-) On Wed, Apr 20, 2011 at 12:11 PM, Thiago H. de Paula Figueiredo wrote: > On Wed, 20 Apr 2011 13:32:17 -0300, Mark wrote:

Re: Live reload in production?

2011-04-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Apr 2011 13:32:17 -0300, Mark wrote: I understand the problems with giving people too many options. However it can be really tricky to decide what should be configurable and what need to be fixed. I wouldn't want to use a word processor that only allowed me to type in Times Roman be

Re: Live reload in production?

2011-04-20 Thread Mark
> Does anyone out there rely on live class > (template, message catalog, whatever) reloading in their live, > production application? > > and what critical benefit does this offer? I've used live class reloading on a production system a few times, but it always felt "wrong" to me. :) However

Re: Live reload in production?

2011-04-20 Thread Massimo Lusetti
On Wed, Apr 20, 2011 at 1:36 AM, Howard Lewis Ship wrote: > On Tue, Apr 19, 2011 at 4:22 PM, Adam Zimowski wrote: >> Excuse me asking, but with class reloading disabled in production, >> template reloading still works, correct? >> >> My designer who mostly does TML's expects templates be reloada

Re: Blog Post: Tapestry Magic #1

2011-04-20 Thread Taha Hafeez
Thanks for the tweets!! regards Taha On Wed, Apr 20, 2011 at 7:46 PM, Massimo Lusetti wrote: > On Wed, Apr 20, 2011 at 10:11 AM, Taha Hafeez > wrote: > > > And another one... > > > > http://tawus.wordpress.com/2011/04/20/tapestry-magic-3-plugin-blocks/ > > Pretty nice and clever, I think not e

Re: Blog Post: Tapestry Magic #1

2011-04-20 Thread Massimo Lusetti
On Wed, Apr 20, 2011 at 10:11 AM, Taha Hafeez wrote: > And another one... > > http://tawus.wordpress.com/2011/04/20/tapestry-magic-3-plugin-blocks/ Pretty nice and clever, I think not everyone knows you can use this technique. Kudos to you -- Massimo http://meridio.blogspot.com --

How do I refresh form field components in a zone?

2011-04-20 Thread LLTYK
I see that magically does this somehow, I point it's zone parameter to zones containing other s all the time, and it works. Yet manually refreshing a zone with a results in complaints of not being in a form. How do I put form fields in a zone with the form being outside the zone? -- View this

Re: Live reload in production?

2011-04-20 Thread Adam Zimowski
>>probably have to introduce a new symbol to allow this to be enabled in >>production. But I think the vast majority of deployments will not need At the very least, can there be a patch that could be applied to 5.3 source on this ? On Wed, Apr 20, 2011 at 7:56 AM, Thiago H. de Paula Figue

Re: Live reload in production?

2011-04-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Apr 2011 06:26:12 -0300, Vangel V. Ajanovski wrote: On 20.04.2011 01:36, Howard Lewis Ship wrote: Well, then, you're screwed in Tapestry 5.3 :-) Looks like we'll Ouch. How about letting the community vote on this? I would hate to go back to JSP or PHP. You can stick to 5.2.4 w

Re: How to resolve --->>>>" [ +/- ] Exception: Unable to read OGNL expression '' "<<<----

2011-04-20 Thread LLTYK
value="ognl:cities" You need to spam "ognl:" all over. It's the T4 way. -- View this message in context: http://tapestry-users.832.n2.nabble.com/How-to-resolve-Exception-Unable-to-read-OGNL-expression-parsed-OGNL-expression-tp6290263p6290279.html Sent from the Tapestry Users mailing list archive

How to resolve --->>>>" [ +/- ] Exception: Unable to read OGNL expression '' "<<<----

2011-04-20 Thread nazarhussain_s
Hi, Getting the following exception for the in Home.html The code in the Home.page is given below changes related to "city" in Home.java - public IPropertySelectionModel getCities(){ if (getCountry().equals("US")) {

Re: Live reload in production?

2011-04-20 Thread Vangel V. Ajanovski
On 20.04.2011 01:36, Howard Lewis Ship wrote: > Well, then, you're screwed in Tapestry 5.3 :-) Looks like we'll Ouch. How about letting the community vote on this? I would hate to go back to JSP or PHP. > probably have to introduce a new symbol to allow this to be enabled in > production. But I th

Re: Live reload in production?

2011-04-20 Thread Vangel V. Ajanovski
On 19.04.2011 19:11, Howard Lewis Ship wrote: > Out of curiosity ... does anyone out there rely on live class > (template, message catalog, whatever) reloading in their live, > production application? Now, normally, I'd think not, because the > deployed app will be packaged in a WAR and the unit o

Re: Blog Post: Tapestry Magic #1

2011-04-20 Thread Taha Hafeez
And another one... http://tawus.wordpress.com/2011/04/20/tapestry-magic-3-plugin-blocks/ regards Taha On Tue, Apr 19, 2011 at 1:00 PM, Guerin Laurent wrote: > Very interesting posts Taha ! > I will follow your blog :-) > > Laurent > > -Message d'origine- > De : Taha Hafeez [mailto:tawu

Re: Live reload in production?

2011-04-20 Thread antalk
We have 2 live webapps running and we do not use or rely on live class reloading. Even more, i dont even have access or allowance to change a production website at runtime. Our policy is that everything needs to be tested and accepted before even going to production. If something is wrong or needs