Re: Merits of Tapestry-IOC

2013-05-21 Thread Inge Solvoll
I love Tapestry IOC. When used in a very basic way, it's almost indistinguishable from Guice. Actually it's less intrusive since you don't need annotations for injection. Tapestry is very powerful when you do more advanced stuff, and I just love that the power's there even though I don't use it th

Re: Manually injecting dependencies after construction

2012-08-13 Thread Inge Solvoll
il.com> wrote: > On Mon, 13 Aug 2012 09:31:55 -0300, Inge Solvoll > wrote: > > So there doesn't exist an exposed API in tapestry for finding setters >> that match services by type and invoke them runtime on non-tapestry-managed >> instances? >> > >

Re: Manually injecting dependencies after construction

2012-08-13 Thread Inge Solvoll
m> wrote: > On Mon, 13 Aug 2012 09:13:50 -0300, Inge Solvoll > wrote: > > Hi! >> > > Hi! > > Why don't you declare these objects as Tapestry-IoC services using a build > method in your module class? > > SomeClass buildSomeClass(Dependency1 dependency1,

Manually injecting dependencies after construction

2012-08-13 Thread Inge Solvoll
Hi! I'm working on some classes (using Tapestry IOC in a java non-web client environment). I have some classes that I really want to do DI style, but I'm not able to control their instantiation due to how some other framework is doing things. So, constructor-based injection is not an option. What

Re: Java Magic has 10000+ hits

2011-07-12 Thread Inge Solvoll
ards >>>> Taha >>>> >>>> On Jun 28, 2011, at 10:25 PM, Guerin Laurent >>>> wrote: >>>> >>>>> Me too :-) >>>>> >>>>> Envoyé de mon iPhone >>>>> >>>>>

Re: Java Magic has 10000+ hits

2011-06-28 Thread Inge Solvoll
I'm the other one. Nice to meet you :) On Tuesday, June 28, 2011, dragan.sahpas...@gmail.com wrote: > I have you on my rss reader. > I'm I the only one? > > Cheers, > Dragan Sahpaski > > > > On Tue, Jun 28, 2011 at 9:20 AM, Taha Hafeez wrote: > >> Thank God I have only 1 :) >> >> >> On Tue, Jun 2

Re: Unit testing mixins

2011-06-17 Thread Inge Solvoll
As long as your JS code is clean with low coupling, I think the best solution is to do pure JS testing. I've done a lot of this. Used Jasmine BDD for testing the javascript code. Very nice testing framework that works both in the browser and headless, from Jenkins/Hudson. http://pivotal.github.co

Re: Simpler Select configuration

2011-06-08 Thread Inge Solvoll
Thanks for great responses to my thoughts. I have some ideas myself about AJAX stuff for Select, will try to make time to blog about it. I don't work with this stuff anymore, so it's harder to find the time :) On Mon, Jun 6, 2011 at 2:56 PM, LLTYK wrote: > Whatever the solution is for making th

Simpler Select configuration

2011-05-31 Thread Inge Solvoll
Hi! In my new job I've worked a lot with Swing GUI code. I immediately saw the strong need for a framework, in order to provide better abstractions, events and data binding between GUI and the model layer. The framework market for Swing applications is very close to dead, but I found a decent dead

Leaving the tapestry community

2011-03-28 Thread Inge Solvoll
Hi! In a couple of weeks, I'm leaving my current employer. You probably won't hear from me for a while, since my new employer isn't into web development yet. But they might be soon. In that case, I hope to bring T5 to the table like I have done in my current job. If I manage to do that, it's a win

Re: [ANN] Tapestry 5 in Action MEAP started

2011-03-23 Thread Inge Solvoll
Loving it! My company will definitely be buying a copy or two :) On Wed, Mar 23, 2011 at 9:15 PM, Martin Strand < do.not.eat.yellow.s...@gmail.com> wrote: > On Wed, 23 Mar 2011 20:10:28 +0100, Igor Drobiazko < > igor.drobia...@gmail.com> wrote: > > Dear all, >> >> I'm pleased to announce that th

Re: New ZoneUpdater

2011-03-16 Thread Inge Solvoll
After applyting GOT5 tapestry-jquery in our project, ZoneUpdater was broken. So I did some work to jQuerify it, and here it is: http://tinybits.blogspot.com/2011/03/zoneupdater-jquery-edition.html On Fri, Mar 5, 2010 at 9:14 AM, Inge Solvoll wrote: > Hi! > > http://tinybits.blogspot.co

Re: 10 Minute Web Application Demo

