Re: Question regarding Block/RenderBlock

2006-11-07 Thread Karthik N
Hi James and Firas, Yes I'm seeing a little light now :) 1) How does getting components from a different page affect the render/rewind cycle of the current page? 2) What if the Block that comes from another page has some ognl bindings. How do those get resolved, as I'm now on an entirely differe

Re: Stale Sessions

2006-11-07 Thread Julian Sinai
Sorry, I meant to say your web context directory (the one that contains all your HTML files), not the WEB-INF directory. Julian - Original Message From: Julian Subject: Re: Stale Sessions Hi In Tapestry 4 all you need to do is include a page called StaleSession.html in your WEB-INF

Re: Stale Sessions

2006-11-07 Thread Julian Sinai
Hi In Tapestry 4 all you need to do is include a page called StaleSession.html in your WEB-INF directory. Julian - Original Message From: Lennart Benoot <[EMAIL PROTECTED]> To: Tapestry users Sent: Tuesday, November 7, 2006 3:52:32 AM Subject: Re: Stale Sessions In the old days, it

Re: How to access pageevent from another method

2006-11-07 Thread Peter Dawn
for cycle to event i can do this, IRequestCycle cycle = event.getRequestCycle(); we dont have something similar for event to cycle. i am using tap3. pls help. thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: Tapestry Trees - lazy loading

2006-11-07 Thread Mittal Bhiogade
Jesse Kuhnert gmail.com> writes: > > Do you mean like this? > > http://opencomponentry.com:8080/tacos/ajax/TreeExample.html > > On 11/6/06, Mittal Bhoigade gmail.com> wrote: > > > > Is there any example of how to implement lazy loading (adding nodes to > > root > > on "onlick" of + sign) for

Re: How to use the FCKEditor

2006-11-07 Thread jake123
thanks you for your help I have the component working now Cheers, Jacob -- View this message in context: http://www.nabble.com/How-to-use-the-FCKEditor-tf2590543.html#a7228475 Sent from the Tapestry - User mailing list archive at Nabble.com. ---

RE: Autocompleter behaviour with "multi-staged" page

2006-11-07 Thread Peter Beshai
Whoops, typo int he HTML file. should read not jwcid="wrapper"> Nonetheless, I have decided to use the @Persist as my solution. @Persist("session") was undesirable, but @Persist("flash") will do the trick for now. Although I still don't understand why I need it. :-( -- Peter Beshai - Using

RE: Getting the ordinal # in the Contrib:Table

2006-11-07 Thread Thomas.Vaughan
Thanks, Shing. I was hoping there'd be something a little more direct (like, a meta/injected property on the getTable().getTableRow(), but oh well.) So, to close the loop, this is the "most performant" means I can think of to get the ordinal numbers displayed in a Contrib:Table *without* actually

Re: How to use the FCKEditor

2006-11-07 Thread Shing Hing Man
Please check out the online examples (source code are there) and documentation on the parameters from http://lombok.demon.co.uk/tapestry4Demo/app Shing --- jake123 <[EMAIL PROTECTED]> wrote: > > thanks, the link is working now... Can you give me > some pointers on how to > make the componen

Re: How to use the FCKEditor

2006-11-07 Thread jake123
thanks, the link is working now... Can you give me some pointers on how to make the component work? thanks Jacob -- View this message in context: http://www.nabble.com/How-to-use-the-FCKEditor-tf2590543.html#a7226597 Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: How to use the FCKEditor

2006-11-07 Thread Shing Hing Man
http://lombok.demon.co.uk/tapestry4Demo/app The above link should work now. Shing --- jake123 <[EMAIL PROTECTED]> wrote: > > Hi, does anybody know how to use the FCKEditor? > > I have downloaded the files and started to follow > the steps described in > http://www.tapestrycomponents.org/Tass

RE: A hosting for a tapestry based application

2006-11-07 Thread Firas Adiler
And look what you get for (almost) the same price in Switzerland: http://www.prokmu.com/eng/hosting.htm And they speak English too! ;-) Here's another one that I personally use: www.idaq.com -Original Message- From: Malin Ljungh [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2

Re: How to use the FCKEditor

2006-11-07 Thread jake123
Okey, some more info. I have followed the steps from Tassel. - I have added tha library to my .application like this: - I have unzipped the js.zip to my application... - I have created a html file like this: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/x

RE: Question regarding Block/RenderBlock

2006-11-07 Thread Firas Adiler
Hi, There's IMO an easier way. Assume HtmlBlocks - the page containing the external block(s) ClientPage - the page that uses those external blocks In your ClientPage.page you write: And to access these blocks you write: ognl:exBlocks.components.theNameOfTheBlock Hope this hel

How to use the FCKEditor

2006-11-07 Thread jake123
Hi, does anybody know how to use the FCKEditor? I have downloaded the files and started to follow the steps described in http://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponent&sp=SFCKeditorTA, but the link for the example page does not work. So if anybody have used this comp

Autocompleter behaviour with "multi-staged" page

2006-11-07 Thread Peter Beshai
I am running into some strange behaviour with the Autocompleter component. Say I have a page with two stages -- i.e., I submit a form on the first page and it reloads the same page but shows a different part -- and I have an autocompleter on the second stage, it will not work unless I persist th

Re: pattern validator

2006-11-07 Thread Dennis Sinelnikov
Thank you Thomas for the prompt response and a nice example. Does anyone know why there are 2 types of BaseValidators? org.apache.tapestry.form.validator.BaseValidator org.apache.tapestry.valid.BaseValidator Took me an hour figure out why I get ClassCastExceptions thrown ;) I noticed some vali

Re: ANN: tacos 4.0.1 released

