Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-22 Thread Howard Lewis Ship
The @IncludeJavascriptLibrary annotation changes the beginRender phase of your component to add the JavaScript. When a block within your component is rendered, the component's beginRender phase does not execute, just the beginRender phase of components *inside* the block. This can be accomplished

Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-22 Thread Gunnar Eketrapp
Hi! I had problem with jQuery since there is a conflict between jquery and prototype. If that's your problem google around for jQuery.noConflict() But you say that your .js is not loaded and that was not my problem. My problem was that jQuery methods didn't work. /oakstair 2009/11/23 alanearl

Re: hide tapestry4 palette "move up/move down"

2009-11-22 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/palette.html See the sort parameter - it defaults to SortMode.NONE. If you set it to SortMode.USER then the move up/down arrows are shown, otherwise they aren't. On Mon, Nov 23, 2009 at 4:35 AM, asianCoolz wrote: > may i

Help Tapestry5 Block with JavaScript? Anyone

2009-11-22 Thread alanearl
My Question is when one of my block has jquery. It will not load the jquery then action link perform. Any help is appreciated Thanks! My Code .tml Default Test My Class @IncludeJavaScriptLibrary({"jquery-1.3.2.min.js","test.js"}) @InjectComp

hide tapestry4 palette "move up/move down"

2009-11-22 Thread asianCoolz
may i know how to hide these 2 buttons? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: tapestry-examples-4.0.tar.gz source ?

2009-11-22 Thread asianCoolz
i found the source at http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#MhDrYiwa0D8/tapestry-4.0.2/examples/Workbench/src/java/org/apache/tapestry/workbench/palette/Palette.java&q=type="contrib:Palette"; - To unsubscribe

Re: Submit(with context) in Loop In Form

2009-11-22 Thread Shing Hing Man
Hi, Have you tried to set the defer parameter to false in the submit component ? http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Submit.html The following is a demo on how to use submit with context. http://lombok.demon.co.uk/tapestry5Demo/test/

Submit(with context) in Loop In Form

2009-11-22 Thread matt22
Hello, i have a problem with submit component with context, easy form with loop in TML: easy method in CLASS: @Property private Integer _testIndex; @OnEvent(value = "selected",component="testBut

Re: @IncludeJavaScriptLibrary with external script files ...

2009-11-22 Thread Bryan Lewis
Hmm. Maybe this page will help. It had a tip that worked for me. http://bbwebcraft.blogspot.com/2009/01/task-5-customize-eclipse-for-tapestry-5.html @Inject @Path("SomeFileName.js") private Asset someScript; @Environmental private RenderSupport renderSupport; void setupRender() { renderSu

Re: @IncludeJavaScriptLibrary with external script files ...

2009-11-22 Thread Howard Lewis Ship
Currently, there is none. On Sun, Nov 22, 2009 at 5:12 AM, Gunnar Eketrapp wrote: > Hi ! > > What is the syntax for loading external script files. > > Thanks in advance, > Gunnar Eketrapp > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and su

@IncludeJavaScriptLibrary with external script files ...

2009-11-22 Thread Gunnar Eketrapp
Hi ! What is the syntax for loading external script files. Thanks in advance, Gunnar Eketrapp

Re: Flash Served from Tapestry Context Not Playing

2009-11-22 Thread Howard Lewis Ship
On Fri, Nov 20, 2009 at 3:18 PM, Taylor Mathewson wrote: > Hi all, > > I found a possible problem and a workaround, and I just want to put it up > here in case anyone else encounters a similar problem. > > I have a Flex3 element embedded in a page.  It would load, but it wouldn't > run.  We stripp

Re: Multiple calls of method OnActivate()???

2009-11-22 Thread Howard Lewis Ship
It's a matter of the least non-desirable behavior. Tapestry's default scheme URL scheme results in very short, very human-like URLs, but adds the difficulty that it isn't reasonable to determine which URLs are for a page and which are bogus. We could resolve this in a couple of ways, the most effe

tapestry-examples-4.0.tar.gz source ?

2009-11-22 Thread asianCoolz
may i know where can i download tapestry-examples-4.0.tar.gz source ? i looking for source for tapestry 4 palette demo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@