Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-21 Thread Lenny Primak
1.4-SNAPSHOT version of the flowlogix library now adds form-horizontal markup to every beaneditor / beanedifrom. On Oct 20, 2013, at 4:20 PM, Lenny Primak wrote: > I forgot, in the example, you also need to include class="form-horizontal" in > beaneditform declaration, > i.e. > >> > labelCla

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-20 Thread Lenny Primak
I forgot, in the example, you also need to include class="form-horizontal" in beaneditform declaration, i.e. > labelClass="col-md-3" object="obj"/> On Oct 20, 2013, at 4:15 PM, Lenny Primak wrote: > I did some work on a mixin (very preliminary) > It generates correct markup for form-horizont

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-20 Thread Lenny Primak
I did some work on a mixin (very preliminary) It generates correct markup for form-horizontal layout for beaneditor. I will put it into flowlogix module or a separate module under flowlogix when its ready Example Code -- package com.flowlogix.website.mixins; i

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-18 Thread Geoff Callender
Actually, that's probably flawed because it doesn't involve outputting the bootstrap class names (form-horizontal and col-*) into the rendered HTML. We have to expect that bootstrap.js might depend on them being in the rendered HTML. On 18/10/2013, at 12:44 AM, Geoff Callender wrote: > > If t

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-17 Thread Geoff Callender
If tapestry jar included bootstrap.less then perhaps it would then be easy to massage into columns like this: my.tml: my.less: @import "tapestry5/bootstrap_3_0_0/css/bootstrap.less"; .myform-3-6 { .form-horizontal; } .myform-3-6 .form-group .control-label {

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-17 Thread Lance Java
Slightly off topic but this is where groovy excels. List ldapProfiles = ldapCache.findAllLDAPUsers(keyword) List names = ldapProfiles*.name

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-16 Thread George Christman
do < thiag...@gmail.com> wrote: > On Wed, 16 Oct 2013 16:09:15 -0300, George Christman > wrote: > > Thiago, do you have any more info on the ValueProvider? I'm just >> wondering if what's already built into tap will accomplish the goal of my >> above code snippet. If

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-16 Thread Thiago H de Paula Figueiredo
On Wed, 16 Oct 2013 16:09:15 -0300, George Christman wrote: Thiago, do you have any more info on the ValueProvider? I'm just wondering if what's already built into tap will accomplish the goal of my above code snippet. If not, that code snippet would be a nice addit

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-16 Thread George Christman
Thiago, do you have any more info on the ValueProvider? I'm just wondering if what's already built into tap will accomplish the goal of my above code snippet. If not, that code snippet would be a nice addition to the SelectModelFactory since it's so commonly used. On Wed, Oct 16,

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-16 Thread George Christman
It's not quite as elegant as I would have hoped. I only asked because I've found over the years of using Tap you never know what these guys may have already built, hoping not to reinvent the wheel. Anyhow, unless the tap guys have something already built, this ended up being my reusabl

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-16 Thread Thiago H de Paula Figueiredo
ValueProvider? On Wed, 16 Oct 2013 14:49:20 -0300, George Christman wrote: I'm wondering if there is already a tapestry service available for creating a string array from an object list similar to the SelectModelFactory.createSelectModel. I find myself creating similar code to below in m

Re: Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-16 Thread Dimitris Zenios
What about these? return F.flow(ldapCache.findAllLDAPUsers(keyword)).map(new Mapper() { public String map(LDAPProfile element) { return element.getName(); } }).toList(); On Wed, Oct 16, 2013 at 8:49 PM, George Christman wrote: > I'm wondering if there is already a tapestry servi

Does a Tap service method exist similar to a SelectModelFactory for use in autocompletes.

2013-10-16 Thread George Christman
I'm wondering if there is already a tapestry service available for creating a string array from an object list similar to the SelectModelFactory.createSelectModel. I find myself creating similar code to below in my autocompletes. public List onProvideCompletionsFromSupervisor(String keyword) {

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-16 Thread Lenny Primak
I like the callback solution. Requires Tapestry support though :) That wil serve my needs at least (BeanEditor that looks like the 'old' 5.3 BeanEditor :) On Oct 16, 2013, at 7:30 AM, mailingl...@j-b-s.de wrote: > Hi, > > just my two cents: In general coupling bean editor (and friends) tightl

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-16 Thread mailingl...@j-b-s.de
Hi, just my two cents: In general coupling bean editor (and friends) tightly to bootstrap is strange even I am aware its the de facto standard. Furthermore I can not believe it will ever produce a layout which makes all of us happy. Is it not possible to add a additional, optional parameter to

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-15 Thread Lenny Primak
form-horizontal will look correctly on mobile platform as well. It wil 'revert' to stacked form on mobile, but maintain it's horizontal-ness on desktop. col-XX-X attributes can be configured as symbols, or can be passed along as a model of some kind. Sensible defaults can be pre-configured. On

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-15 Thread Barry Books
If you are building sites that work on mobile the default is correct. If you are starting from scratch it's OK also but converting an existing site can be a problem. I do have one non mobile site I'm converting so I looked at my old 2.3 mixin and the at the example http://getbootstrap.com/css/#for

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-14 Thread Lenny Primak
I know of its existence but didn't really use it. I can do it with a visitor, but all of these approaches are clunky. It should be implemented in Tapestry itself. I really don't understand why Bootstrap people didn't make horizontal form the default. I guess because it's harder to get right :

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-14 Thread Thiago H de Paula Figueiredo
On Mon, 14 Oct 2013 22:29:57 -0300, Lenny Primak wrote: I have tried to implement this using a mixin, but it gets too complicated for my taste. The problem is that the each label and component has to be surrounded with (for example) which requires really digging around elements with Mar

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-10-14 Thread Lenny Primak
I have tried to implement this using a mixin, but it gets too complicated for my taste. The problem is that the each label and component has to be surrounded with (for example) which requires really digging around elements with MarkupWriter (error prone) I think BeanEditor should be able to sup

