RE: Tapestry 4.1....

2006-08-15 Thread Schulte Marcus
Hi Feeling a bit adventurous yesterday, I threw the latest 4.1.1 SNAPSHOT at one of my 4.0 apps. I had only 2 hrs or so to spend on this, so I've surely missed something. What I found was: - API's stable - as promised, good - number validation doesn't work. I spent a fair amount of time to get

Re: DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-15 Thread Nick Westgate
Hi Waimin. > The BikeMaker example above uses StringPropertySelectionModel and > String[] objects for the drop-down selection lists. However, I modified > my program to use custom PropertySelectionModel(s) and custom objects > as value objects in the models. There are two versions of the demo

RE: tapernate question

2006-08-15 Thread Xiaoshu Wang
I tried to put something like try { getSession.update(message); } catch (Throwable e) { System.out.println("Catch it."); } under the MessageDaoImpl.update(Message), but it seems not doing anything. How to hook with ExceptionPresenter? Xiaoshu > -Original Message- > From: James C

RE: tapernate question

2006-08-15 Thread James Carman
You can put in a hook into the ExceptionPresenter or wrap your call with a try/catch block. The HibernateService class can be found at: http://svn.javaforge.com/svn/hivemind/hivemind-utils/trunk/src/main/java/com /javaforge/hivemind/util/HiveMindService.java The username/password is anonymous/an

tapernate question

2006-08-15 Thread Xiaoshu Wang
Hi, I am playing around Tapernate, which I have a question to ask. It seems that the exception thrown by a database query would not be able to be catched at the application level. For isnstance, I justed added a unique constraints on the Message.value property. If I ever try to created a message

RE: scripts from a .jar

2006-08-15 Thread Michael Prescott
Further to this, I have no trouble if I create a tiny wrapper component in the same .jar as the script, and whose template does nothing but include the script. A verbose workaround, but it works. _ From: Michael Prescott Sent: August 15, 2006 6:56 PM To: 'Tapestry users' Subject: script

Re: what we need: tutorials like this

2006-08-15 Thread Onno Scheffers
m-woelm schreef: Hey folks, this is my first mail, so I shortly present my self. I am a student from germany and my job is to evaluate Tapestry for my professorship. Therefore, I have to write a simple application (small web-shop). Welcome :o) Especially, how can I handle form-values of a

scripts from a .jar

2006-08-15 Thread Michael Prescott
I'm trying to use the @Script component to load a script from a .jar file in my WEB-INF/lib directory, and not having much success. I keep getting ApplicationRuntimeException, caused by a DocumentParseException: Unable to find resource. I'm looking at the hivemind code, but between the indirecti

@Script script/scriptPath

2006-08-15 Thread Michael Prescott
The @Script documentation refers to a 'scriptPath' parameter. This doesn't seem to exist; the parameter is actually called 'script'. There's a scriptPath property, but that seems to be purely internal. Am I on crack here? Michael Prescott

Re: how can i solve this problem

2006-08-15 Thread andyhot
>From zqzuk <[EMAIL PROTECTED]>: > > however it doesnt work and i got exception error: > > No listener method named 'onClick' suitable for no listener parameters found > in [EMAIL PROTECTED] That's because tutor is evaluated at render time when it's null. If the form was submitted, it would hav

Re: how can i solve this problem

2006-08-15 Thread zqzuk
thank you all! yes i tried passing parameters using directlink, its not working either. in my page file i have and i defined the direct link component as i revised my code as public abstract String getTutor(); abstract public void setTutor(String s); public IProper

AW: what we need: tutorials like this

2006-08-15 Thread m-woelm
Hey folks, this is my first mail, so I shortly present my self. I am a student from germany and my job is to evaluate Tapestry for my professorship. Therefore, I have to write a simple application (small web-shop). The tutorials I have seen are either very simple or even a little bit more (too?)

Re: what we need: tutorials like this

2006-08-15 Thread Jesse Kuhnert
You have to also take into account that the people behind ASP.NET are housed in one of the largest software companies in the world... We do what we can but need more community help until we find a way to trick IBM into installing tapestry on all their servers for a nominal fee. ;) On 8/15/06, Gu

Re: Tapestry 4.1....Jesse, dojo release?

2006-08-15 Thread Jesse Kuhnert
No, the version is somewhere around 0.3.1. I plan on upgrading soon. ...I want to get a few refactoring changes into dojo first though That's what I've been waiting on. I'm still not sure how we should be managing the dojo versions...I know definitely that we will do all upgrade work for new

Re: how can i solve this problem

2006-08-15 Thread Jesse Kuhnert
He could always opt for more beta functionality, a solution to his particular problem is outlined here: http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html On 8/15/06, James Carman <[EMAIL PROTECTED]> wrote: But, the parameter is based on a form field (a drop-down). So, wouldn't he

