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

2015-04-12 Thread Chris Mylonas
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 a écrit : > Hi Tapestry Users, > > Tapestry development is on th

IoC Service, call a method after instantiation/realization

2015-04-11 Thread Chris Mylonas
Hi Tapestry Users, Tapestry development is on the horizon again for me and I'm just making some tweaks to an app that I'm trying to load in another CMS's iframe! After service class instantiation, I'd like to call a method so it does something (e.g. create an admin user if none exist)

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: 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 wrote: Hi, I have a different JNDI lookup depending on exec en

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

2015-02-16 Thread Chris Mylonas
@InjectContainer is the way to go. Have a 10 minute read on the OSI 7 Layer model for data communications as a reference point if you need one. e.g. Each layer knows the layer above and below it, like parent and child. It's a proven mechanism of keeping things "encapsulated" and if you have

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" wrote: > Hello, > > I've just started migrating existing app from T5.

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: Release notes

2015-01-13 Thread Chris Mylonas
fill in at config (IIRC) On Wed, 14 Jan 2015 07:01:31 +1100, George Christman 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 Mylona

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" 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: Custom exception report for AJAX requests

2015-01-04 Thread Chris Mylonas
in 5.4 there is a custom exception handler available by contributing your handler. search nabble , I had similar queries 4 or 5 months ago. that should get you started. in 5.3, you can use the tapestry-exceptionpage package from tynamo I believe for same behaviour. sry for vagueness, haven't to

Re: What happens when Boootstrap 4 is released?

2014-12-11 Thread Chris Mylonas
Like most of you, I've mucked around with web-dev using php and very recently nodejs to experiment with newer technologies along with random tapestry endeavours - and there is certainly no silver bullet. That's "development"! We start planning for it before it's released!! Stats are stats

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" 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 to implement hibernate

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: 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" wrote: > I have one very odd situation here and

Re: Hints on javascript debugging

2014-11-26 Thread Chris Mylonas
uireJS 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 de

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 got

Re: Hints on javascript debugging

2014-11-24 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

Re: Hints on javascript debugging

2014-11-19 Thread Chris Mylonas
you tried the remote debugging tool also ? 2014-11-18 21:20 GMT+01:00 Chris Mylonas : Thanks charlie That mobile testing is quite extreme/thorough looking. I've just been resizing the browser like a caveman hehe - To unsu

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

Hints on javascript debugging

2014-11-17 Thread Chris Mylonas
Hey 5.4 Users, Short version: I notice there's a bit more discussion about javascript lately. Can someone point to a resource on how to debug javascript like a boss? Cheers Slightly longer: I currently have two (i consider minor) problems and I'd like to know more about javascript debugging

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" 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 2014 07:48:34 -0200,

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 wrote: Looks nice (looking at the code)! Are ther

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" wrote: > On Tue, Nov 11, 2014 at 7:48 PM, Chris Mylonas wrote: > > > Hi Tapestry Users, > > I'm porting some 5.3 (tapestry-security 0.5.1) to 5.4 (tapestry-security > > 0.6.2). >

[tapestry-security] PageService return page