Re: Is there a Tap method that fires in component on ajax request

2013-10-14 Thread George Christman
not work for you? > > > > > On Oct 14, 2013, at 1:22 PM, George Christman > wrote: > > > > Helo all, I'm wondering if there is a tap method that will fire every > time > > in a component similar to onActivate or onPrepare when an ajax request > > occu

Re: Is there a Tap method that fires in component on ajax request

2013-10-14 Thread Lenny Primak
OnActivate gets called from Ajax requests. Does this not work for you? > On Oct 14, 2013, at 1:22 PM, George Christman wrote: > > Helo all, I'm wondering if there is a tap method that will fire every time > in a component similar to onActivate or onPrepare when an ajax requ

Re: Is there a Tap method that fires in component on ajax request

2013-10-14 Thread George Christman
nvm, I just returned a SelectModel method rather than setting it in setupRender. On Mon, Oct 14, 2013 at 1:22 PM, George Christman wrote: > Helo all, I'm wondering if there is a tap method that will fire every time > in a component similar to onActivate or onPrepare when an a

Is there a Tap method that fires in component on ajax request

2013-10-14 Thread George Christman
Helo all, I'm wondering if there is a tap method that will fire every time in a component similar to onActivate or onPrepare when an ajax request occurs. I'm trying to build my selectModel which triggers an ajax zone. I just don't want to persist the selectModel. Thanks. -- G

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-23 Thread Barry Books
I'm certain you can do it with a mixin but you might be able to do this with the css display:table and friends. If you can get the right css you could make the form a table with the form-group a tr and the label and input td's On Mon, Sep 23, 2013 at 7:51 PM, Lenny Primak wrote: > Is there a sol

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-23 Thread Lenny Primak
Is there a solution for this that's easier than writing a mixin? Seems like the mixin solution is an overkill. I remember in the past there was a discussion of CSS styles being too specific by default. Any way just to make it a simple CSS rule somewhere? > For BeanEditor you would have to do thi

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-16 Thread Howard Lewis Ship
This is part of using Boostrap; which is mobile-first and therefore likes everything stacked vertically and full width. Add "form-horizontal" to the [BeanEdit]Form and the layout will look nicer. You have to wrap the form-control elements in .col-md-N (md for medium device size) to keep them from

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-16 Thread Barry Books
For BeanEditor you would have to do this with a mixin. The mixin might take some work but it could then be added go all the BeanEditors On Monday, September 16, 2013, Lenny Primak wrote: > I think this should be the default, at least for compatibility's sake. > Sounds like a lot of custom styling

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-16 Thread Lenny Primak
I think this should be the default, at least for compatibility's sake. Sounds like a lot of custom styling just to make it look like it used to in T5.3 On Sep 16, 2013, at 11:35 AM, Howard Lewis Ship wrote: > This is part of using Boostrap; which is mobile-first and therefore likes > everything s

