Re: Workflow Engine for tapestry

2010-01-04 Thread Toby Hobson
app server like Glassfish or Weblogic ? > >> > >> Can you give me some hint how you integrate it with tapestry. I'm > >> still in the inception process between using a workflow engine or not. > >> > >> > >> Thanks a lot, > >> Che

Re: Workflow Engine for tapestry

2010-01-04 Thread Toby Hobson
If it's pure workflow (as opposed to SOA orchestration) I would recommend jBPM, I have used it alongside T5 with great success. Toby 2010/1/4 abangkis > Dear all, i have a questions. > > Is there any recommendation for a workflow engine that would work well > with tapestry. Or is it using the T

Re: [Tapestry Central] Securing Tapestry pages with Annotations, Part 1

2009-12-31 Thread Toby Hobson
Just to add my 2 cents ... imho it's best to build on an exiting framework like spring-security rather than trying to re-invent the wheel. acegi/spring-security has great traction in the market and it's very well documented. Recent versions are becoming much simpler due to sensible defaults but mor

Re: Best server for development and for production?

2009-11-19 Thread Toby Hobson
For development I use jetty along with JRebel. Jetty, JRebel and T5's dynamic class reloading make a perfect combination ... I can change pages, components, model objects, even spring beans on the fly. For production I used to deploy on Tomcat or Weblogic although I've recently moved across to Glas

Re: simulate form submission events without Submit component

2009-11-18 Thread Toby Hobson
I do something similar ... in fact I have created a mixin which I call AjaxDelegate ... it basically wires up elements so that a client side event on one component invokes a click event on a hidden submit button Toby 2009/11/18 Thiago H. de Paula Figueiredo > Em Wed, 18 Nov 2009 11:22:03 -0200,

Re: Same page, two different content-types