2006-11-07 Thread edward pedersson
Thanks Andy, I will try what the document details. On 31/10/06, andyhot <[EMAIL PROTECTED]> wrote: andyhot wrote: > edward pedersson wrote: > >> Well done on the new release. Thanks for keeping tacos up and running >> and >> providing very useful components. >> >> Just one question, is this be

Question about Tapestry 5.0

2006-11-07 Thread Vinicius Carvalho
Hello there! It's been a while since my last post, I tried to catch up, but after reading over 500 topics I gave up ;). I was checking Tapestry 5 site (Wow it changed so much that I could not even recognize it as Tapestry ;) ). One thing that intrigues me is the use of DOM from the MarkupWriter.

RE: pattern validator

2006-11-07 Thread Thomas.Vaughan
For a text field where we only wanted a certain set of ascii characters allowed, one of our Tapestry guys played around with the following component & validator pair... '^[\'\"a-zA-Z0-9\\s|.\\/!# & < >,?\\[\\]{}()-_*;:[EMAIL PROTECTED]'

pattern validator

2006-11-07 Thread Dennis Sinelnikov
I'm trying to use the pattern validator in my .page to do some input validation. I was thinking I could use regular expressions just like in Perl. Similar to the following: Tried googling, no luck. Could someone please provide a simple example? Thanks guys, Dennis --

Re: A hosting for a tapestry based application

2006-11-07 Thread Daniel Honig
Depends on how much it is worth to you. I really like places like rackspace that give you an "apartment". The rates were reasonable for our application at the time a year or two ago. If you need to be extremely budget concious any place that gives you a shell account w/ myself and tomcat access

Re: OGNL Notation for accessing List Element

2006-11-07 Thread Martin Strand
How does the code for that method look? it's supposed to look like this: public PropertyType getPropertyName(IndexType index) public void setPropertyName(IndexType index, PropertyType value) On Tue, 07 Nov 2006 13:41:10 +0100, Micha Roon <[EMAIL PROTECTED]> wrote: I am trying to get at a spec

OGNL Notation for accessing List Element

2006-11-07 Thread Micha Roon
I am trying to get at a specific element in a list that is return by a GET method in my page. I went to the OGNL home page and saw that the notation session.attribute["foo"] will get the foo element of the attribute list ( http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/indexing.html

RE: absolute ServiceLink URL in Java

2006-11-07 Thread Firas Adiler
Hi, Sorry for the incomplete post (it's MS Outlook beign to damn helpful). My question is: how do you create an absolute 'restart' link in Java? Thanks for your time! _ From: Firas Adiler [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 1:27 PM To: Tapestry users Subj

absolute ServiceLink URL in Java

2006-11-07 Thread Firas Adiler
Hi everyone, In Java, how would you code do something like:

Re: Stale Sessions

2006-11-07 Thread James Carman
You can use an InfrastructureOverride for that: On 11/7/06, Peter Stavrinides <[EMAIL PROTECTED]> wrote: As far as I can tell from googling a bit it no longer works like that. I think you need to implement some sort of Infrastructure override service in the hivemodule.xml Regards, Peter L

Re: Question regarding Block/RenderBlock

2006-11-07 Thread James Carman
You can create a page that has a bunch of @Blocks in it and you can use those blocks in other pages. We do that in Trails and it works quite nicely. Check out the org.apache.tapestry.util.ComponentAddress class. It allows you to "look up" components on other pages. So, you can use it this way.

Re: Stale Sessions

2006-11-07 Thread Peter Stavrinides
As far as I can tell from googling a bit it no longer works like that. I think you need to implement some sort of Infrastructure override service in the hivemodule.xml Regards, Peter Lennart Benoot wrote: In the old days, it happed like this: Define in your *.application: Not sure howeve

Re: Stale Sessions

2006-11-07 Thread andyhot
Lennart Benoot wrote: > In the old days, it happed like this: > > Define in your *.application: > > specification-path="tapestry/page/StaleSession.page"/> This works, there's also the hivemind approach, there was a thread 2 weeks ago with the same subject. > > > Not sure however wether this has

Re: Stale Sessions

2006-11-07 Thread edward pedersson
Have not tried this myself but this might work add it to your hivemoudule.xml On 07/11/06, Lennart Benoot <[EMAIL PROTECTED]> wrote: In the old days, it happed like this: Define in your *.application: Not sure however wether this has changed in de newer versions of tapestry. There

Re: Stale Sessions

2006-11-07 Thread Lennart Benoot
In the old days, it happed like this: Define in your *.application: Not sure however wether this has changed in de newer versions of tapestry. There is one issue I still have: It works with a directlink, but apparently not with a page link. Regards, Lennart 2006/11/7, Peter Stavrinides <[

Re: Re: A hosting for a tapestry based application

2006-11-07 Thread Barry Books
I use juicyvps. They start at $9.95 a month. I've been using them for about a year without problems. Barry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Stale Sessions

2006-11-07 Thread Peter Stavrinides
Hi, I want to create a custom page to handle stale sessions, can anyone point me to some documentation on how do this. Thanks Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: RadioGroup component

2006-11-07 Thread Christian Dutaret
Any update on this bug? It seems the problem appeared after http://issues.apache.org/jira/browse/TAPESTRY-810 was fixed. The problem is also described in http://issues.apache.org/jira/browse/TAPESTRY-983, although I don't think it affects version 4.0.2, as stated, but rather 4.1.x only. If I may r

[q] Show image + ServletContext

2006-11-07 Thread corsair
Hello anybody! In my webApp i have a set of images. My logic select one of this image. How to show image on page according servlet context name? i have several ideas 1) Inject ServletContext and add servletContext name to image path. And use Any component for showing. 2) Create ContextAsset and