[T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-15 Thread Lenny Primak
Hi guys, I noticed something else that's not as pretty out of the box in T5.4 due to bootstrap probably In T5.3, beaneditor looks something like this: Label [Input Text] Label [Input Text] In T5.4, it looks like this: Label [Input Text (takes up the whole width of the page)] Label [

Re: Chenillekit links broken in tap docs

2012-10-31 Thread Bob Harner
1:43 PM, George Christman wrote: > I may be wrong but I think the new base url is > http://chenillekit.codehaus.org/ > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Chenillekit-links-broken-in-tap-docs-tp5717466p5717467.html > Sent

Re: Chenillekit links broken in tap docs

2012-10-31 Thread George Christman
I may be wrong but I think the new base url is http://chenillekit.codehaus.org/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/Chenillekit-links-broken-in-tap-docs-tp5717466p5717467.html Sent from the Tapestry - User mailing list archive at Nabble.com

Chenillekit links broken in tap docs

2012-10-31 Thread George Christman
The chenillkit links seem to be broken in the tap docs. http://tapestry.apache.org/modules.html Chenille Kit Chenillekit-LDAP for LDAP querying Chenillekit-Lucene provides Apache Lucene indexing & searching Chenillekit-Image is an image scaling service Chenillekit-Mail

Re: My little problem with Tap listing

2012-09-17 Thread mailingl...@j-b-s.de
I gues you want to use the foreign key pointing from comment to blog, but you are using the "id" (autoinc pk of comment?) instead. session.createCriteria(Comment.class).add(Restrictions.eq("id",blog)).list(); return l; Jens Sent from my iPhone On 18.09.2012, at 03:02, Taha Siddiqi wrote: >

Re: My little problem with Tap listing

2012-09-17 Thread Taha Siddiqi
Should Restrictions.eq("id",blog) be Restrictions.eq("blog",blog) Also I would use blog as activation context in the second page. @Persist should be avoided if possible. On Sep 15, 2012, at 9:57 PM, JeffersON wrote: > Restrictions.eq("id",blog)

My little problem with Tap listing

2012-09-17 Thread JeffersON
works fine, except it doesn't list my comments for specific blog!? I was thinking maybe Tap doesn't know in the runtime which id of what blog is passed to it, and therefore doesn't return anything, however when I put only this public List getComments() { List l; l = session.cre

Re: How to tap into live class realoading

2012-06-17 Thread Thiago H de Paula Figueiredo
On Sat, 16 Jun 2012 12:52:24 -0300, Thim Anneessens wrote: Thanks for the reply Thiago, You're welcome! :) Singleton service reloading is unfortunatly not suffisiant for my purposes Tapestry service reloading works only on singletons and I need to have multiple instances of the class I

Re: How to tap into live class realoading

2012-06-16 Thread Steve Eynon
>From a quick peek... The ReloadableObjectCreatorSource creates the proxies (ReloadableServiceImplementationObjectCreator) which create the Service. Each ReloadableServiceImplementationObjectCreator implements UpdateListener which is called when it should check for changes / updates. But you are

Re: How to tap into live class realoading

2012-06-16 Thread Thim Anneessens
Thanks for the reply Thiago, Singleton service reloading is unfortunatly not suffisiant for my purposes Tapestry service reloading works only on singletons and I need to have multiple instances of the class I'd like to reload per thread. I guess I could easely reload classes if I was notifi

Re: How to tap into live class realoading

2012-06-16 Thread Thiago H de Paula Figueiredo
On Sat, 16 Jun 2012 10:56:10 -0300, Thim Anneessens wrote: Hello, Hi! Singleton service reloading is unfortunatly not suffisiant for my purposes Could you be a little more specific? This would help us to provide help to you. so I was wondering if anyone could give me some insight o

How to tap into live class realoading

2012-06-16 Thread Thim Anneessens
Hello, Singleton service reloading is unfortunatly not suffisiant for my purposes so I was wondering if anyone could give me some insight on how Tapestry live class reloading works (whish are the classes involved in that process for instance). Tanks in advance, Thim. ---

Re: Tap 5.3.x : Set field value(s) AFTER transformation

2012-01-26 Thread antalk
Cool, Thx, that was a simple solution and it worked ! I must have had some blackout not seeing this myself -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tap-5-3-x-Set-field-value-s-AFTER-transformation-tp5432669p5432717.html Sent from the Tapestry - User mailing

Re: Tap 5.3.x : Set field value(s) AFTER transformation

2012-01-26 Thread Taha Hafeez Siddiqi
ot;org.apache.tapestry5.internal.plastic.PlasticClassImpl@dc8f6d has been > locked and can no longer be used." > > What is the way to go in this case ? > > Thx, > Antal > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tap-5-3-x-S

Tap 5.3.x : Set field value(s) AFTER transformation

2012-01-26 Thread antalk
View this message in context: http://tapestry.1045711.n5.nabble.com/Tap-5-3-x-Set-field-value-s-AFTER-transformation-tp5432669p5432669.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: Tap 5.3.1: IllegalArgumentException

2011-12-23 Thread David Canteros
https://issues.apache.org/jira/browse/TAP5-1803 Done! Regards -- David Germán Canteros 2011/12/22 Lenny Primak > Thanks for confirming this. It is definitely a bug. Please file an JIRA > issue. > > On Dec 22, 2011, at 4:21 PM,

Re: Tap 5.3.1: IllegalArgumentException

2011-12-22 Thread Lenny Primak
Thanks for confirming this. It is definitely a bug. Please file an JIRA issue. On Dec 22, 2011, at 4:21 PM, David Canteros wrote: > You are right... thanks again! According to the UrlEncoderImpl the safe > chars are the following: > > *private final BitSet safe = new BitSet(128); > >

Re: Tap 5.3.1: IllegalArgumentException

2011-12-22 Thread David Canteros
You are right... thanks again! According to the UrlEncoderImpl the safe chars are the following: *private final BitSet safe = new BitSet(128); { markSafe("abcdefghijklmnopqrstuvwxyz"); markSafe("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); markSafe("01234567890-_.:"); } * I

Re: Tap 5.3.1: IllegalArgumentException

2011-12-22 Thread Lenny Primak
Bet the syntax checker is a bit overzealous. Unconfirmed though. I think you should file an issue. On Dec 22, 2011, at 3:56 PM, David Canteros wrote: > Mmm I have a doubt.. .why tapestry consider that asterisk symbol (*) is > unsafe?? (that symbol is my problem now). The specification for URLs

Re: Tap 5.3.1: IllegalArgumentException

2011-12-22 Thread David Canteros
;at >> > >> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1130) >> >at >> > >> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3200(ComponentPageEl

Re: Tap 5.3.1: IllegalArgumentException

2011-12-22 Thread David Canteros
t;at > > > org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1130) > >at > > > org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3200(ComponentPageElementImpl.java:61) > >at > > > org.apache.

Re: Tap 5.3.1: IllegalArgumentException

2011-12-22 Thread Lenny Primak
pl.access$3200(ComponentPageElementImpl.java:61) >at > org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1051) > (and continues..) > > I think is a problem when tapestry tries to handle the URL to catch the > value of &quo

Tap 5.3.1: IllegalArgumentException

2011-12-22 Thread David Canteros
at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$5.invoke(ComponentPageElementImpl.java:1051) (and continues..) I think is a problem when tapestry tries to handle the URL to catch the value of "key" ... someone have an idea of

Re: Tap 5.3 : A port of Ajax StockWatcher example from GWT

2011-12-13 Thread Shing Hing Man
 I am glad you find my examples  useful. Shing From: Bob Harner To: Tapestry users ; Shing Hing Man Sent: Monday, December 12, 2011 11:35 AM Subject: Re: Tap 5.3 : A port of Ajax StockWatcher example from GWT Very nice! I've often referred t

Re: Tap 5.3 : A port of Ajax StockWatcher example from GWT

2011-12-12 Thread Bob Harner
> http://code.google.com/webtoolkit/tools/gwtdesigner/tutorials/stockwatcher.html > > The Tap 5.3 version is at > > http://lombok.demon.co.uk/tapestry5Demo/test/core/mixin/stockwatcher > > > The Tapestry 5.3 version is a lot less verbose and has fr

Tap 5.3 : A port of Ajax StockWatcher example from GWT

2011-12-10 Thread Shing Hing Man
In case anyone is interested, I have ported the Stock watcher Ajax example from GWT to Tapestry 5.3   http://code.google.com/webtoolkit/tools/gwtdesigner/tutorials/stockwatcher.html The Tap 5.3 version is at http://lombok.demon.co.uk/tapestry5Demo/test/core/mixin/stockwatcher The Tapestry

Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Shing Hing Man
For now,  I can live with the other two work around. Shing    - Original Message - From: Thiago H. de Paula Figueiredo To: tapestry Tapestry ; Shing Hing Man Cc: Sent: Saturday, December 10, 2011 6:47 PM Subject: Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones

Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Thiago H. de Paula Figueiredo
On Sat, 10 Dec 2011 16:12:09 -0200, Shing Hing Man wrote: Hi Thiago, Hi! I am not aware the mailing list email address have changed since my first post back in 2004. Thanks for pointing it out ! I will use the current email address from next post. Nice! Back to my problem. T

Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Shing Hing Man
ion with the server failed: undefined Shing - Original Message - From: Thiago H. de Paula Figueiredo To: tapestry Tapestry ; Shing Hing Man Cc: Sent: Saturday, December 10, 2011 5:28 PM Subject: Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining H

Re: Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Thiago H. de Paula Figueiredo
Hi! Have you noticed you're still sending e-mails to tapestry-u...@jakarta.apache.org instead of users@tapestry.apache.org? Tapestry has been a top level Apache project for years! :D On Sat, 10 Dec 2011 13:46:21 -0200, Shing Hing Man wrote: Ajax failure: Status 200 for http://localh

Tap 5.3 : AjaxResponseRenderer error when updating two zones with chaining

2011-12-10 Thread Shing Hing Man
I am using the mixin zoneRefresh and AjaxResponseRenderer to update zone pricesZone and zone currentTimeZone. ( I have read the excellent blog by Taha on AjaxResponseRenderer.) But I get the following error.  Ajax failure: Status 200 for http://localhost:8080/tapestry5Demo/test/core/mixin

Re: Code Coverage link on Tap homepage doesn't work anymore

2011-12-04 Thread Thiago H. de Paula Figueiredo
On Sat, 03 Dec 2011 08:53:14 -0200, derkoe wrote: Is this some build glitch with the switch to Gradle? Or is this the problem with meta-programming and measuring coverage? I'd guess it's caused by the switch. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hiberna

Re: Code Coverage link on Tap homepage doesn't work anymore

2011-12-03 Thread derkoe
ta-programming and measuring coverage? Chris -- View this message in context: http://tapestry.1045711.n5.nabble.com/Code-Coverage-link-on-Tap-homepage-doesn-t-work-anymore-tp5011461p5044361.html Sent from the Tapestry - User mailing list arc

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

2011-12-02 Thread Barry Books
It would be very handy to be able to throw exceptions on the Tapestry side and catch them on the javascript side. If you figure out a way please post it here. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For add

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 Barry Books
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 could always return a different zone for errors. - To unsubscribe, e-mail: u

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

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

2011-11-30 Thread Barry Books
Take a look at bind in the jQuery module. https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/mixins/Bind.java https://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/assets/mixins/bind/bind.js It's a mixin that b

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: Tap 5.3 : Jboss 5.0.1 tmp/vfs-nested.tmp fill up fast

2011-11-29 Thread Shing Hing Man
Thanks for the url! I have followed a suggestion at the given link and added ${path of my deploy directory} to server/src/etc/conf/default/bootstrap/vfs.xml.  The problem has been fixed. It is strange that I only have this problem after upgraded to Tap 5.3. Shing

Re: Tap 5.3 : Jboss 5.0.1 tmp/vfs-nested.tmp fill up fast

2011-11-28 Thread Howard Lewis Ship
A quick google search turned this up: http://community.jboss.org/message/614729 On Mon, Nov 28, 2011 at 12:34 PM, Shing Hing Man wrote: > My  Tapestry applications have been running in Jboss 5.0.1 without any > problem before I upgraded to Tapestry 5.3. > > I have noticed, in Jboss 5.0.1,  the d

Tap 5.3 : Jboss 5.0.1 tmp/vfs-nested.tmp fill up fast

2011-11-28 Thread Shing Hing Man
My  Tapestry applications have been running in Jboss 5.0.1 without any problem before I upgraded to Tapestry 5.3. I have noticed, in Jboss 5.0.1,  the directory    tmp/vfs-nested.tmp grows very quickly (about 20G a day), after I  upgraded to Tapestry 5.3. I wonder if it is caused 

Re: Code Coverage link on Tap homepage doesn't work anymore

2011-11-24 Thread Christian Köberl
che.org/current/tapestry-core/cobertura/index.html which >> results in a 404. >> >> JIRA? Or can somebody fix that quickly? >> >> -- >> Chris >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Code-Coverage-

Re: Code Coverage link on Tap homepage doesn't work anymore

2011-11-23 Thread Howard Lewis Ship
Tapestry home page leads to > http://tapestry.apache.org/current/tapestry-core/cobertura/index.html which > results in a 404. > > JIRA? Or can somebody fix that quickly? > > -- > Chris > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Code

Code Coverage link on Tap homepage doesn't work anymore

2011-11-21 Thread derkoe
nabble.com/Code-Coverage-link-on-Tap-homepage-doesn-t-work-anymore-tp5011461p5011461.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additio

Re: Tap-5.3-beta-16 tapestry-core v. tapestry-hibernate

2011-10-14 Thread Christian Riedel
ple input: >> >> Username: >> >> >> When this is run with tapestry-core I get the following html: >> >> Username: >> > type="text"> >> >> When I run the same template with tapestry-hibernate I

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-11 Thread Thiago H. de Paula Figueiredo
On Tue, 11 Oct 2011 12:19:58 -0300, Tony Nelson wrote: Do you see anything that would make this explode in a way I wouldn't expect? Looks good to me. :) I'd just add a check in the setter method so it won't allow the ObjectLocator to be set twice. Better safe than sorry . . . -- Thiago

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-11 Thread Tony Nelson
On Oct 11, 2011, at 11:05 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, 11 Oct 2011 11:55:43 -0300, Tony Nelson wrote: > >>> But each Runnable needs all them? >> >> No, they don't. But I don't have a map of which ones need which, and quite >> honestly they can change often enough to mak

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-11 Thread Thiago H. de Paula Figueiredo
On Tue, 11 Oct 2011 11:55:43 -0300, Tony Nelson wrote: But each Runnable needs all them? No, they don't. But I don't have a map of which ones need which, and quite honestly they can change often enough to make this a rather pain to manage. Ah, ok. :) OK, maybe I let out Tapestry-Io

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-11 Thread Tony Nelson
On Oct 11, 2011, at 10:20 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, 11 Oct 2011 11:04:22 -0300, Tony Nelson wrote: > >> I have in the neighborhood of 25 different services. Passing them all >> around seems like a workaround. > > But each Runnable needs all them? No, they don't. Bu

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-11 Thread Tony Nelson
On Oct 10, 2011, at 6:17 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 10 Oct 2011 18:51:36 -0300, Tony Nelson wrote: > >>> In this scenario, are you in a web app or not? >> >> I am in a web app, however, I have a service that I need to start as a >> runnable. The services is registered

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Thiago H. de Paula Figueiredo
On Mon, 10 Oct 2011 18:51:36 -0300, Tony Nelson wrote: In this scenario, are you in a web app or not? I am in a web app, however, I have a service that I need to start as a runnable. The services is registered with bind, and started with @Startup in AppModule. You can inject ObjectLo

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Tony Nelson
On Oct 10, 2011, at 5:34 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 10 Oct 2011 18:14:01 -0300, Tony Nelson wrote: > >> >> On Oct 10, 2011, at 4:58 PM, Thiago H. de Paula Figueiredo wrote: >> >>> On Mon, 10 Oct 2011 17:18:59 -0300, Tony Nelson >>> wrote: >>> How is it possible

