Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-21 Thread Daniel Jones
I have found Memset to be very good: http://www.memset.com/ Cheers, Daniel -- View this message in context: http://old.nabble.com/Affortable-Hosting-solutions-for-Tapestry-WebApps-tp26830161p26878937.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Help with ZoneUpdate

2009-12-11 Thread Daniel Jones
this.myZone = $('myZoneID'); this.myZone.observe(Tapestry.ZONE_UPDATED_EVENT, this.doSomeFunction()); Cheers, Daniel joshcanfield wrote: > >> The Zone raises a JS event when is updated. > > You're right, my bad. I was looking at the form injector when I > replied. It doesn't raise an event a

T5 - Bug in AJAX Functionality

2009-12-11 Thread Daniel Jones
Explanation: - Form inside Zone component - Loop component inside the Form containing Checkboxes. - Form submits via AJAX - Event handler returns a MultiZoneUpdate to update 2 Zones, one of these is the Zone that contains the form, the other is an order summary panel which has ActionLinks to remo

Re: T5 - MarkupWriterListener

2009-12-05 Thread Daniel Jones
e any way that I can register this with the framework when the application starts? I.e. get hold of the MarkupWriter so that I can call its setListener method? Daniel Thiago H. de Paula Figueiredo wrote: > > Em Fri, 04 Dec 2009 13:08:57 -0200, Daniel Jones > escreveu: > >&g

T5 - MarkupWriterListener