2011-02-17 Thread Inge Solvoll
Nice work, Mark! I have some feedback for you here: Tapestry is great because it enables me to work tiny iterations. These tiny iteratinos are enabled by live reloading and excellent error reporting. I use this to work in a TDD way (without actually doing TDD), adding one bit at a time and verify

Re: Struggling with Ajax in T5 ...

2011-01-30 Thread Inge Solvoll
Hi! I haven't read all of this thread, but I have one suggestion: You should "hijack" your onclick handlers with javascript to do additional work before or after calling the original onclick. Don't know how experienced you are with javascript, but it will look something like this: var oldOnclick

Re: Discussion

2010-12-26 Thread Inge Solvoll
My company uses T5 for most of its software modules. We have more than 100 000 paying custumers. Works great and is great fun! On Wed, Dec 22, 2010 at 7:18 AM, Chuck Kring wrote: > For what it's worth, Tapestry provides an embedded user interface for a > medical device. > > We received FDA 510k

Re: Autocomplete mixin - Ajax request path

2010-12-16 Thread Inge Solvoll
I believe the code that generates the link you're talking about is on line 150 of AutoComplete.java in T5.2.4. Link link = resources.createEventLink(*EVENT_NAME*); By doing a little bit of digging from there, I found that the (internal) service LinkSource does the hard work. I'm not the right p

Re: TDD with Tapestry 5.2 how to mock Logger and Messages

2010-12-07 Thread Inge Solvoll
You can mock services with Testify. On Mon, Dec 6, 2010 at 7:46 PM, Igor Drobiazko wrote: > I'm wondering why you want to define any expectations on Logger. However, > when using the PageTester you can't mock services as they are retrieved > form > the registry which is created from your modules.

Re: A Simple TabPanel

2010-11-27 Thread Inge Solvoll
Nice example, thank you! On Sat, Nov 27, 2010 at 5:20 AM, Taha Hafeez wrote: > Does it support configurable ajax, javascript and action link...(get) > requests ? > > regards > taha > > > On Sat, Nov 27, 2010 at 9:34 AM, ael wrote: > > > > > Also > > > > http://lombok.demon.co.uk/tapestry5Demo/te

Re: Any good tapestry5 plugin for eclipse

2010-11-25 Thread Inge Solvoll
This one is very helpful for creating templates and switching between template and java. It's also pretty much the only useful T5 eclipse plugin. http://code.google.com/p/loom-t5/ On Thu, Nov 25, 2010 at 3:49 PM, Taha Hafeez wrote: > Hi > > Is there any good tapestry5 plugin for eclipse. > > reg

Re: Disabling submit button after click

2010-11-23 Thread Inge Solvoll
Easy: Create a mixin that: - uses javascript to apply "disabled"-looking css styles when clicking the button - hooks a javascript handler to the button that cancels future submits. - on AJAX return, revert 2 previous actions from a javascript listener. On Tue, Nov 23, 2010 at 12:56 PM, Hugo Palma

Re: Tapestry Web Site Updated

2010-11-21 Thread Inge Solvoll
Amazing news! Will spend the next week reading the new stuff :) On Sat, Nov 20, 2010 at 2:02 PM, Kevin Crenshaw wrote: > unsubscribe > > > On 11/20/10 7:57 AM, Juan E. Maya wrote: > >> Very nice ! Congratulations to the tapestry team and thank you for making >> java web development fun again! >>

Re: [ANN] Tapestry IOC for Wicket

2010-11-21 Thread Inge Solvoll
This is the most exciting news I've heard in a long time. Introducing T5 IOC as a standard IOC choice for bigger frameworks could be a very important move for Tapestry. We should find out if more can be done in this field, for Spring MVC, JSF and other frameworks that are bigger than T5. The bad n

Re: a simple question

2010-11-10 Thread Inge Solvoll
Short answer: No. You have to create a public method in the page class and refer to it. All logic should be in java, not tml. On Wed, Nov 10, 2010 at 10:26 PM, hese <1024h...@gmail.com> wrote: > > > ...and is it possible to pass parameters into the if evaluating function > and > receive a boolea

"Code less, deliver more", possible problem

2010-11-01 Thread Inge Solvoll
jQuery promotes itself with "write less, do more", see http://jquery.com/top left corner A bit similar to the new Tapestry slogan, don't you think? Just wanted to let you know in case nobody noticed :) Inge

Re: jQuery Integration for 5.2

2010-10-31 Thread Inge Solvoll
Couldn't you just decorate the CoreJavaScriptStack? 2010/10/31 françois facon > thanks for the link. > > but even if you use jquery with the no conflit mode with prototype, > you must include jquery.js before prototype. > > see > > http://stackoverflow.com/questions/2830510/jquery-noconflict-no