Re: what we need: tutorials like this

2006-08-15 Thread Gurps
Absolutely, i already have it. but it just doesn't cover things 100% like this. As I said it needs to be step by step - take a look at the dotnet tutorials, escpecially on stuff like rewinding/post-back/data binding. Believe me, I'd rather be doing Tapestry that ASP.NET !! karthik.nar wrote: >

Re: Tapestry 4.1....Jesse, dojo release?

2006-08-15 Thread Patrick Moore
Thanks, Mark is the dojo version in tapestry 4.1 the latest version of the dojo snapshot as well? (wondering if I need to spend any energy on keeping up with two snapshots?) -Pat --- Mark Reynolds <[EMAIL PROTECTED]> wrote: > My opinion is that it's beta quality, or better. Jesse is fixing > ev

RE: how can i solve this problem

2006-08-15 Thread James Carman
But, the parameter is based on a form field (a drop-down). So, wouldn't he have to submit the form to get the currently selected value? -Original Message- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 3:13 PM To: Tapestry users Subject: Re: how can i solv

Re: how can i solve this problem

2006-08-15 Thread Chris Chiappone
If its a DirectLink or something similiar you need to pass parameters instead of using getTutor. For example your onClick() method would look like this: pubilc IPage onClick(String tutor){ etc... } On 8/15/06, zqzuk <[EMAIL PROTECTED]> wrote: Helllo, i have two pages, suppose Teacher.htm

how can i solve this problem

2006-08-15 Thread zqzuk
Helllo, i have two pages, suppose Teacher.html and Rota.html. on Teacher.html, theres a dropdownlist where i can select a teacher's name, and a link which on click, needs to open up another window and pass the selected value to the page Rota.html. i tried something like the followin to test wheth

Re: Tapestry 4.1....

2006-08-15 Thread Mark Reynolds
My opinion is that it's beta quality, or better. Jesse is fixing everything that comes up super fast and putting out new snapshots all the time. The great thing is if you build your project with Maven 2 and stay on the snapshots, you get the latest/greatest automatically. -- Mark R On 8/15/06, P

Re: what we need: tutorials like this

2006-08-15 Thread Josh Long
I wouldnt mind contributing esp. with 4.11 so prominently poised... this stuff is just so cool to work with.. dojo has a book-by-wiki that theyre writing. the dotnet tutorials could be pretty easily reworked on top of a wiki, and the wiki would facilitate a colloborative effort. Howards already

Tapestry 4.1....

2006-08-15 Thread Patrick Moore
Hi there -- is there any sense of how stable this release is right now? alpha, beta, release candidate, etc.? I would like to start using the dojo features and adding my own. But right know in my project I can't spend a lot of time figuring out tapestry issues. -Pat -

Re: what we need: tutorials like this

