[Tacos-devel] IEngineService.getLink()

2005-12-06 Thread Reggie Chan
I was trying to upgrade our project's tapestry from beta-11 to rc-1 and found that it is now no longer compatible with tacos-alpha-6 because of the change of method signature in org.apache.tapestry.engine.IEngineService from public ILink getLink(IRequestCycle cycle, boolean post, Object parame

[Tacos-devel] [JotSpot] Changes to BugTracker by admin

2005-12-06 Thread noreply
Thought you might like to know that 'admin' modified JotSpot page BugTracker on 12/6/2005 7:25PM To view the latest revision (7), go to: http://tacoscomponents.jot.com/BugTracker To unsubscribe, go to: http://tacoscomponents.jo

Re: [Tacos-devel] StaleLink exceptions not in error pane

2005-12-06 Thread Felix Sun
:), too many thinks jesse, we are the team.On 12/6/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Aha! Thanks felix :) On 12/6/05, Felix Sun < [EMAIL PROTECTED]> wrote: done! added AjaxStaleSession page to prevent doctype in ajax response.changed AjaxExceptionPresenter to let StaleSessionException us

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Leonardo Quijano Vincenzi
Jesse Kuhnert wrote: -) If your component is not going to be in a loop, and is also not nested within a form (Ie is a IFormComponent), then you can safely use the jwcid="@ your updateComponents would then look like updateComponetns="{'unique id>'}". This is not an option for reusable components

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Jesse Kuhnert
Sorry for not replying earlier..I'm going to write a user documentation page for the id "situation" as it currently exists, but here is a very basic summary of what people should be doing.-) If your component is not going to be in a loop, and is also not nested within a form (Ie is a IFormComponent

Re: [Tacos-devel] oh NO why me ( any textarea + tacos + ff = nono )

2005-12-06 Thread Jesse Kuhnert
I'll be fixing this today. Sorry for the inactivity on my part. Events out of my control disrupted my attention yesterday and today my day job is requiring a lot of attention.It will be fixed today and beta-1 will come out as well. On 12/6/05, Tim Downey <[EMAIL PROTECTED]> wrote: Yes.  That is wh

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Leonardo Quijano Vincenzi
I just haven't put the JIRA issue, but I think that tapestry components need a global UniqueId property that do this job. In AbstractComponent, or IComponent or such. Cosmin Bucur wrote: But then again , I don;t know , this is the best sugestion i could come up with , if you guys know a better

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Michael Waluk
Hi,   I do have it working with things like...
I was mainly just wondering if that is the best way to do it.  I don't use the direct="true" setting so it works fine.  I was also wondering if the Tapestry ID and the HTML ID have

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Cosmin Bucur
But then again , I don;t know , this is the best sugestion i could come up with , if you guys know a better way of dooing what he needs done , i'm sure he'll gladly listen :) And be sure i'd also be taking notes On 12/6/05, Cosmin Bucur <[EMAIL PROTECTED]> wrote: > I guess if one needs to do such

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Cosmin Bucur
I guess if one needs to do such a thing , one should make sure that all requirements for this to work are met . Other than that ... the only thing left that's wierd , is this restriction that tapestry imposes of not calling the same instance of a component twice in the page On 12/6/05, Leonardo

Re: [Tacos-devel] oh NO why me ( any textarea + tacos + ff = nono )

2005-12-06 Thread Tim Downey
Yes.  That is what I mean.  Any ajax response that contains a textarea will fail on FF.  It doesn't matter if the textarea was rendered as a tapestry component or is just a standard HTML textarea.On 12/6/05, Cosmin Bucur <[EMAIL PROTECTED] > wrote:yea static page works , i was getting concerned , s

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Leonardo Quijano Vincenzi
Cosmin Bucur wrote: I don't understand why the jwcid and the id have to match . So tapestry won't render the page if your components have subcomponents which end up having the same name ? that sux Anywais , I never needed to do this , but I do have lists in my apps , and within the listable com

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Cosmin Bucur
I don't understand why the jwcid and the id have to match . So tapestry won't render the page if your components have subcomponents which end up having the same name ? that sux Anywais , I never needed to do this , but I do have lists in my apps , and within the listable components I make , the s

Re: [Tacos-devel] oh NO why me ( any textarea + tacos + ff = nono )