Re: CSS in Database

2010-10-27 Thread Inge Solvoll
Quick thought: You could copy the code for that from T5.1 RenderSupport, and recreate it as your own environmental? On Thu, Oct 28, 2010 at 4:34 AM, Mark wrote: > Ok I found that I can @Inject RenderSupport and call it like: > > @SetupRender >public void setupRender() { > renderSupport

Pollution of service namespaces

2010-10-20 Thread Inge Solvoll
Some time ago, we had to change the id of one of our Spring beans. Reason: chenillekit registers a service named "configurationService", which was the name of our internal service as well. This is a good example of a slightly polluted namespace, you can't name your service logically according to t

Re: Tapestry 5.2.1 upgrade woes

2010-10-19 Thread Inge Solvoll
This is a big problem for third party libraries. I already removed equanda from my application to avoid these situations, now I'm tempted to let chenillekit go too. I only use it to a very limited extent. It's been a couple of months now with a rather stable 5.2, third parties should have had plent

Re: [T5] Complexity for simple things, where is the documentation?

2010-10-16 Thread Inge Solvoll
You won't find any simpler solutions to this in other frameworks either. If you want to create a page that refreshes itself with the serve time periodically, you can't avoid at least some knowledge about how AJAX works in general. You may avoid javascript by using Google Web Toolkit, but that has i

Re: T5 - Refresh 1 second Ajax method

2010-10-13 Thread Inge Solvoll
This should do it :) http://api.prototypejs.org/ajax/ajax/updater/ On Wed, Oct 13, 2010 at 11:16 AM, iberck wrote: > > Hi tapestry forum :) > > I need to show the server date in my webapp (not the client date), and > refresh it every 1 second with ajax > Anyone know how can I create an ajax met

Re: component report failing

2010-10-12 Thread Inge Solvoll
https://issues.apache.org/jira/browse/TAP5-1302 I marked it as both 5.1 and 5.2, although I'm not 100% sure that it actually happens in 5.2, I don't have a running 5.2 version right now... On Mon, Oct 11, 2010 at 10:52 AM, Inge Solvoll wrote: > Anyone planning on fixing this?

Re: component report failing

2010-10-11 Thread Inge Solvoll
Anyone planning on fixing this? The component reports are crucial as developer documentation! It fails for me in both 5.1.0.5 and 5.2 On Fri, May 7, 2010 at 1:11 PM, Ulrich Stärk wrote: > That's so annyoing. Happens with Maven 2.0 as well as with 2.2. > > > On 07.05.2010 09:04, Igor Drobiazko w

Re: Upload breaks ZoneUpdater

2010-09-23 Thread Inge Solvoll
:) On Thu, Sep 23, 2010 at 8:07 AM, Kalle Korhonen wrote: > Bah. Tripped myself up with a client regexp validation that was > associated to the upload component, which caused the page init to > partially fail. Why is it always the smallest things that take the > longest? > > Kalle > > > On Wed, S

Re: URL to file

2010-09-01 Thread Inge Solvoll
ApplicationGlobals service gives you ServletContext, which provides the usual access to servlet context resources. Nothing simpler than that I think :) On Thu, Sep 2, 2010 at 7:09 AM, Charith Madusanka wrote: > Hi! > > Is there any simple way to get URL to file in T5 API? Like smiler to > "URLCon

Re: T5's closing of meta tags gives browser warnings ....

2010-08-31 Thread Inge Solvoll
I suppose you could output the meta tags using MarkupWriter.writeRaw. void beginRender(MarkupWriter writer) { writer.writeRaw(""); } Put it in a component! On Tue, Aug 31, 2010 at 9:40 PM, Gunnar Eketrapp wrote: > Hi! > > Chrome complains about unmatched tags. > > My .tml file contains meta l

Re: [T5.2] Javassist 3.12.1.GA checksum error

2010-08-25 Thread Inge Solvoll
I may have bumped into the same problem. But didn't get the same error, maven just told me that it didn't find anything at the https version of the url below. It's probably related. On Mon, Aug 23, 2010 at 1:26 PM, Blower, Andy wrote: > I'm trying to migrate our application to T5.2, but I'm getti

Re: tapestry-component-report: How to use?

2010-08-24 Thread Inge Solvoll
After actually reading my own error message, I tried this: mvn org.apache.tapestry:tapestry-component-report:5.2.0:component-report That seemed to work :) On Tue, Aug 24, 2010 at 10:28 AM, Inge Solvoll wrote: > Thanks! :) > > But still not following, I'm a maven idiot :) > &

