Re: Hi Everyone in Tapestry Land :-)

2016-11-25 Thread rapidtransit440
Maybe this is a good time to discuss how well with some of Tapestry's concepts could translate into a modern approach. There is a bunch of component oriented frontend frameworks could be a base for a good isomorphic Java framework? I've dabbled with Aurelia and really like it On Friday, Novembe

Re: Problem with POST requests

2016-09-27 Thread rapidtransit440
I will try that, thanks. I'll look into the redirect more, I can see why it is a bad idea. -Original Message- From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tue, Sep 27, 2016 10:12 am Subject: Re: Problem with POST requests On Tue, 27 Sep 2016 10:50:29 -0300, wrote: >

Re: Problem with POST requests

2016-09-27 Thread rapidtransit440
public class EntityLinkTransformer implements PageRenderLinkTransformer{ @Override public PageRenderRequestParameters decodePageRenderRequest(Request request) { if(StringUtils.isNotEmpty(request.getPath())) { CachedCategory category; Product product;

Problem with POST requests

2016-09-25 Thread rapidtransit440
I'm using Elasticsearch, my first implementation involved processing a user request (verifying that there facet filters are valid) in the request chain and then sending a redirect short circuiting the request pipeline. Now here's the problem. I moved the processing into a component to make it mo

Re: org.apache.tapestry5.services.javascript.Initialization.with(Object... arguments)

2016-09-22 Thread rapidtransit440
Wouldn't jsSupport.require("foo").invoke("myFunc").with("bar"); Work? IMHO if the library is your own (a bit from a mixin that adds a spinner on ajax buttons and then removes it on a response), ajaxResponseRenderer.addCallback((JavaScriptCallback) javascriptSupport -> { javascri

Re: Configuring RequireJS?

2016-09-14 Thread rapidtransit440
Ha, I was so fixated on trying to configure it through a Module I forgot about that -Original Message- From: Cezary Biernacki To: Tapestry users Sent: Wed, Sep 14, 2016 1:55 pm Subject: Re: Configuring RequireJS? Hi, First, if you go to source code of org.apache.tapestry5.services.ja

Configuring RequireJS?

2016-09-13 Thread rapidtransit440
I'm using UIKit in place of Bootstrap, I also needed to add a module structure, since UI Kit's dependencies look only within the base directory I tried to do this: @Contribute(ModuleManager.class) public static void provideAliases(List callbacks){ callbacks.add(new ModuleConfigu

RE: best way to rebind events after a zone rerenders

2016-09-06 Thread rapidtransit440
I'm not in front of my computer, but what you can do is add a script to your AjaxResponseRenderer as a required dependency and it will be called Everytime your request receives a response. That's how I do it for a pop up notification Sent from AOL Mobile Mail On Tuesday, September 6, 2016 Qbyt

Re: Problems with Form Fragments, JRebel, and BeanEditForm

2016-03-05 Thread rapidtransit440
Haha, first thing I did a day before that issue was raised was search JIRA for an issue with the form fragments and didn't find anything, I thought I was just being stupid! For some reason my class was being reloaded once but never a second time, but I figured out they weren't being compiled to

Problems with Form Fragments, JRebel, and BeanEditForm

2016-03-04 Thread rapidtransit440
Using the form fragment: Separate Ship To? I keep getting this error: org.apache.tapestry5.ioc.internal.util.TapestryException Parameter(s) 'TriggerFragment.fragment' are required for org.apache.tapestry5.corelib.components.Checkbox, but h