Re: Tapestry component development tutorials

2006-03-15 Thread Pedro Abelleira Seco
Developing components in Tapestry is as easy as creating plain web pages. Simply try the framework (with a tutorial) one afternoon and you will see. Regards Pedro El jue, 16-03-2006 a las 08:09 +0800, Annie Lim escribió: > Hello, > > I have just started looking at Tapestry and was just wonderin

Music wallpapers. Free quality pictures.

2006-03-15 Thread Apache
Wallpapers on theme "music". music (http://music.xmlseek.com/music.html) music download (http://music.xmlseek.com/music-download.html) free music downloads (http://music.xmlseek.com/free-music-downloads.html) music video (http://music.xmlseek.com/music-video.html) download online music (http://mus

Re: show validation messages

2006-03-15 Thread Mike Snare
You can also use the standard ValidationDelegate and call setComponent(null) before calling record. The *standard* ValidationConstraint for this to pass in to the record method is CONSISTENCY. I use this for cases when, say, the login failed because there's already an admin logged in to a single

Re: Login Window <-> Login Page

2006-03-15 Thread Mike Snare
It sounds like what you need is to implement the authentication as a hivemind service which can be injected whereever you need it. Better yet: in both cases the username/password fields, submit button (link?) and service could all be dropped into a custom component that you could reuse anywhere yo

Re: Issue about "DirectLink"

2006-03-15 Thread Mike Snare
Can you show us the relevant code from the template/page file? On 3/14/06, Ryan Pan <[EMAIL PROTECTED]> wrote: > Hi all, >When I use "DirectLink" to pass a object as parameter,I encountered this > exception. >Can anybody tell me how to solve this issue? > > Thanks, > Ryan. > > java.lang.Ar

Re: Tapestry vs JSF benchmark

2006-03-15 Thread James Carman
Don't feel bad. Anytime ANYONE posts performance benchmarks/comparisons, many people will critique it. You just have to be darn sure that your analysis is sound before you post (I'm not saying that it's not). > Thanks for comments and pointing out potential issues. > I am not an expert in Tapest

Re: Tapestry vs JSF benchmark

2006-03-15 Thread Alexander Varakin
Thanks for comments and pointing out potential issues. I am not an expert in Tapestry nor JSF and I did this benchmark because I wanted to chose one of them, thus I could've made very obvious mistakes. Looks like I need to rerun the Tap4 test with Hivemind 1.1.1. I hope this will improve Tap4 res

Problem writing to WebResponse OutputStream

2006-03-15 Thread Ben
Hello, I hava a form, and after submit it, a POI Workbook object in the form listener will generate an excel file according to user inputs, and then return the file to client by means of hooking and writing to the WebResponse OutputStream. Everything seems to work well, the workbook object

Re: .page/.html/.jwc in different directories

2006-03-15 Thread andyhot
Well, using the code from the wiki, you can get to this structure WEB-INF \pages (*.page + *.html + *.properties) \components (*.jwc + *.html + *.properties) AFAIK the template should be near its spec (if there is one) but the spec can contain a special asset (named '$template') that overrides th

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
Hi Izak, also thanks for your answer! On 16. Mär 2006 - 01:12:16, Izak Wessels wrote: | A simple solution is to have all your .page/.html/.jwc files in | different directories in your source directory. Then when you run your | ant script, simply use the task to copy all the files to the | centra

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
Hi Harvey, thanks for your answer! On 15. Mär 2006 - 14:10:38, Harvey, David wrote: | [...] | The .application file contains declaration of the pages and components, | thus: | | And | Well, I already know this way of specifying the pages/components (although I don't have them defin

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
On 15. Mär 2006 - 21:11:17, Andreas Andreou wrote: | Could you please describe the directory structure that | you want to achieve? Sure: WEB-INF \- pages (*.page) \- components (*.jwc) \-templates (*.html) Sincerly, Andreas --

RE: Tapestry component development tutorials

2006-03-15 Thread Annie Lim
Tapestry 4 Annie >>> [EMAIL PROTECTED] 16/03/2006 8:28:16 am >>> Which version of Tapestry? -Original Message- From: Annie Lim [mailto:[EMAIL PROTECTED] Sent: Wed 3/15/2006 5:09 PM To: tapestry-user@jakarta.apache.org Subject: Tapestry component development tutorials Hello, I

RE: Show/Hide text fields

2006-03-15 Thread Mark Stang
Hi, There is a "AnySubmit" that we use to wrap around radio buttons. Then we use conditionals to hide the values. regards, Mark -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Tue 3/14/2006 5:51 PM To: Tapestry users Subject: Re: Show/Hide text fields var elm

RE: Tapestry component development tutorials

2006-03-15 Thread Mark Stang
Which version of Tapestry? -Original Message- From: Annie Lim [mailto:[EMAIL PROTECTED] Sent: Wed 3/15/2006 5:09 PM To: tapestry-user@jakarta.apache.org Subject: Tapestry component development tutorials Hello, I have just started looking at Tapestry and was just wondering if there wer

Tapestry component development tutorials

2006-03-15 Thread Annie Lim
Hello, I have just started looking at Tapestry and was just wondering if there were any good tutorials on custom component development available. Any help would be deeply appreciated. Thanks, Annie --

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Izak Wessels
Andreas, A simple solution is to have all your .page/.html/.jwc files in different directories in your source directory. Then when you run your ant script, simply use the task to copy all the files to the central WEB-INF directory. After the .war have been build, use the task to delete all the f

RE: Tacos @AjaxForm and @Upload

2006-03-15 Thread Denis Souza
> I'll recheck the issue on the text replacement, > but the 3 times click seems weird. Is it possible for you to > post your template html? or perhaps describe the exact components > you're using? It's possible to post everything, but I think it wouldn't be very practical since I divide a lot of s

Re: Tacos @AjaxForm and @Upload

2006-03-15 Thread Andreas Andreou
Denis Souza wrote: >Just tried it with the latest code. > >It eventually works, but it seems that any buttons on the page have to be >clicked on 3 times before it actually submits. Any buttons that appear >before the upload field replace their text with their id after the first >click (as all but

RE: .page/.html/.jwc in different directories

2006-03-15 Thread Harvey, David
I'm using Tapestry 4. Here's how I've done it: WEB-INF/ <-- this is where the web.xml, hivemodule.xml and my .application files reside The .application file contains declaration of the pages and components, thus: And Then I have (for the user page) WEB-INF/pages/authorization/user

RE: Tacos @AjaxForm and @Upload

2006-03-15 Thread Denis Souza
Just tried it with the latest code. It eventually works, but it seems that any buttons on the page have to be clicked on 3 times before it actually submits. Any buttons that appear before the upload field replace their text with their id after the first click (as all buttons did before). The butto

Problem binding component properties to a parameter.

2006-03-15 Thread Mike Snare
I have a component with a parameter named rate and a session-scoped property named rateProp. Both are to be ints. I have my rate parameter declared as follows: I have the rateProp declared as follows:

Re: Problem with Namespace, Page Specification Loading & WebRequestServicerFilter

2006-03-15 Thread Hugues
Kent, Thanks very much. It works perfectly fine. /H - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any tips to preload application on startup?

2006-03-15 Thread Wayland Chan
Thanks Paul, I'll try this later. On 3/15/06, Paul Ferraro <[EMAIL PROTECTED]> wrote: > > > Alternatively, if your initialization logic requires that Tapestry > already be initialized, you can plug into Tapestry's initialization by > contributing to the tapestry.init.ApplicationInitializers config

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Andreou
Could you please describe the directory structure that you want to achieve? Andreas Bulling wrote: >Hi everybody, > >perhaps some of you have read about the problems I had (and still have) >following the howto under >http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF > >As it see

Re: Any tips to preload application on startup?

2006-03-15 Thread Paul Ferraro
In Tapestry 3.x you can override org.apache.tapestry.ApplicationServlet and override either init() or init(ServletConfig) and add your initialization logic there. If overriding init(ServletConfig), you must call super.init(config). Paul Mark Stang wrote: > Hi, > Any idea how this is done in 3.x?

.page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
Hi everybody, perhaps some of you have read about the problems I had (and still have) following the howto under http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF As it seems I can put the .page and .jwc files in different (sub-)directories of WEB-INF but then Tapestry can't find

Re: [Wiki] PagesAndComponentsInWEB-INF

2006-03-15 Thread Andreas Bulling
On 15. Mär 2006 - 16:51:15, Andreas Bulling wrote: | And the .properties files have to stay under WEB-INF? | Well, I did that but now I get the error message: | | --- | Could not find template for component Home/border in locale de. | --- Perhaps, do I have to implement a custom ITemplateSourceDe

RE: Any tips to preload application on startup?

2006-03-15 Thread Mark Stang
Hi, Any idea how this is done in 3.x? thanks, Mark -Original Message- From: Paul Ferraro [mailto:[EMAIL PROTECTED] Sent: Wed 3/15/2006 8:59 AM To: Tapestry users Subject: Re: Any tips to preload application on startup? There are many ways to do this. Perhaps the most standard way is

Re: Tapestry on GlassFish

2006-03-15 Thread Shreedhar Ganapathy
Hello Eric Thanks for the feedback. Here are some responses to your queries. GlassFish has evolved from Sun Java System Application Server 8.1 codebase which itself was a significant bump up in terms of ease-of-use and quality from the SunOne days. You will find the GF admin interface signific

[Newbie] IBasicTableModel

2006-03-15 Thread Nima Boustanian
Hey list people I am trying to implement a IBasicTableModel and this is what I have so far: MyTable.java public class MyTable implements Serializable { private static final long serialVersionUID = -1345425240124508L; private String title; public ConversationsPlaceHolderTable()

Re: Tapestry on GlassFish

2006-03-15 Thread Eric Schneider
Shreedhar, I'm assuming GF is borrows a lot on the sunone app server. I think we may be one of a few groups (on this mailing list at least) that have deployed production Tapestry applications on the Sunone App Server 7.0. After spending many hours on different policy file configurations, we de

Re: Any tips to preload application on startup?

2006-03-15 Thread Paul Ferraro
There are many ways to do this. Perhaps the most standard way is to register one or more javax.servlet.ServletContextListener objects in your web.xml. Details here: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html Alternatively, if your initialization logic requires

Re: [Wiki] PagesAndComponentsInWEB-INF

2006-03-15 Thread Andreas Bulling
On 15. Mär 2006 - 15:46:00, Kent Tong wrote: | Put them in the same folder as the .page (or .jwc) files. And the .properties files have to stay under WEB-INF? Well, I did that but now I get the error message: --- Could not find template for component Home/border in locale de. --- Sincerly, And

Re: [Wiki] PagesAndComponentsInWEB-INF

2006-03-15 Thread Kent Tong
Andreas Bulling phoenix.hadiko.de> writes: > | Do you really have /WEB-INF/Border.html? > > Well, that's the point: Where do I have to put the html files > if I follow the above howto? Put them in the same folder as the .page (or .jwc) files. -- Author of a book for learning Tapestry (http://w

RE: Tapestry on GlassFish

2006-03-15 Thread James Carman
Maybe you should provide a different startup command for a "secure" server... asadmin start-secure-domain domain1 or asadmin start-domain -secure domain1 -Original Message- From: Shreedhar Ganapathy [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:33 AM To: Howard Lewis S

Re: Tapestry on GlassFish

2006-03-15 Thread Shreedhar Ganapathy
Hello Howard Thank you for responding. Without de-emphasizing the need to figure out security policy setting for apps, here's some news that might help for deploying, running and evaluating Tapestry apps with GlassFish. After much feedback from the community, bearing ease-of-use in mind for d

Re: [Q] 4.0: How to override RequestLocaleManager default implementation?

2006-03-15 Thread Paul Ferraro
To override the default implementation of a hivemind service, use the element in your hivemodule.xml. e.g. Paul Giampaolo Tomassoni wrote: > Dears, > > I need to relay on a session object instead of a client

Re: Checkbox and Tapestry Event Handler?

2006-03-15 Thread Jesse Kuhnert
You can use the AjaxEventSubmit component from tacos to achieve this sort of behaviour. .It does require doing a post of the page, but not one that would refresh the entire page. (using normal ajax semantics) http://tacos.sourceforge.net/components/AjaxEventSubmit.html jesse On 3/15/06, Harvey, D

Checkbox and Tapestry Event Handler?

2006-03-15 Thread Harvey, David
Hi all, Is there support for calling an arbitrary Tapestry event handler from JavaScript using Tacos and/or Dojo? I'm developing a proof-of-concept where I'm listening for checkboxes in a list and modifying other elements on the page based on what was checked without doing a page post. I know

Re: Tapestry vs JSF benchmark

2006-03-15 Thread Wayland Chan
My lib directory shows: hivemind-1.1.jar hivemind-lib-1.1.jar I'll see if I can figure out this maven thing and grab 1.1.1 I switched to Jetty 5.1.10 last night and saw marked improvement over the Tomcat 5.5.15 I was using previously. On 3/15/06, Sergei Dubov <[EMAIL PROTECTED]> wrote: > > Also

Re: tapestry and site mesh

2006-03-15 Thread Wayland Chan
Korbinian, Sitemesh is excellent and it's already used by Equinox. With Sitemesh there is no configuration file that you need to constantly add to each time a new page is added to the site. If I recall, there are only 3 files that need to be setup and one of the is simply adding a servlet filter

Re: Tapestry vs JSF benchmark

2006-03-15 Thread Sergei Dubov
Also, it may be worthwhile to profile tests before publishing them first. Could be your local configuration, right? It'd be nice to know why T4 is slower then T3 in your case... Serge Alexander Varakin wrote: Hi, I ran a simple Tapestry vs JSF benchmark, results are posted on my blog: http:

Re: Tapestry vs JSF benchmark

2006-03-15 Thread Sergei Dubov
Tap4 has been very very fast so far for me. Near instant restarts. Do try to use HiveMind 1.1.1... Serge Alexander Varakin wrote: Hi, I ran a simple Tapestry vs JSF benchmark, results are posted on my blog: http://www.resupedia.com/blojsom/blog/Java/2006/02/28/Tapestry-vs-JSF.html Alex -

Component parameter bindings are null before accessed, not after

2006-03-15 Thread Inge Solvoll
I'm experiencing some weird behaviour with component parameters. They stay null, until the first abstract getter is run to access one of them, then they are bound with the correct values. Is this some kind of basic error that is my fault? If nobody knows an obvious reason for this, I'll try to ad

Re: Question about Validation in Tapestry

2006-03-15 Thread Kent Tong
Ryan Pan gmail.com> writes: > I have a question in validation function of tapestry. > When I store the error message through "delegate.record()" method,there > will be always one error record stored in delegate,so I wanna how to store > all validation error into delegate? You can't have

Re: Problem with Namespace, Page Specification Loading & WebRequestServicerFilter

2006-03-15 Thread Kent Tong
Hugues mail.com> writes: > Then, for each page, I am trying to get its IComponentSpecification: > > INamespace namespace = specificationSource.getApplicationNamespace(); > > for (Iterator it = potentialPages.iterator(); it.hasNext();) { > String pageName = it.next(); > IComponentSpecificati

Re: [Wiki] PagesAndComponentsInWEB-INF

2006-03-15 Thread Andreas Bulling
Hi Kent, thanks for your answer! On 15. Mär 2006 - 12:19:53, Kent Tong wrote: | which howto? http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF | Do you really have /WEB-INF/Border.html? Well, that's the point: Where do I have to put the html files if I follow the above howto?

Re: Contributing .library file

2006-03-15 Thread Kent Tong
Aslak Gronflaten gmail.com> writes: > I'm wondering if it is possible to add a component library to the > application, via a hivemodule.xml configuration contribution for > example, so I won't have to alter > the .application file (which in my case is autogenerated). I don't think it's possible.

Re: Dynamic checkbox values

2006-03-15 Thread Kent Tong
Nima Boustanian tn20.com> writes: > I've been trying to assign values to my dynamic checkboxes, but can't > really grasp how I should do it. I have been successful with > generating them, but in Tapestry you'll need a abstract getter for each > checkbox right? So how do I know which checkboxes

Re: [Wiki] PagesAndComponentsInWEB-INF

2006-03-15 Thread Kent Tong
Andreas Bulling phoenix.hadiko.de> writes: > I tried to follow the above Howto from the Tapestry Wiki but > I get the error message: which howto? > --- > Could not parse template context:/WEB-INF/Border.html > --- Do you really have /WEB-INF/Border.html? > I've created "pages" and "components

RE: T4 form submit without validation, but storing field values

2006-03-15 Thread Schulte Marcus
did you have a look at tacos.sourceforge.net ? Their partial forms may be just what you need ... > -Original Message- > From: Blšták Peter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 15, 2006 1:06 PM > To: Tapestry users > Subject: T4 form submit without validation, but storing fiel

T4 form submit without validation, but storing field values

2006-03-15 Thread Blšták Peter
Hi It would be nice to have the opportunity to realize form submit without no client and no server validation, but with storing of form field values somewhere (in text format - like ValidationDelegate does in case of error). Stored values (in text format) would be source of form field values d

Re: Library - Page Not Found in Namespace Problem

2006-03-15 Thread Andreas Andreou
1) There's a typo in the value of your org.apache.tapestry.page-class-packages 2) You should reference the page as mmp:CRUD 3) AFAIK, you have to add a CRUD.page file in the library. And if you add the file in the pages folder, you should also reference it from the .library file as Mike Pestoric

Passing values from a @contrib:table

2006-03-15 Thread Nima Boustanian
Hey all I have a table that I want to pass values from source="ognl:posts" columns="listOfConversations:Title:title, Comments:childPosts.size, Author:externalAuthorId, Group" class="tableheader" rowsClass="ognl:beans.evenOdd.next">

Tree Content Selection using script

2006-03-15 Thread Apache
Hi, I have done the tree using Tacos in tapestry 4.0. Now my requirement is i shld move the value selected from the tree to another listbox using script. If anyone has some idea,please share it! m2f Sent from www.TapestryForums.com Read this topic onl

AW: Tapestry vs JSF benchmark

2006-03-15 Thread Korbinian Bachl
my first thought was: "dont believe a benchmark that hasnt been faked by yourself" sorry, but tapestry 3 dtd in t4, then the rest robert zeigler already pointed at... it seems like a typical "why windows/linux/unix is better than linux/windows/unix" studie or something like that... Korbinian

AW: tapestry and site mesh

2006-03-15 Thread Korbinian Bachl
If you *shudder* at tiles, whats your solution for that problem then ? - if you, say, want to build a web-newspaper and have only in 1 place defined the look ? ( yes, i saw the emoticon :P ) but seriously: do we have any alternative to tiles - and if yes, is there a howto or sth. else without the

RE: Tapestry vs JSF benchmark

2006-03-15 Thread Schulte Marcus
Did you use hivemind 1.1.1 for your tests? It has an important performance fix ... > -Original Message- > From: Alexander Varakin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 15, 2006 5:41 AM > To: tapestry-user@jakarta.apache.org > Subject: Tapestry vs JSF benchmark > > > Hi, > >

[Q] 4.0: How to override RequestLocaleManager default implementation?

2006-03-15 Thread Giampaolo Tomassoni
Dears, I need to relay on a session object instead of a client cookie to handle the user locale. How am I supposed to override the RequestLocaleManager default implementation? Also, since I would need to access session objects from the new implementation of RequestLocaleManager, I would first

Re: Tapestry vs JSF benchmark

2006-03-15 Thread John Hendrikx
Yes I would have to agree that the startup time for my Tap4 application is horrid (no quantitative measures but compared to my Struts apps which are larger by several degrees of magnitude). I thought I read something by Howard that said T4 should be alot faster because of less reflection being