Re: Future of Tapestry

2017-01-05 Thread Stephen Nutbrown
For what it's worth,. I'm a spring boot developer by day, but in my spare time I've put together a few sites using t5 including a personal wedding website and socialwage.com and it is nice for these kinds of projects, which don't require a single page app or an API consumed by mobiles (which it can

Re: Hyphens in URL possible?

2016-05-02 Thread Stephen Nutbrown
in, I really appreciate it. Stephen Nutbrown On 2 May 2016 at 11:38, Carlos Montero Canabal < carlosmonterocana...@gmail.com> wrote: > Yes. I do it in many webapps. > > AppModule: > > @Contribute(PageRenderLinkTransformer.class) > @Primary > public

Hyphens in URL possible?

2016-05-02 Thread Stephen Nutbrown
Hi, I am working on a tapestry project and someone has asked me to change the URLs to include hyphens which they believe will improve SEO. As per https://support.google.com/webmasters/answer/76329?hl=en, it's supposedly good practise to "Consider using punctuation in your URLs. The URL *http://ww

Re: Tapestry is a sinking Ship

2016-02-12 Thread Stephen Nutbrown
The only reason you email the Tapestry users group is because Tapestry Users has many subscribers. The only reason Tapestery Users has many subscribers is because Tapestry is not dead. On 12 February 2016 at 22:00, David Taylor wrote: > If Tapestry is so terrible, why waste all the energy? Ju

Tapestry 5 jobs, the value of learning to use T5 and transferable skills.

2015-10-01 Thread Stephen Nutbrown
Hi, I feel this discussion belongs in the users group, although it is not all directly related to Tapestry - it's related in some way or another and I felt this community would be best positioned to talk about it. I have no specific questions, this is intended more as a discussion/experience threa

Re: Debugging Tapestry with IntelliJ IDEA

2015-08-25 Thread Stephen Nutbrown
Just to confirm it also works fine here too. I've found IntelliJ to be absolutely fantastic so far. I'm running it using jetty but I know there is an option for tomcat... I don't know if that could make a difference? On 25 Aug 2015 11:33 am, "Chris Poulsen" wrote: > It works fine with IDEA here.

Re: Multiple domains, one webapp

2015-08-10 Thread Stephen Nutbrown
Thank you also Thiago! You are all awesome and so is tapestry :) On 10 Aug 2015 18:19, "Thiago H de Paula Figueiredo" wrote: > On Mon, 10 Aug 2015 13:04:25 -0300, Stephen Nutbrown > wrote: > > This looks really good and will be really helpful to lots of people - >>

Re: Multiple domains, one webapp

2015-08-10 Thread Stephen Nutbrown
This looks really good and will be really helpful to lots of people - thank you! I've had a look and have learnt some things from it myself, however I have a few questions. Is the "@ImportModule(CommonModule.class)" required? Instead of that I have something like this in my pom.xml or

RE: Multiple domains, one webapp

2015-08-05 Thread Stephen Nutbrown
Seems to be working for me too! Thanks. The only issue I am having is that my code for hibernate doesn't seem to work quite as expexted. Ideally, this should be picked up from the happylib public static void contributeHibernateEntityPackageManager(Configuration configuration) { configurat

Re: Multiple domains, one webapp

2015-08-05 Thread Stephen Nutbrown
ntributeHibernateEntityPackageManager(Configuration configuration) { configuration.add("com.my.package.myentities"); } Thanks, Steve On 4 Aug 2015 23:14, "Thiago H de Paula Figueiredo" wrote: > On Tue, 04 Aug 2015 18:15:20 -0300, Stephen Nutbrown > wrote

Re: Multiple domains, one webapp

2015-08-04 Thread Stephen Nutbrown
someone can update it in the documentation? Thanks, Steve On 4 Aug 2015 19:29, "Thiago H de Paula Figueiredo" wrote: > On Tue, 04 Aug 2015 12:19:40 -0300, Stephen Nutbrown > wrote: > > It's checked by default on my Eclipse Lunar - I haven't used it yet as i'm &

Re: Multiple domains, one webapp

