Segregating apps into folders gives me an endless redirect

2016-08-03 Thread Andreas Bohnert
Hi! I'm trying to configure Tapestry to use an application folder like this: web.xml app /t5app/* AppModule: @Contribute(SymbolProvider.class) @ApplicationDefaults public static void applicationDefaults(MappedConfigurationString> configuration) { configuration.add

Limit the logging activity of the yuicompressor?

2013-06-24 Thread Andreas Bohnert
Hi, is there any way to control the logging activity of the yuicompressor? Provide options to the yuicompressor, provide your own ErrorReporter, switch off logging ... Any suggestions? Thanks, Andreas - To unsubscribe, e-m

How to check if js validation has failed before doing submit?

2011-12-15 Thread Andreas Bohnert
Hi, I am using tap 5.3, tapestry-jquery and JQueryDialog. On my ok-button handler I would like to check if the js validation has failed (required - for example), before I submit the form. I know I could use InternalUtils.isNonBlank(foo) on java side, but I want to do this on the client side.

Re: random generated ids inside zone after update

2011-12-12 Thread Andreas Bohnert
not change in the first place (unless it is really necessary. in a loop for example). however your approach is better than my name attribute workaround. I have to try it later. thank you very much! Andreas Dragan Sahpaski schrieb: Hi, On Mon, Dec 12, 2011 at 9:38 AM, Andreas Bohnert wrote

Re: random generated ids inside zone after update

2011-12-12 Thread Andreas Bohnert
Thanks Dragan for your quick response! I have tried 2. und 3. but I still get the random id for my form (I have bound the .submit() to an button pressed event, so I can not do 1.). I just wonder why your focus is on the zoneId (and not on the formId), because my zoneId do not change after the

random generated ids inside zone after update