2014-11-11 Thread Chris Mylonas
Hi Tapestry Users, I'm porting some 5.3 (tapestry-security 0.5.1) to 5.4 (tapestry-security 0.6.2). In my Signin page, there's a declaration to import org.tynamo.security.services.PageService ; which is no longer found/available in 0.6.x What happened to it? (or where's a changelog?) Than

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 wrote: Whene

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 (+ tapestry.hostna

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 ab

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 wrote: lol okay, I guess I'll have to learn how to create an annotation ;)

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" wrote: > Hi guys, I'm in the process of migrating my entire site to https from http. > I need to do this with extreme cautio

Re: tapestry deploy on tomcat contextPath / setting or equivalent

2014-10-27 Thread Chris Mylonas
tern="%h %l %u %t "%r" %s %b" resolveHosts="false"/> Thanks Chris On Mon, 27 Oct 2014 23:03:36 +1100, Chris Mylonas wrote: Hi Tapestry Users, Where would I look to deploy a tapestry sites on one tomcat instance that are served up by a domain na

tapestry deploy on tomcat contextPath / setting or equivalent

2014-10-27 Thread Chris Mylonas
Hi Tapestry Users, Where would I look to deploy a tapestry sites on one tomcat instance that are served up by a domain names behind apache http? I recently found org.mortbay.jetty maven-jetty-plugin 6.1.16

Re: Tapestry-security 0.6.2 released!

2014-10-24 Thread Chris Mylonas
Toot toot!

Re: Tapestry Combobox

2014-10-23 Thread Chris Mylonas
Sloshed hey hehehe :) I'm doing something with a select atm, so here's my 2c on howto do what you want, but I'm using Objects rather than simple enums, but you can make a List of your ENUMTYPE or something equally (un)elegant i guess. In page class you're going to need this stuff pri

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: 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" wrote: > I have a modal login box. When a user logs in through the login box, I > would like to r

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" 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 > that working? >

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

2014-10-07 Thread Chris Mylonas
Cool, thanks for picking it up Kalle. It was driving me nuts at the wrong times of the day and again before lunch :) JIRA - https://issues.apache.org/jira/browse/TAP5-2396 On Wed, 08 Oct 2014 15:12:08 +1100, Kalle Korhonen wrote: On Tue, Oct 7, 2014 at 7:30 PM, Chris Mylonas wrote

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 20

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 ha

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

2014-10-07 Thread Chris Mylonas
I'll check out both in any event. Yes, it's crazy! :p It shouldn't be hard to make it work in your environment. Fixed. open another terminal and run `mvn clean package` reload page, viola. took me a 2nd go at live class reloading troubleshooting - "build automatically in your ide" sor

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
to maintain the code :) On 7 Oct 2014 12:53, "Chris Mylonas" 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 mor

Tapestry-IoC and Runnable/ThreadPoolExecutor

2014-10-07 Thread Chris Mylonas
Hi All Tapestry Ppl, IoC caught my eye when I first touched tapestry some years back and I've been fortunate to have a good dig at tapestry for web development a few times this year again! I'd like to use Tapestry-IoC in my old-pet open source project for controlling older telecommunicat

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: t-5.4-beta-22 trying to drop in a prebuilt bootstrap

2014-10-06 Thread Chris Mylonas
After reading your last comment that made you unhappy ;) I checked it out Yeah - putting assets in ${context} is going to be removed in tapestry-5.5 and is there for backwards compat for 5.3 So after reading [1] & [2] & [3] and a few failed attempts moved bootstrap main dir from src/m

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 transiti

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