2015-08-04 Thread Stephen Nutbrown
It's checked by default on my Eclipse Lunar - I haven't used it yet as i'm just diving into making this shared module to see how it goes. Thanks, Steve On 4 August 2015 at 16:15, Lance Java wrote: > Further from Thiagos connents... > > In eclipse, when using the m2e plugin you can right click o

Re: Multiple domains, one webapp

2015-08-04 Thread Stephen Nutbrown
Hi, Many thanks for all of your thoughts on this. I have chosen to go with having a common project as a jar and setting up maven to build this project first and use it as a dependency for the other two. This means i'll be able to put the various entities in there that are shared between both web a

Re: prefilling password

2015-08-03 Thread Stephen Nutbrown
Hi, I think it will only prefill it if the password is persisted. I would think the best solution is not to persist the password with @Persist. Thanks, Steve On 3 August 2015 at 19:04, Christine wrote: > > I have a form with a password field. It gets pre-filled with a previously > used passwor

Re: Multiple domains, one webapp

2015-07-30 Thread Stephen Nutbrown
Thanks for the advice. I'll go with this. I will look into how to create a module which I can use in both webapps, and I will need to find a reliable way to connect both of the webapps to the same (amazon RDS) database without running out of connections etc (I believe this will just mean working wi

Multiple domains, one webapp

2015-07-30 Thread Stephen Nutbrown
Hi, To cut a long story short, I have a website running using tapestry which has two main areas, we will call them "Client accounts" and "Partner accounts". The powers that be have now decided the best way forwards is to split this into two separate domains, let's call them www.clients.com and www

Form recorded error disappearing

2015-07-25 Thread Stephen Nutbrown
Hi, I have a simple form with one field which takes in a code. This code is to identify guests at our wedding, the security of it isn't really paramount. We would like to be able to have users enter the code into the form, OR scan a QR code. The QR code points to an address, e.g www.foo.com/1234

Re: Ajaxformloop add row link max size.

2015-07-24 Thread Stephen Nutbrown
31619004 On 15 July 2015 at 16:25, Stephen Nutbrown wrote: > Hi, > > Thank you for your reply Lance, sorry I didn't see it sooner. I still > haven't managed to fix this, but I have done some experimenting and i'm not > sure if it's due to my misunderstanding (most

Re: Ajaxformloop add row link max size.

2015-07-15 Thread Stephen Nutbrown
s showed correctly, however if I put that inside the then it does not show and on inspecting the source of the page produced, it isn't there at all. So it looks to me like the zone shows, but the addrow link inside it does not. Is this a bug, or just me? Any help is really appreciated. Than

Ajaxformloop add row link max size.

2015-07-13 Thread Stephen Nutbrown
Hi! Wohoo, I'm getting married next year and I'm currently in the process of setting up a small wedding website for my guests to RSVP. However, I have a small problem which I'm sure has a simple solution, I just can't see it. I have an ajaxformloop for the guests to add +1s. Some have more alloca

Re: Tree expansion

2015-06-12 Thread Stephen Nutbrown
Hi, I believe this should be pretty much the same as it was here: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/T5-3-1-How-to-expand-all-the-tree-nodes-td5702736.html Thanks, Steve On 29 May 2015 at 06:48, Cheng Zhang wrote: > Thank you for your answer. What method can I u

Re: Handling the fileuploadexception

2015-06-11 Thread Stephen Nutbrown
also expect that clearing the form is problematic for most of those sites, so i'm still a bit surprised this hasn't been an issue for anyone else. Thanks, Steve On 11 June 2015 at 21:51, Stephen Nutbrown wrote: > Hello! > > I am back, and with a working solution. Before using th

Re: [OT] Hosting

2015-06-10 Thread Stephen Nutbrown
Hi, I'm using amazon aws on their free tier which is free for a year, then I don't think too expensive after but it's worth checking out if it's just for dev or staging for now. At the moment my project is mainly just me messing around and isn't anything serious, but it seems a lot faster than I

Re: Handling the fileuploadexception

2015-06-10 Thread Stephen Nutbrown
days until I get the time, but i'll certainly do that. Thanks, Steve On 10 June 2015 at 01:38, Thiago H de Paula Figueiredo wrote: > On Tue, 09 Jun 2015 19:01:33 -0300, Stephen Nutbrown > wrote: > >> Hi, > > > Hi! > >> >> I saw some posts on StackOverflow

Re: Handling the fileuploadexception

2015-06-09 Thread Stephen Nutbrown
y help others. Thanks, Steve On 9 Jun 2015 20:06, "Thiago H de Paula Figueiredo" wrote: > On Tue, 09 Jun 2015 14:39:54 -0300, Stephen Nutbrown > wrote: > > Hi Thiago, >> > > Hi! > > >> That's interesting. Perhaps the documentation wants upda

Re: Handling the fileuploadexception

2015-06-09 Thread Stephen Nutbrown
) for me to create one for the file upload component? Thanks, Steve On 9 June 2015 at 18:39, Stephen Nutbrown wrote: > Hi Thiago, > > That's interesting. Perhaps the documentation wants updating. It says: > "Note the importance of return this;. A void event handler method, or &