2009-12-04 Thread Daniel Jones
How do I register my implementation with the framework? I've tried a number of things in AppModule which didn't work. Many Thanks, Daniel public class XHTMLListener implements MarkupWriterListener { public void elementDidEnd(Element pArg0) { System.out.println("ELEMENT D

Re: jumploader integration help

2009-10-11 Thread Daniel Jones
I should add that if you search for 'swfupload' in the mailing list there are some threads that might be useful. Daniel blueboy6 wrote: > > Hi all, > > I have some big questions for today, i found this java applet > http://jumploader.com/index.html http://jumploader.com/index.html that is >

Re: jumploader integration help

2009-10-11 Thread Daniel Jones
Have you seen this: http://swfupload.org/ Cheers, Daniel blueboy6 wrote: > > Hi all, > > I have some big questions for today, i found this java applet > http://jumploader.com/index.html http://jumploader.com/index.html that is > made for uploading multiple photos. > > Did anyone had any ex

Re: T5 - Post Form To SSL

2009-10-09 Thread Daniel Jones
01 Oct 2009 20:11:08 -0300, Daniel Jones >> escreveu: >> >> Hi There, >>> >> >> Hi! >> >> Is there any way to tell a form to post using https. What I was ideally >>> looking for was an extra parameter on the Form component, for example:

Re: background: url(${context: image}) in CSS file?

2009-10-08 Thread Daniel Jones
Use a relative path. In my applications I store my CSS in: src/main/webapp/assets/styles/ And my images in: src/main/webapp/assets/images/ An example of using a relative path in my CSS file: background-image: url('../images/logo.png'); The path is relative to the CSS file and NOT the page, so t

Re: Tapestry upgrading to prototype.js version 1.6.1 for IE8 compliance

2009-10-01 Thread Daniel Jones
No idea when it will be included, probably in the next release. If it is important to you at the moment, just copy it into src/webapp/scriptaculous/5.1.0.5/prototype.js and it will override the version included with tapestry (if you haven't done this already). Regards, Daniel MattFish wrote: >

T5 - Post Form To SSL

2009-10-01 Thread Daniel Jones
Hi There, Is there any way to tell a form to post using https. What I was ideally looking for was an extra parameter on the Form component, for example: ... Just so you have an idea of what I'm trying to achieve. I have a login form on every page (this is part of my layout component) and

Re: XHTML and form element name attribute

2009-09-30 Thread Daniel Jones
Hi Ian, Did you find a solution for this? Cheers, Daniel Ian Fieldhouse wrote: > > When using a form component in my template with the following markup > the rendered html includes a 'name' attribute > for the form element. I'm trying to author my pages in 'XHTML > Strict' (having incl

Re: AjaxFormLoop: property changes have no effect

2009-08-04 Thread Daniel Jones
Hi Andy, I think you are a bit confused regarding the ValueEncoder. Your toClient method should provide a unique string identifier which can be used to retrieve that particular vehicle from your list. Your toValue method should accept the unique string identifier provided by the toClient method

Re: Form component generates invalid xhtml

2009-08-04 Thread Daniel Jones
I'm also having this problem Sergey. Did you find a simple workaround? Daniel Sergey Didenko wrote: > > Added. See https://issues.apache.org/jira/browse/TAP5-796 > > On Fri, Jul 24, 2009 at 5:12 PM, Sergey Didenko > wrote: > >> I guess nobody have it working the right way, so I'm going to a

Re: [5.1.0.5] FormFragment doesn't work in IE7 and Chrome

2009-07-29 Thread Daniel Jones
Hi Vjeran, I am having this same problem. Did you find a solution to this? Many Thanks, Daniel Vjeran Marcinko-2 wrote: > > Hello, > > I just tried playing with FormFragments in a simpliest example, and I > couldn't get it to work in my IE7 and Chrome. Fragment is always shown > regardles

Re: T5 - Configuration and .tml Files are Exposed By Tapestry.

2009-07-22 Thread Daniel Jones
isting with 5.2-SNAPSHOT but I'm still able to > access the templates and stuff on the classpath. > > Uli > > On 21.07.2009 03:13 schrieb Daniel Jones: >> Hello, >> >> OK, so here is my problem. >> >> In my page template: >> ${asset:context:

Re: T5 - Configuration and .tml Files are Exposed By Tapestry.

2009-07-21 Thread Daniel Jones
Hi Thiago, Yes this doesn't seem right to me. Are you seeing the same problem? Regards, Daniel Thiago H. de Paula Figueiredo wrote: > > Em Tue, 21 Jul 2009 00:02:20 -0300, Daniel Jones > escreveu: > >> I don't understand why I should have to configure this.

Re: T5 - Configuration and .tml Files are Exposed By Tapestry.

2009-07-20 Thread Daniel Jones
t; > You should configure the servlet container. Java Web Security is a > standard > part of the J2EE/JEE specification. There should be many resources on the > internet on that topic. > > On Tue, Jul 21, 2009 at 9:30 AM, Daniel Jones wrote: > >> >> Hi Howard, >>

Re: T5 - Configuration and .tml Files are Exposed By Tapestry.

2009-07-20 Thread Daniel Jones
; > You are right, .tml files should be protected in this way, as should > hibernate XML files. > > On Mon, Jul 20, 2009 at 6:13 PM, Daniel Jones wrote: >> >> Hello, >> >> OK, so here is my problem. >> >> In my page template: >> ${asset:con

T5 - Configuration and .tml Files are Exposed By Tapestry.

2009-07-20 Thread Daniel Jones
Hello, OK, so here is my problem. In my page template: ${asset:context:assets/images/layout/add.png} Tapestry generated URL to asset. http://127.0.0.1:8080/assets/ctx/c69b95ec1fef872d/assets/images/layout/add.png If I point my browser at: http://127.0.0.1:8080/assets/ctx/c69b95ec1fef872d/

Re: AJAX Loading Spinner

2009-06-29 Thread Daniel Jones
Hi DH, Thanks for your quick reply. In the onComplete function is there any way to find out which request is actually complete. As there could be many at the same time. The reason I want to know this is so that I can hide the correct spinner. I want to have a spinner next to each 'Add to Orde

AJAX Loading Spinner

2009-06-28 Thread Daniel Jones
Hi Guys, Looking for a bit of help. I have an action link which adds an item to the users shopping basket, it then updates a summary zone which is basically an overview of what they have added to their basket. Like so: Add to Order What I want to do is display a loading spinner when the 'Add

Re: T5: PageLink on img tag

2009-06-01 Thread Daniel Jones
Hi Andy, Have a look at this thread, I posted a solution that is similar to your requirements. http://www.nabble.com/T5:-How-to-load-image-Asset-from-filesystem--td22433419i20.html http://www.nabble.com/T5:-How-to-load-image-Asset-from-filesystem--td22433419i20.html Hope this helps, Daniel --

Re: T5 - Chenillekit Quartz & Services

2009-03-31 Thread Daniel Jones
Is there a more elegant solution than this? If so please share! Cheers, Dan -- View this message in context: http://www.nabble.com/T5---Chenillekit-Quartz---Services-tp22787045p22805264.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: T5 - Chenillekit Quartz & Services

2009-03-30 Thread Daniel Jones
Got this working in the end. Put my service reference in the JobDataMap and accessed it like this from within the job. public void execute(JobExecutionContext pContext) throws JobExecutionException { IDataSource aDataSource = (IDataSource) pContext.getJobDetail().getJobDataMap().

Re: T5 - Chenillekit Quartz & Services

2009-03-30 Thread Daniel Jones
Thanks for the quick reply Thiago! I have already tried what you suggested and I get a stack trace: public static void contributeQuartzSchedulerManager(OrderedConfiguration configuration, @InjectService("DataSource") IDataSource pDataSource) { configuration.add("importEmailToArch

T5 - Chenillekit Quartz & Services

2009-03-30 Thread Daniel Jones
I have followed the quartz example on the chenillekit site and I can run a simple job. How would I go about injecting a service into one of my jobs. public static void contributeSchedulerFactory(MappedConfiguration configuration) { Resource configResource = new Classpat

Re: T5 - Zone update annoyance.

2009-03-25 Thread Daniel Jones
Hi Thiago, I managed to solve this problem eventually. (After nearly losing the will to live) This is probably not the most elegant solution, but I set the following directives directly in the response header using a filter. pResponse.setHeader("Pragma", "no-cache"); pResponse.setHeader("Cache-

Re: T5 - Zone update annoyance.

2009-03-25 Thread Daniel Jones
OK, I have narrowed this down to a browser cache problem. Surely someone else is having this problem when using the Zone component. If I clear the cache in IE7 before clicking the back button, the page is displayed fine. After a bit of searching on this list apparently you can add meta informat

Re: T5 - Zone update annoyance.

2009-03-24 Thread Daniel Jones
were made after the page was loaded. I have tested IE7, and Google Chrome which both have the problem. It works in Firefox!! Daniel Jones wrote: > > Not sure why the show="summary" is there. (My lost efforts to try and > make the thing work) > > Daniel Jones wrote: &g

Re: T5 - Zone update annoyance.

2009-03-24 Thread Daniel Jones
Not sure why the show="summary" is there. (My lost efforts to try and make the thing work) Daniel Jones wrote: > > Hi Kalle, > > I'm already using delegate: > > > > > > So I'm stumped as to what it could be. > > > K

Re: T5 - Zone update annoyance.

2009-03-24 Thread Daniel Jones
Hi Kalle, I'm already using delegate: So I'm stumped as to what it could be. Kalle Korhonen-2 wrote: > > Delegate doesn't do the trick? > > > > > Kalle > > > On Tue, Mar 24, 2009 at 6:43 AM, Daniel Jones wrote: > >&

T5 - Zone update annoyance.

2009-03-24 Thread Daniel Jones
Hello, I'm using Tapestry 5.0.18 and more specifically the Zone component. When I have a zone on a page (This is for an shopping basket panel, that updates as the user adds items.) Everything works fine but there is a minor annoyance. When the user follows a link to the next page and then deci

Re: [T5] Web Service

2009-03-19 Thread Daniel Jones
Thanks for all the replies, I have checked out all the links. Marcus, this looks great, nice and simple! Cheers, Dan Marcus Veloso wrote: > > http://code.google.com/p/t5-restful-webservices/ > > -- View this message in context: http://www.nabble.com/-T5--Web-Service-tp22424545p22612955.h

Re: T5: How to load image Asset from filesystem?

2009-03-13 Thread Daniel Jones
ces.html#createEventLink%28java.lang.String,%20java.lang.Object...%29>instead > * > -Luther > > > > On Thu, Mar 12, 2009 at 9:42 PM, Daniel Jones wrote: > >> >> Hi Peter, >> >> I'm using nabble to post and it seems to have stripped out the img tag. &

Re: T5: How to load image Asset from filesystem?

2009-03-12 Thread Daniel Jones
r example. I tried this one, but the Object onImage is never > called when the page loads. > I am using Tapestry 5.1. The code is equal to your example. > > What could I do wrong? > > regards, > Peter > > On Thu, Mar 12, 2009 at 10:54 AM, Daniel Jones wrote: > >

Re: T5: How to load image Asset from filesystem?

2009-03-12 Thread Daniel Jones
PAGE CLASS inject component resources so that you can create an action link @Inject private ComponentResources mComponentResources; when the path is requested by the template, create and return an action link public Link getImagePath() { return mComponentResourc

[T5] Web Service

2009-03-09 Thread Daniel Jones
Hi There, I have a web application written using the Tapestry 5 framework. This allows users to view data stored in an SQL database. I want to write a client Java application that a user will be able to run on their local machine. I want this client side application to be able to communicate a

Forms, Loops and Checkboxes, Please Help

2009-02-26 Thread Daniel Jones
Hi Everyone, I have an application state object which contains a list of objects which in turn contain a list of boolean options that I want to set using checkboxes. I am trying to dynamically create Checkboxes in a form using a loop and I have ran into a few problems (concerning the loop). As

Forms, Loops and Checkboxes, Please Help

2009-02-26 Thread Daniel Jones
-- View this message in context: http://www.nabble.com/Forms%2C-Loops-and-Checkboxes%2C-Please-Help-tp9137p9137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-un

Re: Problem upgrading to 5.0.15

2009-02-10 Thread Daniel Jones
Thanks for this answer! Helped me. Cheers, Daniel Joachim Van der Auwera wrote: > > Hi, > > I feel your pain :-) > > I fixed this by changing the contribution in AppModule to > > public static void contributeTranslatorDefaultSource( > MappedConfiguration configuration ) > > It now seems t

Re: Protecting ActionLinks when using a Dispatcher.

2009-02-05 Thread Daniel Jones
Hi Jonathan, Thanks for your input so far. I have managed to solve the problem by borrowing some code from ComponentEventDispatcher and PageRenderDispatcher. The beast of a regexp in ComponentEventDispatcher provides a means to get the 'activePageName' but this includes the context as well. Th

Protecting ActionLinks when using a Dispatcher.

2009-02-05 Thread Daniel Jones
Hi there, I have implemented and contributed a Dispatcher in order to secure access to pages based on the users role. This is similar to the tutorial on the wiki, although I have used annotations, so I can attach @Secured("ROLE_ADMIN") to the page class. This works very well and the user is red