Re: Apache Tapestry 5.4-alpha-25 preview release

2013-11-11 Thread Dimitris Zenios
Hello everyone. It looks that something changed between alpha 23 and alpha 25 regarding stacks and modules.If i add a module to a stack and then import this stack in a page,the module will not be executed? I have to call require on the module seperately? Is that correct? If yes what happens to a

Re: grid is showing this column -> _persistence Should Refresh Fetch Group

2013-11-28 Thread Dimitris Zenios
I had the same thing.The property is added by eclipselink weaving.The way i did it was to create a mixin that excludes the column from the grid and apply it to all the grids through a worker. On Thu, Nov 28, 2013 at 10:56 AM, Lance Java wrote: > If you want to handle this globally, you could ove

Re: Client-side email validation not working

2013-12-03 Thread Dimitris Zenios
Tapestry 5.4 implements client side email validation along with server side On Tue, Dec 3, 2013 at 7:14 PM, Jan Fryblik wrote: > On Tue, 03 Dec 2013 18:07:10 +0100, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > > On Wed, 27 Nov 2013 17:36:05 -0200, Lidija Dolinar >> wrote: >> >

Re: override t:formdata when validation has error

2013-12-15 Thread Dimitris Zenios
onValidate -> onSubmit -> Onsuccess ( Only if validate does not have errors ) On Sun, Dec 15, 2013 at 3:49 PM, Chung Khanh Duy < chungkhanhduy1...@gmail.com> wrote: > Hi Thiago, > > Thanks for your quick response. But in my application, we had: > > onValidate...() > > onSuccess() > > You meant t

Re: override t:formdata when validation has error

2013-12-16 Thread Dimitris Zenios
ml > > looks like validate -> success -> submit > > > On Mon, Dec 16, 2013 at 3:24 AM, Dimitris Zenios > wrote: > > > onValidate -> onSubmit -> Onsuccess ( Only if validate does not have > errors > > ) > > > > > > On Sun, Dec

Re: [5.4-beta-2] Two JavaScript Errors - Quick Fixes

2014-01-23 Thread Dimitris Zenios
Until this is fixed a quick tip. You dont have to create custom jars.just create a new js file with the same filename as the one you want to fix and place it on your meta-inf using the same folder structure as the originall Dimitris Zenios On 23 Jan 2014 10:26, "Peter Hvass" wrote: &

Re: kaptcha component reloading issues with Firefox

2014-01-23 Thread Dimitris Zenios
You should start by writing a jira bug report On 23 Jan 2014 00:09, "Ilya Obshadko" wrote: > So I have discussed the issue with Kaptcha library author and found out > that the problem is, in fact, with Tapestry implementation itself. > > https://code.google.com/p/kaptcha/issues/detail?id=72 > > T

Re: kaptcha component reloading issues with Firefox

2014-01-24 Thread Dimitris Zenios
wse/TAP5-2275 > > > On Fri, Jan 24, 2014 at 8:46 AM, Dimitris Zenios > wrote: > > > You should start by writing a jira bug report > > On 23 Jan 2014 00:09, "Ilya Obshadko" wrote: > > > > > So I have discussed the issue with Kaptcha library author

Re: kaptcha component reloading issues with Firefox

2014-01-24 Thread Dimitris Zenios
; setHeader calls or 2) use HttpServletResponse directly, or 3) change > the Response interface (a backward-incompatible API change, although > maybe worth doing, since I guess very few people would be affected). > > On Fri, Jan 24, 2014 at 2:56 PM, Dimitris Zenios > wrote: > &g

Re: Override AssertSource

2014-01-31 Thread Dimitris Zenios
Create the assetSource inside bind method then inject it inside the contributeSerrviceOverride and instead of addInstance use plain add On Fri, Jan 31, 2014 at 7:43 PM, garz wrote: > With addInstance the exception is: > > java.lang.IllegalStateException: Construction of service 'ServiceOverrid

Re: Tapestry 5.4 Dojo as the Infrastructure Provider

2014-02-08 Thread Dimitris Zenios
Why do you want to get rid of the config?You can add/remove/ovveride the current config using javascriptSupport.addModuleConfigurationCallback On Sat, Feb 8, 2014 at 12:19 PM, Azudio Developer wrote: > Thanks Dragan. > > I've started to knock something up at > https://github.com/adamhenderson/t

Tapestry 5 eurodns

2014-03-13 Thread Dimitris Zenios
Just found out that tapestry 5 is been used to develop eurodns website. Maybe it can be put inside success stories http://wiki.apache.org/tapestry/SuccessStories

Custom MessageSource

2014-09-01 Thread Dimitris Zenios
Hello everyone I am trying to find ways in order to contribute custom message sources other than properties file (Database for example).Is there an easy way to achieve that other than overriding ComponentMessagesSource service? I started by viewing the tapestry-core code and I found out that Com

Re: Custom MessageSource

2014-09-01 Thread Dimitris Zenios
Figueiredo < thiag...@gmail.com> wrote: > On Mon, 01 Sep 2014 18:07:17 -0300, Dimitris Zenios < > dimitris.zen...@gmail.com> wrote: > > Hello everyone >> > > Hi! > > > I am trying to find ways in order to contribute custom message sources >> other than

Re: [5.4.22] Overriding core css - bug?

2014-11-19 Thread Dimitris Zenios
anything the user wants Regards Dimitris Zenios On Wed, Oct 9, 2013 at 5:30 AM, Lenny Primak wrote: > Voted: https://issues.apache.org/jira/browse/TAP5-2197 > > On Oct 4, 2013, at 8:37 AM, Geoff Callender wrote: > > > Added to JIRA as TAP5-2197 - Overriding core css - bug? > &g

Re: ServiceOverride help wanted

2015-01-03 Thread Dimitris Zenios
This is the way i do it and it works @Contribute(ServiceOverride.class) public static void setupApplicationServiceOverrides(MappedConfiguration configuration,@Local WebSecurityManager customAuthenticator) { configuration.add(WebSecurityManager.class, customAuthenticator); } On Sat, Jan 3, 2015 at

Grid and initial sort mixin Tapestry 5.4-beta28

2015-03-28 Thread Dimitris Zenios
er without sort constraints so even though I set up the sort constraints first rendering of the grid will go unsorted.Following renderings will be OK since sort constraints are persisted. Looking forwards for your comments Thanks Dimitris Zenios

Re: Grid and initial sort mixin Tapestry 5.4-beta28

2015-03-29 Thread Dimitris Zenios
Anyone? On Sat, Mar 28, 2015 at 11:40 AM, Dimitris Zenios wrote: > Hello everyone > > I have a problem with a mixin that sets the first column sorted when sort > constraints is empty. > > The problem goes like that > > Without Mixin after > > Mixin SetupRender

Re: dynamic css id

2015-03-29 Thread Dimitris Zenios
Hi Then create a method in your java class public String getMyId() and return your id Dimitris Zenios On Sun, Mar 29, 2015 at 5:56 PM, Angelo Chen wrote: > Hi, > > Say I have a html like this: > > < div id="myid"> > > that id is fixed to '

Re: use template in property files?

2015-03-29 Thread Dimitris Zenios
Hi You can do something else. change your property to copyright=@2013 %s. All Rights Reserved and from Java class do messages.format("copyright","xyz company") messages is a Message catalogue instance.You can get that object via @Inject private Messages messages Dimitris Ze

Re: Dynamic Properties addition to the Grid

2015-03-30 Thread Dimitris Zenios
try myModel.addEmpty("propertyName"); and in the tml class you can do ${value.propertyName} Regards Dimitris Zenios On Mon, Mar 30, 2015 at 4:54 PM, akshay wrote: > Hi All, > > > I am trying to add properties to the grid dynamically. Below I have > describ

Re: Dynamic Properties addition to the Grid

2015-03-30 Thread Dimitris Zenios
,like the way u have said or we can > just have mymodel.add("propertyname") and hijack name cell in the tml for > further actions. > > I havent given a try, just had a view looking into the approach. > > Regards > Akshay > On 30 Mar 2015 16:26, "Dimitris Ze

Re: Dynamic Properties addition to the Grid

2015-03-30 Thread Dimitris Zenios
me in this case.how would we go about capturing the > "name property cell" when we are unsure about the name of it ? Can you > please show me an example ? > > Best Regards > Akhsay > On 30 Mar 2015 16:43, "Dimitris Zenios" wrote: > > > You can add as ma

Re: Upgrading to 5.4 Beta 28

2015-03-30 Thread Dimitris Zenios
tapestry-yuicompressor is removed from tapestry 5.4 Try replacing it with tapestry-webresources Regards Dimitris Zenios On Mon, Mar 30, 2015 at 11:43 PM, john c wrote: > I am attempting to switch to Tapestry 5.4 Beta 28, with the Jumpstart app. > I modified the release version in pom.xm

Re: The active page name has not been specified

2015-03-31 Thread Dimitris Zenios
FYI just tested with 5.4-beta28 and I don't have such problem On Tue, Mar 31, 2015 at 5:38 PM, George Christman wrote: > Hey Kalle, just checking in with you to see if you happened to have anymore > info on this issue. > > On Wed, Mar 25, 2015 at 4:05 PM, George Christman > > wrote: > > > Thank

Re: The active page name has not been specified

2015-03-31 Thread Dimitris Zenios
gt; > submitting an ajax form. It happens every single time. > > > > On Tue, Mar 31, 2015 at 1:36 PM, George Christman < > gchrist...@cardaddy.com > > > > > wrote: > > > > > I'll test it in beta-28, but until that validation bug gets fixed, I >

Re: The active page name has not been specified

2015-03-31 Thread Dimitris Zenios
} On Tue, Mar 31, 2015 at 11:19 PM, George Christman wrote: > And your wrapping your form in a zone too? Sorry, I just want to be sure we > are doing everything the same. > > On Tue, Mar 31, 2015 at 4:05 PM, Dimitris Zenios < > dimitri

Re: The active page name has not been specified

2015-03-31 Thread Dimitris Zenios
bmit-label} > data-dismiss="modal">${message:close-label} > > > > > > > > On Tue, Mar 31, 2015 at 11:19 PM, George Christman < > gchrist...@cardaddy.com> wrote: > >> An

Re: The active page name has not been specified

2015-03-31 Thread Dimitris Zenios
oing to have to dig deeper tomorrow to find the cause > of this issue. > > On Tue, Mar 31, 2015 at 4:25 PM, Dimitris Zenios < > dimitris.zen...@gmail.com> > wrote: > > > When you include a tynamo dependency do you exclude the tapestry-core and > > tapestry-ioc lik

Re: Startup service needs Request

2015-04-03 Thread Dimitris Zenios
constants on startup Dimitris Zenios On Fri, Apr 3, 2015 at 12:13 PM, TNO wrote: > Hi, > > I'm using Tapestry 5.3.7, and I'm trying to send mails at tapestry startup > application. > In these mails, I need the full url of the website to create dynamic > links. > &

Re: SymbolConstants.SECURE_PAGE missing?

2015-04-08 Thread Dimitris Zenios
Hi SECURE_PAGE is part of MetaDataConstants not SymbolConstants What exactly are you trying to achieve? Thanks On Wed, Apr 8, 2015 at 10:22 PM, Michael Gentry wrote: > Hello, > > I was trying to inject this symbol value into one of our pages, but it > appears to not be present in SymbolConsta

Re: Grid and initial sort mixin Tapestry 5.4-beta28

2015-04-09 Thread Dimitris Zenios
Not exactly because I said earlier if the Mixin has a @MixinAfter annotation then first rendering ignores the sorting. On Thu, Apr 9, 2015 at 4:57 AM, Lance Java wrote: > Does this help? > > http://stackoverflow.com/questions/18959365/tapestry-grid-default-sorting >

Re: Tapestry Upload MaxFileSize

2015-04-13 Thread Dimitris Zenios
Servlet. As for the max-size I didn't find any documentation specifying that MultiPartConfig will check for that setting and throw an exception before the file is completely uploaded Thanks Dimitris Zenios On Sun, Apr 12, 2015 at 12:19 AM, Harry Zhou wrote: > Hi Friends! > > I am

Re: DefaultRequestExceptionHandler not redirect xhr request to a secure link

2015-04-13 Thread Dimitris Zenios
sue that has to be fixed Thanks Dimitris Zenios On Mon, Apr 13, 2015 at 3:25 AM, George Christman wrote: > Thanks Kalle and yes I did try overriding the service with my own > implementation, however I must have been missing something some wheres > because the configuration always appeare

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Dimitris Zenios
This has been fixed in the latest snapshot.What version of 5.4 are you using? On Thu, Apr 30, 2015 at 11:49 AM, Nicolas Bouillon wrote: > I know the same field component is reused. I have used this kind of > structures (field in loop) extensively in a previous project on Tapestry > 5.3 without a

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Dimitris Zenios
There was also a bug for this https://issues.apache.org/jira/browse/TAP5-2391 so please close your bug since its a duplicate and already fixed Dimitris Zenios On Thu, Apr 30, 2015 at 1:14 PM, Nicolas Bouillon wrote: > Indeed, i've built the latest beta tag (5.4-beta-31) and th

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Dimitris Zenios
Also you dont need to build by hand.You can get it from apache staging repo apache-staging https://repository.apache.org/content/groups/staging/ On Thu, Apr 30, 2015 at 1:16 PM, Dimitris Zenios wrote: > There was also a bug for this >

Re: [T5.4 beta 28] Date and time picker

2015-05-01 Thread Dimitris Zenios
For tapestry 5.4 i have been using this javascript library https://eonasdan.github.io/bootstrap-datetimepicker/ and a custom component extending AbstractField On Fri, May 1, 2015 at 1:15 PM, Stephen Nutbrown wrote: > Hi, > > I have been looking for a date + time picker for Tapestry. I'd like

Re: [T5.4 beta 28] Date and time picker

2015-05-04 Thread Dimitris Zenios
gt; > > On 3 May 2015 at 15:59, Stephen Nutbrown wrote: > > >> Hi Dimitris, > > >> > > >> That's extremely kind and generous of you, thank you! I owe you a few > > >> beers, if you happen to have a paypal address hooked up to you

Re: [T5.4 beta 28] Date and time picker

2015-05-04 Thread Dimitris Zenios
Also can you please update to latest tapestry 5.4-beta-31 I think there was a bug that looks like that and got fixed. On Mon, May 4, 2015 at 1:04 PM, Dimitris Zenios wrote: > Javascript is using dom.scanner function which should execute on every > zone change.Just like the DateField &

Re: tapestry split button

2015-05-05 Thread Dimitris Zenios
Hi By split button you mean bootstrap button groups? On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy wrote: > Hi experts, > > Do you know any example about mixins for split button for Tapestry ? I > appreciate. > > Thanks. >

Re: tapestry split button

2015-05-05 Thread Dimitris Zenios
s.html. > > Thanks. > > On Tue, May 5, 2015 at 4:00 PM, Dimitris Zenios > > wrote: > > > Hi > > > > By split button you mean bootstrap button groups? > > > > > > On Tue, May 5, 2015 at 9:28 AM, Chung Khanh Duy < > > chungkhanhduy1...@gm

Re: tapestry split button

2015-05-05 Thread Dimitris Zenios
good example for mixins. > Example you can use as usual and then assign the mixins if you > want it as dropdown button. > > Thanks. > > On Tue, May 5, 2015 at 4:14 PM, Dimitris Zenios > > wrote: > > > Why do you need a mixin for that.This is plain html there.What ex

Re: Tapestry 5.3.7 - best way to customize Grid Pager

2015-06-03 Thread Dimitris Zenios
You can use tapestry 5.4 and ComponentOverride. Also tapestry 5.4 comes bundled with bootstrap and jquery On Wed, Jun 3, 2015 at 3:39 PM, Luca Arzeni wrote: > Hi, > I'm using Tapestry5 (5.3.7), and bootstrap for reponsive layout. > > I'using tapestry5 grid component, and I would linke to customi

Re: Multiple domains, one webapp

2015-07-30 Thread Dimitris Zenios
I would definitely split it into two web applications with a common tapestry module.Any other way will result to a mess. On Thu, Jul 30, 2015 at 10:12 PM, Stephen Nutbrown wrote: > Hi, > > To cut a long story short, I have a website running using tapestry which > has two main areas, we will call

Re: HTTPS + tapestry-security

2015-12-12 Thread Dimitris Zenios
Dimitris Zenios On Sun, Dec 6, 2015 at 9:32 PM, Andreas Ernst wrote: > Hi, > > i got an Apache in Front how redirects http to https pages. > > This works fine if i use > > configuration.add(SymbolConstants.PRODUCTION_MODE, false); > > If i change this to true, URI does no

Re: Is tapestry plastic incompatible with JEE specs?

2015-12-12 Thread Dimitris Zenios
HI Luca Arzeni Just for testing could you try with Tapestry 5.4-rc-1? Tapestry 5.4 bundles a newer asm version. Don't forget that tapestry plastic is a wrapper around asm Dimitris Zenios On Sat, Dec 12, 2015 at 7:06 PM, Luca Arzeni wrote: > Here you are: this is a test case that s

Re: Automatically add an attribute to component

2015-12-16 Thread Dimitris Zenios
Hi You can create a mixin that adds the atttribute and apply it to all component via a worker and MutableComponentModel.addMixinClassName Dimitris Zenios On Wed, Dec 16, 2015 at 12:27 PM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > Hi, > > I have some use cases wher

Re: Customize vadation message for fields generated dynamically

2015-12-16 Thread Dimitris Zenios
actual id), then by * converting the actual id to a presentable string (for example, "userId" to "User Id"). */ @Parameter(defaultPrefix = BindingConstants.LITERAL) protected String label; Dimitris Zenios On Wed, Dec 16, 2015 at 5:39 PM, Robson Pires wrote: > Hi, > > I

ajaxExceptionHandler Method name typo in tapestry 5.2.4

2010-12-10 Thread Dimitris Zenios
There is a typo in tapestry.js regarding ajaxExceptionHandler function.The method name is ajaxExceptionHander instead of ajaxExceptionHandler and you are registering it in (new Ajax.request) as ajaxExceptionHandler ps. i already submitted a jira (TAP5-1367) https://issues.apache.org/jira/bro

Ajax custom exception handled does not work in tapestry 5.2.4

2010-12-10 Thread Dimitris Zenios
Even if i create my own exceptionhandler function and register it through the Tapestry.ajaxRequest(url,{ onException: function}) the exception handled is not called when an exception is thrown.I think the problem is in the succes function that tapestry.js overwrites we have this snippet of cod

ajaxExceptionHandler Method name typo in tapestry 5.2.4

2010-12-10 Thread Dimitris Zenios
There is a typo in tapestry.js regarding ajaxExceptionHandler function.The method name is ajaxExceptionHander instead of ajaxExceptionHandler and you are registering it in (new Ajax.request) as ajaxExceptionHandler ps. i already submitted a jira (TAP5-1367) https://issues.apache.org/jira/bro

Ajax custom exception handler does not work in tapestry 5.2.4

2010-12-10 Thread Dimitris Zenios
Even if i create my own exception handler function and register it through the Tapestry.ajaxRequest(url,{ onException: function}) the exception handled is not called when an exception is thrown.I think the problem is in the succes function that tapestry.js overwrites we have this snippet of cod

Re: Ajax custom exception handled does not work in tapestry 5.2.4

2010-12-11 Thread Dimitris Zenios
the timer.Now i cannot. On Dec 11, 2010, at 2:43 AM, Josh Canfield wrote: > Can you provide an example of an exception that is not being handled? > > Are you talking about javascript exception or java exception? > > On Fri, Dec 10, 2010 at 1:40 PM, Dimitris Zenios > wrote: >&

Layout component question

2011-10-06 Thread Dimitris Zenios
@OnEvent(value=EventConstants.PROVIDE_COMPLETIONS,component="layoutSearch") Any idea how can i fix that? Dimitris Zenios - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional comma

Re: Layout component question

2011-10-07 Thread Dimitris Zenios
; On Thu, Oct 6, 2011 at 9:10 AM, Dimitris Zenios > wrote: >> Hi guys. >> >> I have a layout component which has a textfield inside it with >> autocomplete mixin and an id of "layoutSearch".Some pages now that use >> the layout would like to provide comp

JavascriptStack

2011-10-09 Thread Dimitris Zenios
Hi guys.I have a javascript stack which includes two javascript files. One should be always added and the other only when internet explorer. Is there a possibility to append the internet explorer javascript file only when needed or it should be always added? Dimitris Zenios

Tapestry-JPA 5.3 beta22 Problem

2011-10-17 Thread Dimitris Zenios
It seems there is a problem with Tapestry JPA.From what i can tell, value encoder does not work.I am using tapestry 5.3 beta 22.toClient of value encoder is not called and if i go to the page by hand in order to force toValue method then i get this exception org.apache.tapestry5.runtime.Componen

Re: Problems using JPA with 5.3

2011-10-17 Thread Dimitris Zenios
Thiago i am using tapestry-jpa.I haven’t tested tynamo-jpa.From what i can see at the source code of JpaModule.java there is a method @Contribute(ValueEncoderSource.class) public static void provideValueEncoders(final MappedConfiguration configuration, @Symbol(JpaSymbols.PROVIDE_ENTITY_V

Re: Problems using JPA with 5.3

2011-10-17 Thread Dimitris Zenios
Sorry wrong reply :).I though it was for a previous mail On Mon, Oct 17, 2011 at 2:38 PM, Dimitris Zenios wrote: > Thiago i am using tapestry-jpa.I haven’t tested tynamo-jpa.From what i > can see at the source code of JpaModule.java there is a method > > >    @Contribute(ValueEnco

Re: Tapestry-JPA 5.3 beta22 Problem

2011-10-17 Thread Dimitris Zenios
Mon, Oct 17, 2011 at 1:46 PM, Dimitris Zenios wrote: > It seems there is a problem with Tapestry JPA.From what i can tell, > value encoder does not work.I am using tapestry 5.3 beta 22.toClient > of value encoder is not called and if i go to the page by hand in > order to force toValue m

Re: Problems using JPA with 5.3

2011-10-17 Thread Dimitris Zenios
Jesse i am using tapestry-jpa with hibernate and it works great except the problem of value encoder.Maybe you did something wrong in the persistence.xml or you didn't place it in the correct location. On Mon, Oct 17, 2011 at 8:07 PM, jesse wrote: > Thanks Thiago, > > I have read the documentation

Re: Problems using JPA with 5.3

2011-10-20 Thread Dimitris Zenios
Jess i think you problem is with weaving.Try adding in your persistence.xml and see if it works.Have in mind though that disabling weaving is not a good option.but you can try just to see if this is the problem On Thu, Oct 20, 2011 at 11:25 AM, Igor Drobiazko wrote: > Might it be a Glassfish iss

Re: Problems using JPA with 5.3

2011-10-20 Thread Dimitris Zenios
Jesse most probably t5 is not doing anything.Are you doing static weaving?And if yes can you post maven plug in that weaves your classes?Maybe you are not doing weaving at all.Thats why eclipselink complains On Thu, Oct 20, 2011 at 6:36 PM, jesse wrote: > Yes, I agree that the problem is with wea

Re: Problems using JPA with 5.3

2011-10-20 Thread Dimitris Zenios
I tried using eclipselink with tapestry-jpa and i had the same errors as you with jetty.I though that the problem was that i was not doing weaving so i stopped there and revert back to hibernate.If what you are saying is correct (When you run your app in a j2ee container (like tomcat and jetty, bot

Tapestry 5.3 beta releases

2011-10-20 Thread Dimitris Zenios
Is there any website or something to check what fixes and features are going in each tapestry 5.3 beta release?Almost every day we have a new beta release and we dont know whats included and what not. - To unsubscribe, e-mail: use

Re: Problems using JPA with 5.3

2011-10-20 Thread Dimitris Zenios
Jesse.Did you manage to find the cause of the problem?From the bug that you reported there is nothing that indicated that its t5 fault. On Thu, Oct 20, 2011 at 10:29 PM, Lenny Primak wrote: > I don't understand what this has anything to do with Tapestry. > Doesn't seem like Tapestry  bug at all.

Re: Problems using JPA with 5.3

2011-10-22 Thread Dimitris Zenios
Jesse i have looked at tynamo-jpa source code and there is nothing in there regarding weaving.So there must be something else.Maybe igor (Creator of tapestry-jpa) can help us. On Sat, Oct 22, 2011 at 6:21 AM, jesse wrote: > Maybe tynamo does something to get weaving working that tapestry-jpa does

Disable double submission

2011-11-02 Thread Dimitris Zenios
Hello guys. How can i disable a more than one submission when i have a form inside a zone? I tried using a clickOnce mixin but the problem is that it disabled the button even if the form has validation errors.And then even if i fix the validation errors i still cannot commit.

Re: Disable double submission

2011-11-02 Thread Dimitris Zenios
button with the rest of the form? > > Steve. > > > > On 2 November 2011 22:55, Dimitris Zenios wrote: >> Hello guys. >> >> How can i disable a more than one submission when i have a form inside >> a zone? I tried using a clickOnce mixin but the problem

Re: Disable double submission

2011-11-02 Thread Dimitris Zenios
Yeap.The whole form is inside the zone. On Wed, Nov 2, 2011 at 5:28 PM, Steve Eynon wrote: > Um, I mean... > > Is the submit button inside the Zone that gets re-rendered during the > Ajax form submission? > > Steve. > > > On 2 November 2011 23:24, Dimitris Zenios

Re: Disable double submission

2011-11-02 Thread Dimitris Zenios
(this)); >        }, > >        doClickOnce: function(e) { >                if (alreadyClickedOnce) { >                        e.stop(); >                } >                alreadyClickedOnce = true; >        } > > } ) > > Steve. > > > > > On 2 November 2011 23:30, D

Re: T5.3. rc3: event bubbling bug?

2011-11-06 Thread Dimitris Zenios
You can try this in the java page @InjectComponent(id="ProductSizeForm") private Form ProductSizeForm; @OnEvent(value=EventConstants=SUCCESS,component="ProductSizeForm") public void formSuccess() { } And in the tml leave it as it is and try again. On Sun, Nov 6, 2011 at 4:13 PM, 9902468 wro

Re: T5.3. rc3: event bubbling bug?

2011-11-06 Thread Dimitris Zenios
Sorry for the wrong reply.I havent read the whole list. On Sun, Nov 6, 2011 at 5:05 PM, Dimitris Zenios wrote: > You can try this in the java page > > @InjectComponent(id="ProductSizeForm") > private Form ProductSizeForm; > > > @OnEvent(value=EventConstants=SUC

Re: fckeditor for Tapestry 5.3

2011-11-11 Thread Dimitris Zenios
This is the one i used in tapestry 5.3 also and it works On Fri, Nov 11, 2011 at 6:01 AM, Steve Eynon wrote: > Hi, > > Easy FCKeditor comes up first with > http://www.google.co.uk/search?q=fckeditor+tapestry > > (I've used it in the past, seems to work well.) > http://kenai.com/projects/t5-easy-f

Re: fckeditor for Tapestry 5.3

2011-11-11 Thread Dimitris Zenios
Nope... On Fri, Nov 11, 2011 at 4:57 PM, TG wrote: > Is it on Google App Engine for Java (GAEJ)? Mine is on GAEJ and it does not > work. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4984586.html > Sent from the Tapestry - Use

Get component in overrides

2012-09-11 Thread Dimitris Zenios
Is there a way to get the current component inside block overrides?I would like to show something different if its a grid component.Injecting componentResouirces and getting component returns NULL.Any other way? - To unsubscribe,

Re: breadcrumb trail component

2012-10-29 Thread Dimitris Zenios
https://bitbucket.org/zenios/tapestry-zbreadcrumbs/wiki/Home On Mon, Oct 29, 2012 at 5:13 PM, Chris Cureau wrote: > https://github.com/argoyle/tapestry-breadcrumbs > > On Mon, Oct 29, 2012 at 10:10 AM, John wrote: > >> Hi, >> >> Is there a component to display a breadcrumb trail at the top of a

Re: Possible bug in generated client ids

2012-11-03 Thread Dimitris Zenios
Figueiredo < thiag...@gmail.com> wrote: > On Sat, 03 Nov 2012 07:43:52 -0200, Dimitris Zenios < > dimitris.zen...@gmail.com> wrote: > > Hi everyone. >> > > Hi! > > As far as I can remember, this problem is caused by Grid using @Persist in > the field t

Re: Possible bug in generated client ids

2012-11-03 Thread Dimitris Zenios
progressive display we have this effect. On Sat, Nov 3, 2012 at 4:12 PM, Dimitris Zenios wrote: > Since each grid is inPlace then sorting links become an ajax link that is > connected with the zone through updatezoneonevent javascript function.If we > have two elements with the same id

Re: Possible bug in generated client ids

2012-11-04 Thread Dimitris Zenios
Done https://issues.apache.org/jira/browse/TAP5-2025 Please vote the bug On Sat, Nov 3, 2012 at 7:38 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 03 Nov 2012 12:47:51 -0200, Dimitris Zenios < > dimitris.zen...@gmail.com> wrote: > > I managed

Re: is openJDK compatible with Tapestry 5?

2013-05-19 Thread Dimitris Zenios
I never had problems running tapestry 5 and openjdk On Sun, May 19, 2013 at 6:52 PM, Angelo Chen wrote: > Hi, > > I got an app running well in : > ava version "1.6.0_21" > Java(TM) SE Runtime Environment (build 1.6.0_21-b06) > Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) > > no

Re: Tapestry JPA

2013-06-09 Thread Dimitris Zenios
You car write your own advisor on top of commit after and if commit after didnt throw an exception you can call your success listeners. On Sun, Jun 9, 2013 at 12:02 AM, John wrote: > Hi, > > I want to audit the database updates in some DAO classes I am using from > my pages. > > Obviously I'd o

Re: [T5.4] Weird behavior with CSS files

2013-06-26 Thread Dimitris Zenios
Check out https://issues.apache.org/jira/browse/TAP5-2106 On Thu, Jun 27, 2013 at 4:45 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 26 Jun 2013 04:38:58 -0300, Serge Eby wrote: > > Hi, >> > > Hi! > > I am still planning an upgrade to 5.4 while playing with the lates

Re: 5.4-alpha-11 preview release

2013-07-18 Thread Dimitris Zenios
I have been using tapestry 5.4 since alpha 3.Its quite stable.The only problem i have found until now is that sometimes when refreshing pages to frequently javascript does not work with random errors of undefined.Even after page loads ok.It looks like that require.js is stopped while downloading a

Bootstrap 3 and tapestry 5.4

2013-07-27 Thread Dimitris Zenios
Hi everyone Bootstrap 3 RC1 is released and get bootstrap page redirect to download the new version instead of the old (2.3.2) As a suggestion maybe it will be better to upgrade the bundled bootstrap inside tapestry 5.4 to version 3 before a final release Regards Dimitris Zenios

Ckeditor and tapestry 5.4

2013-08-05 Thread Dimitris Zenios
Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor. Ckeditor loads all its dependencies asynchronously but not through require.js. How can i expose ckeditors folder for the to the client in order to let ckeditor.js load its resources from? Regards Dimitris Zenios

Re: Ckeditor and tapestry 5.4

2013-08-05 Thread Dimitris Zenios
he example above, the module name is ckeditor. > > Regards, > Yunhua > > > > > > > > > > On Mon, Aug 5, 2013 at 2:01 PM, Dimitris Zenios > wrote: > > > Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor. > > Ckeditor loads a

Re: Ckeditor and tapestry 5.4

2013-08-05 Thread Dimitris Zenios
Also Yunhua Sang module dispatcher only support .js files.Ckeditor needs to load css files alsos On Tue, Aug 6, 2013 at 12:30 AM, Dimitris Zenios wrote: > There is a slight problem.I am using a require.js module to load > ckeditor.I have ckeditor-library as a shim and a ckeditor modul

Re: Proposal for a new book: Mastering Apache Tapestry

2013-08-05 Thread Dimitris Zenios
I would love to see a book for tapestry-ioc,plastic only.And how it can integrate with other forms of application and compete with spring etc etc On Tue, Aug 6, 2013 at 12:20 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 05 Aug 2013 17:13:54 -0300, Thiago H de Paula Fig

Re: What do we need to learn to use Tapestry 5.4 ?

2013-08-17 Thread Dimitris Zenios
Muhammad Gelbana have a look at this http://tapestry.apache.org/release-notes-54.html Martin tapestry 5.4 is planned to be released soon.From what I see there are not many things left to be done.Right now its in alpha 14 and most probably it will go beta state very soon. On Sun, Aug 18, 2013 at

Re: [T5.4] default Datepicker issues

2013-09-05 Thread Dimitris Zenios
Nope.There is no way to switch to Jquery UI Datepicker from tapestry.What you can do though is since Datefield is just an input box, you can override the tapestries datefield javascript file (t5/core/datefield) and create your own that uses jquery ui datepicker.I did that once to use bootstrap-date

Re: [T5.4] more Datepicker issues...

2013-09-05 Thread Dimitris Zenios
Datepicker does not depend on prototype from what i remember.Did you add this to your appmodule? @Contribute(Compatibility.class) public static void disableScriptaculous(MappedConfiguration configuration) { configuration.add(Trait.SCRIPTACULOUS, false); configuration.ad

RE: [T5.4] Replace Datepicker with Bootstrap Datepicker?

2013-09-07 Thread Dimitris Zenios
+1 for that.i am not sure though if bootstrap datepicker is compatible with bootstrap 3 Sent from my Windows Phone From: Lenny Primak Sent: 7/9/2013 4:25 To: Tapestry users Subject: [T5.4] Replace Datepicker with Bootstrap Datepicker? I have always had problems with the Tapestry's datepicker. It'

Re: Excluding ROOT localization

2013-09-07 Thread Dimitris Zenios
If you are referring to remove blank option from select component then t: blankOption="*NEVER * " would be ok. On Sat, Sep 7, 2013 at 6:19 PM, Nomen Nominus wrote: > Hi. I have setup select loca

Re: How do I @Import a core css library?

2013-09-13 Thread Dimitris Zenios
If you put your assets in META-INF/assets/css/autocomplete.css you will do @Import(stylesheet="css/autocomplete.css") On Fri, Sep 13, 2013 at 4:06 AM, George Christman wrote: > Hello, I'm using t5.4.20 and I'm working on building a custom autocomplete > component and I'm looking to import the au

PageRenderLinkSource inside periodic executor

2013-10-14 Thread Dimitris Zenios
dont know if this is the preferred way Any solution? Best Regards Dimitris Zenios

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

Select on tapestry 5.3

2011-12-02 Thread Dimitris Zenios
Hello guys I have two selects inside a form. Lets assume that both selects have same list of values such as 1."HELLO" 2."BYE" First select has a zone so that when i select HELLO from the first it will exclude it from the second and only BYE will be available in the second select.Everything is w

Re: Select on tapestry 5.3

2011-12-03 Thread Dimitris Zenios
anyone? On Fri, Dec 2, 2011 at 6:40 PM, Dimitris Zenios wrote: > Hello guys > > I have two selects inside a form. > > Lets assume that both selects have same list of values such as > > 1."HELLO" > 2."BYE" > > First select has a zone so that when

  1   2   >