Re: [T4.1.3] Tip for using using directlink and updatecomponents in a for loop

2007-11-15 Thread Jim Roycroft
is equivalent). So, I never had to have the link before the wrapper - but i believe (though never tried) that peekClientId() in IComponent is for this exact reason, so, in your first example, try updateComponents=ognl:components.componentWrapper.peekClientId() On 10/23/07, Jim

Re: [T4] One way to get the context path when you need to inject it straight into HTML

2007-11-01 Thread Jim Roycroft
The mailinglist/nabble formatting cut out some stuff... here's the relevant snippet: Jim Roycroft wrote: ... Note the path to csshover2.htc, obviously it's going to break if I don't get the context path in there. Here's my solution: style type=text/css media=screen

[T4.1.3] Tip for using using directlink and updatecomponents in a for loop

2007-10-22 Thread Jim Roycroft
I spent three hours on this silly thing so I hope this post will help you avoid that! I was testing this out with two iterations of the loop, and that's what caused me grief. As soon as I switched to four iterations, I figured out what was happening: I have a SimplePage.html which includes

Re: T4.1: Scriptaculous - automatically adding required js files

2007-10-16 Thread Jim Roycroft
contents and include it in any page that you want using: Jim Roycroft wrote: Using 4.1.3, I would like to make use of the Effect features provided by Scriptaculous... for example: div onclick=new Effect.SwitchOff(this) Click here to make this text disappear /div If I put that code

Re: [WARNING] Feedback for the AcegiSpringJava5FormBased wiki page

2007-02-16 Thread Jim Roycroft
) BasicProcessingFilter? Or to be ugly store it in Login.java's catch block so it may be displayed. Am I missing something or should I set the AuthenticationProcessingFilter in hivemodule.xml to override the default? Thanks for any help, Michael On 2/6/07, Jim Roycroft [EMAIL PROTECTED] wrote

Re: Feedback for the AcegiSpringJava5FormBased wiki page

2007-02-06 Thread Jim Roycroft
Wiki pages updated. Jim Roycroft wrote: I'd like to hang on for a bit to let Jesper update the wiki with any new things he has figured out. If I don't see any changes in another few days, I'll update it. Now, more new stuff for: AcegiSpringJava5Part2! (refactoring) 1. As specified

RE: Changing the default location of the component template

2007-02-06 Thread Jim Roycroft
Was there something else to this? Any changes to the pages that use the component? I cannot get this to work. I presume you meant getTemplate() as opposed to get$template(). Khan, Hatim wrote: Ok, it turns out that I can do the following to change the location of a custom component

RE: Changing the default location of the component template

2007-02-06 Thread Jim Roycroft
Nevermind, get$template() was absolutely correct! Man that's ugly Jim Roycroft wrote: Was there something else to this? Any changes to the pages that use the component? I cannot get this to work. I presume you meant getTemplate() as opposed to get$template(). Khan, Hatim