2014-10-06 Thread Chris Mylonas
hi ken, short answer: download transition.js into your js directory. does your custom distribution contain the relevant js? test your distribution against plain html/css/js from http://getbootstrap.com/getting-started/#examples unabridged: I just looked in _my_ src/main/webapp/assets/boo

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(SymbolConstants.JAVASCRIPT_INFRA

Re: Change log level from DEBUG to INFO

2014-10-02 Thread Chris Mylonas
, 02 Oct 2014 17:29:11 +1000, Lance Java wrote: From your earlier question... The logging framework is your choice. Hence the config is dependent on the logging framework chosen. On 2 Oct 2014 07:49, "Chris Mylonas" wrote: Hi All, How do you turn the logging level down. I

Change log level from DEBUG to INFO

2014-10-01 Thread Chris Mylonas
Hi All, How do you turn the logging level down. I would have thought there'd be a symbol or configuration mention somewhere but can't find it. There's too much info for me to find exceptions when thrown. Thanks Chris - T

Re: 5.4 logging dependency

2014-10-01 Thread Chris Mylonas
minor documentation ticket created https://issues.apache.org/jira/browse/TAP5-2395 nothing mentioned in https://github.com/apache/tapestry-5/blob/master/54_RELEASE_NOTES.md On Thu, 02 Oct 2014 03:38:06 +1000, Howard Lewis Ship wrote: This needs to be mentioned in the release notes, if n

Re: 5.4 logging dependency

2014-10-01 Thread Chris Mylonas
ng my nose in devs. Thanks for response Kalle. On Thu, 02 Oct 2014 01:05:54 +1000, Kalle Korhonen wrote: On Wed, Oct 1, 2014 at 7:49 AM, Chris Mylonas wrote: Hi - the logs on 5.4 didn't seem to be displaying the text logo from 5.3 or what services are REAL/VIRTUAL/etc. Just pla

5.4 logging dependency

2014-10-01 Thread Chris Mylonas
Hi - the logs on 5.4 didn't seem to be displaying the text logo from 5.3 or what services are REAL/VIRTUAL/etc. Just plain old standard pom.xml from quickstart for 5.3.7 used, then changed version to 5.4-beta-22 I then added ch.qos.logback logback-classic 1.1.2 to

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-10-01 Thread Chris Mylonas
Thanks for the exemplary investigative approach, simple or otherwise :) On Wed, 01 Oct 2014 21:48:00 +1000, Lance Java wrote: I looked on maven central for the release dates http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.tapestry%22%20AND%20a%3A%22tapestry-core%22 Then I fol

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-10-01 Thread Chris Mylonas
where/how'd you find this out btw? sounds like a good way to move with the times. On Wed, 01 Oct 2014 18:21:27 +1000, Lance Java wrote: Ah, found it. Beta6 was added to maven central on 15 may. ExceptionReporterImpl was created 30th may. On 1 Oct 2014 09:11, "Lance Java" wrote: I still

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-10-01 Thread Chris Mylonas
Umm On Wed, 01 Oct 2014 17:00:00 +1000, Kalle Korhonen wrote: I'm totally confused about this thread. Why don't you just add commons-io as a dependency of your project OK done - fixes my HTTP/500 message and I get the nice exception page. No stack trace on command line still thoug

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
(gosh i'm a liar, i found time to try it out some more) AND I GOT IT! tapestry-hibernate project, pretty plain, one entity, one service interface one implementation binder.bind() used. Page class does NOT have @CommitAfter on the onSuccess() method. Instead I have it on the serviceImpl for cr

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
Can you include the commons-io snippets from both versions (including parent hierarchy). I never use commons-io directly (even unknowningly), it's just plain old tapestry. This is the part that spins me out. - To unsubs

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
Hi All, I had it happen in a fresh tapestry-hibernate project for demo, cut it down to one entity and CRUD page classes, can't get it to happen again. I had my hibernate sesion in the tapestry service, it was complaining about nested transactions in this instance, but kicked itself with IOU

Re: Tapestry via PHP proxy

2014-09-30 Thread Chris Mylonas
He probably has existing stuff. So not really a reverse proxy to app server. Like, And wants the tapestry stuff to be embedded here - like a cool form All in the same page, copyright 2020 (me). On Tue, 30 Sep 2014 22:14:32 +1000, Charlouze wrote: PHP usually works with apach

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-30 Thread Chris Mylonas
I'm working on a fresh share-able example following my previous workflow - if it breaks, we can fix it. If it doesn't there's something wrong with my other project. Will be a few hours, I'm learning nodejs stuff at the same time. On Tue, 30 Sep 2014 17:42:17 +1000, Lance Java wrote:

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-27 Thread Chris Mylonas
> > Are you using persitence? Yes in EJB, eclipse link. I spent some hours porting a bash scripts code generator to nodejs yesterday and nearly finished but won't get to it again for today. I'll be able to do more accurate troubleshooting on this issue then, using standalone tapestry-hibernate a

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-25 Thread Chris Mylonas
utils instead. Hopefully you'll get the same functionality you >> were using. >> >> >> commons-io >> commons-io >> 2.4 >> ​ >> >> *-* >> *Muhammad Gelbana* >> http://www.linkedin.com/in/mgelbana >> >

Re: Tapestry-jpa commitAfter advisor problem

2014-09-25 Thread Chris Mylonas
I only know EJB/JPA but I'm sure some people will say Spring. I prototype in tapestry-hibernate because the docs were easier at the time to use than tapestry-jpa, and when I hit nesting problems that's when I switch to using the @EJB annotation. I need to switch to tapestry-jpa to make my transi

Re: Support for Tapestry 4

2014-09-25 Thread Chris Mylonas
Martin, I don't represent anyone on this list nor ASF. I've not ever touched Tapestry 4. But to help with expediting your query - Define "support"? I'm sure there are a handful of people here that could help but, it wouldn't be free/gratis support and/or your questions would have to be very spec

Re: Component exception wanted! No data, fail gracefully.

2014-09-25 Thread Chris Mylonas
some codegen scripts) P.S. Thiago, if you read this, mail died a couple of times today and rss feeds didn't update correctly without a shutdown. I'll reboot my machine, but this is unix underneath man! 21st century too! :P On Thu, Sep 25, 2014 at 9:09 AM, Kalle Korhonen

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-25 Thread Chris Mylonas
] [INFO] Total time: 3.483 s [INFO] Finished at: 2014-09-25T19:48:13+10:00 [INFO] Final Memory: 14M/184M [INFO] On Thu, Sep 25, 2014 at 7:47 PM, Chris Mylonas wrote: > > Yeah