2011-12-11 Thread Andreas Bohnert
Hi, the id of a form element changes after the Zone which contains the form is updated. (id before: loginForm, id after loginForm_13871283787...) I know, this is done by tapestry to prevent unwanted id clashes (see: What's that weird number in the middle of the client ids after a Zone is updat

Re: T5 Javascript API - docs?

2011-12-04 Thread Andreas Bohnert
it not based on Prototype. That work has begun, so hopefully we'll see the T5 object documentation fleshed out more pretty soon. On Fri, Dec 2, 2011 at 3:50 AM, Andreas Bohnert wrote: I was hoping for more than this :) "The T5 object represents a stable, documented, set of APIs ."

Re: T5 Javascript API - docs?

2011-12-02 Thread Andreas Bohnert
ember 2011 16:36, Andreas Bohnert wrote: Hi, I'm sure it is somewhere but I can not find any documentation for the T5 Javascript Framework. There is no link at http://tapestry.apache.org/javascript.html and no link at http://tapestry.apache.org/javascript-faq.html. please, can someone help

T5 Javascript API - docs?

2011-12-02 Thread Andreas Bohnert
Hi, I'm sure it is somewhere but I can not find any documentation for the T5 Javascript Framework. There is no link at http://tapestry.apache.org/javascript.html and no link at http://tapestry.apache.org/javascript-faq.html. please, can someone help me out? Thanks, Andreas ---

Re: best way to call serverside from js with tap 5.3

2011-12-02 Thread Andreas Bohnert
Ok, I see. Thanks! I will dig deeper into ajaxResponseRenderer.addCallback. it comes close to what I want. thank you! Barry Books schrieb: The simple answer is you don't. I think in 5.3 exceptions are encoded as JSON and you can figure this out but the current code has no error checking. You

Re: best way to call serverside from js with tap 5.3

2011-12-01 Thread Andreas Bohnert
thanks barry, this works very well, but there is one thing I can't figure out with this mixin: how do I know on js side if my tap event handler fails for some reason? (I trigger a custom event from js and would like to know if and for what reason my tap handler failed to take measures on js s

best way to call serverside from js with tap 5.3

2011-11-30 Thread Andreas Bohnert
hi! I want to use the dialog component of tapestry-jquerys ui components and I'm not sure about the best way to trigger the serverside from the javascript callback functions: - if a button is pressed: a.) create a link with ComponentResources using createEventLink( OK_DIALOG ).toAbsoluteURI(

Re: beanModel.reorder does not work on multiple fields

2011-04-27 Thread Andreas Bohnert
26. April 2011 20:14 You can find more informations here : http://download.oracle.com/javase/1.5.0/docs/guide/language/varargs.html 2011/4/26 Andreas Bohnert

Re: beanModel.reorder does not work on multiple fields

2011-04-26 Thread Andreas Bohnert
pril 2011 18:42 Hi Andreas, Try model.reorder("tododate","contextLabel"); The method signature is *BeanModel reorder(String... propertyNames);* Emmanuel

beanModel.reorder does not work on multiple fields

2011-04-26 Thread Andreas Bohnert
Hello! I use the following code to change the order of the columns of my grid: public BeanModel getModel() { if (model == null) { model = beanModelSource.createDisplayModel(TicketViewModelBean.class, componentResources.getMessages()); model.reorder("tododate,

Re: Can not build quickstart with maven

2011-01-27 Thread Andreas Bohnert
Kalle - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org Andre

Can not build quickstart with maven

2011-01-27 Thread Andreas Bohnert
Hi, I'm trying to build quickstart 5.2.4 with no success. These are the command lines I have used: mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org mvn archetype:generate -DarchetypeCatalog=http://tapestry.formos.com/maven-repository Same error message with Maven version n

Re: Using T5 and T3 side by side

2010-10-27 Thread Andreas Bohnert
and then grab the objects from there. You'll have to duplicate a bit of logic from T3 in that your Bridge service needs to check for the existence of the objects, create as required, and stash the objects back into the session/servlet context if necessary. Good luck! Robert On Oct 2

Using T5 and T3 side by side

2010-10-25 Thread Andreas Bohnert
Hi! We have started to port a fairly big tapestry3 application to tapestry5. It works very well, however it will take a while to complete the whole code. Are there any known issues/pitfalls if we run tapestry 3 and 5 code side by side? We don't want to login twice, so what is the recommended

Re: [ANN] JumpStart 4.11 released

2010-06-17 Thread Andreas Bohnert
I very much appreciate what you are doing! Thanks you, Andreas Geoff Callender wrote: Hi all, JumpStart 4.11 is ready to use. The latest additions are: * creating a client-side validator; and * turning off "validation bubbles". Here it is: http://jumpstart.doublenega

Re: Wrong link on issue tracking site

2010-06-04 Thread Andreas Bohnert
i.e. http://tapestry.apache.org/tapestry5.1/issue-tracking.html On Wed, Jun 2, 2010 at 17:05, Andreas Bohnert wrote: can somebody please change the link on the issue tracking site http://tapestry.apache.org/issue-tracking.html to http://issues.apache.org/jira/browse/TAP5? thank

Wrong link on issue tracking site

2010-06-02 Thread Andreas Bohnert
can somebody please change the link on the issue tracking site http://tapestry.apache.org/issue-tracking.html to http://issues.apache.org/jira/browse/TAP5? thanks, Andreas - To unsubscribe, e-mail: users-unsubscr...@tapestry.a

Re: Bypass client validation on forms submit button

2010-05-20 Thread Andreas Bohnert
ok, this should be solved with 5.2.0 ... Andreas Bohnert wrote: Hi all, there was some discussion about this topic one year ago but with no real solution. My Form contains a back button and a save button. When the user hits the back button I want to bypass the client validation and return

Bypass client validation on forms submit button

2010-05-20 Thread Andreas Bohnert
Hi all, there was some discussion about this topic one year ago but with no real solution. My Form contains a back button and a save button. When the user hits the back button I want to bypass the client validation and return to whatever page the user came from. I could use two different for

Re: Best way to extend a component?

2010-05-13 Thread Andreas Bohnert
mponent's parameter from within the mixin, even if the component's parameter doesn't have a public getter. Robert On May 13, 2010, at 5/133:15 PM , Thiago H. de Paula Figueiredo wrote: On Thu, 13 May 2010 17:09:45 -0300, Andreas Bohnert wrote: this looks very promi

Re: Best way to extend a component?

2010-05-13 Thread Andreas Bohnert
this was the good roundup! Andreas Alex Kotchnev wrote: I think it is fair to say that T5 has indeed gone to great lengths to try to isolate the user from changes in the framework. Thus, if T5 decides to change the internal implementation of how a Select works, there wouldn't be 100 people scre

Re: Res: Best way to extend a component?

2010-05-13 Thread Andreas Bohnert
very good roundup! Everton Agner wrote: If component classes were not meant to be subclassed, wouldn't it be nice to make them as "final classes"? It would not let people lose some time on it, since it would be seen at compilation time, and it's kinda logical. - Everton Agner Ramos ___

Re: Best way to extend a component?

2010-05-13 Thread Andreas Bohnert
this looks very promising!! that is what I was asking for and would solve at least my problem :) So with mixins you do/can not override a method, you build a execution chain instead? Andreas Robert Zeigler wrote: Why are you wanting to change the "auto" behavior in the first place? In the fe

Re: Best way to extend a component?

2010-05-13 Thread Andreas Bohnert
By the way, why that ? Compatibility. The more open to subclassing a component is, the harder it is to keep it backward-compatible. Well, that's a good point. It's always about keeping the balance ... Exactly. I was saying that components provided by Tapestry aren't meant to be subclass

Re: Best way to extend a component?

2010-05-13 Thread Andreas Bohnert
I agree. I'm upgrading a big project from tapestry 3 to 5. As I looked into the documentation and sources of tapestry 5 I thought: wow, this is really great. it could not be any better! But if components are no meant to be subclassed this seems like a drawback for me. You have to copy and adju

Re: Best way to extend a component?

2010-05-11 Thread Andreas Bohnert
ah, ok. thanks! Thiago H. de Paula Figueiredo wrote: On Tue, 11 May 2010 17:47:46 -0300, Andreas Bohnert wrote: Thank you for that clarification! But what am I supposed to put in that template, if I bound all the parameters already in the java class? Just the t:id

Re: Best way to extend a component?

2010-05-11 Thread Andreas Bohnert
Tue, 11 May 2010 16:01:56 -0300, Andreas Bohnert wrote: Hi, Hi! 1.) Extend MySelect from Select I found no way to assign my model to the selects privat model. There is a setModel in Select but it seems to be there only for unit tests. Tapestry components weren't meant to be subcl

Best way to extend a component?

2010-05-11 Thread Andreas Bohnert
Hi, I want to write my own 'select' component with a build-in model and additional parameters. I tried different ways to achieve this, but none of them worked out for me. Basically I tried: --- 1.) Extend MySelect from Select I found no way to assign my model to the selec

Duplicate class definition for TapestryIOCModule on Geronimo deploy

2010-05-07 Thread Andreas Bohnert
dear list, I try to get tapestry 5 running on geronimo 2.2 with just one page and zero configuration, but I get an exception (full stacktrace at the end of this post) / java.lang.LinkageError: loader (instance of org/apache/geronimo/kernel/config/MultiParentClassLoader): attempted duplicat