On Tue, 24 Nov 2009 17:29:26 -, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
You can't use Tapestry components to do this, but you can easily @Inject
the Request and its ListString getParameterNames() and String
getParameter(String name) methods to get what was submitted.
Hi,
Which is the simplier way to capture the onChange event of a Select component
and treat it in the page Class on the appropriate Event Handler? My goal is to
create a Component that renders a Select component to locale switching.
I only could do that (in another situation) using the
Hi All,
what do you use for generating .tml empty files and other standard T5
stuff in Eclipse 3.5?
Googling around, I found Spindle (http://spindle.sourceforge.net/) but
it seems that its development was stopped at the time of the Tapestry 3
version and that there is not any plan to support more
Hi,
I had a requirement to do this previously and used the example provided in
Tapestry 5: Building Web Applications, around page 281 - the book (or at
least excerpts) is available on the net I think if you Google - no point in
me pasting a code example, as my code is heavily customised. Hope
It's on page 225 of my paper copy. A simple bit of javascript:
t:select value=selectedLocale ... onchange=this.form.submit()/
On Wed, Nov 25, 2009 at 9:49 AM, Jim O'Callaghan jc1000...@yahoo.co.ukwrote:
Hi,
I had a requirement to do this previously and used the example provided in
U can check this: http://code.google.com/p/loom-t5/
I've personally never used it but i know of some colleagues who use it.
There are also some eclipse code templates on the wiki:
http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates
On Wed, Nov 25, 2009 at 3:24 PM, Alessandro
Hello again,
I'm extremely happy to close this one off. I _finally_ found the source
of the problem today.
As it turns out, the lightbox solution I was using was including its own
version of effects.js which was quite old - and conflicting with the one
already provided by Tapestry.
Once I
Thanks for the answers.
I thought I could do it without forcing form submission, like I said with the
onChange manipulation in the page Class (that i think it uses Ajax).
The form submission that you said works fine, but I have a problem.
Like I said, I'm creating a component that renders this
You need to simluate submit button click, so you could clearly separate form
events.
A few days before I posted complete mixin code for similar issue.
If you cannot find it in archives, let me know - I could send the source.
On Wed, Nov 25, 2009 at 8:08 PM, Everton Agner
For this situation, that would be a workaround...
I think I'll add ChenilleKit core dependency to the project (and later for the
Library) and use the OnEvent mixin for properly handling Change event on Select
components...
Thanks!
Everton
De: Ilya
Hi, I have a page and I need the onActivate() method to do things
there, but *only* when it shown to the user.
In the page I have a upload (tapestry-upload), and when I upload the
file... onActivate() is called again... :-(
Is there some way to say... onActivate() but avoiding events like
file
Em Wed, 25 Nov 2009 17:11:47 -0200, Alfonso Quiroga
alfonsose...@gmail.com escreveu:
Hi, I have a page and I need the onActivate() method to do things
there, but *only* when it shown to the user.
Use the @SetupRender event instead of onActivate(). It is only triggered
when a page is
Thiago that simply works perfect. Thanks again, it's really good to
have so fast and quality answers, greetings from Argentina
On Wed, Nov 25, 2009 at 4:14 PM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
Em Wed, 25 Nov 2009 17:11:47 -0200, Alfonso Quiroga alfonsose...@gmail.com
Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso Quiroga
alfonsose...@gmail.com escreveu:
Thiago that simply works perfect. Thanks again, it's really good to
have so fast and quality answers, greetings from Argentina
De nada! :) Greetings from Belo Horizonte, Minas Gerais, Brazil! But Pelé
is
Mm.. I prefer when you talk about tapestry5 ;) thanks again
On Wed, Nov 25, 2009 at 4:39 PM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso Quiroga alfonsose...@gmail.com
escreveu:
Thiago that simply works perfect. Thanks again, it's really
I'm afraid its time to go for something a bit more structured:
@ImportJavaScript({
@Import(classpath:foo.js filter=IE5 combine=false),
@Import(context:bar.js)})
public class MyJSComponent ...
... also the term import is much more accurate than include.
This raises some ambiguities: what if
Em Wed, 25 Nov 2009 19:21:07 -0200, Howard Lewis Ship hls...@gmail.com
escreveu:
I'm afraid its time to go for something a bit more structured:
@ImportJavaScript({
@Import(classpath:foo.js filter=IE5 combine=false),
@Import(context:bar.js)})
public class MyJSComponent ...
Looks good to
+1 for Maradona
On Wed, Nov 25, 2009 at 9:41 PM, Alfonso Quiroga alfonsose...@gmail.com wrote:
Mm.. I prefer when you talk about tapestry5 ;) thanks again
On Wed, Nov 25, 2009 at 4:39 PM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
Em Wed, 25 Nov 2009 17:24:33 -0200, Alfonso
+5 for Arshavin. LOL
On Wed, Nov 25, 2009 at 11:18 PM, Andreas Andreou andy...@di.uoa.gr wrote:
+1 for Maradona
On Wed, Nov 25, 2009 at 9:41 PM, Alfonso Quiroga alfonsose...@gmail.com
wrote:
Mm.. I prefer when you talk about tapestry5 ;) thanks again
On Wed, Nov 25, 2009 at 4:39 PM,
+1 for Maradona (as a PLAYER, I mean the past, not now!!)
On Wed, Nov 25, 2009 at 7:21 PM, Igor Drobiazko
igor.drobia...@gmail.com wrote:
+5 for Arshavin. LOL
On Wed, Nov 25, 2009 at 11:18 PM, Andreas Andreou andy...@di.uoa.gr wrote:
+1 for Maradona
On Wed, Nov 25, 2009 at 9:41 PM, Alfonso
Hi, I made a dispatcher for web-security and it really works fine. As
I'm not using tapestry-hibernate, I want to create a dispatcher for
opening and closing hibernate-sessions.
By now I did it with a RequestFilter and works fine, the problem is
that the RequestFilter filters *everything*, assets,
Answering to myself :)
It is possible to *override* dispatchers... in this case, I did
override PageRender.
In contributeMasterDispatcher(...) I added :
configuration.overrideInstance(PageRender, MyDispatcher.class);
where MyDispatcher is the similar to PageRenderDispatcher (default)
but
I think you're going at this the wrong way, in this particular instance.
I think you'd be better off to do this the way tapestry-hibernate does
it. Basically, you instaniate the session the first time it's needed,
and then use PerThreadManager to clean up the session at the end of
the
In my case I don't open the session programatically, the session opens
when it's needed (getCurrentSession() bounded to current thread). I
think the only diference is closing the session... I do it inside the
dispatcher, and tapestry-hibernate is better (as you say) because it
closes when the
Last thing about this... I found something about performance: I did it
with de tapestry-hibernate way, this is using the PerThreadManager.
I thought it was going to be the same or better, but NO, it's the
*same* as doing the RequestFilter way, I mean, for every asset (js,
css) it will try to close
Just post it, If you want to HELP hehehe Thanks
--
View this message in context:
http://old.nabble.com/Any-Examples-or-LINK-about-T5.1.0.5-Zone%2C-Block-with-Javascript--tp26524982p26524982.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
See this post for something to base your own implementation on.
http://tinybits.blogspot.com/2009/05/simple-onevent-mixin.html
On Wed, Nov 25, 2009 at 7:32 PM, Everton Agner
everton_ag...@yahoo.com.brwrote:
For this situation, that would be a workaround...
I think I'll add ChenilleKit core
27 matches
Mail list logo