this.myZone = $('myZoneID');
this.myZone.observe(Tapestry.ZONE_UPDATED_EVENT, this.doSomeFunction());
Cheers,
Daniel
joshcanfield wrote:
>
>> The Zone raises a JS event when is updated.
>
> You're right, my bad. I was looking at the form injector when I
> replied. It doesn't raise an event a
Explanation:
- Form inside Zone component
- Loop component inside the Form containing Checkboxes.
- Form submits via AJAX
- Event handler returns a MultiZoneUpdate to update 2 Zones, one of these is
the Zone that contains the form, the other is an order summary panel which
has ActionLinks to remo
Em Sat, 12 Dec 2009 00:38:02 -0200, Howard Lewis Ship
escreveu:
I've also created pages that directly output RSS, which was nice ...
to be able to use T5 templating to generate the RSS content was a
snap!
RSS or Atom? :)
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5
I've also created pages that directly output RSS, which was nice ...
to be able to use T5 templating to generate the RSS content was a
snap!
On Fri, Dec 11, 2009 at 11:49 AM, Thiago H. de Paula Figueiredo
wrote:
> Em Fri, 11 Dec 2009 16:57:28 -0200, Ilya Obshadko
> escreveu:
>
>> Could someone p
Yes, i need to trigger some server-side code
2009/12/11, Thiago H. de Paula Figueiredo :
> Em Fri, 11 Dec 2009 11:50:44 -0200, marioosh.net
> escreveu:
>
>> So... how to do something like ok and handle onClick
>> event on it ?
>
> It depends. Do you need to trigger any server-side code or not?
>
Em Fri, 11 Dec 2009 16:57:28 -0200, Ilya Obshadko
escreveu:
Could someone point out how to create RSS feed using Tapestry page?
Create a page and return a StreamResponse (in this case, a
TextStreamResponse) containing the RSS output on its onActivate() method.
--
Thiago H. de Paula Figu
Could someone point out how to create RSS feed using Tapestry page?
I tried the following (using
http://wiki.java.net/bin/view/Javawsxml/Romelibrary):
- output feed contents to property and then use t:outputraw to display it
- output feed contents directly using beforeRender ( MarkupWriter writer
Hi Jakub,
I'm not sure that I got what you are suggesting to me?
Can you explain it a little bit to me.
Bojan
Jakub Vlasak wrote:
>
> Or you can do it from the other side. If the string isn't contained in the
> array of your pages, then rewrite the url.
>
> On Thu, Dec 10, 2009 at 7:49 PM,
Thanks Inge. I was hoping for a different answer, but this makes sense.
Jacob
On 11-Dec-09, at 4:02 AM, Inge Solvoll wrote:
I struggled earlier with this. Components bubble up, not down. Your
components won't be alerted that the form in your page was submitted.
If you need form fields in comp
Em Fri, 11 Dec 2009 11:50:44 -0200, marioosh.net
escreveu:
So... how to do something like ok and handle onClick
event on it ?
It depends. Do you need to trigger any server-side code or not?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, devel
So... how to do something like ok and handle onClick
event on it ?
2009/12/11, Thiago H. de Paula Figueiredo :
> Em Fri, 11 Dec 2009 11:34:37 -0200, marioosh.net
> escreveu:
>
>> This work:
>> ok
>> This doesn't:
>> ok
>>
>
> ActionLink nor EventLink can have any Javascript event hooked to them
Hi Thiago,
Thanks for the response - comments below.
>Tapestry-IoC create proxies around your service implementations, so, when
>you @Inject UserEntityManager, the object your receive is proxy that
>implements UserEntityManager, not BaseEntityManager. This means that the
>proxy will invoke a meth
Em Fri, 11 Dec 2009 11:34:37 -0200, marioosh.net
escreveu:
This work:
ok
This doesn't:
ok
ActionLink nor EventLink can have any Javascript event hooked to them
using the @OnEvent annotation (at least not yet). You have to write the
Javascript yourself, unless you're using Zones.
--
T
This work:
ok
This doesn't:
ok
What is going on ?
2009/12/11, marioosh.net :
> How to do onClick handler for my "ok" link (by annotation) ?
>
> ActionLink doesn't work for me :(
>
> http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
> ok
>
>
> public class Index {
>
> v
Thiago H. de Paula Figueiredo ha scritto:
> It should be configuration.add("tapestry.default-stylesheet",
> "context:styles/empty.css");
Thanks! Now the empty.css is in my page and everything works fine.
--
Alessandro Bottoni
Website: http://www.alessandrobottoni.it/
"Prediction is very diffic
How to do onClick handler for my "ok" link (by annotation) ?
ActionLink doesn't work for me :(
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
ok
public class Index {
void onAction() {
System.out.println("action");
}
@OnEvent(valu
Em Fri, 11 Dec 2009 10:23:11 -0200, Jim O'Callaghan
escreveu:
Hi,
Hi!
I have a service bound to an interface in the ioc registry. The
interface extends another interface and duplicates a method name and
parameter list
however the return type in the overridden method is a concrete clas
Em Fri, 11 Dec 2009 10:11:53 -0200, Alessandro Bottoni
escreveu:
[AppModule.java]
// Overriding the default.css
configuration.add("DEFAULT_STYLESHEET", "context:styles/empty.css");
It should be configuration.add("tapestry.default-stylesheet",
"context:styles/empty.css");
Any suggestion
Or you can do it from the other side. If the string isn't contained in the
array of your pages, then rewrite the url.
On Thu, Dec 10, 2009 at 7:49 PM, blueboy6 wrote:
>
> TNX Thiago,
>
> this really helped me a lot :)
>
> PS
> isn't url rewrite complicated to do when I have lots of diferent part
Hi,
I came across an interesting issue and thought I would post it so that it
might save someone else some time - I'm not sure if this is down to
questionable coding practise on my part causing the relevant classloader to
burp or Tapestry relevant ... the stack trace is at the bottom of the mail.
Thiago H. de Paula Figueiredo ha scritto:
>> http://tapestry.apache.org/tapestry5/guide/conf.html
>> and I tried to get rid of the default.css in both of the following ways:
>
> Try to set this configuration symbom in AppModule, method
> contributeApplicationDefaults(), instead of using web.xml.
>
Successfully created a filter inorder to avoid css problem,
public void contributePageRenderRequestHandler(
OrderedConfiguration configuration,
final ApplicationStateManager sessionManager,
final RequestGlobals requestGlobals, final LinkSource
linkSource)
{
Pag
Em Fri, 11 Dec 2009 07:15:37 -0200, Alessandro Bottoni
escreveu:
Hi All,
Hi!
http://tapestry.apache.org/tapestry5/guide/conf.html
and I tried to get rid of the default.css in both of the following ways:
Try to set this configuration symbom in AppModule, method
contributeApplicationDef
Em Fri, 11 Dec 2009 01:22:29 -0200, buckofive
escreveu:
Hi All,
Hi!
Have you tried Event.observe('form', 'submit', function() {
doCustomAjaxPost();return false; });?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and inst
Hi All,
I'm trying to use this Open Source CSS template:
http://www.opendesigns.org/design/?template=45 (Multiflex 3)
Unfortunately, it looks like that some of the CSS element defined by the
default.css of Tapestry 5 are not redefined by Multiflex and still came
to the surface, interfering with M
I struggled earlier with this. Components bubble up, not down. Your
components won't be alerted that the form in your page was submitted.
If you need form fields in components, you either have to put the entire
form in the component, or you need to avoid that the form fields depend on
form events.
26 matches
Mail list logo