Re: Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-25 Thread Chris Mylonas
ndency is preventing commons-io from being added > to the classpath. > > If 2 poms declare the same dependency, the "nearest definition wins". > On 25 Sep 2014 03:54, "Chris Mylonas" wrote: > > > Hi T54Beta People, > > > > As subject says, updated m

Update from 5.4-beta-6 to beta-22 - IOUtils ClassNotFound

2014-09-24 Thread Chris Mylonas
Hi T54Beta People, As subject says, updated my pom got an error on deployment. Changing back to beta-6, error goes away. Google and some 54 release notes don't mention IOUtils or commons that I've found. mvn clean install Deploy to glassfish 3.1.2.2 On trying to load a page, getting this

Re: Component exception wanted! No data, fail gracefully.

2014-09-24 Thread Chris Mylonas
You should update to 5.4-beta-22 my beta-6 is like a year of betas behind! thanks - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Component exception wanted! No data, fail gracefully.

2014-09-24 Thread Chris Mylonas
In 5.4, you can contribute to the default error page and map exception types to specific error pages ( http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/internal/services/DefaultRequestExceptionHandler.html - that reminds me, I should add information about that to the user guide as w

Re: Component exception wanted! No data, fail gracefully.

2014-09-24 Thread Chris Mylonas
Hi Kalle, In 5.4, you can contribute to the default error page and map exception types to specific error pages ( http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/internal/services/DefaultRequestExceptionHandler.html - that reminds me, I should add information about that to the user gu

Re: Getting BeanDisplay to skip empty fields altogether

2014-09-24 Thread Chris Mylonas
Hi Daniel, Disclaimer: I don't pretend to know anything about BeanModels, BeanModelSources and Grids.however Sounds like a bit of reflection to get field names on your POJOs and BeanModel.exclude().exclude().exclude().exclude() or a bit of recursion til the end of an arraylist of

Re: Component exception wanted! No data, fail gracefully.

2014-09-24 Thread Chris Mylonas
The SliderSectionServiceImpl throws higher up the stack - can this pass the exception up to setupRender? I thought "throws SystemException" would have been enough? What about having your code handling the exceptions itself, when it calls the EJB methods that can throw exceptions? Han

Re: Tapestry Framework Possibilties

2014-09-24 Thread Chris Mylonas
I reckon you may want to look in this direction https://github.com/lltyk/tapestry-wro4j https://github.com/cezary-biernacki/t5conduit I think I recall some bright sparks talking about it on the list in the last 2 years. The man himself even makes a suggestion http://apache-tapestry-mailing

Re: Component exception wanted! No data, fail gracefully.

2014-09-24 Thread Chris Mylonas
60) at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214) ... 101 more On Wed, 24 Sep 2014 18:53:06 +1000, Chris Mylonas wrote: Hi Tapestry Users,

Component exception wanted! No data, fail gracefully.

2014-09-24 Thread Chris Mylonas
Hi Tapestry Users, Short version: Can a component use @InjectPage to redirect in case there is a problem during the render phase? Unabridged version: I have a my business layers running EJB. Layout of project is like jumpstart for EJB stuff. Works great. EJB can't find any values in the d

Re: Loading javascript file in tapestry

2014-09-22 Thread Chris Mylonas
Hi I'm using a jquery plugin called backstretch. In my included js file called "main.js" I have this snippet relevant to that 3rd party module: $("body").backstretch([ "assets/images/bg1.jpg", "assets/images/bg2.jpg", "assets/images/bg3.jpg" ], {duration: 5000, fade: 1000}); My main.js

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