Re: tapestry-component-report: How to use?

2010-08-24 Thread Inge Solvoll
t". > > > On 23.08.2010 21:07, Inge Solvoll wrote: > >> http://tapestry.apache.org/tapestry5.1/tapestry-component-report/ >> >> Is this something that generates nice component documentation? >> >> If so, how do I invoke it from mvn command line? >&g

tapestry-component-report: How to use?

2010-08-23 Thread Inge Solvoll
http://tapestry.apache.org/tapestry5.1/tapestry-component-report/ Is this something that generates nice component documentation? If so, how do I invoke it from mvn command line?

Re: Query parameters

2010-08-19 Thread Inge Solvoll
Loving the FAQ!!! On Thu, Aug 19, 2010 at 10:34 PM, Igor Drobiazko wrote: > This is really nice. > > On Thu, Aug 19, 2010 at 8:56 PM, Howard Lewis Ship > wrote: > > > I'm very excited by the new process; ask a FAQ and I can update the > > FAQ page live and return a link to that. > > > > On Thu,

Re: ClassNameLocator does not handle duplicates

2010-08-17 Thread Inge Solvoll
sible to decorate or advise the ClassNameLocator? public ClassNameLocator decorateClassNameLocator(ClassNameLocator original, final ClasspathURLConverter c) { return new CustomClassNameLocator(c); } On Mon, Jul 26, 2010 at 3:55 PM, Inge Solvoll wrote: > I'm using eclipse, but it&#

Re: Select in Loop

2010-08-13 Thread Inge Solvoll
You have hit one of my problem spots in T5 :) I also just use formState="iteration", because I simply don't understand how to make the alternatives work... On Fri, Aug 13, 2010 at 1:40 PM, Mite wrote: > > I made a ValueEncoder and also put formState="iteration" in the loop. The > second one see

Re: Refresh zone periodicaly

2010-08-12 Thread Inge Solvoll
Using the ZoneUpdater, you can easily just call update() on the zone object using setTimeout as mentioned by Pablo. http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html#comments You could also just fire

Re: Multicriteria research

2010-08-09 Thread Inge Solvoll
You probably have this in your page class: @Property private List types; That will generate getters and setters, which is what is going on when you get the exception. On Mon, Aug 9, 2010 at 2:19 PM, mcfly37 wrote: > > Hey! > > You were right I didn't add getTypes method, but I believe that ecl

Re: Why would I choose JQuery?

2010-08-09 Thread Inge Solvoll
If this is correct, that jQuery has around 40% market share and prototype around 9%, isn't it a major popularity drawback for T5 to be using prototype as its javascript core? Right now, potential new users could be thinking: "Hey, T5 uses an outdated, boring and poorly supported javascript framew

Re: how to contribute a 'component context' service

2010-08-09 Thread Inge Solvoll
Seems like there's a misunderstanding here. ComponentSOURCE and ComponentRESOURCES aren't the same thing... On Mon, Aug 9, 2010 at 5:21 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sun, 08 Aug 2010 21:47:00 -0300, Paul Stanton > wrote: > > So I can either contribute a mar

Re: ClassNameLocator does not handle duplicates

2010-07-26 Thread Inge Solvoll
. Seems logical when this is a requirement that is very specific to our setup. Thanks for the hints anyway :) Inge On Sun, Jul 11, 2010 at 5:03 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sun, 11 Jul 2010 11:45:24 -0300, Inge Solvoll > wrote: > > As I

Re: production html whitespace compression alters rendered markup

2010-07-16 Thread Inge Solvoll
As always, I'm pretty sure it's possible and not too hard to decorate the built-in service that does this work :) On Fri, Jul 16, 2010 at 5:53 AM, Paul Stanton wrote: > thanks for the suggestion howard, this would be fine if it were obvious to > all developers which cases were problematic. other

Re: Expansion for Javascript

2010-07-14 Thread Inge Solvoll
Actually, it's quite super easy to create those yourself :) Seriously, very very easy. Have a look at OutputRaw.java in the T5 source, and you'll get the idea. And then you might say "Yeah, but something like this should be built-in". A lot of things should, but there aren't too many Tapestry com

Re: ClassNameLocator does not handle duplicates

2010-07-11 Thread Inge Solvoll
On Sat, Jul 10, 2010 at 8:08 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 10 Jul 2010 13:40:38 -0300, Inge Solvoll > wrote: > > Hi! >> > > Hi! > > In our application we have classes packaged in jars. When we make changes >&

ClassNameLocator does not handle duplicates