Re: Handling the fileuploadexception

2015-06-09 Thread Stephen Nutbrown
n." https://tapestry.apache.org/uploading-files.html Perhaps if I change it to void it may keep my values, i'll give it a try. Thanks, Steve On 9 June 2015 at 18:25, Thiago H de Paula Figueiredo wrote: > On Tue, 09 Jun 2015 14:05:49 -0300, Stephen Nutbrown > wrote: > >> Hi, >

Handling the fileuploadexception

2015-06-09 Thread Stephen Nutbrown
Hi, I have a page with a form on, one field is a FileUpload. It takes a while for the user to fill out this form. The validation is set to limit the upload to 500kb, I have done this by adding this to the AppModule: configuration.add(UploadSymbols.FILESIZE_MAX, "50"); When the file is

Re: Customizing the Tree Component

2015-05-26 Thread Stephen Nutbrown
Hi, Just to add to this - I've done this before and it works, however the code is old and I don't think I have it (It's an old project which never launched). However, if you go here: http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse/tree-sprites.png You can see the C

Re: tml reloading

2015-05-23 Thread Stephen Nutbrown
). > > But I'm glad it is working now. Thanks again! > > Regards, > Veit > > Am 23.05.2015 um 18:46 schrieb Stephen Nutbrown: >> Hi, >> >> Can you try adding this argument: >> >> -Dtapestry.execution-mode=development >> >>

Re: tml reloading

2015-05-23 Thread Stephen Nutbrown
Hi, Can you try adding this argument: -Dtapestry.execution-mode=development Thanks, Steve On 23 May 2015 at 16:58, Veit Guna wrote: > Hi. > > I'm a new user of tapestry and struggling to get tml files reloaded > during development. > I'm using Tomcat 8 with JDK 7 and the tapestry archetype de

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

2015-05-04 Thread Stephen Nutbrown
tModuleConfiguration(ajaxFormLoop)); > } > > Also your change to "this" was correct.It was supposed to be > "this".Something went wrong on copy paste.I am reattaching the fixed > ajaxformloop > > > > On Mon, May 4, 2015 at 7:31 PM, Stephen Nutbrown > w

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

2015-05-04 Thread Stephen Nutbrown
javascript file > > The events.zone.didUpdate is not triggered on the new element but on the > addRowButton (insertionPoint) resulting on the scanner to not be > executed.Until this gets fixed you can override tapestry core ajaxformloop > file with the one I have attached > >

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

