Re: Templating with Tapestry5

2007-04-30 Thread Weisu
Please look at this post "Templating with Tapestry 5 by bjornharvold". Hope it will help you. Joshua Jackson-3 wrote: > > Dear all, > > I'm really new with tapestry5 and tapestry. I've been figuring out > about templating with tapestry5 the same way as struts-tiles or > facelets. How do I do t

Re: [T5] IOC: services without interface do not work

2007-04-30 Thread Howard Lewis Ship
Please file a bug; I tested the ServiceBinder approach but must have missed the service builder method approach. On 4/30/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: hi, found my problem... in order to have a service that does not have an interface you have to use the ServiceBinder. Sho

T4 contrib table sorting

2007-04-30 Thread Yohan Yudanara
Hi.. I'm using tapestry 4.0.1 included in Appfuse 1.9.4 why does the sorting on contrib table not working (ascending to descending or descending to ascending) when I click on title column too quick? When I click in title column for the first time, the table data sorted ascending.. When I cli

Templating with Tapestry5

2007-04-30 Thread Joshua Jackson
Dear all, I'm really new with tapestry5 and tapestry. I've been figuring out about templating with tapestry5 the same way as struts-tiles or facelets. How do I do this with tapestry5? I've been trying to find out about the tutorial in tapestry website but can not figure it out also. Can somebody

Re: T5 - Unable to resolve component type 'comp' to a component class name

2007-04-30 Thread Howard Lewis Ship
We're in the process of building, and then voting on, a 5.0.4 release ... at which point the docs will match the code available from Maven. On 4/30/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: t:comp is not supported anymore. now its t:"component_type" look into the Tapestry 5 tutorial

Re: Tapestry 5 and Template Reloading

2007-04-30 Thread Howard Lewis Ship
Caution: the case matter here (one of the few areas in Tapestry). So that should be Start.html to exactly match Start.java. You might find you app broken if deployed on a platform that properly differentiates case, such as Linux or Solaris. On 4/30/07, Kristian Marinkovic <[EMAIL PROTECTED]> wr

starting point for ajax with dojo and tapestry 4.1?

2007-04-30 Thread Paul Stanton
Hi, does anyone know of any good tutorials/demos for ajax with dojo and tapestry 4.1? thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Initialize a value in the state object.

2007-04-30 Thread Hugo Palma
Try using the BuilderFactory service for creating the ASO. You can see more info about the service here http://hivemind.apache.org/hivemind1/hivemind/BuilderFactory.html. In your example it would look like this:

Integration Prototype/Scriptaculous

2007-04-30 Thread banmig
Hi guys, My company asked for to develop some functionalities ajax for tapestry 5 using Prototype/Scriptaculous, as refresh in combos, reconstruction of grids. It would like to know if somebody could help me, indicating some examples, since I am new in tapestry and we do not want to use dojo

Initialize a value in the state object.

2007-04-30 Thread Giaccone, Anthony CTR DTIC-A
Here's what I want to do.. I have a form that holds a variety of data, which the user will use to generate a query. The query data is persistent at the session. This wayIf they wander down a path, eventually they'll return to the "main" page, and the query data will be returned from the "sessio

4.1.2 Translator/Validation

2007-04-30 Thread Tony Nelson
It would seem to me that translators would be called before validators, but I'm not sure how that applies with the new dojo validation. Can someone suggest a place to find a sample? I have a requirement for my project that all inputs that are percentages before formatted with a percent sign a

Re: problems in Demo of Tacos's TAB & Upload Progress Bar

2007-04-30 Thread sunilmanu
Hi, Yes, this helped. I am able to see the content now. thanks !! But now I placed my working code inside one of the tabs and I am able to see the contents. But as soon as I select a option that is a AjaxEventSubmit, i see the result for a split-of a second and then all the content vanishes. Tab

Re: Need help with Tacos and validation

2007-04-30 Thread Andreas Andreou
Like http://opencomponentry.com:8080/tacos/forms/FormEffectsExample.html ? http://fisheye3.cenqua.com/browse/tacos/tacos-4.0/trunk/tacos-demo/src/context/WEB-INF/forms/FormEffectsExample.html On 4/30/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote: Hi, I have a search form that is @tacos:AjaxForm

[T4.1] Stupid AJAX mistake solved involving Border, Shell and Components

2007-04-30 Thread Daniel Jue
Hi, since I hope to help other Tapestry newbies, let me share the solution to my hours of battle. This was a total noob mistake that bothered me over a couple weeks. Background: I had a home page that was using a Border component. Everything was fine. Made a component that had an AJAX autocompl

Antwort: Tapestry 5 and Template Reloading

2007-04-30 Thread Kristian Marinkovic
hi bjorn,it works fine for me... where did you put your templates?do you get any exceptions? Have you tried the tutorial?you can put your templates into the WEB-INF/ folder or into the respective package... eg. my directory structure main/java/com/whatever/pages/Start.javamain/resources/com/whateve

Re: New OGNL snapshot?

2007-04-30 Thread Jesse Kuhnert
Ughh...Please be gentle: http://opencomponentry.com/repository/m2-snapshot-repo/ognl/ -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Tapestry 5 and Template Reloading

2007-04-30 Thread bjornharvold
I can't seem to get template reloading to work. Classes reload just fine. I installed the latest Eclipse with JettyRunner and jetty 5.1. Anyone have the same problem or better yet, the solution? thx bjorn -- View this message in context: http://www.nabble.com/Tapestry-5-and-Template-Reloadi

Need help with Tacos and validation