Re: Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Thiago H. de Paula Figueiredo
On Mon, 10 Oct 2011 18:14:01 -0300, Tony Nelson wrote: On Oct 10, 2011, at 4:58 PM, Thiago H. de Paula Figueiredo wrote: On Mon, 10 Oct 2011 17:18:59 -0300, Tony Nelson wrote: How is it possible to access a service registered in AppModule#bind from an object created outside of Tapest

Accessing Registered Services - Tap 5.3-beta-16

2011-10-10 Thread Tony Nelson
How is it possible to access a service registered in AppModule#bind from an object created outside of Tapestry's control? Specifically, I have a number of services created in AppModule. One of these services creates new instances of objects via reflection to solve a specific business problem.

Re: Tap-5.3-beta-16 tapestry-core v. tapestry-hibernate

2011-10-05 Thread Steve Eynon
estry-core I get the following html: >> >> Username: >> > type="text"> >> >> When I run the same template with tapestry-hibernate I get the following >> html: >> >> Username: >> >> >> Notice the tapestry-hibernate

Re: Tap-5.3-beta-16 tapestry-core v. tapestry-hibernate

2011-10-04 Thread Emmanuel DEMEY
gt; > Username: > > > Notice the tapestry-hibernate version is missing the id attribute which is > causing my javascript to fail (and I think when the form is submitted, tap > can't seem to decode the values). > > I've put together a small sample app that you can c

Tap-5.3-beta-16 tapestry-core v. tapestry-hibernate

2011-10-03 Thread Tony Nelson
following html: Username: When I run the same template with tapestry-hibernate I get the following html: Username: Notice the tapestry-hibernate version is missing the id attribute which is causing my javascript to fail (and I think when the form is submitted, tap can't seem to decod

Re: Datefield update causes PageAttached TAP 5.2.6

2011-09-17 Thread Koka Kiknadze
ield using calendar selector but not if I manually type in the > value. > > > > What is the purpose of such behaviour and how can I avoid > > calling pageattached ? > > > > TIA > > Nicholoz > > > > TAP 5.2.6 > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >

Re: Datefield update causes PageAttached TAP 5.2.6

2011-09-16 Thread Steve Eynon
ge value in > DateField using calendar selector but not if I manually type in the value. > > What is the purpose of such behaviour and how can I avoid > calling pageattached ? > > TIA > Nicholoz > > TAP 5.2.6 > -

Datefield update causes PageAttached TAP 5.2.6

2011-09-16 Thread Koka Kiknadze
I have noticed that pageattached is called each time I change value in DateField using calendar selector but not if I manually type in the value. What is the purpose of such behaviour and how can I avoid calling pageattached ? TIA Nicholoz TAP 5.2.6

Tap question on SO

2011-09-05 Thread Richard Hill
Hi Chaps, Opportunity to promote T5 a bit: http://stackoverflow.com/questions/7306707/how-to-expose-an-api-to-a-tapestry-web-application - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Howard Lewis Ship
; generated. They  are in > >   tapestry-core/build/generated-sources/ > > Shing > > > > > > From: Shing Hing Man > To: Tapestry users > Sent: Saturday, 27 August 2011, 20:25 > Subject: Tap 5.3.0: How to generate Prope

Re: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Shing Hing Man
In fact, PropertyExpressionLexer.java and PropertyExpressionParser.java were generated. They  are in   tapestry-core/build/generated-sources/ Shing From: Shing Hing Man To: Tapestry users Sent: Saturday, 27 August 2011, 20:25 Subject: Tap 5.3.0: How to

Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

2011-08-27 Thread Shing Hing Man
 Hi,    I have checked out the tapestry 5 trunk and and try to set  up  tapestry-core in Eclipse.  The class PropertyConduitSourceImpl.java  has the  following   imports  : import org.apache.tapestry5.internal.antlr.PropertyExpressionLexer; import org.apache.tapestry5.internal.antlr.PropertyExp

Re: Tapestry5 jQuery integration and tap 5.3

2011-07-28 Thread Zubair Nuamaan
Sweet - I'll give that a shot Zubair -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry5-jQuery-integration-and-tap-5-3-tp4640114p4642018.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Tapestry5 jQuery integration and tap 5.3

2011-07-28 Thread Clément Uster
edicated mailing list : *tapestry5-jqu...@googlegroups.com* Regards, Clément On 27 July 2011 22:29, Zubair Nuamaan wrote: > Thanks, I'll use tapestry 5.2.5 in the meantime. > > Zubair > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapest

Re: Tapestry5 jQuery integration and tap 5.3

2011-07-27 Thread Zubair Nuamaan
Thanks, I'll use tapestry 5.2.5 in the meantime. Zubair -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry5-jQuery-integration-and-tap-5-3-tp4640114p4640202.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Tap 5.3.0 and TapX-core 1.2-SNAPSHOT

2011-06-25 Thread Thiago H. de Paula Figueiredo
On Sat, 25 Jun 2011 19:02:33 -0300, Shing Hing Man wrote: Hi, Hi! Is it a bug ? No. :) The Dynamic component from TapX, along with the DynamicTemplateParser service, was added to Tapestry. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant,

Tap 5.3.0 and TapX-core 1.2-SNAPSHOT

2011-06-25 Thread Shing Hing Man
Hi, I have the following runtime exception when I launch Tap 5.3.0 in Jetty. java.lang.RuntimeException: Service id 'DynamicTemplateParser' has already been defined by com.howardlewisship.tapx.core.services.CoreModule.buildDynamicTemplateParser(DynamicTemplateParserImpl, UpdateL

Problem with nested FormFragment [TAP-5.2.5]

2011-05-17 Thread Dawid Gorniak
ot;hide" event is catched and processed both on innerFragment and outerFragment level. Is this appropriate? How can I handle nested form fragments? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-nested-FormFragment-TAP-5-2-5-tp4403488p4403488

  1   2   3   4   5   6   >