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

Change log level from DEBUG to INFO

2014-10-02 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

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

2014-10-01 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

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 kalle.o.korho...@gmail.com 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

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 lance.j...@googlemail.com wrote: Ah, found it. Beta6 was added to maven central on 15 may. ExceptionReporterImpl was created 30th may. On 1 Oct 2014 09:11,

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 lance.j...@googlemail.com wrote: I looked on maven central for the release dates

5.4 logging dependency

2014-10-01 Thread Chris Mylonas
://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [INFO] Started SelectChannelConnector@0.0.0.0:8080 Should some sort of logging framework be included in the default tapestry pom? (jira ticket for inclusion?) Cheers Chris

Re: 5.4 logging dependency

2014-10-01 Thread Chris Mylonas
in devs. Thanks for response Kalle. On Thu, 02 Oct 2014 01:05:54 +1000, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Wed, Oct 1, 2014 at 7:49 AM, Chris Mylonas ch...@opencsta.org wrote: Hi - the logs on 5.4 didn't seem to be displaying the text logo from 5.3 or what services

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 hls...@gmail.com wrote: This needs to be mentioned in the

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

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, html ?php stuff going on here ? tapestry form here And wants the tapestry stuff to be embedded here - like a cool form /tapestry form here ?php and go back to php here ? footer All in the same page,

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

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

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

2014-09-27 Thread Chris Mylonas
and separate ejb.jar/war/ear to see if its chris or tapestry errors. -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-6484-91003 a...@ae-online.de | www.ae-online.de www.tachyon-online.de

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

2014-09-25 Thread Chris Mylonas
: Try mvn dependency:tree from the command line. Perhaps your provided dependency 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 ch...@opencsta.org wrote: Hi T54Beta People

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 ch...@opencsta.org wrote

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

2014-09-25 Thread Chris Mylonas
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 kalle.o.korho...@gmail.com wrote: On Wed, Sep 24, 2014 at 9:34 AM, Chris Mylonas

Re: Support for Tapestry 4

2014-09-25 Thread Chris Mylonas
get answered as frequently because it is less alive with most users familiar with 5.X HTH Chris On Thu, Sep 25, 2014 at 8:31 PM, Keiler, Martin martin.kei...@isogmbh.de wrote: Hello, for my master thesis i need informations about Java-Webframeworks. Is there any support for Tapestry 4

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

Re: How can I access uploaded file in page without form

2014-09-25 Thread Chris Poulsen
on. -- Chris On Thu, Sep 25, 2014 at 3:49 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 25 Sep 2014 04:33:45 -0300, Okie Othsam okie.oth...@outlook.de wrote: Hello, Hi! My question is now how can I access the binary data of the uploaded file (maybe as InputStream

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

2014-09-25 Thread Chris Mylonas
Yeah OK that's a good point. So is it a tapestry maven error or a chris maven error, because I've only updated from beta-6 to beta-22and maaaybe at the same time contributeExceptionReporterStuffInAppModule Chris (phone) On 26/09/2014 7:40 am, Thiago H de Paula Figueiredo thiag...@gmail.com

Component exception wanted! No data, fail gracefully.

2014-09-24 Thread Chris Mylonas
) nor onException seem to be doing anything in this component. Can a component use @InjectPage to redirect in case there is a problem during the render phase? Cheers Chris @author mylo! - To unsubscribe, e-mail: users-unsubscr

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

2014-09-24 Thread Chris Mylonas
Here's the log, sorry for omission - long day. The SliderSectionServiceImpl throws higher up the stack - can this pass the exception up to setupRender? I thought throws SystemException would have been enough? Chris [#|2014-09-24T17:12:32.253+1000|WARNING|glassfish3.1.2

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

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?

Re: Getting BeanDisplay to skip empty fields altogether

2014-09-24 Thread Chris Mylonas
. Or reading bytes out of a buffer - again, not an elegant task, but fast. Chris On Wed, 24 Sep 2014 23:39:59 +1000, Daniel Jue teamp...@gmail.com wrote: Thanks Lance, I think on the surface my problem seems like the one you gave the answer for, but in my case it's different. I don't know which

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