2009-11-03 Thread Toby Hobson
Hi Alfie I guess you could use a url rewrite: public class MyAccount { ... } @ContentType("text/xml") public class MyAccountXML extends MyAccount { } public static void contributeURLRewriter(OrderedConfiguration configuration) { URLRewriterRule rule = new URLRewriterRule() { publ

Re: Tapestry seems to delete object data

2009-10-23 Thread Toby Hobson
Sorry you spent an hour on that. In future please don't suffer in silence ... if you hit problems let us know and we'll try to help ... the guys on the mailing list don't bite ;-) 2009/10/23 Mite > > Thank you guys. The problem is solved. > I am beginner in this, and really like the concept of T

Re: Tapestry seems to delete object data

2009-10-23 Thread Toby Hobson
Sorry Thiago .. you just beat me ;-) 2009/10/23 Thiago H. de Paula Figueiredo > Em Fri, 23 Oct 2009 19:05:25 -0200, Mite escreveu: > > import org.apache.tapestry5.annotations.InjectPage; >> >> public class Index >> { >>private String message; >> > > Tapestry uses redirect-after-post, s

Re: Tapestry seems to delete object data

2009-10-23 Thread Toby Hobson
Hi Mike You need to make the param persistent. By default properties are not persisted between requests and what's actually happening here is a redirect after post, i.e. two requests This should get you on the right track: public class Second { @Persist("session") // or use @Persist("flas

Re: T5: Weird problem with browser cache and component event redirect

2009-10-23 Thread Toby Hobson
I've had similar problems (caching in general). I was running a mixed T5/Spring MVC app so in the end I wrote a filter which set the various http headers and I then mapped certain requests to that filter. In the end I found that I needed to set quite a few cache related headers to get things workin

Re: Taåestry.debug() toggles blackbird console ... newbiew quest ...

2009-10-19 Thread Toby Hobson
try Tapestry.Logging.debug("message") 2009/10/19 Gunnar Eketrapp > Tapestry.debug('Message'); > > 2009/10/19 Toby Hobson > > > Are you using Tapestry.Logging.debug() ? > > > > 2009/10/19 Gunnar Eketrapp > > > > > Hi! > >

Re: Taåestry.debug() toggles blackbird console ... newbiew quest ...

2009-10-19 Thread Toby Hobson
Are you using Tapestry.Logging.debug() ? 2009/10/19 Gunnar Eketrapp > Hi! > > I entered some debug loggings into some javascript code but the blackbird > console keeps toogling each time I call Tapestry.debug(). > > Hum ... the page is reloaded how do I get the blackbird console to > persis

Re: Ajax fileupload

2009-10-19 Thread Toby Hobson
ssues would probably prevent it from being included in the T5 distribution Toby 2009/10/19 Harald Geritzer > > interesting question...has anybody been successful including/using some > flash upload component with tapestry 5? > > Toby Hobson schrieb: > >> Tapestry's

Re: Ajax fileupload

2009-10-18 Thread Toby Hobson
Tapestry's file upload component is not ajax based. Actually GMAIL's file upload uses flash, not ajax because ajax does not work with multipart form data Toby 2009/10/18 Argo Vilberg > hi > Is in tapestry such component like GMAIL fileupload. Choose file and after > that, uploading started auto

Re: t5: calling action link from a javascript

2009-10-12 Thread Toby Hobson
You may get away with using an expansion as explained here: http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript but I think RenderSupport is still the better option 2009/10/12 Toby Hobson > You can't really rely on Tapestry expansions inside JS code ... it's best

Re: t5: calling action link from a javascript

2009-10-12 Thread Toby Hobson
gt; jQuery.post(updateItem(), { item_no : ino }, function(data){ > alert("Data Loaded: " + data.status), "json"; >}); > > > > Toby Hobson-3 wrote: > > > > Are you sure you're javascript is using the correct url? I don't know > w

Re: jumploader integration help

2009-10-11 Thread Toby Hobson
There's also an excellent commercial tool called Aurigma image uploader ( http://www.aurigma.com ) that I've used with Tapestry in the past. I've actually wrapped this as a T5 component so if you consider using it let me know and I'll send you the code Toby 2009/10/12 Daniel Jones > > I should

Re: t5: calling action link from a javascript

2009-10-11 Thread Toby Hobson
Are you sure you're javascript is using the correct url? I don't know what your updateItem() JS function does, but generally you need to construct the actionlink url (as you have done) then pass this to the javascript using RenderSupport's addScript() method Toby 2009/10/12 Angelo Chen > > Hi,

Re: Hi from a simple tapestry user!

2009-10-08 Thread Toby Hobson
I'm trying Wicket at the moment. I've used Tapestry 4 and 5 for some years, along with struts, jsf, spring mvc ... all the usual suspects. I won't get into the "which is better" argument but I will say that the guys on the Tapestry mailing list are incredibly helpful. For me this trumps everything

Re: Problems using upload inside an ajax zone

2009-10-06 Thread Toby Hobson
load the whole page? > > Can does anyone else have a work around on the problem? Can anyone > shed some light on what's going on? > > Thanks, > Pete Poulos > > On Mon, Oct 5, 2009 at 8:35 PM, Toby Hobson > wrote: > > Its about 12 months since I used Tapestr

Re: T5 / Creating a form insides a loop ...

2009-10-06 Thread Toby Hobson
Hi Gunnar Maybe you could give us a higher level explanation of what you are trying to achieve i.e. what is the business logic driving this? In my experience when migrating from a technology like struts or servlets to tapestry it's best to rethink your whole strategy, instead of thinking in terms

Re: T5 clientIds for elements in a block/zone

2009-10-06 Thread Toby Hobson
typo ... should have been $$('.billing') ... i need some new glasses! 2009/10/6 Toby Hobson > I can confirm that both Thiago's and Christophe's approaches work. In the > end I used Thiago's suggestion because although I gave the example of > needing to copy o

Re: T5 clientIds for elements in a block/zone

2009-10-06 Thread Toby Hobson
I can confirm that both Thiago's and Christophe's approaches work. In the end I used Thiago's suggestion because although I gave the example of needing to copy one text field, in fact I needed to do this for 10 fields so passing 20 clientIds to a javascript function/constructor was less than ideal.

Re: Problems using upload inside an ajax zone

2009-10-05 Thread Toby Hobson
Its about 12 months since I used Tapestry but if I remember correctly file uploads and ajax don't play well together ... it's not specific to T5, ajax and multipart forms just don't work together. If I remember correctly I used a flash based solution to handle ajax style file uploads ... I'll dig t

Re: T5 clientIds for elements in a block/zone

2009-10-05 Thread Toby Hobson
Well done Thiago ... a good example of thinking "outside the box" :-) Thanks! 2009/10/5 Thiago H. de Paula Figueiredo > Em Mon, 05 Oct 2009 19:38:59 -0300, Toby Hobson < > toby.hob...@googlemail.com> escreveu: > > Hi Thiago >> > > Hi! > > I

Re: T5 clientIds for elements in a block/zone

2009-10-05 Thread Toby Hobson
ml generated is It's strange because there is no other element with a clientId of techFirstName so I don't understand why Tapestry is appending the random string Toby 2009/10/5 Thiago H. de Paula Figueiredo > Em Mon, 05 Oct 2009 09:56:07 -0300, Toby Hobson < > toby.hob...@google

Re: T5 clientIds for elements in a block/zone

2009-10-05 Thread Toby Hobson
Only the > block is rendered. > > Replacing the block by a 'component' will allow you to implement such a > method. > > Christophe. > > > 2009/10/5 Toby Hobson > > > Sorry to clarify ... > > > > "I guess the problem is that the text

Re: T5 clientIds for elements in a block/zone

2009-10-05 Thread Toby Hobson
Sorry to clarify ... "I guess the problem is that the textField is nested in a block which is rendered using AJAX so although the page has completed it's rendering the textField has not yet being rendered therefore it doesn't have a clientId?" 2009/10/5 Toby Hobs

Re: T5 clientIds for elements in a block/zone

2009-10-05 Thread Toby Hobson
Hi Christophe Unfortunately this doesn't seem to work, although maybe I have missed something. For example @Component private TextField techFirstName; void afterRender() { logger.debug("techFirstName clientId: " + techFirstName.getClientId()); } [DEBUG] pages.Order techFirstName clientId: nul

T5 clientIds for elements in a block/zone

2009-10-05 Thread Toby Hobson
Hello Everyone It's about 12 months since I used Tapestry but its good to be back :-) I'm currently writing an Ajax based order form for a client but I've hit a little problem. Basically I have a series of blocks which are used to represent 'pages' in the order form i.e. I have a block for product

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Toby Hobson
t; > shape="rect">Release RES Session > > > So on the payment system they are rendering the html page exactly as above > .. resulting in broken links and assets are not loading. > > > On Tue, Nov 25, 2008 at 6:17 PM, Toby Hobson <[EMAIL PROTECTED] > >

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Toby Hobson
gt; > On Tue, Nov 25, 2008 at 6:10 PM, Toby Hobson <[EMAIL PROTECTED] > >wrote: > > > In your AppModule.java you need to tell T5 to use absolute uris e.g. > > > > public static void > > contributeApplicationDefaults(MappedConfiguration &

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Toby Hobson
In your AppModule.java you need to tell T5 to use absolute uris e.g. public static void contributeApplicationDefaults(MappedConfiguration configuration) { ... configuration.add(SymbolConstants.FORCE_ABSOLUTE_URIS, "true"); } Toby 2008/11/25 Ovidiu Hurducas <[EMAIL PROTECTED]> > Hi! > I

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Toby Hobson
#x27;ve still some > doubts. > One of them is like to use the declaration of dependecies. > For example: > > com.javaforge.*tapestry* > *tapestry*-*flash* > > >Is it just necessary this declaration? > > Thanks for attention. > > 2008/11/17 Toby

Re: How to use Tapestry with Flash components?

2008-11-17 Thread Toby Hobson
I have developed several T5/Adobe Flash apps and as Peter mentions I wrote a couple of documents about it. I would be happy to answer any questions you may have Toby 2008/11/17 Peter Stavrinides <[EMAIL PROTECTED]> > If you are interested there are two good articles on flash integration with > T

Re: Javascript frameworks

2008-10-30 Thread Toby Hobson
I agree that it would be nice to be able to swap out the JS implementation because I am not a great fan of Prototype. Personally I would go with YUI or GWT. However I believe Prototype is pretty much ingrained into T5 :( Just my 2c worth! Toby 2008/10/30 Onno Scheffers <[EMAIL PROTECTED]> > I j

Re: T5 force_relative_uris?

2008-10-29 Thread Toby Hobson
0/29 Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> > Em Wed, 29 Oct 2008 18:21:04 -0300, Toby Hobson < > [EMAIL PROTECTED]> escreveu: > > I have an unusual requirement - I am developing a facebook application and >> I would like to use Tapestry however I have hit

T5 force_relative_uris?

2008-10-29 Thread Toby Hobson
I have an unusual requirement - I am developing a facebook application and I would like to use Tapestry however I have hit a problem with the URLs T5 is generating. Basically I need the urls to be relative i.e. ../test or absolute i.e. http://server.com/context/test, Facebook is falling over when T

Grid with editable fields

2008-10-27 Thread Toby Hobson
Hi guys, Currently I have a master-detail screen for some admin pages which uses the grid and beaneditform components. It work nicely, however I would like to implement a grid which can be edited in place. Specifically I have some fields which I would like to display as drop down selection boxes s

Re: so much useless logging

2008-10-17 Thread Toby Hobson
I agree that this is a little annoying but it only happens when the page is first loaded, subsequent requests will generate "cleaner" debug statements Toby 2008/10/18 Fernando Padilla <[EMAIL PROTECTED]> > alright, so we just upgraded from 5.0.11 to 5.0.16-SNAPSHOT, so sorry I was > not able to

Re: Problem updating form using a zone

2008-10-09 Thread Toby Hobson
nts of the zone will be empty, like you say. > > That's just how the zone works, it renders the returned component/block and > places the rendered content inside the zone tag replacing the existing > content. > > > Toby Hobson wrote: > &

Problem updating form using a zone

2008-10-09 Thread Toby Hobson
Can anyone see anything wrong with my code? Public: void onSu

Client side validation problem when using absolute positioning

2008-10-07 Thread Toby Hobson
I have just encountered a problem and wanted to run it by you guys before reporting it as a bug: have positioned an element using css absolute positioning but the validation "bubble" appears in the wrong place. Here is my relevant code: set name css: #newSetPanel { wi

Re: type of Component

2008-10-07 Thread Toby Hobson
What errors do you see? 2008/10/7 Walid Iguer <[EMAIL PROTECTED]> > Hi, > > I'm looking for a way to dynamically implement a "type" of Component. > > Do you have a solution? > > Currently, I do this: (the method does not like me) > > ... > > > > > > > > > >

Re: T5: 5.0.14 Bizarre ClassNotFoundException

2008-09-25 Thread Toby Hobson
Hi Russel, Just a thought but it might be worth checking your classpath. T5 will pull SLF4 into the classpath anyway so you could have included it twice. Because T5 uses a separate classloader for Pages and Components it may be getting confused. I've run into similar problems before. Cheers Toby

Re: Updating maven from within eclipse

2008-09-09 Thread Toby Hobson
Hi Rob are you using the maven-eclipse plugin or just running mvn eclipse:eclipse from the command line to generate the .project file? Either way I think changing your pom to use the newer version should work. If you are still having problems you can always delete the contents of your .m2/reposito

Re: [T5] t5components: how about a Button for PageLink?

2008-09-07 Thread Toby Hobson
Geoff Did you try click me? Toby 2008/9/7 Sven Homburg <[EMAIL PROTECTED]> > just comitted > > 2008/9/7 Geoff Callender <[EMAIL PROTECTED]> > > > Hey Sven, > > > > Do you have plans for a variation on Button that does a render request > like > > PageLink? It would be really handy. > > I ask bec

Re: How to implement Pagination in T5

2008-09-02 Thread Toby Hobson
You may want to look at the pagedLoop component from the t5components project - here Toby 2008/9/2 Howard Lewis Ship <[EMAIL PROTECTED]> > You'll need to create your own component, a c

Re: Multiple file upload

2008-08-30 Thread Toby Hobson
I'm not sure what type of file you wish to upload but I have successfully used the Aurigma image uploader with my T5 application Toby 2008/8/30 ProAdmin Dariusz Dwornikowski < [EMAIL PROTECTED]> > Great ! Thanks. Tell me how to take filename from this to Page variable and > Ill be happy. > > 200

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Toby Hobson
me too Toby 2008/8/29 Martijn Brinkers <[EMAIL PROTECTED]> > Yes I am using Spring 2.5 with the Tapestry Spring module > > Martijn Brinkers > > On Fri, 2008-08-29 at 03:15 -0400, Alex Kotchnev wrote: > > Is anyone successfully using spring 2.5 w/ the tapestry-spring module ? > The > > module mai

Re: Tapestry query on URLs and Memcached

2008-08-27 Thread Toby Hobson
cookie interceptor ( the current code that I have in struts ) ? > > Thanks! > > Toby Hobson-3 wrote: > > > > Tapestry 5 supports the url structure you mentioned using the "activation > > context". I'm not familiar with memcached but it is certainly possible to

Re: Tapestry query on URLs and Memcached

2008-08-26 Thread Toby Hobson
Tapestry 5 supports the url structure you mentioned using the "activation context". I'm not familiar with memcached but it is certainly possible to cache the entire page response using either a servlet or tapestry filter (i'm currently using a servlet filter for some high-load pages e.g. the home p

Re: T5 : Let's write a book !

2008-08-25 Thread Toby Hobson
I'd be happy to help out Toby 2008/8/25 marcelo_Java <[EMAIL PROTECTED]> > > I'm want to be part of this, > > I've use tapestry for over two years now and created many J2EE solutions > with it. > My most recently battle was when I wanted to create a CMS using a WYSIWYG > editor called TinyMCE wi

Re: prototype 1.6.0.2

2008-08-25 Thread Toby Hobson
ok thanks Howard 2008/8/24 Howard Lewis Ship <[EMAIL PROTECTED]> > If you add an issue to JIRA, we can look into upgrading to 1.6.0.2. > Hopefully 1.6.0.2 addresses the issue we originally had with Safari > support. > > On Sun, Aug 24, 2008 at 6:54 AM, Toby Hobson <[E

prototype 1.6.0.2

2008-08-24 Thread Toby Hobson
Hi Guys, Does anyone know what's happening with 1.6.0.2? I understand T5 uses 1.6.0.1because there are some issues in 1.6.0.2 but I was hoping to use the prototip tooltip library which needs 1.6.0.2 Thanks Toby

Question about null environmental object

2008-08-21 Thread Toby Hobson
I have a two components: TabSet and Tab. TabSet retrieves the user who is currently logged in (if the user has logged in) from acegi, does some processing and makes it available to nested components via the environmental service: void beginRender() { if (loggedUser == null) return; // process u

Re: Complete newbie issue: Tapestry tutorial inside Eclipse?

2008-08-20 Thread Toby Hobson
Not exactly an answer to your problem but I debug "mvn jetty:run" through eclipse as an external tool and it works nicely. If you can't get the jetty launcher to work properly you might want to try this Toby 2008/8/20 torput <[EMAIL PROTECTED]> > > I was trying this tutorial: > http://tapestry.a

Re: Snapshot repository down - alternative?

2008-08-09 Thread Toby Hobson
The repo isn't working for me (in England) :-( Toby 2008/8/9 Dragan Djuric <[EMAIL PROTECTED]> > > Hi, > > It seems that the repository at > http://tapestry.formos.com/maven-snapshot-repository is down (at least I > cannot access it). Due to other dependencies and code refactoring I cannot > use

Re: T5: Trigger zone reload with just javascript?

2008-08-08 Thread Toby Hobson
> > - Mike > > > ----- Original Message - > From: "Toby Hobson" <[EMAIL PROTECTED]> > To: "Tapestry users" > Sent: Thursday, August 7, 2008 5:53:20 PM (GMT-0500) America/New_York > Subject: Re: T5: Trigger zone reload with just javascript?

Re: help with self developed imagemap component

2008-08-08 Thread Toby Hobson
pestry5 (old Servlet container) which > would > be a big help. So, is ComponentResource or anything equivalent > available in Tapestry 4? > > thanks > Gregor > > On Fri, Aug 8, 2008 at 3:32 PM, Toby Hobson <[EMAIL PROTECTED]> > wrote: > > Hi Gregor, &g

Re: help with self developed imagemap component

2008-08-08 Thread Toby Hobson
Hi Gregor, Basically you inject ComponentResources into your page then use componentResurces.createActionLink() method to generate a Link object. Then call toAbsoluteURI() on the link to get the url. N.B. if you are planning to use ajax and zones you have to do a little bit more ... I'll happily

Re: T5: Trigger zone reload with just javascript?

2008-08-07 Thread Toby Hobson
Hi Mike, Have you tried using the t:zone parameter in your form? then you can perform a submit in your onchange handler e.g. Toby 2008/8/7 Mike Leonardo <[EMAIL PROTECTED]> > Hey All, > > I have a form where I want to be able to change one value and hav

Re: [T5]

2008-08-07 Thread Toby Hobson
Yes, I tried the jetty plugin for eclipse but it didn't work too well so I played around with the maven plugin and managed to get it working nicely with eclipse. The other nice thing is that because most of the config is in pom.xml its easy for new team members to get started ... i.e. check out the

Re: [T5]

2008-08-07 Thread Toby Hobson
Hi Howard, jetty:run seems to work pretty well for me. It can be configured for manual or automatic reloading of the files. I run it from eclipse as an external application and use remote debugging. The advantage I have found to this approach is that I can configure maven lifecycle goals so for ex

Re: [T5]

2008-08-07 Thread Toby Hobson
Hi I use eclipse together with maven's jetty plugin - I dont have to compile the files I just change the TML then refresh the page in my browser - easy! Togy 2008/8/6 kace <[EMAIL PROTECTED]> > > Hi fellas, > > Do you have to compile .tml files if you want the changes to be picked up > by > jet

Re: Transmitting a javascript-value to the server using JSON

2008-08-05 Thread Toby Hobson
Does anyone know if something similar is available (or planned) for T5? Toby 2008/8/5 Thiago Henrique de Carvalho <[EMAIL PROTECTED]> > Hi, > > Take a look at @EventListener annotation. Docs show example of transmiting > JSON from page to Tapestry. > > Thiago > > -Mensagem original- > De

Second article re: T5-Flash integration

2008-08-05 Thread Toby Hobson
Hi Everyone, I have just written a draft article re: client-server communication between flash applications and tapestry pages/components: http://knol.google.com/k/toby-hobson/tapestry-5-flash-integration-part-2 As always feedback (positive and negative!) is welcomed Toby

Re: T5 getApplicationName

2008-08-05 Thread Toby Hobson
You don't actually need the underlying HttpServletRequest, you can use Tapestry's abstraction org.apache.tapestry5.services.Request e.g. @Inject private Request request; void method() { String context = request.getContextPath(); } There's nothing wrong with using the HttpServletRequest, but ke

Re: Explorer like tree component

2008-08-05 Thread Toby Hobson
Sorry guys ... I'm writing it at the moment! Toby 2008/8/4 Francisco Manzano <[EMAIL PROTECTED]> > Yes, we are really waiting for it !! > > Thanks > > Hugo Palma wrote: > >> Hi again Toby, >> please don't forget to add your code to the wiki. >>

Re: Transmitting a javascript-value to the server using JSON

2008-08-05 Thread Toby Hobson
Hello Peer, Sure it can be done ... have a look at JSON.stringify() at http://www.json.org/js.html, this will turn the Javascript object into JSON text. On the server-side you need to use JSONTokener and JSONObject see http://www.json.org/java/index.html to convert back to a Java object If you n

Re: T5 beta. why so long..

2008-08-03 Thread Toby Hobson
There are still a few issues relating to AJAX which need to be sorted out. I believe this is why T5 is still beta - although I think T5 beta is more stable than many other production frameworks! Toby 2008/8/4 Partogi, Joshua <[EMAIL PROTECTED]> > As for me, I don't really care about the beta sta

Re: New article re: T5-Flash integration

2008-08-03 Thread Toby Hobson
Hi Francisco, Google have changed the link to my article - now I know whey their code is beta! please see: http://knol.google.com/k/toby-hobson/tapestry-5-flash-integration Thanks Toby 2008/8/3 Massimo Lusetti <[EMAIL PROTECTED]> > On Sun, Aug 3, 2008 at 6:51 AM, Toby Hobso

Re: New article re: T5-Flash integration

2008-08-02 Thread Toby Hobson
rwise, the component always will > render the same id for his div, being able to create conflicts, right? > Thanks again > > > Toby Hobson wrote: > >> Hi Guys, >> >> I have just written an article re: T5-Adobe flash integration. It can be >> found at >

Re: [T5] Tapestry & FLASH Objects ?

2008-08-01 Thread Toby Hobson
I've just published the first article on this subject. You can find it at http://knol.google.com/k/toby-hobson/tapestry-5-flash-integration/ The second article (client-server interaction) is in progress! Toby Toby Hobson-2 wrote: > > I've been using T5 and Flash (OpenLasz

Re: t5 how to write response to file

2008-08-01 Thread Toby Hobson
Sorry ... i don't fully understand your question. Could you explain a little more Thanks Toby - Original Message From: luna_guo <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Saturday, 2 August, 2008 4:07:55 AM Subject: t5 how to write response to file how to use t5 to writ

Re: Updating a zone within a form ?

2008-08-01 Thread Toby Hobson
Hi Hugues, Which version of Tapestry are you using? Toby - Original Message From: Hugues Narjoux <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Friday, 1 August, 2008 9:00:48 AM Subject: Updating a zone within a form ? Hi, I am trying to update a zone which is included in a

Re: New article re: T5-Flash integration

2008-07-31 Thread Toby Hobson
Yes you can ... I think I will update the article to reflect that. Thanks for your feedback Toby - Original Message From: Jun Tsai <[EMAIL PROTECTED]> To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]> Sent: Friday, 1 August, 2008 2:40:18 AM Subject: Re: New article

New article re: T5-Flash integration

2008-07-31 Thread Toby Hobson
Hi Guys, I have just written an article re: T5-Adobe flash integration. It can be found at http://knol.google.com/k/toby-hobson/tapestry5-flash-integration/ I would be grateful for any feedback I'm planning to write a few more articles on this subject so I'll keep you all informed! Toby

T5 possible AJAX bug

2008-07-31 Thread Toby Hobson
Hi everyone, I may have found a bug in 5.0.14 but I wanted to run it by everyone before posting it: If I have a component (lets call it component-a) which uses ajax zones to do a partial refresh and I include it on a page or other component through an ajax call the zones no longer work e.g. M

Re: [T5] Tapestry & FLASH Objects ?

2008-07-29 Thread Toby Hobson
Hi Steve We're actually trailing red5 at the moment. So far we've had mixed results but these have been issues related to the server itself, nothing relating to T5 integration. OpenLaszlo is a pretty compelling alternative to Flex because it's relatively mature and there is a large amount of do

Re: T5: HttpSession id. How to get it?

2008-07-28 Thread Toby Hobson
Hi Russel, Have a look at http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest Toby - Original Message From: Russell Brown <[EMAIL PROTECTED]> To: Tapestry users Sent: Monday, 28 July, 2008 12:17:25 PM Subject: T5: HttpSession id. How to get it? Hi, I need to HttpSe

Re: Explorer like tree component

2008-07-25 Thread Toby Hobson
I have written a component based on treemenu. I'll happily send you the code but it comes with no warranty!! Toby - Original Message From: Hugo Palma <[EMAIL PROTECTED]> To: Tapestry users Sent: Friday, 25 July, 2008 6:41:02 PM Subject: Explorer like tree component I was wondering if

Re: [T5] Tapestry & FLASH Objects ?

2008-07-23 Thread Toby Hobson
I've been using T5 and Flash (OpenLaszlo) successfully, I'm currently writing a tutorial about it ... i'll let you know when i publish it. In the meantime if you have any specific questions feel free to email me Toby - Original Message From: Antonio Fernández - STAR Málaga <[EMAIL PR

t5-components ratingField within ajax partial replace

2008-07-22 Thread Toby Hobson
Hi I have noticed some strange behavior with the ratingField component - if i use it within a block which is rendered inside a zone the star's no longer appear and it defaults back to a regular radio group e.g. show rating @In

T5 component lifecycle

2008-07-21 Thread Toby Hobson
Hi Could anyone tell point me to some docs about T5's component lifecycle? I know there are methods like pageLoaded and onActivate available to pages, I wondered if there was something similar for components Thanks Toby

T5 nested ajax partial replace

2008-07-14 Thread Toby Hobson
Hi Is it possible to use ajax partial replace to include a component which also uses ajax, as in this scenario: I create a custom component which uses zones to perform a partial update, I then use this custom component on a page: MyComponent.tml hello world click me MyComponent.java @I

Re: T5 nested components within t:block

2008-07-14 Thread Toby Hobson
It seems the problem is that I had wrapped my block inside a form, removing the form fixed it! Toby - Original Message From: Toby Hobson <[EMAIL PROTECTED]> To: tapestry Sent: Monday, 14 July, 2008 1:06:45 PM Subject: T5 nested components within t:block Hi I have been experim

T5 nested components within t:block

2008-07-14 Thread Toby Hobson
Hi I have been experimenting with T5's ajax support which looks really nice! One problem I have hit is when I use a nested component within a block, simple properties are displayed but the nested components don't render e.g. photo.tml name: ${photo.name} rating: ... show details photo.

t5-components ratingField validation

2008-06-17 Thread Toby Hobson
I am trying to add validation to a ratingField, I was assuming it bahaved similar to a radioGroup but I can't seem to add validation to the field. I have a property on my page with getters and setters: private Integer rating; @validate("required") public Integer getRating() { } ... my templat

Re: T5 Setting selected option on Select component

2008-06-10 Thread Toby Hobson
Problem solved ... a typo in my code! Sorry! Toby - Original Message From: Toby Hobson <[EMAIL PROTECTED]> To: tapestry Sent: Tuesday, 10 June, 2008 12:19:28 PM Subject: T5 Setting selected option on Select component Hi I have a page which allows a user to update his profile

T5 Setting selected option on Select component

2008-06-10 Thread Toby Hobson
Hi I have a page which allows a user to update his profile. This includes a select component to choose the user's state of residence: public Enum State { ALABAMA, ALASKA, ARIZONA ... } MyAccount.tml // text fields etc. User.java public class User { private State state; pu

T5 - integrating with a RIA

2008-05-25 Thread Toby Hobson
I'm trying to integrate a flash application with my T5 code. My flash app (built using OpenLaszlo) will make various http get and post requests to the server. Ideally I would like to write a custom component which will render the flash swf on the page and also handle all the callbacks from the

Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
AH ... maybe it has been fixed in 5.0.12 ... I hope so! - Original Message From: Filip S. Adamsen <[EMAIL PROTECTED]> To: Tapestry users Sent: Sunday, 25 May, 2008 3:57:41 PM Subject: Re: T5: prohibit directory listing I'm on 5.0.12-SNAPSHOT. -Filip On 2008-05-25 16:55,

Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
05-25 16:28, Toby Hobson wrote: > Sadly it's a bit more scary than that :( if you try > http://myserver/contextRoot/assets you will get a (not very nice) surprise! > You mean a 404 Not Found or blank page depending on whether or not I put a slash at the end?

Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
I think that setting TapestryConstants.PRODUCTION_MODE_SYMBOL, "true" should only allow clients to download *.css, *.js and *.jpg, *.gif etc. files from the asset service What do you guys think? Toby - Original Message ---- From: Toby Hobson <[EMAIL PROTECTED]> To: Tape

Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
Sadly it's a bit more scary than that :( if you try http://myserver/contextRoot/assets you will get a (not very nice) surprise! I'm using acegi to block access to everything except *.css, *.js and images under the assets path but I believe Robert has written a dispatcher which also controls acc

Re: T5.0.11 + Hibernate

2008-05-25 Thread Toby Hobson
I'm pretty sure I got this error when I tried to use a newer version of hibernate, but 3.2.2.ga worked ok. Btw the tapestry-hibernate stuff works brilliantly ... well done to all the T5 and T5-Hibernate team! Toby - Original Message From: János Jarecsni <[EMAIL PROTECTED]> To: Tapestry

Re: Tapestry Page Pool handling.

2008-05-23 Thread Toby Hobson
What application server are you using? Toby - Original Message From: zaxeer <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Friday, 23 May, 2008 1:40:54 PM Subject: Tapestry Page Pool handling. Hi All, I am facing a problem in tapestry related to pages cache, when some html pag

Re: T5 assets and trailing slash on urls

2008-05-22 Thread Toby Hobson
Yes, that works! Thanks Thiago - I should have read your earlier post! Toby - Original Message From: Thiago HP <[EMAIL PROTECTED]> To: Tapestry users ; Toby Hobson <[EMAIL PROTECTED]> Sent: Friday, 23 May, 2008 2:08:36 AM Subject: Re: T5 assets and trailing slash on urls

T5 assets and trailing slash on urls

2008-05-22 Thread Toby Hobson
I have a slight problem using assets (images and css files) my app. within Layout.tml I have: This works fine when I access the app at http://localhost/app/start for example. But when I try http://localhost/app/start/ the css and images are screwed. I've noticed that in the generated html, T5

  1   2   >