2014-09-17 Thread Chris Mylonas
Hi Dimitris, Solved. The problem was weaving, it is dynamic by default. I'm hitting it again with another project. In my EJB persistence.xml I've just added static weaving as a property. And my extra column of _persistence. has disappeared. Thanks for your hint from last year. Chris

Re: @EJB annotation in a tapestry service is null, but not in a page class

2014-09-17 Thread Chris Mylonas
P.S. Thaigo, I'm testing out the Opera mail client - I found a nabble post of me having trouble with a value encoder from years ago and one of the many side comments was email client garbage. Kind of liking it but it's making spam way too visible! On Wed, Sep 17, 2014 at 4:54 PM, Chr

Re: @EJB annotation in a tapestry service is null, but not in a page class

2014-09-16 Thread Chris Mylonas
Context.lookup(jndiName); } catch (NamingException e) { e.printStackTrace(); } } On Wed, Sep 17, 2014 at 8:48 AM, Chris Mylonas wrote: > Brilliant, thanks Thiago. I'm spending a month doing mainly tapestry > stuff luckily and will put some workflow R&D

Re: Couldn't find bundle for base name orgapache.tapestry5.ioc.internal.IOCStrings, local en_US

2014-09-16 Thread Chris Mylonas
Hi Stephen, Another thing to note, are you running as a non-root user? On linux, opening a port < 1024 requires higher permissions. I noticed your log said jetty starting on port 80. CM On Wed, Sep 17, 2014 at 3:05 AM, Stephen Nutbrown wrote: > Oh, I see. I found it. It took me nearly 3 or 4

Re: @EJB annotation in a tapestry service is null, but not in a page class

2014-09-16 Thread Chris Mylonas
roven tech. On 16/09/2014 11:02 pm, "Thiago H de Paula Figueiredo" wrote: > On Tue, 16 Sep 2014 06:06:55 -0300, Chris Mylonas > wrote: > > Hi Tapestry Users, >> > > Hi! > > Is there a limitation to how/where to use @EJB? >> > > It depends on

@EJB annotation in a tapestry service is null, but not in a page class

2014-09-16 Thread Chris Mylonas
Hi Tapestry Users, I quickly knock up a prototype using tapestry-hibernate and have recently injected tapestry services into page classes. The page class therefore doesn't have to change when shifting to JEE env. I'm moving it now to glassfish and replaced my hibernate queries with simple @EJB s

Re: How to use moment.js in Tapestry 5.4

2014-09-04 Thread Chris Mylonas
I'm no js fiend, but I just added momentjs with an @Import on my layout component. It loads fine if that means anything. @Import(stylesheet = "context:layout/layout.css", library = "context:assets/js/moment.js") The automatic cross-browser timezone formatting looks helpful if it does what I thin

Re: Simpler Hello World

