Re: Easier Form Manipulation, how do i...?

2006-07-05 Thread robertz
I've used a messy kludge in situations like this. Messy... kludgy but it /does/ work. =) The gist of the idea is that you render your form fields like normal, using the list edit. You also render a @Hidden field (make sure to set the "encode" property to false). Now you use DOM to add your fiel

Re: This would be a handy tool

2006-08-03 Thread robertz
That would be an awesome tool. I've been thinking about some sort of utility along those lines, especially since I've been revamping a ton of templates in the last few days (to use less ognl)... it would probably be worth my time to create something like this... at the very least some sort of "dyna

RE: This would be a handy tool

2006-08-03 Thread robertz
hm... won't work. Consider: ognl:visit.user.login Suppose that you're using tap4 and visit is an abstract method, injected in. You'll get an exception since the method is abstract. Suppose you use the abstract instantiator that howard wrote to instaniate the page/component class. Fine... now you'll

RE: This would be a handy tool

2006-08-03 Thread robertz
> I have always felt that the only true way to test is live. Certainly. :) Such a tool would in no way eliminate the need to live testing. It would merely (hopefully) cut down on typos. ;) Consider, for example, my recent set of refactoring I did. A lot of stuff like: ognl:visit.user.login got cut

Re: Checkbox inside contrib:table (again)

2006-08-08 Thread robertz
Baz Robert > Hello there! I've searched the list I got very surprised on how many > questions about this subject, and how many psychedelic answers. > Is there an easy (hack free) way to add a checkbox to a table > component? Is there a good example? Would there be a good soul to give > it

Re: call javascript method on button click

2006-08-08 Thread robertz
1)Tapestry will normally render whatever you put, so there's no issue with having the button w/out a jwcid attribute. That's barking up the wrong tree. 2)The error that you're getting when you put jwcid says that the component is in an ignored block of text. Here are some examples of ignored blocks

Re: @Block, accessing the caller's properties

2006-08-10 Thread robertz
Note that "getInvoker" is a 4.x idiom. If you're using tapestry 3.x, you want the "getInserter()" method (deprecated in favor of getInvoker in 4.0). You can also do interesting things like: and then your block can do something like: blockComponent.getInvoker() (or getInserter() for 3.x).getBindin

Re: Checkbox inside contrib:table (again)

2006-08-10 Thread robertz
On Fri, Aug 11, 2006 at 08:26:51AM +1000, Murray Collingwood wrote: > When you are using the contrib:Table you specify the columns parameter for > each column to > appear in your table. I think you understand this but you haven't mentioned > much detail. > > So, in Robert's example there are 3

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-17 Thread robertz
Just thought I would mention, for all us maven newbies... I just found this announcement (dated April 26 2006) about a free maven 2 book on TSS: http://www.theserverside.com/news/thread.tss?thread_id=40126 The free maven 2 book mentioned there is still available. Robert > Hi there guys, > > Finna

Re: should/is Tagestry getting rid of ognl?

2006-08-29 Thread robertz
My understanding is that tap4, internally, uses ognl much less than before. In terms of binding properties, since tap4 lets you develop custom binding mechanisms, you could always write your own replacement and plug it in. But then, Howard's already done that. :) Take a look at http://howardlewissh

Re: Few questions (contrib:table and link )

2006-08-31 Thread robertz
Depending on the complexity of your confirmation dialog, you can do something simple, too, like taking advantage of informal parameters. :) Something like: Purge Robert > Vinicius Carvalho wrote: >> 1st: Is there an way to have an confirmation message for my >> DirectLink? Like showing an confir

Re: Popup on LinkSubmit

2006-05-09 Thread robertz
> On 5/9/06, linuja <[EMAIL PROTECTED]> wrote: >> >> Hi, Henri. The code in the wiki( >> http://wiki.apache.org/jakarta-tapestry/PopupLinkSubmit) is not full, >> can >> you show the *PopupLinkSubmit.script*, *PopupLinkSubmit.jwc* and the >> PopupDirectLink.java? > > > Sorry, I forgot them. I have P