2005-12-06 Thread Cosmin Bucur
yea static page works , i was getting concerned , since i just decidded to start developing for ff and give up msie . looks like it's only when the page is loaded through an ajax response ... On 12/6/05, Cosmin Bucur <[EMAIL PROTECTED]> wrote: > are you saying that a static html page with a texta

Re: [Tacos-devel] oh NO why me ( any textarea + tacos + ff = nono )

2005-12-06 Thread Cosmin Bucur
are you saying that a static html page with a textarea in a form would produce the same results in Firefox ? that sounds ... disturbing On 12/6/05, Tim Downey <[EMAIL PROTECTED]> wrote: > That is what I have seen as well. If you simply use a plain, standard > non-Tapestry using basic HTML and n

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Michael Waluk
That works fine for the HTML ID, but how to get the jwcid to match?  And more importantly, how to make them unique within the page?  I've tried using ognl inside the jwcid attribute value before, but haven't had any luck.   What I have working now is letting tapestry create the sub-component's T

Re: [Tacos-devel] oh NO why me ( any textarea + tacos + ff = nono )

2005-12-06 Thread Tim Downey
That is what I have seen as well.  If you simply use a plain, standard non-Tapestry using basic HTML and no _javascript_ you can reproduce the issue. It's almost as if it is some sort of Firefox bug.On 12/6/05, Cosmin Bucur <[EMAIL PROTECTED]> wrote: Ok so I had to do this mini app and I figure i

[Tacos-devel] oh NO why me ( any textarea + tacos + ff = nono )

2005-12-06 Thread Cosmin Bucur
Ok so I had to do this mini app and I figure i'd give it a shot with tacos and make it 100% ajax . It all went ... relatively good and i have now finished 99.99 % of it successfully . It helped me find 2 VERY anoying bugs however ( one of them i'll talk about later in the tapestry ml a bit ) . th

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Cosmin Bucur
Won't it work if you give it a dynamic id value with ognl id="ognl:myFirstId" ? On 12/6/05, Michael Waluk <[EMAIL PROTECTED]> wrote: > By giving it id="myDiv" you are explicitly naming it. If I did that inside > my component, and used the component multiple times on the page you would > get dupl

Re: [Tacos-devel] StaleLink exceptions not in error pane

2005-12-06 Thread Jesse Kuhnert
Aha! Thanks felix :) On 12/6/05, Felix Sun <[EMAIL PROTECTED]> wrote: done! added AjaxStaleSession page to prevent doctype in ajax response.changed AjaxExceptionPresenter to let StaleSessionException use it too.make stale session check after response builder setup. On 12/5/05, Jesse Kuhnert <[EMAI

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Michael Waluk
By giving it id="myDiv" you are explicitly naming it.  If I did that inside my component, and used the component multiple times on the page you would get duplicate IDs - and the 2nd instance wouldn't get updated with the results.   The real problem is when I place 2 instances of the same component

Re: [Tacos-devel] How-to create dynamic sub-component ids?

2005-12-06 Thread Andrea Chiumenti
I'm doing it regularly. first I don't use @Any into template but I define a component into my page/component then I reference it as updateComponents="ongl:{components.myDiv.id, otherId}" I hope this may help. Cheers, kiumaOn 12/5/05, Cosmin Bucur <[EMAIL PROTECTED]> wrote: the updateCompo

Re: [Tacos-devel] Demo friendly URLs

2005-12-06 Thread Dennis Fleurbaaij
Leonardo Quijano Vincenzi wrote: Dennis Fleurbaaij wrote: Leo, Agree on the Hibernate part, although it's kindof the de-facto standard for database access I guess. And most people don't use Tacos just-for-fun but will need to implement it in larger environments so this might be a good idea.

Re: [Tacos-devel] Demo friendly URLs

2005-12-06 Thread Leonardo Quijano Vincenzi
Dennis Fleurbaaij wrote: Leo, Agree on the Hibernate part, although it's kindof the de-facto standard for database access I guess. And most people don't use Tacos just-for-fun but will need to implement it in larger environments so this might be a good idea. On the other hand, if you strip th

Re: [Tacos-devel] Demo friendly URLs

2005-12-06 Thread Dennis Fleurbaaij
Leo, Agree on the Hibernate part, although it's kindof the de-facto standard for database access I guess. And most people don't use Tacos just-for-fun but will need to implement it in larger environments so this might be a good idea. On the other hand, if you strip the annotations it's just a