2010-07-10 Thread Inge Solvoll
Hi! In our application we have classes packaged in jars. When we make changes to those classes during development, they are compiled into WEB-INF/classes, making them override the ones in the jars because WEB-INF/classes is read first by the classloader. This is a convenient way of developing for u

Re: Return type net.sf.json.JSONObject can not be handled

2010-07-08 Thread Inge Solvoll
It's more fun to create your own ResultProcessor, though :) You'll get to try out the real power of T5. On Thu, Jul 8, 2010 at 1:28 PM, Borut Bolčina wrote: > Thanks for ultra fast responses. I guess they went through > AjaxComponentEventResultProcessor :-) > > Until I try implementing the proces

Re: Tapestry- one of the finest web framework

2010-07-07 Thread Inge Solvoll
Get a room! On Wed, Jul 7, 2010 at 6:31 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 07 Jul 2010 13:23:39 -0300, Howard Lewis Ship > wrote: > > Oh, if only I still lived in Massachusetts (*). >> (*) The first US state to allow same sex unions. >> > > Tapestry 5: code

Re: Tree Component in Tapestry 5

2010-06-29 Thread Inge Solvoll
I highly recommend this library. It costs money, but it's definitely worth it. http://dhtmlx.com/docs/products/dhtmlxTree/index.shtml?pl1 We have created a wrapper around it. Not able to share it right now, unfortunately, but it is very thin and you can easily do it yourself On Tue, Jun 29, 2010

Re: [Tapestry Central] Tapestry 5.2: Improved Query Parameter Support

2010-06-26 Thread Inge Solvoll
It's not very intuitive. If you got 2 annotations, named @QueryParameter and @RequestParamter, you couldn't possibly know who does what without reading the docs. If I understand this correctly, @QueryParameter is for passing a query string param as context to a component event handler, while Query

Re: Autoloading of spring context into Tapestry registry?

2010-06-23 Thread Inge Solvoll
The wildcard approach worked nicely :) On Wed, Jun 23, 2010 at 3:15 PM, Inge Solvoll wrote: > I was thinking the same thing myself, and did some research. > > > tapestry.use-external-spring-context > true > > > Could that config cause the ApplicationC

Re: Autoloading of spring context into Tapestry registry?

2010-06-23 Thread Inge Solvoll
ching of context files. On Wed, Jun 23, 2010 at 2:49 PM, Christophe Cordenier < christophe.corden...@gmail.com> wrote: > Hi > > How is your Tapestry/Spring configuration ? (see web.xml and tapestry > symbols) > > How is your classpath ? > > 2010/6/23 Inge Solvoll >

Re: Autoloading of spring context into Tapestry registry?

2010-06-23 Thread Inge Solvoll
l"); >} >}; >config.add("MyApplicationContextCustomizer", customizer); >} > > > On Wed, Jun 23, 2010 at 10:22 AM, Inge Solvoll >wrote: > > > Hi! > > > > One of my coworkers has produced a new library (jar) that contains a

Autoloading of spring context into Tapestry registry?

2010-06-23 Thread Inge Solvoll
Hi! One of my coworkers has produced a new library (jar) that contains a bunch of java classes and a spring xml file. I would really like to be able to use the normal T5-style dropin for this jar, autoloading the services into my app registry without the need for further wiring. But there's a spri

Re: T5: Using the strategy pattern with components.

2010-06-19 Thread Inge Solvoll
Thanks! Don't see how ComponentSource helps, how does it get me to the point where I can retrieve a named block from a page/component? On Sat, Jun 19, 2010 at 7:43 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 19 Jun 2010 13:52:04 -0300, Inge So

Re: T5: Using the strategy pattern with components.

2010-06-19 Thread Inge Solvoll
blocks for the given entity object. I feel like I'm digging quite deep into the inner mechanics of Tapestry (PageRequestCache is an internal service), but I guess there is no way to avoid that with such advanced requirements? On Sat, Jun 19, 2010 at 12:14 PM, Inge Solvoll wrote: > Hi!

T5: Using the strategy pattern with components.

2010-06-19 Thread Inge Solvoll
Hi! I'm trying to migrate our company's software over to a more plugin oriented architecture. So far I've come up with some services that utilize the Strategy pattern to produce information about different modules in our system, without the core module knowing anything about their implementation.

Re: reloading not working, what did i break?

2010-06-16 Thread Inge Solvoll
works fine in Tomcat. > > Kalle (just combating the misinformation) > > > On Wed, Jun 16, 2010 at 3:31 AM, Inge Solvoll > wrote: > > Unfortunately, live class reloading does not work in tomcat, only jetty. > > > > On Wed, Jun 16, 2010 at 12:25 PM, Paul Stanton >

Re: reloading not working, what did i break?

2010-06-16 Thread Inge Solvoll
Unfortunately, live class reloading does not work in tomcat, only jetty. On Wed, Jun 16, 2010 at 12:25 PM, Paul Stanton wrote: > thanks sven, > > does anyone know if there is an equivalent for tomcat? > > also, note that this does not happen all the time, probably 10% of the > time. the class re

Re: cannot submit ajax form using form.submit javascript

2010-06-14 Thread Inge Solvoll
A simple and relatively clean solution: http://tinybits.blogspot.com/2009/10/missing-javascript.html On Mon, Jun 14, 2010 at 3:19 AM, Paul Stanton wrote: > I found Shawn Brownfield's post from aug 2009: > > > The short of this is that there doesn't appear to be a really clean way > > to do this

Re: How to enable suggestions when entering the input field

2010-06-11 Thread Inge Solvoll
tFieldElementIdPasteHere, 'focus', > function(event) { > $T(autoCompleterTextFieldElementIdPasteHere).autocompleter.activate(); > }); > > > This is working as I want .. So THX very much !!! > Dnrs > > > > > > Inge Solvoll-2 wrote: > > > >

Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-10 Thread Inge Solvoll
I'm trying to find a place where I can post my pre-order :) On Fri, Jun 11, 2010 at 8:34 AM, Borut Bolčina wrote: > This week is full of god news! > -borut > > 2010/6/11 Igor Drobiazko > > > Hello folks, > > > > great news for all of you who wished my Tapestry 5 book to be translated > > into En

Re: How to enable suggestions when entering the input field

2010-06-10 Thread Inge Solvoll
I checked the scriptaculous docs, looking for a way to manually trigger a server roundtrip. If such a function were available and documented (it is not), you could do this: autoCompleterTextField.observe('focus', function(event) { $T('autoCompleterTextField').autoCompleter.goGetSomeAutoCompletion

Re: Submit component issues

2010-06-08 Thread Inge Solvoll
You're not the first one :) I believe this has been fixed for 5.2. https://issues.apache.org/jira/browse/TAP5-947 On Tue, Jun 8, 2010 at 9:42 AM, Paul Stanton wrote: > I'm keen for peoples opinions regarding whether this is a bug or not. > > > >>> > > >>> > > >>> >

Re: OnEvent Problem

2010-06-08 Thread Inge Solvoll
The formatting is caused by the &&, which are special XML chars that tapestry templates don't like. The best solution is to provide your static javascript in a file that is included with @IncludeJavascriptLibrary, not include it inline like this. If you want to keep your solution, putting this at

Re: Class reloading in custom component library

2010-06-04 Thread Inge Solvoll
I'm using file synch in eclipse to copy the newly compiled files to webapp/WEB-INF/classes. If the class is found there, it overrides the one in the jar. On Fri, Jun 4, 2010 at 7:56 AM, Nicolas Bouillon wrote: > I'm very interested too if there is a solution to this problem. > > On Thu, 3 Jun 20

Re: LinkSubmit with Context?

2010-06-02 Thread Inge Solvoll
u can trigger events with context in loops. On Wed, Jun 2, 2010 at 1:58 AM, Robert Zeigler wrote: > This looks interesting... maybe I'll pick up this ticket this week. > > Robert > > On Jun 1, 2010, at 6/16:16 PM , Pierce Wetter wrote: > > > > > On Jun 1, 2010, at 10

Re: LinkSubmit with Context?

2010-06-01 Thread Inge Solvoll
Yes there is :) https://issues.apache.org/jira/browse/TAP5-1167 On Tue, Jun 1, 2010 at 6:00 PM, Pierce Wetter wrote: > > On Jun 1, 2010, at 4:43 AM, Inge Solvoll wrote: > > > I added the value of the input element as context in my AnySubmit mixin, > > check it out. It i

Re: LinkSubmit with Context?

2010-06-01 Thread Inge Solvoll
I added the value of the input element as context in my AnySubmit mixin, check it out. It is very easy to modify the LinkSubmit, you all should experiment with it :) http://tinybits.blogspot.com/2010/05/mixin-to-allow-any-element-to-submit.html 2010/3/31 Kristian Marinkovic > i created https://

Re: T5: LinkSubmit should be generic

2010-06-01 Thread Inge Solvoll
Sorry for spamming multiple threads, just thought this was important: It is very easy to provide both a context parameter and the input element value as context. I did the latter, se my updated blog post: http://tinybits.blogspot.com/2010/05/mixin-to-allow-any-element-to-submit.html On Fri, May

Re: What happend to Tapestry 5

2010-05-31 Thread Inge Solvoll
> On Mon, May 31, 2010 at 9:04 AM, Inge Solvoll >wrote: > > > By the way, I haven't really missed any bug fixes, T 5.1.0.5 has very > high > > quality :) > > > > It would be fun though, with a more "live" and visible website and > > com

Re: [ANNOUNCEMENT] tapestry-watchdog 0.0.1 released!

2010-05-31 Thread Inge Solvoll
Very interesting module! Looking forward to trying it. Excellent sites and blogs like http://spreadthesource.com/ and http://tynamo.org are excellent sources of inspiration and entertainment (yes) for those of us who are hooked on this framework. And great publicity too! On Mon, May 31, 2010 at 9

Re: What happend to Tapestry 5

2010-05-31 Thread Inge Solvoll
May 30, 2010, at 5:38 PM, Igor Drobiazko wrote: > > >> > > >> This will hopefully change after the relaunch of the Tapestry's web > > site. > > >>> Robin is working on that. > > >>> > > >>> On Sun

Re: What happend to Tapestry 5

2010-05-30 Thread Inge Solvoll
The man's got a good point. The website makes the project look dead... :) On Sun, May 30, 2010 at 8:53 PM, Josh Canfield wrote: > What is a long time? 5.2 is making progress and 5.1.0.5 isn't that old. > > -- Josh > > > On May 30, 2010, at 11:15 AM, Hantsy Bai wrote: > > Hi, >> I have use Tapes

Re: T5: LinkSubmit should be generic

2010-05-28 Thread Inge Solvoll
Don't know, I only copied the code from LinkSubmit and did some very minor changes, not including the stuff you're listing here :) On Fri, May 28, 2010 at 2:09 PM, paha wrote: > > Hi Inge, > > tried you code today. doesn't seem to work. maybe i'm using it incorrectly. > i have following template

Re: T5: LinkSubmit should be generic

2010-05-25 Thread Inge Solvoll
https://issues.apache.org/jira/browse/TAP5-1167 On Fri, May 21, 2010 at 4:07 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 21 May 2010 10:55:17 -0300, Bryan Lewis > wrote: > > Cool. It reminds me of a question I've been meaning to ask. >> > > LinkSubmit is a componen

Re: T5: LinkSubmit should be generic

2010-05-21 Thread Inge Solvoll
You're right, it was the blog tool that stripped it off :) Fixed now. On Fri, May 21, 2010 at 12:07 PM, paha wrote: > > there is a small compilation issue - ProcessSubmission should inherit from > ComponentAction, not from ComponentAction, shouldn't it? > > > -- > View this message in context: >

Re: T5: LinkSubmit should be generic

2010-05-21 Thread Inge Solvoll
, 2010 at 9:29 AM, Inge Solvoll wrote: > After looking at the source code for the LinkSubmit core component, I see a > lot of potential for a more generic component/mixin that could solve lots of > other problems. > > What I need right now (and quite often) is a Select component that sub

T5: LinkSubmit should be generic

2010-05-21 Thread Inge Solvoll
After looking at the source code for the LinkSubmit core component, I see a lot of potential for a more generic component/mixin that could solve lots of other problems. What I need right now (and quite often) is a Select component that submits the form and triggers an event to let the component cl

Re: 5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Inge Solvoll
2/3/4): 1 > > Downloading: > https://repository.apache.org/snapshots//org/apache/tapestry/quickstart/5.2.0-SNAPSHOT/quickstart-5.2.0-20100517.063011-68.jar > 56K downloaded (quickstart-5.2.0-20100517.063011-68.jar) > > e.t.c. > > On Tue, May 18, 2010 at 12:07, Inge Solvol

Re: 5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Inge Solvoll
.apache.org > > Also, we've starting using apache's infrastructure to host the snapshots > so: > http://repository.apache.org/snapshots > > > On Tue, May 18, 2010 at 10:38, Inge Solvoll > wrote: > > I'm trying to switch my T5 version to 5.2.0 in maven, b

5.2.0-SNAPSHOT repositories are down?

2010-05-18 Thread Inge Solvoll
I'm trying to switch my T5 version to 5.2.0 in maven, but it wasn't able to download. I then tried to run the archetype, see the console output below. I checked this url: http://tapestry.formos.com/maven-snapshot-repository/org/apache/tapestry/tapestry-core/ So the repository seems to be up. Wha

Re: AJAX version of setupRender()