2006-08-15 Thread Jesse Kuhnert
I agree, some more free tutorials would be great! Who's going to write them? ;) (I'm a little busy at the moment) On 8/15/06, Karthik N <[EMAIL PROTECTED]> wrote: the first four chapters of his book are free, and pretty decent to get you started on the right track On 8/15/06, James Carman <[E

Re: what we need: tutorials like this

2006-08-15 Thread Karthik N
the first four chapters of his book are free, and pretty decent to get you started on the right track On 8/15/06, James Carman <[EMAIL PROTECTED]> wrote: Notice that the previous .Net-based example was *free* and Kent Tong's book is not. Don't get me wrong, I've got Kent's book and I love it.

RE: what we need: tutorials like this

2006-08-15 Thread James Carman
Notice that the previous .Net-based example was *free* and Kent Tong's book is not. Don't get me wrong, I've got Kent's book and I love it. But, I did have to pay for it. It would be nice if there were free resources out there that folks could use to get started (and get hooked) using Tapestry.

Re: what we need: tutorials like this

2006-08-15 Thread Karthik N
get yourself a copy of Enjoying Web Development with Tapestry by Kent Tong. It's got the tutorial approach to tapestry. On 8/15/06, Gurps <[EMAIL PROTECTED]> wrote: We need an equivalent set of tutorials very simiar to the asp.net quicjkstarts tutorial, but with tapestry. Step by step, build

what we need: tutorials like this

2006-08-15 Thread Gurps
We need an equivalent set of tutorials very simiar to the asp.net quicjkstarts tutorial, but with tapestry. Step by step, building on simple examples to more complex ones: http://www.dotnetjunkies.com/quickstart/aspplus/doc/quickstart.aspx This would make tapestry easier to work with and gain mo

Re: IAutocompleteModel and DefaultAutocompleteModel

2006-08-15 Thread Jesse Kuhnert
http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/index.html On 8/15/06, Erik Johansson <[EMAIL PROTECTED]> wrote: I cannot seem to find the org.apache.tapestry.dojo.form.DefaultAutocompleteModel org.apache.tapestry.dojo.form.IAutocompleteModel class and interface used in the

Re: EventListener follow up event

2006-08-15 Thread Jesse Kuhnert
I think someone else has requested the ability to add a parameters="" sort of syntax.. Can you add this to JIRA? On 8/15/06, Dom Couldwell <[EMAIL PROTECTED]> wrote: Hi, I'm trying to implement a pretty simple menu structure that supposed to update the menu tree when a given link is clicked a

RE: Instancing a page inside a BaseComponent

2006-08-15 Thread Greg.L.Cormier
Aha, I've found out I can just call getPage().getRequestCycle().getPage("PageName"); Thanks, Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 11:00 AM To: users@tapestry.apache.org Subject: Instancing a page inside a BaseComponent

DynamicSelectionList and ArrayIndexOutOfBoundsException

2006-08-15 Thread Waimun Yeow
I am using the DynamicSelectionList (Tap 3) component managed at the Tassel site http://equalitylearning.org/Tassel/app?service=direct/1/ Search/viewComponent&sp=SmatmshDynamicSelectionList I followed the BikeMaker demo with source code at http:// lombok.demon.co.uk/tapestryDemo/welcome The

Instancing a page inside a BaseComponent

2006-08-15 Thread Greg.L.Cormier
I'd like to make an instance of a Page inside a BaseComponent. Is there any ways to do this without a Cycle object available? Thanks, Greg

Re: tapdoc

2006-08-15 Thread Norbert Sándor
Download the demo project, its pom.xml contains a sample configuration of the ant task. Regards, Norbi Dan Adams wrote: Hey, thanks. looks great. is there some docs on the ant plugin at all? i want to use it to generate docs to include with the maven site. On Tue, 2006-08-15 at 15:56 +0200, N

Re: tapdoc

2006-08-15 Thread Dan Adams
Hey, thanks. looks great. is there some docs on the ant plugin at all? i want to use it to generate docs to include with the maven site. On Tue, 2006-08-15 at 15:56 +0200, Norbert Sándor wrote: > Hello, > > I have converted Tapdoc to Maven2, so it now has a standard website at: > http://www.erin

JumpStart v0.6 is now available

2006-08-15 Thread abc_tec
Tapestry JumpStart is a way to learn Tapestry + EJB3 by example. Suggestions for improvements are very welcome. The latest bugs and enhancements list can be viewed at http:// files.doublenegative.com.au/jumpstart/bugs_enhancements.html . Cheers, Geoff Callender --

EventListener follow up event

2006-08-15 Thread Dom Couldwell
Hi, I'm trying to implement a pretty simple menu structure that supposed to update the menu tree when a given link is clicked and also update the content of the page. I've got it working but only for the first click... First time I click on one of the given links the tree expands to show the su

tapdoc

2006-08-15 Thread Norbert Sándor
Hello, I have converted Tapdoc to Maven2, so it now has a standard website at: http://www.erinors.com/developer/project/tapdoc/ The jar and the source code is available from our maven2 repository. You can download a Maven2-based demo application from the website as well. (Please note: - the Ma

Re: tips on creating component library documentation?

2006-08-15 Thread Norbert Sándor
The two versions on the page are older, I have recently converted it to be useable from maven2. It is currently somewhat complicated, because there is no custom maven plugin for it, instead the ant plugin is used. (I had some serious classloading problems but now it seems to work OK.) Regards,

Possible to make any page your homepage?

2006-08-15 Thread James Sherwood
We have designed a robust platform that lets them select any page they have created as their homepage. Currently the way we do it is the homepage is simply a javascript redirect to the page they choose. The problem is, when we do it this way thier hompage has a www.theirurl.com?service=vpage

Re: JWCID changing the look & feel of the Static HTML mocks.

2006-08-15 Thread hv @ Fashion Content
Check that your CSS isn't affected by the extra div/spans used for Tapestry flow control. "Rahat Khan" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Dear All, >I am using Tapestry4 for my project. My problem is after adding JWCID > in the HTML mocks,The > view of some o

IAutocompleteModel and DefaultAutocompleteModel

2006-08-15 Thread Erik Johansson
I cannot seem to find the org.apache.tapestry.dojo.form.DefaultAutocompleteModel org.apache.tapestry.dojo.form.IAutocompleteModel class and interface used in the TimeTracker demo. I downloaded the latest tapestry 4.1 release yesterday. Have they been moved or what do I have to do to get them

Re: Tapestry 4.1: dojo everywhere?

2006-08-15 Thread Beat Hoermann
Jesse Kuhnert gmail.com> writes: > > Just as an update on this thread, it looks like they've been working on > build size and I'm currently able to create a 23kb file for dojo..So, I hope > that will speed things up a little bit. > Great, what a progress! Reducing the size of the "dojo.js" is