2015-05-04 Thread Stephen Nutbrown
When I remove, the console says: Executing 0 inits console.js:104 All inits executed Thanks, Steve On 4 May 2015 at 12:04, Stephen Nutbrown wrote: > Hi, > > Just to add to that - when I press remove row, this function also is > not called (at least, the alert doesn't show). O

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

2015-05-04 Thread Stephen Nutbrown
Hi, Just to add to that - when I press remove row, this function also is not called (at least, the alert doesn't show). Only when the page loads. Thanks, Steve On 4 May 2015 at 11:56, Stephen Nutbrown wrote: > Hi, > > Thank you Akshay & Dimitris. > > Just a quick note

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

2015-05-04 Thread Stephen Nutbrown
>> ajaxResponseRenderer.addCallback(new JavaScriptCallback() { >>> >>> @Override >>> public void run(JavaScriptSupport javascriptSupport) { >>> >>> javascriptSupport.require("YOUR JS FILE").invoke("function to be >&

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

2015-05-03 Thread Stephen Nutbrown
4 May 2015 at 00:35, Stephen Nutbrown wrote: > Hi, > > I have a quick question (and this isn't anything to do with your code, > which is fantastic) - it's more to do with how Tapestry handles an > AjaxFormLoop. > > I have this component inside an ajax form loop. Whe

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

2015-05-03 Thread Stephen Nutbrown
I refresh the page, the newly added row works fine. Thanks, Steve On 3 May 2015 at 15:59, Stephen Nutbrown wrote: > Hi Dimitris, > > That's extremely kind and generous of you, thank you! I owe you a few > beers, if you happen to have a paypal address hooked up to your email >

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

2015-05-03 Thread Stephen Nutbrown
ssets/other/css/. > > The example I have attached is using Java 8 LocalDateTime but it can be > adopted in order to use java.util.Date > > Thanks > Dimitris Zenios > > On Fri, May 1, 2015 at 9:41 PM, Stephen Nutbrown > wrote: >> >> Hi Dimitris, >>

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

2015-05-02 Thread Stephen Nutbrown
gt; > > > > On Fri, May 1, 2015 at 1:15 PM, Stephen Nutbrown > wrote: > >> Hi, >> >> I have been looking for a date + time picker for Tapestry. I'd like a >> form component which will bind to a java.util.Date object, and asks >> for a time as w

[T5.4 beta 28] Date and time picker

2015-05-01 Thread Stephen Nutbrown
Hi, I have been looking for a date + time picker for Tapestry. I'd like a form component which will bind to a java.util.Date object, and asks for a time as well as a date. I haven't had much luck, i've found bits of code here and there for older versions of tapestry. I would have thought this com

Re: W3c Validation stray input tags

2015-04-27 Thread Stephen Nutbrown
nk is fantastic for keeping up to date with what is going on. Thankyou :). Steve On 27 April 2015 at 13:38, Thiago H de Paula Figueiredo wrote: > On Sun, 26 Apr 2015 09:02:17 -0300, Stephen Nutbrown > wrote: > >> Hi, > > > Hi! > >> The version of Tapestry I am usi

Re: W3c Validation stray input tags

2015-04-26 Thread Stephen Nutbrown
ut tag altogether from my tml and > just using t:textfield like the example: > > t:id="emailAddress" placeholder="Enter email" > t:value="emailAddress"/> > > The page renders, but with this: > > > On 26 April 2015 at 13:57, Stephen Nutbrown wrot

Re: W3c Validation stray input tags

2015-04-26 Thread Stephen Nutbrown
; must be terminated by the matching end-tag "". The error message itself is not correct. I have also tried remoiving my input tag altogether from my tml and just using t:textfield like the example: The page renders, but with this: On 26 April 2015 at 13:57, Stephen Nutbrown wrote:

Re: W3c Validation stray input tags

2015-04-26 Thread Stephen Nutbrown
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,

Re: W3c Validation stray input tags

2015-04-26 Thread Stephen Nutbrown
Hi, Just an update, I found there is a newer version of Tapestry, 5.4-beta28 which I have updated my POM.xml to. I can see it should be pulling in the latest version by looking at the dependency hierarchy, but I still get this on startup: __ __ /_ __/__ ___

W3c Validation stray input tags

2015-04-26 Thread Stephen Nutbrown
Hi, I have this in my TML file: This renders are: The issue here is the input tag should close like this instead: Therefore, I get a W3C validation issue: Line 109, Column 115: Stray end tag input. This seems to be a problem already reported and (apparently) fixed, it is listed here: https:

W3c Validation stray input tags

2015-04-26 Thread Stephen Nutbrown
Hi, I have this in my TML file: This renders are: The issue here is the input tag should close like this instead: Therefore, I get a W3C validation issue: Line 109, Column 115: Stray end tag input. This seems to be a problem already reported and (apparently) fixed, it is listed here: https:

Re: Quick question - structure for 125 static pages

2014-09-22 Thread Stephen Nutbrown
a DB. > > Robert > > GATAATGCTATTTCTTTAACGAA > >> On Sep 22, 2014, at 2:32 AM, Stephen Nutbrown wrote: >> >> Hello, >> >> I am wondering the best way to structure this within Tapestry 5 - I >> can see lots of ways, but i'm trying to consider the best way. &

Quick question - structure for 125 static pages

2014-09-22 Thread Stephen Nutbrown
Hello, I am wondering the best way to structure this within Tapestry 5 - I can see lots of ways, but i'm trying to consider the best way. I have the requirement to make approximately 125 pages (or rather, 1 page with a possible 125 different sets of data). Each page is a short tutorial which has

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

2014-09-16 Thread Stephen Nutbrown
de was there, as the security policy is set through VM args. Thanks Lance, I really appreciate your help! On 16 September 2014 18:01, Stephen Nutbrown wrote: > Thanks Lance - I will check that first. I did fix one occurrence of > that already but think I got them. > > I also wonder if

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

2014-09-16 Thread Stephen Nutbrown
inux file system is case sensitive whereas windows is not. I'm guessing > you have a tml file where the case of the tml filename does not match the > class name. > On 16 Sep 2014 17:27, "Stephen Nutbrown" wrote: > >> Hi, >> >> I have a T5 webapp wh

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

2014-09-16 Thread Stephen Nutbrown
Hi, I have a T5 webapp which I am currently running using jetty on windows which works as expected. I am building the project using maven and running it using mvn jetty:run. However, I can (and have) tried installing jetty and building it into a .war and deploying it that way. Whichever way I do

Re: Tapestry ioc/registry startup exception?

2014-09-02 Thread Stephen Nutbrown
Hi, I had this exact same question and problem, and found changing the JDK to use 7 instead of 8 fixed it. However, this seems to do it even when I download a snapshot of Tapestry and run using JDK 8, is there any documentation anywhere with any requirements and instructions on how to use JDK 8?

Re: Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Stephen Nutbrown
/1.0-SNAPSHOT-DEV/ctx/layout/js/jquery.mousewheel.run.js"> So, for some reason it appears that using zones and updating the body is causing the script to not be sent, and therefore (perhaps also because eval isn't called, I don't know), it is missing from the page. Any ideas why t

Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Stephen Nutbrown
Hi, Sorry for asking two questions in as many days but I have become stuck again. I've done a fair bit of searching and I think I understand the problem, but I don't know how to fix it. I have a "DirectoryViewer" component and a "MediaViewer" component which I created. The directory viewer will s

Re: Displaying an ArrayList of strings in a form using TextFields

2014-05-20 Thread Stephen Nutbrown
l of thanks :) Thank you! You have made my day. Steve On 20 May 2014 14:32, Thiago H de Paula Figueiredo wrote: > On Tue, 20 May 2014 10:23:22 -0300, Stephen Nutbrown > wrote: > >> Hi Thiago, thanks for the help! > > > Hi! > > >> I appreciate your comments

Re: Displaying an ArrayList of strings in a form using TextFields

2014-05-20 Thread Stephen Nutbrown
; If the number of values in your ArrayList is constant, you can use Thiago's > approach and use the Loop component to create the text fields. In case the > number of values should be adjustable, I think you're better off using > AjaxFormLoop. > > Best, > Thilo >

Re: Displaying an ArrayList of strings in a form using TextFields

2014-05-20 Thread Stephen Nutbrown
); But i'm not sure if Tapestry can do that this easily? Thanks, Steve On 20 May 2014 14:08, Thiago H de Paula Figueiredo wrote: > On Tue, 20 May 2014 09:14:08 -0300, Stephen Nutbrown > wrote: > >> Hello, > > > Hi! > > >> > index="indexProp&

Re: Displaying an ArrayList of strings in a form using TextFields

2014-05-20 Thread Stephen Nutbrown
and after the submit you split the user input line-by-line. > > Please feel free to ask, if you have questions concerning the FormLoop. > > Best, > Thilo > > > > From: Stephen Nutbrown > Sent: Tuesday, May 20, 2014 14:14 >

Displaying an ArrayList of strings in a form using TextFields

2014-05-20 Thread Stephen Nutbrown
Hello, I also posted this on StackOverflow (SO), but it seems that the forum is more active for these questions than SO. I'd really appreciate any help. Here is the SO question, and the problem below (the same as it is on SO). http://stackoverflow.com/questions/23756438/tapestry-5-edit-arraylist-