2010-05-14 Thread Inge Solvoll
5.2 for RenderNotification mixin, I assume? On Fri, May 14, 2010 at 6:52 PM, Howard Lewis Ship wrote: > I also use the RenderNotification mixin to find out when a component > has rendered as part of an Ajax partial update; the event handler can > then collection client ids and add JavaScript. >

Re: How tell T5 to return HTML page (not JSON) on AJAX call

2010-05-11 Thread Inge Solvoll
I'm guessing that the grid links are zone-enabled, so clicking them triggers AJAX calls rather than direct links. On Tue, May 11, 2010 at 9:17 AM, Radek Terber wrote: > The behavoior of combination of JQ tabs and T5 is quite strange. Tabs are > loaded dynamically using it's links like this: > >

Re: How to load tml files from the filesystem instead of classpath?

2010-05-10 Thread Inge Solvoll
I'll do the conclusion: Isn't it nice that we have a framework that actually allows us to freely override such a crucial feature in a radically different way than it was originally intended? The override is very logical and it just works. This is the number one reason for me to use T5 :) Thanks

Re: Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Inge Solvoll
I guess you could also contribute these strings to be accessible by SymbolSource? This way you can easily inject single values into the page/component class like this: @Property @Inject @Symbol("streamServerLocation") private String streamServerLocation; On Wed, May 5, 2010 at 2:00 PM, Thiago H.

Re: Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Inge Solvoll
I don't think so. T5 is all about avoiding logic in the templates. I would recommend creating a service that accesses those properties, if you're copying the logic around. On Wed, May 5, 2010 at 12:27 PM, Mark Allan wrote: > Hi All, > > I've tried searching in vain for an answer to this, so hav

Re: T5.1 Setters returning value

2010-04-22 Thread Inge Solvoll
Try decorating instead of overriding. Could require less copying? On Thu, Apr 22, 2010 at 3:53 PM, paha wrote: > > well, the solution is almost perfect now. "almost" - because i have to > completely duplicate the code of PropertyAccessImpl replacing 2 calls to > Introspector.getBeanInfo buried i

Re: T5.1 Setters returning value

2010-04-22 Thread Inge Solvoll
Sounds like you did a ServiceOverride without actually realizing it yourself :) And you have an excellent solution to your problem. Here is a link that explains how to not do it using a very very ugly hack :) http://tapestry.apache.org/tapestry5.1/tapestry-ioc/cookbook/override.html On Thu, Apr

Re: Good practices for handling page cleanup

2010-04-19 Thread Inge Solvoll
That's excellent news, I've been struggling with something related to this lately. Looking forward to upgrading :) On Mon, Apr 19, 2010 at 3:02 PM, Howard Lewis Ship wrote: > This is easier in Tapestry 5.2. > > A new lifecycle method, pageReset(), is available (on pages or components). > > When

Re: Documentation Request/Suggestion

2010-03-24 Thread Inge Solvoll
Agree! Would be nice with something a bit more well-structured than the wiki, though. The wiki is great for finding examples, but it isn't a great guide by Geoff's definition. On Wed, Mar 24, 2010 at 7:45 AM, Peter Stavrinides < p.stavrini...@albourne.com> wrote: > We understand that Tapestry c

Re: Documentation Request/Suggestion

2010-03-23 Thread Inge Solvoll
You're right about the information being technically available, but to newbies it isn't. I absolutely love the idea of a page that presents a "best of" list of services, with hands-on examples and simple explanations. For me, T5 is all about common patterns. I always use RenderSupport for doing ex

Re: Tapestry in Action on SeeSaw

2010-03-17 Thread Inge Solvoll
Please send the link if/when there is a screencast! :) On Wed, Mar 17, 2010 at 5:42 PM, Ben Gidley wrote: > I believe they will be recording it - so you should be able to catch a > screen/pod cast. > Ben Gidley > > www.gidley.co.uk > b...@gidley.co.uk > > > On Wed, Mar 17, 2010 at 3:18 PM, Howar

Re: Run Tapestry 5.1 with JBoss 5.1

2010-03-16 Thread Inge Solvoll
We are running t5 on jboss 5.1 without problems, with the following fix. Appmodule /** * Needed by Jboss 5 classloader for the application to work * * @param configuration */ public void contributeAlias(Configuration configuration) { configuration.add(AliasContribution.create(

Re: T5: Exception page crashing

2010-03-16 Thread Inge Solvoll
t's a big win for us just to have the exception report back on track! Feedback to the list: A hint about the above approach would have been extremely useful. I definitely should have thought about that a long time ago myself... Thanks anyway :) Inge On Thu, Mar 4, 2010 at 9:39 AM, Inge So

  1   2   3   4   >