|
Dirk, thanks! This finally helped. I had been
trying to set the stateful parameter, but I finally figured out I was using a
static-binding rather than a dynamic binding. I figured since "false" was a
constant, I should use a static binding in that case, but I guess not. The
posting you directed me to caused me to look at the direct XML that Spindle
produces and I noticed the difference. As soon as I set things correctly, things
worked fine. Doh!
So this then raises another question: What are the
differences between all the various binding types that Tapestry/Spindle
supports? Should I just be using dynamic bindings everywhere? I think I got
throw off by Spindle's choices and my equating constants to "static." Had I been
editing the XML directly, I probably would have just used "binding" and it would
have worked fine. Spindle presented me with a bunch of choices and so I picked
the one that seemed the most obvious. Should I just be using dynamic bindings
every time? If not, why, when, and where would I use the other types?
Previously, I had thought that "dynamic" was just used for OGNL expressions
accessing beans. Should it be used for anything Java-like (I mean, OGNL != Java,
so I didn't expect that "false" would be valid syntax for that).
In any case, I read on the Wiki that somebody is
rewriting the tutorial. Some treatment of this issue would probably make sense,
particularly for people using Spindle rather than editing the XML raw. (BTW,
this is not a slam on Spindle; it's a fine tool that really helps
out.)
-- Dave
|
- [Tapestry-developer] Stale session Dave Roberts
- Re: [Tapestry-developer] Stale session Dave Roberts
- Re: [Tapestry-developer] Stale session Dirk Olmes
- Re: [Tapestry-developer] Stale session Dave Roberts
- Re: [Tapestry-developer] Stale sessi... Howard M. Lewis Ship
- Re: [Tapestry-developer] Stale ... Dave Roberts
- Re: [Tapestry-developer] Stale sessi... Christian Sell
- Re: [Tapestry-developer] Stale ... Howard M. Lewis Ship
- Re: [Tapestry-developer] St... Dave Roberts
- Re: [Tapestry-developer... Howard M. Lewis Ship
- Re: [Tapestry-developer] Stale sessi... Christian Sell
- Re: [Tapestry-developer] Stale ... Dave Roberts
- [Tapestry-developer] jdbc julie ann lim
- [Tapestry-developer] stale session Christian Sell
