...and there has been some time away from Tapestry, a few months now and then. But now I'm working on it again and I'm WAAAY behind schedule :(
*---------------------* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Tue, Aug 12, 2014 at 3:31 PM, Muhammad Gelbana <m.gelb...@gmail.com> wrote: > Yes I'm talking about the Zone component. But I've set an ID to the zone > it's still appended with a suffix to assure uniqueness. In this specific > case, the zone was loaded using ajax. I've been checking the code of > built-in mixins and I believe "RenderClientId" should force the zone to > render the ID i'm assigning. > > Honestly I've spent a lot of time reading the documentations in the past > (v5.0.x) but 2 bad things happened since then: > > 1. I built some wrong concepts about tapestry that are still being > cleared up (literally) today ! > 2. Tapestry changed a lot > 3. I didn't re-read the docs and settled only on using it as a > reference > > Sadly am away from my machine and I can't experiment with what I just > learned today soon enough > > But basically let me paraphrase, you are saying that I can display a Zone > whether by ajax or within a loop just by assigning it's ID my self ? > > *---------------------* > *Muhammad Gelbana* > http://www.linkedin.com/in/mgelbana > > > On Tue, Aug 12, 2014 at 3:17 PM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> On Mon, 11 Aug 2014 10:09:07 -0300, Muhammad Gelbana <m.gelb...@gmail.com> >> wrote: >> >> Why don't Tapestry allow developers to *optionally* assign client-side >>> IDs to components before rendering them ? With every iteration in a loop and >>> with every page render... >>> >> >> What components are you talking about? Most components, if not all, which >> have an HTML id autogenerated already have an 'id' or 'clientId' parameter >> you can use to provide your own id. If there's some component which >> doesn't, please let us know. >> >> Reading documentation sometimes seems like an old, forgotten art . . . :P >> >> From your previous thread, you seem to be talking about Zone. Here's the >> 5.4 version of its JavaDoc: http://tapestry.apache.org/5. >> 4/apidocs//org/apache/tapestry5/corelib/components/Zone.html. Check the >> Component Parameters section. >> >> Name: id >> Type: String >> Description: If bound, then the id attribute of the rendered element will >> be this exact value. If not bound, then a unique id is generated for the >> element. >> >> -- >> Thiago H. de Paula Figueiredo >> Tapestry, Java and Hibernate consultant and developer >> http://machina.com.br >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >