Re: BeanEditForm in jquery.dialog - problem with validation

2015-07-15 Thread Chris Poulsen
Try bindnig the BeanEditForm to the zone to prevent full page reload on submit (zone=^) On Wed, Jul 15, 2015 at 4:34 PM, Matthias Bieber mabi1...@gmx.de wrote: Hello, I have a BeanEditForm inside a jquery.dialog. The dialog will be opened if you click on a link. I want to validate the input

Re: AjaxUpload and BeanEditContext

2015-05-29 Thread Chris Poulsen
I dont know if it is enough to wrap the upload component and have the wrapper's handler push BEC, trigger custom event with callback result, pop BEC after trigger returns and then return the callback result to the inner handler? On Fri, May 29, 2015 at 3:56 PM, Lance Java

Re: AW: AW: Adding JS to my component combined with using t:If

2015-05-27 Thread Chris Poulsen
take a look at the ajax.js module and see if you can use that instead of generating your own $.post On Wed, May 27, 2015 at 10:45 AM, Poggenpohl, Daniel daniel.poggenp...@isst.fraunhofer.de wrote: Hello again, I have generated the event urls and given them to my editor initialization

Re: AW: AW: Adding JS to my component combined with using t:If

2015-05-27 Thread Chris Poulsen
the other library help me? Regards, Daniel P. -Ursprüngliche Nachricht- Von: Chris Poulsen [mailto:mailingl...@nesluop.dk] Gesendet: Mittwoch, 27. Mai 2015 11:19 An: Tapestry users Betreff: Re: AW: AW: Adding JS to my component combined with using t:If take a look at the ajax.js

Re: Generate link to Tapestry page from another program

2015-05-09 Thread Chris Poulsen
can do that of course and that was definitely the point of my question, but what delimiter is allowed by Tapestry? Fra: Chris Poulsen [mailingl...@nesluop.dk] Sendt: 9. maj 2015 19:30 Til: Tapestry users Emne: Re: Generate link to Tapestry page from

Re: Generate link to Tapestry page from another program

2015-05-09 Thread Chris Poulsen
I was thinking that you could pass the list of ids as a single multivalue parameter and then use request.getParameterValues to retrieve the values for the parameter (so url encoding of , would not be an issue) On Wed, May 6, 2015 at 5:00 PM, Poder, Jacob jacob.po...@thermofisher.com wrote: I'll

Re: Generate link to Tapestry page from another program

2015-05-09 Thread Chris Poulsen
Something like this answer: http://stackoverflow.com/a/15849972 On Sat, May 9, 2015 at 5:38 PM, Poder, Jacob jacob.po...@thermofisher.com wrote: Sorry, I don't follow, how can I pass the list of ids as a single multivalue parameter? Fra: Chris

Re: Generate link to Tapestry page from another program

2015-05-06 Thread Chris Poulsen
you can also work with the request parameters in the old fashioned way by injecting the request On Wed, May 6, 2015 at 2:45 PM, Poder, Jacob jacob.po...@thermofisher.com wrote: Hi all, I want to generate links to a Tapestry page from another (non Tapestry) Java program and would like to know

Re: Tapestry Export functionality Problem

2015-04-29 Thread Chris Poulsen
this by using a normal http filter around it. -- Chris On Wed, Apr 29, 2015 at 7:32 AM, Siddharth Tyagi siddharth.ty...@niit-tech.com wrote: Thiago H de Paula Figueiredo thiagohp at gmail.com writes: On Fri, 24 Apr 2015 05:48:04 -0300, Siddharth Tyagi siddharth.tyagi at niit-tech.com wrote

Re: W3c Validation stray input tags

2015-04-26 Thread Chris Poulsen
It works as far as I know, its probably a code error. A guess could be that you do not have the correct doctype in your pages. http://jumpstart.doublenegative.com.au/jumpstart7/examples/component/html5inputtypes outputs html5 inputs if you need an online example. -- Chris On Sun, Apr 26, 2015

Re: Activation event handler regression after upgrading from 5.4-beta-22 to 5.4-beta-31

2015-04-22 Thread Chris Poulsen
naming convention still works, while the @OnEvent stopped working. -- Chris On Wed, Apr 22, 2015 at 2:38 PM, Michael Gentry mgen...@masslight.net wrote: I wonder if it might have something to do with the superclass signature being: void activate(EventContext) and the subclass signature being

Activation event handler regression after upgrading from 5.4-beta-22 to 5.4-beta-31

2015-04-22 Thread Chris Poulsen
activate) Has anyone else seen this behavior after upgrading from beta-22? -- Chris

Re: parallel remote requests in Tapestry

2015-04-14 Thread Chris Poulsen
Or maybe you can use progressive display? http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/progressivedisplayvariations On Tue, Apr 14, 2015 at 1:36 PM, Chris Poulsen mailingl...@nesluop.dk wrote: If your prepareData() is non-blocking, why not just call it right before you do

Re: parallel remote requests in Tapestry

2015-04-14 Thread Chris Poulsen
If your prepareData() is non-blocking, why not just call it right before you do the token.getData() ? (both in setupRender() ) On Tue, Apr 14, 2015 at 1:03 PM, Тимур Бухараев bukhar...@gmail.com wrote: Hi, My pages consist page class and several components inside. Page and its components

Re: IoC Service, call a method after instantiation/realization

2015-04-12 Thread Chris Mylonas
. The annotated method will be called upon application startup after the registry setup. If you need those methods to be called in a specific order, you should contribute to RegistryStartup. I hope it'll help you. Le dim 12 avr. 2015 06:30, Chris Mylonas ch...@opencsta.org a écrit : Hi Tapestry

IoC Service, call a method after instantiation/realization

2015-04-11 Thread Chris Mylonas
); } Is this the way? Doesn't seem to be working at the moment for me Thanks Chris - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: The active page name has not been specified

2015-03-31 Thread Chris Poulsen
on some pages - similar to the one in tynamo conversations, so requests may arrive while things are locked up in either debugger - but I cannot remember if this has happened on pages supporting conversations. -- Chris On Tue, Mar 31, 2015 at 7:52 PM, George Christman gchrist...@cardaddy.com wrote

Re: EJB JNDI based on execution environment

2015-03-30 Thread Chris Mylonas
http://jumpstart.doublenegative.com.au/jumpstart/ http://jumpstart.doublenegative.com.au/jumpstart/examples/state/atejb Download jumpstart and have a look how Geoff has done it. On Mon, 30 Mar 2015 19:34:29 +1100, Adam X vbgnm3c...@gmail.com wrote: Hi, I have a different JNDI lookup

Re: Upgrading to 5.4 Beta 28

2015-03-30 Thread Chris Mylonas
In the pom.xml filenfomment out the section of yui compressor. Are you using jumpstart 7 which is built using 5.4?

Re: How to generate URL's from the context

2015-03-23 Thread Chris Poulsen
http://tapestry.apache.org/assets.html I think the context variant is what you are looking for. On Mon, Mar 23, 2015 at 6:34 PM, Poggenpohl, Daniel daniel.poggenp...@isst.fraunhofer.de wrote: Hello, the day has been long, I am kinda stumped now. I have some documents lying in the

Re: [5.4] Where to put the require.config?

2015-03-22 Thread Chris Poulsen
), On Sat, Mar 21, 2015 at 4:19 PM, Rural Hunter ruralhun...@gmail.com wrote: How to work out if I want to config the path of a third-party module if I use js stack? 2015-03-20 17:07 GMT+08:00 Chris Poulsen mailingl...@nesluop.dk: In a javascript stack? On Fri, Mar 20, 2015 at 4:05 AM

Re: [5.4] Where to put the require.config?

2015-03-20 Thread Chris Poulsen
In a javascript stack? On Fri, Mar 20, 2015 at 4:05 AM, Rural Hunter ruralhun...@gmail.com wrote: Hi, I'm testing tapestry 5.4. I'm wondering where to put the requirejs.config code for my own modules and third-party modules?

Re: Custom complex grid / search results page

2015-03-10 Thread Chris Poulsen
Perhaps you could use display blocks like the beaneditor/grid etc. does. -- Chris On Tue, Mar 10, 2015 at 12:45 AM, Daniel Jue teamp...@gmail.com wrote: Hi, I have a reusable war overlay project where the omnipresent search bar component is in a layout and search results page is defined

Re: T5.4 : Problem with two components with Ajax on the same page.

2015-02-19 Thread Chris Poulsen
Coul be clash of zone ids in the html? - try generating unique zone id (client side id, not t:id) e.g using the supplied t:id + something more or wrap the link in the zone and use zone ^ (may be too simplistic for a real use). -- Chris On Thu, Feb 19, 2015 at 3:49 PM, Sumanth roasteddra

Re: AW: Re: How to get container inside self written component

2015-02-16 Thread Chris Mylonas
custom @Service tapestry artifacts you can still do the object oriented things. If you have dozens of components it'll be a little bit of a refactor, but __totally__ worth it compared to alternate approaches. Mylo's 2cents :) Cheers Chris On Tue, 17 Feb 2015 07:43:18 +1100, Erich Gormann

Re: Tapestry 5.4 Beta 22: Supposed directory structure for modules used by requirejs

2015-02-05 Thread Chris Poulsen
( module = login/login ) in your page or in a component on the page. HTH -- Chris On Thu, Feb 5, 2015 at 9:52 AM, samt sonders kont...@samtundsonders.at wrote: hi, I'm trying to upgrade my project from 5.3.8 and running into problems using modules. For the source directory structure I

Re: form requires dynamic radio button list

2015-02-05 Thread Chris Poulsen
It seems like you are using the locality property for everything (selected value and loop variable) maybe that is the source of your problem? On Thu, Feb 5, 2015 at 6:40 AM, John Coleman qbyteconsult...@gmail.com wrote: Hi, The examples of using the tapestry radio button are all static. I

Re: [T5.4] How to exclude twitter bootstrap from app pages?

2015-02-02 Thread Chris Mylonas
hi Dmitry there was a thread here a couple of months back about importing a blank css file so that one could have total control. perhaps the css ordering would suit your circumstance? cm On 30/01/2015 1:45 am, Dmitry Gusev dmitry.gu...@gmail.com wrote: Hello, I've just started migrating

Re: formState=NONE is it safe to use with persistent properties ?

2015-01-30 Thread Chris Poulsen
Sounds like you should take a look at valueencoders. http://tapestry.apache.org/using-select-with-a-list.html#UsingSelectWithaList-ValueEncoder is one example On Fri, Jan 30, 2015 at 1:24 PM, nhhockeyplayer nashua nhhockeypla...@hotmail.com wrote: I goto home page I select itemsPerPage = 5

Re: Redirecting to a Page with context

2015-01-24 Thread Chris Poulsen
return the link from the handler and tapestry will redirect/render it On Sat, Jan 24, 2015 at 5:05 PM, akshay akshayestat...@gmail.com wrote: Hi Chris, Well I have already tried using PageRenderLinkSource for getting the linkproject/details/10871. Once I get the link I transfrom

Re: Redirecting to a Page with context

2015-01-24 Thread Chris Poulsen
PageRenderLinkSource or @InjectPage / set fields / return page / rely on onPassivate On Sat, Jan 24, 2015 at 4:10 PM, akshay akshayestat...@gmail.com wrote: Hi, Can anyone please suggest me a way of redirecting/rendering a page with context from my current page. This what I have been

Re: select fails now in 5.4

2015-01-24 Thread Chris Poulsen
I think my first suggestion would have worked if you had actually wrapped the select in a t:zone and not a zone tag and removed the argument from the handler... as i wrote there is no need to work with hidden submits etc. it works right out of the box, with dead simple code. On Sat, Jan 24, 2015

Re: select fails now in 5.4

2015-01-23 Thread Chris Poulsen
your pasted code is a mess. But from what I can see your attempt to implement my suggestion was almost correct... except that you had an argument in your change handler: was: onActionFromItemsPerPageSelect(Integer value) should be: onActionFromItemsPerPageSelect() [the property bound to

Re: Checkbox value for zone update

2015-01-23 Thread Chris Poulsen
the EventConstants.SUCCESS event for the form (where you can use ajax response renderer to perform zone updates etc) If you are using t5-jquery you are probably not on 5.4 - so you would need to replace the form.async with the 5.3 zone equivalent. HTH -- Chris On Fri, Jan 23, 2015 at 1:32 PM

Re: select fails now in 5.4

2015-01-23 Thread Chris Poulsen
dont mess around with the form manually - you cannot submit it using that function - instead wrap the select in a zone and specify zone=^ on the select. HTH -- Chris On Fri, Jan 23, 2015 at 4:08 PM, nhhockeyplayer nashua nhhockeypla...@hotmail.com wrote: Folks, I wrote code and it fails

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-22 Thread Chris Mylonas
follow! great tenacity. ah. the life cycle of bugs. discovery deserves a beer!

Re: PageRenderLinkSource failing in service when called by cron scheduler - Unable to delegate method invocation to property

2015-01-21 Thread Chris Poulsen
Would it be easier to mock a request? On Wed, Jan 21, 2015 at 10:30 PM, George Christman gchrist...@cardaddy.com wrote: On Wed, Jan 21, 2015 at 4:13 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Wed, Jan 21, 2015 at 1:07 PM, George Christman gchrist...@cardaddy.com wrote:

Re: t-5.4 - page loading mask bug

2015-01-14 Thread Chris Poulsen
you have a javascript error preventing the code that removes the mask to run On Wed, Jan 14, 2015 at 3:28 AM, nhhockeyplayer nashua nhhockeypla...@hotmail.com wrote: Hi Folks, A new page feature has been added .pageloading-mask div { height: 100%; background:

Re: Release notes

2015-01-13 Thread Chris Mylonas
github https://github.com/apache/tapestry-5/blob/master/54_RELEASE_NOTES.md On 14/01/2015 6:46 am, George Christman gchrist...@cardaddy.com wrote: Hi, could someone tell me where the release notes are for 5.4? I'd just like to know what issues are being addressed in each beta release. Thanks.

Re: Release notes

2015-01-13 Thread Chris Mylonas
) On Wed, 14 Jan 2015 07:01:31 +1100, George Christman gchrist...@cardaddy.com wrote: Thanks Chris, but what about items that have been fixed in each beta version? Should I be looking at jira for that info or is there a page dedicated to it? On Tue, Jan 13, 2015 at 2:48 PM, Chris Mylonas ch

Re: Prevent Tapestry from redirecting non existing pages to index.

2015-01-05 Thread Chris Poulsen
A strict onActivate in the index page can handle this On Mon, Jan 5, 2015 at 4:10 PM, George Christman gchrist...@cardaddy.com wrote: Hi guys, I'm wondering if Tapestry has a configuration setting some where to prevent the framework from redirecting non existing pages to the Index. This

Re: Prevent Tapestry from redirecting non existing pages to index.

2015-01-05 Thread Chris Poulsen
context? On Mon, Jan 5, 2015 at 11:53 AM, Chris Poulsen mailingl...@nesluop.dk wrote: A strict onActivate in the index page can handle this On Mon, Jan 5, 2015 at 4:10 PM, George Christman gchrist...@cardaddy.com wrote: Hi guys, I'm wondering if Tapestry has a configuration setting

Re: Custom exception report for AJAX requests

2015-01-04 Thread Chris Mylonas
touched t5 for a cpl months and am on a boat taking a break from doing work at the top of the mast (bit light headed) chris On 05/01/2015 5:57 am, Ilya Obshadko ilya.obsha...@gmail.com wrote: I asked about this before, but didn't get any answer. Is that possible to customize AJAX error reporting

Re: Grid data source, BeanModel and nested properties

2015-01-02 Thread Chris Poulsen
of it manually - alternatively you could probably teach tapestry about the complex property types, but I prefer the manual way. -- Chris On Fri, Jan 2, 2015 at 9:45 AM, Ilya Obshadko ilya.obsha...@gmail.com wrote: I'm trying to implement a Grid data source optimized for database retrievals

Re: Far Future Expiration Headers of Assets

2014-12-22 Thread Chris Poulsen
The cdn should handle the expire headers. Tapestry only tells the client where to get the files. As for the modules I've never had a look at their expiration time, but a simple test app in production mode also reposts 60secs here. - Guess that could be something to dig into. -- Chris On Mon

Re: Returning json when request is non xhr

2014-12-15 Thread Chris Poulsen
) in tapestry sources for an example of how to add the code -- Chris On Mon, Dec 15, 2014 at 4:16 PM, Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, I have 2 applications (different servers): 1) html + js 2) Tapestry5 Now I tried to do an ajax request (jquery) from application 1

Re: Problems with the Palette component

2014-12-15 Thread Chris Poulsen
I have never used the palette, but have you had a look at the tapestry-5\tapestry-core\src\test\java\org\apache\tapestry5\integration\app1\pages\PaletteDemo.java file? On Mon, Dec 15, 2014 at 4:38 PM, Berghoff, Benjamin benjamin.bergh...@isst.fraunhofer.de wrote: I use java 32 bit. The Dms

Re: prevent ajax form submit

2014-12-11 Thread Chris Poulsen
In 5.4 you can also use the async flag on the form (instead of wrapping in a zone) -- Chris On Thu, Dec 11, 2014 at 5:15 PM, George Christman gchrist...@cardaddy.com wrote: Yes, you always wrap an ajax form with a zone and akshay is correct, you need to return multiple zones as he showed you

Re: prevent ajax form submit

2014-12-11 Thread Chris Poulsen
http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/corelib/components/Form.html On Thu, Dec 11, 2014 at 6:37 PM, George Christman gchrist...@cardaddy.com wrote: async On Thu, Dec 11, 2014 at 12:37 PM, George Christman gchrist...@cardaddy.com wrote: Chris I wasn't aware

Re: What happens when Boootstrap 4 is released?

2014-12-11 Thread Chris Mylonas
tapestry I guess as wellso yes, quite forward thinking. I think getting the javascript stuff done for 5.4 has been a monumental effort!! Development!!! The end. Chris On Fri, 12 Dec 2014 08:35:53 +1100, Bob Harner bobhar...@gmail.com wrote: The bootstrap compatibility issue has been

Re: A submit button block inside an ajax form causing problem with disabling the input.

2014-12-03 Thread Chris Poulsen
Normally you can fix the client id by specifying it yourself - but it seems like the submit component does not honor this? You could mark up the submit in another way (a data attribute or something else that allows you to find it in the DOM) -- Chris On Tue, Dec 2, 2014 at 7:54 PM, Sumanth

Re: Hibernate session tapestry atmosphere

2014-11-29 Thread Chris Mylonas
For the unwashed, Just to confirm, r u using: Tapestry-security Tapestry-hibernate Tapestry-lanceuk-comet On 29/11/2014 8:21 pm, Name Surname wintertime0...@outlook.com wrote: Hello. I have made my first app in chat, well in some sort of the way. It works just fine all up until I have decided

RE: Issues with beaneditform component

2014-11-27 Thread Chris Mylonas
Dunno - I use the param user in onActivate instead of setData. Also just int. During @setupRender stage, fetch from logic the orig. At save time, my logic sets it all from form object. Make sense?

Re: Hints on javascript debugging

2014-11-26 Thread Chris Mylonas
. One side effect of RequireJS seems to be obscure js exceptions or maybe i'm still getting used to it. p. On 20/11/2014 8:30 AM, Chris Mylonas wrote: No trying yet, I'm pretty sure firebug/devtools would suffice. My initial request would probably be satisfied with a simple gg search javascript

Re: Issues with beaneditform component

2014-11-26 Thread Chris Mylonas
On permission page I dont think u need @persist, you are setting the user already. The reason: I think its because when it goes to save it is using the stale user object discarding the form submission changes. On 27/11/2014 12:45 pm, Name Surname wintertime0...@outlook.com wrote: I have one

Re: Hints on javascript debugging

2014-11-24 Thread Chris Mylonas
. On 20/11/2014 8:30 AM, Chris Mylonas wrote: No trying yet, I'm pretty sure firebug/devtools would suffice. My initial request would probably be satisfied with a simple gg search javascript debugging accordion and getting lucky with a video of someone showing their 1337 browser

Re: tapestry and jquery

2014-11-24 Thread Chris Mylonas
Have you got a link to previous post (on nabble)? Maybe someone can shed some light on it now. I ask questions and get no answer sometimes - could be the way I ask, not tapestry itself or waste of time. I've used both 5.3 tapestry-jquery really well, and tapestry-5.4-beta22. Have you already

Re: Property Values to be modified

2014-11-21 Thread Chris Poulsen
don't initialize the property where you declare it. Use onActivate setupRender or similar to set det default value On Fri, Nov 21, 2014 at 4:06 PM, akshay akshayestat...@gmail.com wrote: Hi Thiago, Yes it should be field, just a typo :). But anyways, below is the scneario:- I have a

Re: Hints on javascript debugging

2014-11-19 Thread Chris Mylonas
way more than I bargained for - and this is without even going down the webrtc/websockets (although remote debugging is all about websockets) rabbit hole! Chris On Wed, 19 Nov 2014 21:10:43 +1100, Charlouze m...@charlouze.com wrote: Have you tried the remote debugging tool also ? 2014-11

Re: Hints on javascript debugging

2014-11-18 Thread Chris Mylonas
Thanks charlie That mobile testing is quite extreme/thorough looking. I've just been resizing the browser like a caveman hehe

Re: [5.4] javascript - simplify the new paradigm please

2014-11-17 Thread Chris Poulsen
You are probably asking for trouble if you try to misuse initializers in this way (which also explains why two identical init statements results in only one being executed) -- Chris On Mon, Nov 17, 2014 at 8:45 AM, Charlouze m...@charlouze.com wrote: Geoff, AFAIK, JavascriptSupport is only

Re: [5.4] javascript - simplify the new paradigm please

2014-11-17 Thread Chris Poulsen
() ); } } ); } } On Mon, Nov 17, 2014 at 10:15 AM, Chris Poulsen mailingl...@nesluop.dk wrote: You are probably asking for trouble if you try to misuse initializers in this way (which also explains why two identical init statements results in only one being executed

Re: [5.4] javascript - simplify the new paradigm please

2014-11-17 Thread Chris Poulsen
, but the type of the calls would be something that interacts with the module (like toggle for instance). -- Chris On Mon, Nov 17, 2014 at 11:42 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: Hey, hang on, Chris, weren't you the one who asked can't you just use javascriptsupport

Re: 5.4 beta 22 - Select component secure=auto throws exception: model is bound to null.

2014-11-17 Thread Chris Poulsen
If you init your model in setupRender it will be null upon form submit (as it is not a render request) - You can use onActivate, onPrepareForSubmit or onPrepare to init the model prior to form submission. -- Chris On Mon, Nov 17, 2014 at 12:39 PM, D Tim Cummings t...@triptera.com.au wrote: I

Re: [5.4] javascript - simplify the new paradigm please

2014-11-17 Thread Chris Poulsen
, #808080); javaScriptSupport.require(textbox-hint).with(lastNameField.getClientId(), Enter Last Name, #808080); } Geoff On 18 Nov 2014, at 4:05 am, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 17 Nov 2014 09:30:51 -0200, Chris Poulsen mailingl...@nesluop.dk wrote

Hints on javascript debugging

2014-11-17 Thread Chris Mylonas
debugging with firebug/chrome-dev-tools 1. Accordion doesn't work on a FAQ page 2. Menu doesn't work on mobile devices. It's from a bought bootstrap template which works and I've carved it out pretty well I think for use in tapestry-5.4 Regards, Chris

Re: Stacktrace when on Tomcat server

2014-11-14 Thread Chris Mylonas
Put logback in your pom.XML Presuming u use 5.4 On 14/11/2014 11:36 pm, Nathan Quirynen nat...@pensionarchitects.be wrote: The problem is that's all I see in the logs of tomcat... Maybe my logging is not setup correctly? On 14/11/14 12:21, Thiago H de Paula Figueiredo wrote: On Fri, 14 Nov

Re: [ANNOUNCEMENT] Project Arras

2014-11-13 Thread Chris Mylonas
This is great!! I just cloned the github repo, went into the arras-cms-demo directory and changed pom.xml values from 1.1.2-SNAPSHOT to 1.1.0 mvn jetty:run in place editing is sweet On Fri, 14 Nov 2014 00:48:18 +1100, Nathan Quirynen nat...@pensionarchitects.be wrote: Looks nice

Re: [5.4] javascript - simplify the new paradigm please

2014-11-12 Thread Chris Poulsen
can't you just use javascriptsupport to require and invoke your js module function? -- Chris On Thu, Nov 13, 2014 at 6:34 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: Have you had a look at these two: http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript

[tapestry-security] PageService return page

2014-11-11 Thread Chris Mylonas
?) Thanks Chris It is used to return the success page in a login. @Inject private PageService pageService; @OnEvent(EventConstants.SUCCESS) public Object submit() { Subject currentUser = securityService.getSubject(); if (currentUser == null

Re: [tapestry-security] PageService return page

2014-11-11 Thread Chris Mylonas
OK cool, thx for quick response!! On 12/11/2014 3:03 pm, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Tue, Nov 11, 2014 at 7:48 PM, Chris Mylonas ch...@opencsta.org wrote: Hi Tapestry Users, I'm porting some 5.3 (tapestry-security 0.5.1) to 5.4 (tapestry-security 0.6.2). In my

Re: build secure page links on port 80

2014-11-05 Thread Chris Mylonas
Hi George, I didn't manage to follow up on testing tomcat behind apache with https proxying which I'll try to squeeze in today - but it appears you are cool with it. Does the configuration symbol tapestry.hostport-secure (or tapestry.hostport) help you do what you want (+

Re: [5.4] In Firefox, loading a page never finishes (hangs at the pageloading-mask)

2014-11-05 Thread Chris Mylonas
Looks like a js file is not being included, or has been included in the wrong order .is not a function is trying to call a function defined later. Have you got custom js? Is any html being delivered (view page source) On Wed, 05 Nov 2014 20:54:42 +1100, martijn.list

Re: onActivate not being triggered

2014-10-31 Thread Chris Poulsen
If the actual arguments does not fit the signature the handler will be skipped (the rules can be found in the docs). Try: Object onActivate( EventContext ec ) to see what is acutally getting passed as context. On Fri, Oct 31, 2014 at 3:21 PM, nhhockeyplayer nashua nhhockeypla...@hotmail.com

Re: Create a page without a template

2014-10-30 Thread Chris Mylonas
to expedite, checkout jumpstart's @EJB for reference, similar sic class transformation worker2 implementation On Fri, 31 Oct 2014 11:56:54 +1100, George Christman gchrist...@cardaddy.com wrote: lol okay, I guess I'll have to learn how to create an annotation ;)

Re: Relative URLs

2014-10-30 Thread Chris Mylonas
Hi George, idk but why would you want relative URIs for rev.proxy/loadbalancer siches? ../../to/page Looks like it's always absolute dude - as in href=/blah/path/to/page The hostname is not written into the URI. I've just checked my delivered html behind httpd-tomcat and URIs are all

Re: Site wide 301 redirect to https from http

2014-10-28 Thread Chris Mylonas
Do u have httpd in front of? I just found some form stuff to work on for redirects, on phone now but can suss more later/2moz Cm On 28/10/2014 5:32 pm, George Christman gchrist...@cardaddy.com wrote: Hi guys, I'm in the process of migrating my entire site to https from http. I need to do this

tapestry deploy on tomcat contextPath / setting or equivalent

2014-10-27 Thread Chris Mylonas
there would be a tapestry way of answering requests to www.domain1.com rather than www.domain1.com/myApp/ Further, is there a tapestry way of answering requests to www.domain1.com in one tapestry app, and then deploy a 2nd tapestry app to reply on www.domain2.com? Cheers Chris

Re: tapestry deploy on tomcat contextPath / setting or equivalent

2014-10-27 Thread Chris Mylonas
unpackWARs=true Aliaswww.domain2.com/Alias Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=%h %l %u %t %r %s %b resolveHosts=false/ Context path= docBase=domain2 debug=0 reloadable=true/ /Host Thanks Chris

Re: Could not find a coercion from type java.lang.String to type org.tapdemo.demo.entity.TimeSheet

2014-10-24 Thread Chris Poulsen
Pass the object key as a simple type (string/long) and setup the object in the PREPARE_FOR_SUBMIT handler. On Fri, Oct 24, 2014 at 5:22 PM, George Christman gchrist...@cardaddy.com wrote: Unfortunately the valueencoder is not an option for the form component. On Fri, Oct 24, 2014 at 11:09

Re: Tapestry-security 0.6.2 released!

2014-10-24 Thread Chris Mylonas
Toot toot!

Re: Tapestry Combobox

2014-10-23 Thread Chris Poulsen
I don't know what you are trying to achieve, but you can always provide your own select model, if you need something more flexible than what the standard coercions provide. (if that was the question?) -- Chris On Thu, Oct 23, 2014 at 12:36 AM, Sloshed Techie sloshedtec...@gmail.com wrote

Re: Page with @Persist and default value fails to instantiate

2014-10-23 Thread Chris Poulsen
I think that private String gender = F; is suspect, you should probably not initialize it to F, instead you can use onActivate or setupRender to default it, if it is null. -- Chris On Thu, Oct 23, 2014 at 2:45 PM, Deepak mn.dee...@gmail.com wrote: I'm just beginning with Tapestry

Re: Tapestry Combobox

2014-10-23 Thread Chris Mylonas
it in the setupRender phase. How you want to do that is up to you. So slosh-head, Cheers Engineers, Hope that helps a bit Chris On Fri, 24 Oct 2014 08:04:52 +1100, Sloshed Techie sloshedtec...@gmail.com wrote: Hello, Thanks. I had a look before it. Apparently, I can make it work

Re: 5.4 logging doesn't work out of the box?

2014-10-21 Thread Chris Poulsen
Maybe this helps? https://github.com/apache/tapestry-5/blob/master/54_RELEASE_NOTES.md#logging-dependencies On Tue, Oct 21, 2014 at 9:15 AM, Paul Stanton pa...@mapshed.com.au wrote: I've created a simple test app with 5.4-beta-22: the only dependency: -

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-10-19 Thread Chris Mylonas
Thanks I'll give this a shot with some accordion js stuff that isn't working.

Re: Why do I have to explicitly render a zone if it's ID is specified in the ajax-enabled Select component ?

2014-10-14 Thread Chris Poulsen
Hi, On Tue, Oct 14, 2014 at 7:27 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: snip Perhaps it's time for Tapestry to replace the zone parameter with ajax=true or xhr=true? Geoff A good deal of the components already supports async parameter for exactly this. -- Chris

Re: How do I render zone from component A in component B

2014-10-12 Thread Chris Mylonas
Hi george, On phone. @injectcontainer may give u access to layout to from your login refresh the navbar zone. http://tapestry.apache.org/injection-faq.html On 13/10/2014 4:39 pm, George Christman gchrist...@cardaddy.com wrote: I have a modal login box. When a user logs in through the login

Re: Enable popover for clientside validation 5.4 beta 22

2014-10-11 Thread Chris Mylonas
Modals? On 11/10/2014 3:41 am, George Christman gchrist...@cardaddy.com wrote: Hi guys, I'm using 5.4 beta 22 at work and I'm unable to get the nice bootstrap pop overs working for clientside validation. On my personal project it seems to work flawlessly. Anybody know what the secret is to get

Re: TapestryException in @Inject service method(), does it behave like component action exception?

2014-10-08 Thread Chris Mylonas
PM, Chris Mylonas ch...@opencsta.org wrote: Hi Tapestry Users, help! :) I am trying really hard to not get a TapestryException which I keep getting for some custom handling that 5.4 includes. I'm trying to get a custom FooterException thrown but it's always OperationException

tapestry-5.4 way of url - page that is not page class name

2014-10-07 Thread Chris Mylonas
hi tapestry users, whatever responses i get i'll tack onto here [1] i have a page, with context, but i want to access it from another url? e.g. localhost:8080/normalname/5 localhost:8080/differentname/5 or more accurately localhost:8080/services/ethernet localhost:8080/products/antivirus the

Re: tapestry-5.4 way of url - page that is not page class name

2014-10-07 Thread Chris Mylonas
:) On 7 Oct 2014 12:53, Chris Mylonas ch...@opencsta.org wrote: hi tapestry users, whatever responses i get i'll tack onto here [1] i have a page, with context, but i want to access it from another url? e.g. localhost:8080/normalname/5 localhost:8080/differentname/5 or more accurately

Re: tapestry-5.4 way of url - page that is not page class name

2014-10-07 Thread Chris Mylonas
My personal opinion is that the old URL Rewriter API is easier to use for incoming URLs (requested ones), while LinkTransformer is better for outgoing ones (generated by Tapestry). c) ComponentEventLinkEncoder - [2], description sounds good, impl looks followable LinkTransformer works

Re: tapestry-5.4 way of url - page that is not page class name

2014-10-07 Thread Chris Mylonas
of rung a bell. only took a few months :) What's a mailing list without questions? :) how do i..don't worry off-topic. Thanks for pointers again Thiago et al. Chris - To unsubscribe, e-mail: users-unsubscr

TapestryException in @Inject service method(), does it behave like component action exception?

2014-10-07 Thread Chris Mylonas
Hi Tapestry Users, help! :) I am trying really hard to not get a TapestryException which I keep getting for some custom handling that 5.4 includes. I'm trying to get a custom FooterException thrown but it's always OperationException...-...TapestryException..-..RenderQueueException I

Re: Editing select component within a grid

2014-10-07 Thread Chris Mylonas
you will probably have to save between requests what is displayed in your grid or at least the range taking a guess, i'd say grid data source may be where to look http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/griddatasources then run a query accordingly On Wed, 08 Oct

Re: bootstrap Transition.JS RUNTIMEEXCEPTION on 5.4-beta-22

2014-10-06 Thread Chris Poulsen
as the recommended practice they should most likely be revised. In general the recommended practice is not to specify anything as the framework aims to do the right thing by default. -- Chris On Mon, Oct 6, 2014 at 2:06 PM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: On 6 Oct 2014, at 10

Re: bootstrap Transition.JS RUNTIMEEXCEPTION on 5.4-beta-22

2014-10-06 Thread Chris Mylonas
I always use the override option so I know what version I'm using and like Chris said, don't want to be locked into shipped version. AppModule has configuration.add(SymbolConstants.BOOTSTRAP_ROOT, context:assets/bootstrap); configuration.add

Re: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread Chris Mylonas
and what behaviour effects occur. Why not just put bootstrap in it's own directory - makes life easier? like in your source code's comment. chris On Tue, 07 Oct 2014 13:44:32 +1100, nhhockeyplayer nashua nhhockeypla...@hotmail.com wrote: Hi Folks, I installed node.js, and installed

Re: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread Chris Mylonas
The transition functions also live in bootstrap.js - something I was happy to not know before :( you'll have to do more testing on the non-tapestry side - i've cobbled together what works for me, un-optimized, i.e. full dist. so ... when you run an app in node and browse to it, is

<    1   2   3   4   5   6   7   8   9   10   >