2014-09-03 Thread Chris Mylonas
ed > the "pure content" page as a pagelink, instead, as follows: > > PDF > > Rather convoluted, but gets the job doneand, yes, hardly a simpler > hello world now...(this workaround would be more useful to say "Hello > Chris" - after, say, selecting from a

Re: Simpler Hello World

2014-09-02 Thread Chris Mylonas
For future noobs, this is not a simpler hello world, it's making tapestry respond with text only, no template, nothing but pure text. I had to do this today and this thread caught my eye last month. In the standard tapestry 5.3.7 archetype, my Contact.java looks like this. package org.example.p

Re: Trigger custom JS events and handle them on the server side

2014-08-30 Thread Chris Mylonas
Are you getting an exception page and or stack trace first of all? Any ideas what/where the code have have changed for 5.4 Any tests that would help devs? Cm On 31/08/2014 12:51 am, "Martin Schneider" wrote: > What is the best way to do this with Tapestry 5.4? The jQuery bind mixin > seems to

Re: link dead in production mode?

2014-08-30 Thread Chris Mylonas
Yeah browsers can be c*nts /pub On 30/08/2014 9:47 pm, "John" wrote: > Thanks for that. I did a clean build and deployed then cleared browser > cache and its all fine. > > John > - Original Message - > From: Chris Mylonas > To: Tapestry users >

Re: link dead in production mode?

2014-08-30 Thread Chris Mylonas
Are all the rendered/delivered HTML/css files the same version? On 30/08/2014 7:51 pm, "John" wrote: > Hi, > > I still have this problem running my app in production mode, but now I > discover something new. > > I have a password change button (see below). It is responsive in > development mode o

Re: nested database updates, updating to tapestry-hibernate 5.4

2014-08-27 Thread Chris Mylonas
No. Only the page classes. I'm not too worried about it, Thiago says not-supported. It's just a change in behaviour from 5.3.7 to 5.4-beta. The concern I am more interested in raising is the stack trace on the command line is not there where I'm running from but it's caught by tapestry. If time

Re: nested database updates, updating to tapestry-hibernate 5.4

2014-08-27 Thread Chris Mylonas
OK. ever ;) I didn't know what nested transactions were in hibernate. Just a change in behaviour from 5.3.7 to 5.4 My bastardised workflow likes to use tapestry-hibernate for doing the UI and then porting to EJB. On Wed, Aug 27, 2014 at 11:47 PM, Thiago H de Paula Figueiredo < thiag...@gmail.co

Re: Grid pager no activation context stored on sorting fields

2014-08-27 Thread Chris Mylonas
f your grid is in a component then activation > context might not be suitable. A solution is on the way: > > https://issues.apache.org/jira/browse/TAP5-2297 > > Cheers, > > Geoff > > On 27 Aug 2014, at 11:08 am, Chris Mylonas wrote: > > > Hi Tapestry Noobs of t

Re: nested database updates, updating to tapestry-hibernate 5.4

2014-08-27 Thread Chris Mylonas
hm I'm guessing it's when there are 2 or more saves to DB from a method. Nothing in the stack trace shows errors at all, but I get the tapestry exception page with: org.apache.tapestry5.ioc.internal.OperationException *nested transactions not supported* onSuccess() method just looks lik

nested database updates, updating to tapestry-hibernate 5.4

2014-08-26 Thread Chris Mylonas
hi tapestry users of the age, i was mucking around with a prototyped app, went from 5.3.7 to 5.4-beta-6. read that nesting db queries is not supported, tried my luck and my app fails with 5.4-beta. will whatever i'm getting away with in 5.3 work in the future of 5.4 if not, i'm happy with that, i

Grid pager no activation context stored on sorting fields

2014-08-26 Thread Chris Mylonas
Hi Tapestry Noobs of the future! ...that come across this problem,use onPassivate to keep your app working nicely. I had the pleasure of using my software in a field trial (nothing exciting, equipment tracking in a data centre) and made a few adjustments to quicken my task though the night althou

Re: bad secure links

2014-08-26 Thread Chris Mylonas
Hey John, What I've done when moving from 5.3.7 -> 5.4 is remove the tapestry5-jquery pom dependency and put this into AppModule configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery"); Does me fine, but I don't do much jquery-ing. On Mon, Aug 25, 2014 at 10:16 PM, Joh

Re: LCR in Eclipse without Sysdeo plugin

2014-08-25 Thread Chris Mylonas
OK, thanks for follow up. I'll try manually downloading to force it and do the eclipse test tomorrow. On 25/08/2014 10:06 pm, "Thiago H de Paula Figueiredo" wrote: > On Sun, 24 Aug 2014 20:38:52 -0300, Chris Mylonas > wrote: > > just from the command line. >>

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
te: > On Sun, 24 Aug 2014 20:02:19 -0300, Chris Mylonas > wrote: > > Confirming it is failing with a fresh mvn generate and jetty:run from the >> command line. >> >> Snippets follow - jdk1.7, reload mechanic = automatic in jetty, dev mode >> is on, osx 10.9.4 &

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
Confirming it is failing with a fresh mvn generate and jetty:run from the command line. Snippets follow - jdk1.7, reload mechanic = automatic in jetty, dev mode is on, osx 10.9.4 Changing the java class to read "CM Increment clicked" doesn't get updated. Changing the tml file to "increment normal

  1   2   3   4   5   >