2014-09-24 Thread Chris Mylonas
enough juice in the tank to respond tonight :P Thanks for pointing it out, more terrific stuff in 5.4 Chris - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

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

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

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

2014-09-24 Thread Chris Mylonas
version6.0/version scopeprovided/scope /dependency Added for glassfish ear deployment. Chris - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: Problem in using Bootstrap Modal component

2014-09-23 Thread Chris Poulsen
and help you). I suggest you read the docs for bootstrap modal, and then make sure that your html is correct. -- Chris On Tue, Sep 23, 2014 at 6:12 PM, akshay akshayestat...@gmail.com wrote: Hi, I am trying to use bootstrap component modal.js. I intend to change to content of the modal( i.e

Re: Loading javascript file in tapestry

2014-09-22 Thread Chris Mylonas
/jquery.magnific-popup.js, context:assets/js/jquery.ui.totop.js, context:assets/js/main.js}) public class Layout { It loads no problems with what I'm doing - might be a bit simplified but it works :) Chris On Tue, Sep 23, 2014 at 8:31 AM, akshay akshayestat...@gmail.com wrote

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

2014-09-17 Thread Chris Mylonas
) { e.printStackTrace(); } } On Wed, Sep 17, 2014 at 8:48 AM, Chris Mylonas ch...@opencsta.org wrote: Brilliant, thanks Thiago. I'm spending a month doing mainly tapestry stuff luckily and will put some workflow RD in. I have nonetheless created a branch in my project doing the monkey

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, Chris Mylonas

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

2014-09-17 Thread Chris Mylonas
disappeared. Thanks for your hint from last year. Chris On Thu, 28 Nov 2013 23:06:07 +1100, Dimitris Zenios dimitris.zen...@gmail.com wrote: 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

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