2007-04-30 Thread Jacob Bergoo
Hi, I have a search form that is @tacos:AjaxForm and to this I have a @tacos:AjaxSubmit with a listener connected. I want to do some validation in this listener method that at least one field in the search form has some content. I tried to add Validation in the normal Tapestry way, but that does n

Re: Tap 4.1.1 TextField Ajax question

2007-04-30 Thread Jesse Kuhnert
Yes, 4.1.2 requires ognl 2.7-SNAPSHOT. http://howardlewisship.com/repository/ognl/ognl/ On 4/30/07, Tony Nelson <[EMAIL PROTECTED]> wrote: I would be very happy to use Tapestry 4.1.2 but I run into a problem every time I try the latest snapshot: java.lang.NoClassDefFoundError: ognl/enhance/Ex

Tap4 IEngineService & IAsset issues

2007-04-30 Thread Norman Franke
Based on the Tap4 Workbench ChartService example, I've created a similar service that fetches pictures from a database. I encountered two issues that I can't figure out: 1. The URLs generated for the picture are extremely long. I assume this is because it's serializing my page state (where

Re: Tap 4.1.1 TextField Ajax question

2007-04-30 Thread Tony Nelson
I would be very happy to use Tapestry 4.1.2 but I run into a problem every time I try the latest snapshot: java.lang.NoClassDefFoundError: ognl/enhance/ExpressionAccessor I assume this related to the OGNL stability you mention. Is there a newer beta of OGNL I grab from somewhere to get movi

Integration Prototype/Scriptaculous

2007-04-30 Thread Anderson Balduíno
Hi guys, My company asked for to develop some functionalities ajax for tapestry 5 using Prototype/Scriptaculous, as refresh in combos, reconstruction of grids. It would like to know if somebody could help me, indicating some examples, since I am new in tapestry and we do not want to use dojo.

Re: Tap 4.1.1 TextField Ajax question

2007-04-30 Thread Jesse Kuhnert
You want to use targets="" . Elements = "" is strictly for pure html elements and not tapestry components. If you use the 4.1.2-SNAPSHOT version it will also automatically figure out which form your targeted components are attached to and submit that as part of the event so that you can do things

Tap 4.1.1 TextField Ajax question

2007-04-30 Thread Tony Nelson
I am attempting to use @EventListener to submit the value of a TextField onChange. So, I have an input defined: In the page class I have: @Component(bindings = {"validators=validators:required"}) public abstract TextField getMyField(); @EventListener(events={"onchange"}, ele

Re: New OGNL snapshot?

2007-04-30 Thread Jesse Kuhnert
Thanks ..I could always host them myself as well but I'm waiting with the hope that the problem will be resolved without having to traumatize everyone with multiple moves. It may make us look foolish / unprofessional. On 4/30/07, Patrick Moore <[EMAIL PROTECTED]> wrote: If you send me the jars

Re: New OGNL snapshot?

2007-04-30 Thread Patrick Moore
If you send me the jars ... I have a repo that I could post it tooat least for today and with a little bit of work on my end ... more than that if needed... -Pat On 4/30/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Unfortunately I haven't been able to. Some technical difficulties have com

Tapestry 5 + Acegi

2007-04-30 Thread Juan Maya
I am starting to develop a new application with Tapestry 5 and i am amazed, I have had such a big productivity bust; now i need to integrate acegi to my app and i was wonder if somebody has explored how to integrate both frameworks. Any help would be appreciated it. I am still a newbie with tapes

Re: New OGNL snapshot?

2007-04-30 Thread Jesse Kuhnert
Unfortunately I haven't been able to. Some technical difficulties have come up with the current deployment target so I have to find a new home to deploy it to. I'm not sure where that's supposed to be exactly. The opensymphony people have offered their repo but want me to change the groupId to o

New OGNL snapshot?

2007-04-30 Thread Ben Dotte
Jesse - you fixed some ognl bugs on 4-28 but I don't see a new snapshot. Any chance you could push one out so we can test the fixes? Thanks! Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[ANN] Tapestry 4 Tutorial, issue 5

2007-04-30 Thread Kolesnikov, Alexander GNI
Have a look: http://www.devshed.com/c/a/Apache/A-Closer-Look-at-Simple-Components-in- Apache-Tapestry/ The issues are rather short, they are actually the halves of the originally submitted articles, as this is the tactic of the publisher. But anyway, the story goes on. Cheers, Alexander --

RE: T5 - Unable to resolve component type 'comp' to a component class name

2007-04-30 Thread Kristian Marinkovic
t:comp is not supported anymore. now its t:"component_type" look into the Tapestry 5 tutorial pdf... examples there are up to date :) g,kris winlaw <[EMAIL PROTECTED]> 30.04.2007 14:54 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema T5 - Unable to resolve c

T5 - Unable to resolve component type 'comp' to a component class name

2007-04-30 Thread winlaw
I am trying to copy the example demonstarted in the Screencast but get the following error when I fire up the browser: Unable to resolve component type 'comp' to a component class name. Available component types: core/ActionLink, core/Any, core/BeanEditForm, core/Checkbox, core/ComponentMessage

Sizing of DatePicker

2007-04-30 Thread winlaw
I am new to Java, Tapestry & HTML. I have the following code that displays a DatePicker which works fine. However the DatePicker is almost the same width as my form. How do I size the DatePicker? .html code: validfromdate : .java code: @Component(type = "DatePicker", bindings = {"validators=v

RE: [T5] IOC: services without interface do not work

2007-04-30 Thread Kristian Marinkovic
hi, found my problem... in order to have a service that does not have an interface you have to use the ServiceBinder. Shouldn't it be possible to have these kind of services returned by a builder method as well? IMHO this way it'd feel more consistent g, kris Kristian Marinkovic <[EMA