2014-09-16 Thread Chris Mylonas
a bunch of refactoring - hence my workflow :) Cheers Chris Samples here: AppModule.java has @Primary public static void contributeComponentClassTransformWorker( OrderedConfigurationComponentClassTransformWorker2 configuration) { configuration.addInstance(EJB

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

2014-09-16 Thread Chris Mylonas
. On 16/09/2014 11:02 pm, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 16 Sep 2014 06:06:55 -0300, Chris Mylonas ch...@opencsta.org wrote: Hi Tapestry Users, Hi! Is there a limitation to how/where to use @EJB? It depends on how your project handles it. All my tapestry

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 steves...@gmail.com wrote: Oh, I see. I found it. It

Re: matched by 2 services: FullTextSession, Session

2014-09-10 Thread Chris Poulsen
Hi, Isn't this a matter of indicating which session you want injected? ( I guess both sessions match Session ), there are some mechanisms for that described here: http://tapestry.apache.org/injection-faq.html -- Chris On Wed, Sep 10, 2014 at 8:35 AM, Lance Java lance.j...@googlemail.com wrote

Re: Tapestry onActivate messes up after submitting a form

2014-09-10 Thread Chris Poulsen
to the next onActivate I don't know... In any case I would go with Lance' suggestion and stick with a single onActivate; in that case it is clear what the method does and evaluation order is not an issue (if it ever was). -- Chris On Wed, Sep 10, 2014 at 11:01 AM, Lance Java lance.j...@googlemail.com

Re: component events bubbling down?

2014-09-06 Thread Chris Poulsen
Hi, I believe that https://issues.apache.org/jira/browse/TAP5-2383 is about this case. There are several possible solutions mentioned in that issue/its comments. -- Chris On Sun, Sep 7, 2014 at 12:16 AM, John j...@quivinco.com wrote: I have a situation where a child component (C) fires

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 think

Re: Simpler Hello World

2014-09-03 Thread Chris Mylonas
I was wondering if you'd want to get the last word in Net Dawg ;) On Wed, Sep 3, 2014 at 5:26 PM, Net Dawg net.d...@yahoo.com.invalid wrote: Thanks Chris. The intent of this question was to get a start toward streaming pure content - not just text, but also (and especially PDF), XML

Re: Update zone out side main thread

2014-09-03 Thread Chris Poulsen
Could this be a case for ProgressiveDisplay? -- Chris On Wed, Sep 3, 2014 at 5:09 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 03 Sep 2014 08:51:29 -0300, Chung Khanh Duy chungkhanhduy1...@gmail.com wrote: Hi experts, Hi! So now I would like to do something

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

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 j...@quivinco.com 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

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 j...@quivinco.com 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 Sent: Saturday, August 30

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 mart.schnei...@gmail.com wrote: What is the best way to do this with Tapestry 5.4? The jQuery

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

Re: Grid pager no activation context stored on sorting fields

2014-08-27 Thread Chris Mylonas
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 ch...@opencsta.org wrote: Hi Tapestry Noobs of the future! ...that come across this problem,use onPassivate

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

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

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, John

Grid pager no activation context stored on sorting fields

2014-08-26 Thread Chris Mylonas
}; Happy deving! Chris

nested database updates, updating to tapestry-hibernate 5.4

2014-08-26 Thread Chris Mylonas
with that, it's time to move it to an EJB then. would using the inbuild tapestry-jpa buy me extra time with my current setup? thanks chris

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 thiag...@gmail.com wrote: On Sun, 24 Aug 2014 20:38:52 -0300, Chris Mylonas ch...@opencsta.org wrote: just from the command line. Same

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
Least Cost Routing /telco :P On 24/08/2014 8:36 pm, Muhammad Gelbana m.gelb...@gmail.com wrote: What do you mean by LCR ? You can use https://code.google.com/p/run-jetty-run/ It offers server automatic restart for the server when the code is changed. *-* *Muhammad

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
Ha! Yes it is, and it took until a long way down the page to come across LCR. It hasn't worked for my environment for months and I've been not bothered to restart jetty when deving. I might just troubleshoot it today! Thanks for asking On 25/08/2014 6:32 am, Ivano Luberti lube...@archicoop.it

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
... __ __ /_ __/__ ___ ___ / /___ __ / __/ / / / _ `/ _ \/ -_|_-/ __/ __/ // / /__ \ /_/ \_,_/ .__/\__/___/\__/_/ \_, / // /_/ /___/ 5.3.7 (development mode) [INFO] Started SelectChannelConnector@0.0.0.0:8080 [INFO] Started Jetty Server [INFO] AppModule.TimingFilter Request time: 1421 ms On Mon, Aug 25, 2014 at 8:15 AM, Chris Mylonas ch

Re: LCR in Eclipse without Sysdeo plugin

2014-08-24 Thread Chris Mylonas
(Sydney) if I have better luck because it is a feature that I would like to re-use especially with all my bootstrap template experimenting and javascript api testing. On Mon, Aug 25, 2014 at 9:30 AM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Sun, 24 Aug 2014 20:02:19 -0300, Chris

Re: Tynamo ApplicationStateManager Example

2014-08-19 Thread Chris Mylonas
CurrentUser.class Its a get method, probably on a hashtable-like object. Getting current user. The auth token is probably from the oauth2 provider like fb or gg. With the current user and this token, merge them in *your* app. /guessing On 20/08/2014 7:05 am, George Christman

Re: [5.4-beta-16], Bootstrap 3.2.0 and button tag

2014-08-11 Thread Chris Mylonas
Can u just use it normally in the template cos its valid xml? Or are you trying to pass context with the button? On 11/08/2014 7:21 pm, Diego Socaceti socac...@gmail.com wrote: Hi @all, i read the bootstrap docs about navbar buttons ( http://getbootstrap.com/components/#navbar-buttons) and

T5.4 Nested form detection not working when using blocks

2014-08-11 Thread Chris Poulsen
, if possible. -- Chris

Re: T5.4 Nested form detection not working when using blocks

2014-08-11 Thread Chris Poulsen
As I wrote; that is basically what I'm doing and it works. What surprised me was that I did not get the nested form error when I deliberately screwed up. (That would be helpful for developers using the component correctly). Is it not possible to detect nested forms if the inner form is wrapped

5.4 + jquery/bootstrap configuration

2014-08-09 Thread Chris Mylonas
for a bug-workaround - how can I specify a different jquery version that gets bundled into tapestry core. Thanks Chris

Re: tapestry5-jquery tabs

2014-08-08 Thread Chris Mylonas
Hi John, Not really a tapestry question but it's something I need to do for a project-of-the-future Maybe checking jquery-ui will help e.g. http://stackoverflow.com/questions/14702631/in-jquery-ui-1-9-how-do-you-create-new-tabs-dynamically Chris On Tue, Aug 5, 2014 at 3:56 PM, John j

Re: tapestry-security looking for sample code

2014-08-05 Thread Chris Mylonas
. There's loads to check out from others on this list that with time will come in useful. Cheers Chris On 05/08/2014 4:24 pm, D Tim Cummings t...@triptera.com.au wrote: Hi Chris Your blog post has a couple of errors probably caused by copying and pasting out of email. In your pom.xml your

Re: tapestry-security looking for sample code

2014-08-04 Thread Chris Mylonas
tapestry and you'll find thiago's excellent sample to get you going from a file based thing to database. Eloquentia may use nosql but you will be able to work it out - I did and I'm by far nowhere in the league of others on the list :) HTH Chris On 05/08/2014 11:43 am, D Tim Cummings t

Re: tapestry-security looking for sample code

2014-08-04 Thread Chris Mylonas
=hibernate.connection.password/property property name=hbm2ddl.autoupdate/property property name=hibernate.show_sqltrue/property property name=hibernate.format_sqltrue/property /session-factory /hibernate-configuration On Tue, Aug 5, 2014 at 12:19 PM, Chris Mylonas ch

Re: tapestry-security looking for sample code

2014-08-04 Thread Chris Mylonas
Blog entry from previous reply seeing as it is out in the ether now :) Sorry for spamming list http://www.mrvoip.com.au/blog/tapestry-security-howto-notes Chris On Tue, Aug 5, 2014 at 12:27 PM, Chris Mylonas ch...@opencsta.org wrote: And here's some notes from my wiki for a tapestry-security

Re: Replace sort icon column in Tapestry grid

2014-08-01 Thread Chris Poulsen
Its plain css? On Fri, Aug 1, 2014 at 6:33 AM, Chung Khanh Duy chungkhanhduy1...@gmail.com wrote: Hi everyone, Is there anyway to replace sort icon in column headers of Tapestry grid. Thanks, Duy. -- Chung Khánh Duy Project Support Manager Formos

Re: Replace sort icon column in Tapestry grid

2014-08-01 Thread Chris Poulsen
selectors like: th[data-grid-column-sort='ascending'] I'm sure you can handle all 3 cases with that trick. -- Chris On Fri, Aug 1, 2014 at 8:36 AM, Chung Khanh Duy chungkhanhduy1...@gmail.com wrote: Hi Chris, I don't think so, we have 3 kind of sorting icons such as descending, ascending

Re: Replace sort icon column in Tapestry grid

2014-08-01 Thread Chris Poulsen
Also if you want to create an asset from a path, you can use a combination of @Inject and @Path to inject an Asset (or inject AssetSource and use that to create the asset). On Fri, Aug 1, 2014 at 9:33 AM, Chris Poulsen mailingl...@nesluop.dk wrote: There are different data attribute values

T5.4 indirectly is making my loins moist

2014-07-30 Thread Chris Mylonas
that we are able to incorporate with our creations (or work). Everyone - keep up the good word!! The week is trending upwards towards the weekend! Cheers Chris

Is request parameter encoding working like intended in 5.4?

2014-07-03 Thread Chris Poulsen
accessing it in the handler. Is this expected behavior or a bug? -- Chris

Re: Importing Images on FileSystem in Page Class

2014-07-01 Thread Chris Poulsen
Inject AssetSource and set up things programmatically ? -- Chris On Tue, Jul 1, 2014 at 8:58 PM, Net Dawg net.d...@yahoo.com.invalid wrote: How can I import an image into page class (without advance knowledge of its name)? I would like to use it to stream PDF dynamically. According

Tapestry-Security @RequiresPermission(xxx:yyy:zzz) on class

2014-06-22 Thread Chris Mylonas
void or a boolean, and onActivate() returning void. How would I redirect the tapestry way? Thanks Chris

Re: Tapestry-Security @RequiresPermission(xxx:yyy:zzz) on class

2014-06-22 Thread Chris Mylonas
StreamPageContent(ErrorPage.class); } return null; } Looks like I can return an Object/Page Thanks On Mon, Jun 23, 2014 at 1:51 PM, Chris Mylonas ch...@opencsta.org wrote: Hi Tapestry Users, Whilst waiting for customs clearance in a Fijian port, I have a query. I'm extending my sample

Re: [T5.4] jQuery-File-Upload integration

2014-06-10 Thread Chris Poulsen
I did an implementation of the jquery fileupload at work. AFAIR its modules are AMD compliant so it is pretty straight forward to integrate. Just require them as you normally would with modules. -- Chris On Tue, Jun 10, 2014 at 6:48 PM, Ilya Obshadko ilya.obsha...@gmail.com wrote: Did anybody

Re: How to write to sitemap

2014-06-02 Thread Chris Mylonas
Just an FYI george, On my freelancing blog which runs from a php cms, the sitemap is generated from db and not on the fs. So I presume you would have to use tapestry's raw stream writer to have similar effect or whatever its called. I'm on my phone so can't give accurate mumblings. Its at

Re: Tapestry ClassLoading errors

2014-05-31 Thread Chris Mylonas
What if you move your classes from tapestry.utility to tapestry.base.utility which is controlled by tapestrymaybe http://tapestry.apache.org/class-reloading.html On 01/06/2014 4:58 am, Boris Horvat horvat.z.bo...@gmail.com wrote: In what package should I put this component? Currently it

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

2014-05-27 Thread Chris Poulsen
( SymbolProvider.class ) @ApplicationDefaults public static void switchProviderToJQuery( MappedConfigurationString, Object configuration ) { configuration.add( SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, jquery ); } -- Chris On Tue, May 27, 2014 at 8:29 AM, Ilya Obshadko

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

2014-05-27 Thread Chris Poulsen
, Chris Poulsen mailingl...@nesluop.dk wrote: Hi, The dom module is the one distinguishing between jquery and prototype. The code you posted belongs in the prototype version, the jquery one is different... So it seems that you are not using the jquery infrastructure. We use

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

2014-05-27 Thread Chris Poulsen
Check out the tapestry-webresources test sources/resources. They have an example of how to use a bootstrap placed in webapp context. That should be a good starting point for both context-based resources and a bootstrap in a non-default location. -- Chris On Tue, May 27, 2014 at 6:33 PM, Ilya

Re: formatting attributes

2014-05-14 Thread Chris Poulsen
You probably do not want the ${ } as that converts its contents into a string. -- Chris On Wed, May 14, 2014 at 8:24 AM, Aristedes Maniatis a...@ish.com.au wrote: I understand that I can do this in the tml: span itemprop=startDatet:output value=someDate format=literal:-MM-DD

Re: formatting attributes

2014-05-14 Thread Chris Poulsen
Sorry, apparently I didn't really read your question ;) Can't you create a getter in your page to return what you need? On Wed, May 14, 2014 at 2:09 PM, Chris Poulsen mailingl...@nesluop.dkwrote: You probably do not want the ${ } as that converts its contents into a string. -- Chris

Re: Possible to use a tapestry application for webservice and web front end development

2014-05-02 Thread Chris Mylonas
an existing webservice over today to try it out. If you are not from around here, the tynamo project has several popular tapestry modules, I use tapestry-security from them. Good luck in your endevours! Chris On May 2, 2014 7:27 PM, Anbazhagan.G anbazhaga...@snovabits.net wrote: Hi All, I want

T5.4 Bootstrap Carousel / JQuery load at top of page

2014-04-26 Thread Chris Mylonas
there is no reference to $ How do I get jquery.js loading at the top of the page? I presume this will get my carousel to work. Cheers Chris

Re: T5.4 Bootstrap Carousel / JQuery load at top of page

2014-04-26 Thread Chris Mylonas
my code in the morning and post a link/example. Cheers Chris On Sat, Apr 26, 2014 at 11:50 PM, Chris Mylonas ch...@opencsta.org wrote: Hi Tapestry Users, I'm porting one of the default bootstrap themes as a T5.4 exercise. Looking at the rendered page source, jquery gets added at the end

going from loop component to grid + tapestry-security = hide columns for non-admin user grid + zebra-like effect using object.attribute

2014-04-16 Thread Chris Mylonas
will stick with it - paging is very very very handy on /19 subnets (thousands of ip addresses)! Thanks Chris tr t:type=Loop t:source=assignedAddresses t:value=currentNetworkInformation class=${currentNetworkInformation.status} td${currentNetworkInformation.status

Re: going from loop component to grid + tapestry-security = hide columns for non-admin user grid + zebra-like effect using object.attribute

2014-04-16 Thread Chris Poulsen
://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Grid.html -- Chris On Wed, Apr 16, 2014 at 3:52 PM, Chris Mylonas ch...@opencsta.org wrote: Hi Tapsters, I'm converting an old table with a t:Loop component into a t:Grid component. I used to have a table that hid

Re: going from loop component to grid + tapestry-security = hide columns for non-admin user grid + zebra-like effect using object.attribute

2014-04-16 Thread Chris Mylonas
get to sleep! Thanks Chris On 17/04/2014 12:13 am, Chris Poulsen mailingl...@nesluop.dk wrote: Hi. Can't you bind the exclude parameter of the grid to a method that excludes extra columns, if the user is not logged in? - And i think that you may be looking for rowClass parameter of the grid

Re: dynamic forms concept possible solutions

2014-04-14 Thread Chris Poulsen
I dont think onSuccess is called if validation fails, perhaps one could adjust the outcome of the validation phase of the form like suggested. On Mon, Apr 14, 2014 at 2:19 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 14 Apr 2014 07:36:27 -0300, Ilya Obshadko

Re: Rename a column header in Grid

2014-04-09 Thread Chris Mylonas
override that. not sure what is needed if your grid is in a component rather than a page though... HTH Chris On Wed, Apr 9, 2014 at 8:24 PM, srikaanth srikaanth.k@snovabits.comwrote: Hi, How to rename a column header in a grid. I have work this example from the jumpstart. http

Re: Rename a column header in Grid

2014-04-09 Thread Chris Mylonas
Nice, I was looking for how to do it in the template! On 09/04/2014 8:57 pm, Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, You can change the header for a grid colum like following: If you have for example a column named name in your message catalog (.properties file) add

Re: NullPointer for service constructor

2014-04-08 Thread Chris Mylonas
sounds like a can of worms btw Chasing-those-exceptions is never fun, although I'd prefer to do that than compliance documentation and openssl heartbleed shenanigans! Cant believe it'll be Wednesday soon! Cheers Chris On 08/04/2014 9:07 pm, Thiago H de Paula Figueiredo thiag...@gmail.com wrote

Re: NullPointer for service constructor

2014-04-08 Thread Chris Poulsen
It seems like tapestry ioc has @PostInjection ( https://tapestry.apache.org/injection-in-detail.html#InjectioninDetail-Post-InjectionMethods) to receive a callback after the instance is configured.Somewhat similar to the afterPropertiesSet(). On Tue, Apr 8, 2014 at 3:55 PM, Lance Java

Re: I am not able to call JSON file in my tapestry template file .. Native HTML standalone works finr in browsers ..

2014-04-03 Thread Chris Mylonas
, to which you could direct a more specific question. Good luck with your app! Hopefully thiago's response will get you going. Chris On 04/04/2014 3:25 am, Lenny Primak lpri...@hope.nyc.ny.us wrote: Well, then there is browser View Source or firebug that you can use. Again, out of scope

Re: Jetty or NetBeans issue?

2014-03-28 Thread Chris Mylonas
Hi If u just run mvn jetty:run From the command line it will eliminate the netbeans component. Cm On 28/03/2014 7:51 pm, John j...@quivinco.com wrote: I run my dev server using a Maven goal under NetBeans. Quite often Jetty becomes completely unresponsive. Is this a problem of Jetty running

Re: Show and tell / New 5.4 app live.

2014-03-27 Thread Chris Mylonas
Maybe your recurring hosting will be further reduced George :) http://aws.amazon.com/ec2/pricing/effective-april-2014/ On 24/03/2014 6:58 am, George Christman gchrist...@cardaddy.com wrote: Your absolutely correct, you can deff do better price wise with a VPS, but then again I don't believe

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