Re: Choosing Tapestry

2005-08-16 Thread Konstantin Ignatyev
>, it's worth noting that just a few > weeks ago, already > knowing Struts & JSP, I spent four or five days > experimenting with > JSF, found it cumbersome and unsatisfying, tried > Tapestry instead, That is pretty much my experience with JSF too. I recently built comparison application to

Re: Request parameters

2005-08-16 Thread lars . borup
YES! - This looks exactly like what I need.. I wanna thank all for responding so quickly - hopefully one day I'll ba able to help yet another newbie tapestry user :-) .. regards, Lars Borup Jensen On Tue, 16 Aug 2005 14:00:39 + (UTC), Marcus Brito wrote > email.dk> writes: > > > I was wond

RE: New ajax components coming soon to a website near you

2005-08-16 Thread Patrick Casey
Great news Jesse, I'm looking forward to it! --- pat > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 16, 2005 10:28 PM > To: Tapestry users > Subject: New ajax components coming soon to a website near you > > As to recent post

Re: Choosing Tapestry

2005-08-16 Thread Jan Vissers
Jacob, I've noticed you're really busy trying to get the 'facelet' message across. http://www.theserverside.com/news/thread.tss?thread_id=35900 http://www.theserverside.com/news/thread.tss?thread_id=35900 http://jroller.com/page/RickHigh?entry=facelets_aims_jsf_at_tapestry http://raibledesigns.c

can tapestry support xhtml?

2005-08-16 Thread 邓君涛
I want to know,thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

New ajax components coming soon to a website near you

2005-08-16 Thread Jesse Kuhnert
As to recent posts mentioning ajax and tapestry, I wanted anyone who has been waiting for more of this type of support to know that a very comprehensive set of tapestry ajax components will be unleashed on you very soon :) The core engine/handlers will come first, and with what I've seen so far it

"classpath:" in doesn't work outside library

2005-08-16 Thread Vjeran Marcinko
Hi. Recent posts gave me some small doubts, so I want to clearify and confirm that this feature isn't working. First to say that I'm not talking about components being in a library, but plainly inside some web application. Anyone tried to reference some JPEG/GIF for example which resides besi

Re: Choosing Tapestry

2005-08-16 Thread Paul Cantrell
A more plausible case is many different UIs, designed differently to fit their medium, sharing the same back end. JSF won't help you with that any more than any other framework. Are you sure about that one? JSF opens up a horizontal market for vendors and open source developers such that ther

Re: Choosing Tapestry

2005-08-16 Thread Jesse Kuhnert
So it appears that you have ~tried~ to copy some of the core benefits of tapestry, but ~failed~ to get all the other parts right? Like injection? Ease of use? etc.. And the fact that JSF is hated for a lot more than just JSP syntax? God, I was actually sort of thinking that you had some real cool n

Re: learning HiveMind

2005-08-16 Thread Dustin Frazier
Sorry to continue this conversation with myself in front of you all. :) I found the state: binding type, so I can check whether my session state object is created before accessing it and checking to see if there's a logged in user. However, I can't combine this prefix with an ognl expression,

Re: Choosing Tapestry

2005-08-16 Thread Jacob Hookom
Paul Cantrell pobox.com> writes: > > (1) Is anybody actually doing this? Do any stable frameworks actually > exist that support it? MyFaces has WML support and Oracle's ADF component library can be be used within WML, HTML, and even *telnet*. Scary... > > (2) Is it something you actually *w

Re: Choosing Tapestry

2005-08-16 Thread Jacob Hookom
> On 8/15/05, Ryan Wynn us.ibm.com> wrote: It's quite obvious that Facelets can 'cast' a HTML element into a component, but it handles it a little differently than Tapestry where everything stays strict XML w/ namespaces. In addition, Facelet's JSFC attribute only handles half of the equation, r

Re: learning HiveMind

2005-08-16 Thread Dustin Frazier
I figured out how to create my own non-Visit Application State Object and inject it into my default page class using Java 1.5 annotations (very cool). My hivemodule.xml has: One problem I'm having, however. I have a common Border component for each of my pages, and it includes s

Sequencing Question

2005-08-16 Thread Patrick Casey
With Tapestry 3.0.3, can I guarantee that Engine.cleanupAfterRequest() will *always* run, regardless of what happens during the session? In other words, can I treat it like a finally{} block? I've got some resources that I grab during the course of the session that I really can't aff

Re: ANN: e-book for Tapestry 4 available

2005-08-16 Thread Vinicius Carvalho
Kent, I'm on my way to buy your book. Great Job, just one question, does validation covers the new validation implemented on 4.0? To be honest I did not find many docs about the new validation model on 4.0, if I may refer this way, does your book covers it? Thanks Vinicius On 8/16/05, Jason Supl

Re: How to specify a var to validators

2005-08-16 Thread Kevin Menard
On Aug 16, 2005, at 6:04 PM, Kevin Menard wrote: Hi Paul, How would you go about making form components dynamically requirable? The Required class does not allow its required property to be changed. I'd imagine there's some easy solution to this, but I'm scratching my head trying to fi

Re: EasyMock examples

2005-08-16 Thread Jesse Kuhnert
If you were using tap4 I'd have some suggestions, otherwise you can try going through the test framework sort of setup in there, but if it's at all much too hard you could always use something very annoying, like jwebunit. It's more integration testing, but better than nothing.. jesse On 8/16/05,

learning HiveMind

2005-08-16 Thread Dustin Frazier
Does anyone know of a gentle HiveMind tutorial out there, either generic or Tapestry-specific? I've read through all the HiveMind docs (twice) and pored over the HiveMind XML files for Tapestry, and although I understand conceptually what it provides, I'm still getting hung up on the terminolog

Re: EasyMock examples

2005-08-16 Thread Jason Suplizio
This thread provided some insight...but includes some errors... http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200410.mbox/[EMAIL PROTECTED] Does anyone have any other sources or examples they can share? On 8/16/05, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > I've read everyt

EnumPropertySelectionModel for JDK 1.5

2005-08-16 Thread Dustin Frazier
I noticed that a replacement for the old EnumPropertySelectionModel is on the to-do list for Tapestry 4 at some point. I'm happy to contribute the one I cooked up as a starting point. It does the trick for me: import java.util.ArrayList; import java.util.EnumSet; import org.apache.tapestry.f

RE: Live Taco's demo?

2005-08-16 Thread Mark Stang
Victor, Thanks! I wanted to demo some of your components for a co-worker. thanks, Mark -Original Message- From: Viktor Szathmary [mailto:[EMAIL PROTECTED] Sent: Tue 8/16/2005 4:30 PM To: Tapestry users Subject: Re: Live Taco's demo? hello, i was moving, cable, etc.. service should b

Deprecated warnings about getString() in IComponent

2005-08-16 Thread Sean LeBlanc
I'm wondering how we can get rid of deprecation warnings in Tapestry 3.0.3. We have some pages like this: public abstract class PriceString extends BasePage implements PageRenderListener which generate deprecation warnings like this: PriceString.java:41: warning: [deprecation] getString(java.la

Re: Live Taco's demo?

2005-08-16 Thread Viktor Szathmary
hello, i was moving, cable, etc.. service should be restored now :) viktor On 8/16/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Yeah, I'm not really sure. I sent Viktor an email this morning to > check up on that. It will hopefully be resolved in the next day or > so.. > > jesse > On 8/16/

Re: component id naming conflicts?

2005-08-16 Thread Jesse Kuhnert
What do you mean by "Can't find them" ? Could you provide an example of your page spec... On 8/16/05, Tyler Southwick <[EMAIL PROTECTED]> wrote: > I'm trying to create a couple of components in the page specification, > but tapestry cannot seem to find them. The id's are "streetNames" and > "stree

component id naming conflicts?

2005-08-16 Thread Tyler Southwick
I'm trying to create a couple of components in the page specification, but tapestry cannot seem to find them. The id's are "streetNames" and "streetDirections". any ideas to solve this problem? Thanks! -- The pile is the hole's natural enemy ---

Re: How to specify a var to validators

2005-08-16 Thread Kevin Menard
Hi Paul, How would you go about making form components dynamically requirable? The Required class does not allow its required property to be changed. I'd imagine there's some easy solution to this, but I'm scratching my head trying to figure it out. Any help would be appreciated. Tha

EasyMock examples

2005-08-16 Thread Jason Suplizio
I've read everything I can find out there on Unit testing in Tapestry and I am attempting to use EasyMock to do some testing now - I could really use some help. Does anyone have any examples you'd be willing to share or know of a good resource on setting up unit tests with Tapestry (3.0.3). Tha

Re: Component parameter binding

2005-08-16 Thread Jesse Kuhnert
YesIn yet another fit of retardation I forgot that I was re-setting the property in question on the main page component in the pageBeginRender blockThe parameter/property binding logic is very magical and nice :) On 8/16/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > The 4.0 implementa

Can someone explain the meaning of property parameter of

2005-08-16 Thread Alan Chandler
The user guide (in specificatation DTDs section) lists as having a non required string parameter called property. The description says The name of a property into which the asset should be `ed. What does "be `ed" mean? I only ask because the annotation @InjectAsset says that is is equivalent

Re: Component parameter binding

2005-08-16 Thread Howard Lewis Ship
The 4.0 implementation of connected parameter properties is very, very smart. It's not like 3.0, where you had to worry about parameter "direction". It's designed to Just Work (tm). On 8/16/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Ahhh...Nevermind. Everything works as expected. :/ .. >

RE: stale link error

2005-08-16 Thread Mark Stang
Jesse, You are right, I am using a Foreach inside of a form. However, this is the first time it has caused me grief. When I switched to a ListEdit, I get a non-serializable error due to the data squeezer. Ok, now I have to find a way around that... thanks, Mark -Original Message-

Re: stale link error

2005-08-16 Thread Jesse Kuhnert
I have no idea what glen's component is doing...But what I described earlier I'm about 80% sure is the problem, be it in his component or yoursMaybe you're using a Foreach inside a form instead of a ListEdit. jesse On 8/16/05, Mark Stang <[EMAIL PROTECTED]> wrote: > I do have conditional items

RE: stale link error

2005-08-16 Thread Mark Stang
I do have conditional items. I tried using contrib:FormConditional and it changes the location of the error. I guess Glen's component is creating these and somehow it is out of sync with the rewind. However, I would have thought that it would always be out of sync. I must be doing something

Re: stale link error

2005-08-16 Thread Jesse Kuhnert
The form component embeds all the components it knows about in a hidden field on your page, if the next render doesn't contain all the components it was "expecting" it hangs up... You might want to be sure that if you have any conditional inclusion/exclusion logic that you are using things that ar

getVisit() deprecated in IPage but not AbstractPage

2005-08-16 Thread Dustin Frazier
I just noticed that the getVisit() method in IPage is deprecated, but the implementation in AbstractPage is not. This means you get a warning when calling getPage().getVisit() from a component, but you don't get a warning when you subclass BasePage and call getVisit(). All of this is in Tapest

stale link error

2005-08-16 Thread Mark Stang
Hi, I am trying to use the LinkSubmit that Glen modified, however I am getting this error. Can anyone explain what is causing this? Thanks! Mark You have clicked on a stale link. Rewind of form Home/form expected allocated id #12 to be 'connId', but was '$Submit' (requested by component Hold

Re: IMarkupWriter in Tapestry 4

2005-08-16 Thread Andreas Andreou
That's true. I misread the javadocs. Howard Lewis Ship wrote: Invoking getBuffer() will close any open *tags* and prevent further output from being rendered by the writer. Only invoking close() will cause anything to be printed to the parent markup writer. On 8/16/05, Andreas Andreou <[EMAIL

Re: IMarkupWriter in Tapestry 4

2005-08-16 Thread Howard Lewis Ship
Invoking getBuffer() will close any open *tags* and prevent further output from being rendered by the writer. Only invoking close() will cause anything to be printed to the parent markup writer. On 8/16/05, Andreas Andreou <[EMAIL PROTECTED]> wrote: > Jesse Kuhnert wrote: > > >Assuming you are u

Re: IMarkupWriter in Tapestry 4

2005-08-16 Thread Andreas Andreou
Jesse Kuhnert wrote: Assuming you are using a hivemodule.xml contribution...add the following: This contribution associates text/xml content types with tapestry so that an IMarkupWriter instance can be created. And then do something sort of similar to this: //Web

Re: IMarkupWriter in Tapestry 4

2005-08-16 Thread Jesse Kuhnert
oh nevermind..right..there's probably not a valid filter on the nested writer... On 8/16/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Assuming you are using a hivemodule.xml contribution...add the following: > > > This contribution associates text/xml content types with > tapestry so th

Re: IMarkupWriter in Tapestry 4

2005-08-16 Thread Jesse Kuhnert
Assuming you are using a hivemodule.xml contribution...add the following: This contribution associates text/xml content types with tapestry so that an IMarkupWriter instance can be created. And then do something sort of similar to this: //Web response should be "i

Re: IMarkupWriter in Tapestry 4

2005-08-16 Thread Andreas Andreou
Hmmm... I think I found it. Maybe I can use: IMarkupWriter newWrited = cycle.getInfrastructure().getMarkupWriterSource(). newMarkupWriter( PrintWriter, ContentType); and allow the framework to create a writer for me! Andreas Andreou wrote: In a component's renderComponent method, is it po

IMarkupWriter in Tapestry 4

2005-08-16 Thread Andreas Andreou
In a component's renderComponent method, is it possible to get (or create) an instance of an IMarkupWriter having the same properties as the one passed to the renderComponent? I want to render the component's body into a String and do some post-processing before writing it back to the output (

Re: Component parameter binding

2005-08-16 Thread Jesse Kuhnert
Ahhh...Nevermind. Everything works as expected. :/ .. On 8/16/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > I'm having a little trouble getting my head around this one. > > I've got a component, A , which has a paramter binding to an object. > > This binding is a property of Page p that con

Re: Live Taco's demo?

2005-08-16 Thread Jesse Kuhnert
Yeah, I'm not really sure. I sent Viktor an email this morning to check up on that. It will hopefully be resolved in the next day or so.. jesse On 8/16/05, Mark Stang <[EMAIL PROTECTED]> wrote: > Does anyone know where a live Taco's Demo is running? > > http://tacos.mine.nu:8080/tacos-demo/ has

Live Taco's demo?

2005-08-16 Thread Mark Stang
Does anyone know where a live Taco's Demo is running? http://tacos.mine.nu:8080/tacos-demo/ has been dead for a couple of days. thanks, Mark

contrib:Palette Problems

2005-08-16 Thread Patrick Casey
Hi Folks, I've got a contrib.:Palette on one of my forms. The relevant definition is here: From the .page file: From the .html file:

Re: Beta-4 NullPointerException

2005-08-16 Thread seloha .
Ignore my last post my fault with not updating my own code. After Tapestry update using cvs everything is okay Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ANN: e-book for Tapestry 4 available

2005-08-16 Thread Jason Suplizio
Kent, I've read your book and I find it invaluable, so I have recommended it to many others in my company. My question is, will future versions cover portlets? On 8/16/05, Kent Tong <[EMAIL PROTECTED]> wrote: > > 邓君涛 gmail.com > writes: > > > > > But ,doesn't this book incl

Re: Tapestry 4.0/JDK 1.4/AnnotationEnhancementWorker

2005-08-16 Thread Eric Schneider
Gosh, things are easy when you know what you're doing! :-) Thanks again for you help. Eric. On Aug 16, 2005, at 11:15 AM, Howard Lewis Ship wrote: Simply make sure you AREN'T including the annotations JAR in the classpath. On 8/16/05, Eric Schneider <[EMAIL PROTECTED]> wrote: Hi, I'm at

Re: Tapestry 4.0/JDK 1.4/AnnotationEnhancementWorker

2005-08-16 Thread Howard Lewis Ship
Simply make sure you AREN'T including the annotations JAR in the classpath. On 8/16/05, Eric Schneider <[EMAIL PROTECTED]> wrote: > Hi, > > I'm attempting to setup a simple test application with Tapestry > 4.0. I'm using the workbench as an example which probably isn't the > best idea since it

Component parameter binding

2005-08-16 Thread Jesse Kuhnert
I'm having a little trouble getting my head around this one. I've got a component, A , which has a paramter binding to an object. This binding is a property of Page p that contains component A. Page p sets this parameters binding to be that of the pages property. Selecting and updating this pr

Tapestry 4.0/JDK 1.4/AnnotationEnhancementWorker

2005-08-16 Thread Eric Schneider
Hi, I'm attempting to setup a simple test application with Tapestry 4.0. I'm using the workbench as an example which probably isn't the best idea since it makes use of JDK 1.5 annotations. Switching to the JDK 1.5 isn't an option for me. Can someone point me to the proper configuratio

RE: Parameterized Link Submit Component???

2005-08-16 Thread Mark Stang
Glen, That looks like what I am looking for. Can I put multiple ones on a page? thanks, Mark -Original Message- From: Glen Stampoultzis [mailto:[EMAIL PROTECTED] Sent: Mon 8/15/2005 11:23 PM To: Tapestry users Subject: Re: Parameterized Link Submit Component??? Mark Stang wrote: >Hi

Re: Request parameters

2005-08-16 Thread Michael Henderson
Hi, Why not create a service to allow named parameters? I see no reason that named parameters, presented in a Map cannot be squeezed and unsqueezed. It needs 3 classes, a Service and an ILink implementation and a custom PageLink component The main stumbling block is that ILink constru

Re: Request parameters

2005-08-16 Thread Marcus Brito
email.dk> writes: > I was wondering if it is somehow possible to add request parameters to a > PageLink? I've written a PopupLinkRenderer to be used with a PageLink but > since the PageLink component cannot take any parameters Tapestry is all about *not* figuring out URL's. You write your pages

Re: Request parameters

2005-08-16 Thread Andreas Andreou
Implement IExternalPage and implement activateExternalPage(Object[] parameters, IRequestCycle cycle), adding code that resets your persistent properties. Then make your PopupLinkRenderer create ExternalLinks. During submits, the activateExternalPage method will not get called, so your properties

selecting the right target frame

2005-08-16 Thread Ido-Eduard de Baat
Hi, in my application I have couple of frames. One frame contains a form. On submit, the results will show up in another frame. But, what if I'd just like to refresh the page with a form and show some validation errors, for example. Is there a (easy) way to control this? I'm afraid I'd have

Re: Request parameters

2005-08-16 Thread lars . borup
Yes - and I use this in many places, but sometimes you'd want (read:I could really use :-) ) to add yet another request parameter to a link. An example: I have a Page for editing a specific piece of content. I want this page to be opened in a seperate window (using window.open(...)) and I have imp

Re: Request parameters

2005-08-16 Thread Geoff Longman
How would the recieving page extract the paramters? PageLink does not invoke a listener on the target page. The way to do this would be to use a DirectLink with parameters and use a listener to extract those parameters from the request cycle. Then obtain the target page (cycle.getPage()), call set

Re: problem with Spindle 3.2.0

2005-08-16 Thread Geoff Longman
pls add a bug report here: http://sourceforge.net/tracker/?atid=459328&group_id=50321&func=browse Geoff On 8/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I just added a new Tapestry page to my project (in Eclipse 3.1). The page > consists of an HTML file, a PAGE file, and a JA

Re: problem with Spindle 3.2.0

2005-08-16 Thread Kevin Menard
Hi David, I don't really have an answer for you, but this message is best suited for the Spindle user list. -- Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ANN: e-book for Tapestry 4 available

2005-08-16 Thread Kent Tong
邓君涛 gmail.com> writes: > > But ,doesn't this book incluse the jsr168 section?It's a good book,but I'am > working on portal development.,I need the description about that. It doesn't cover portlets. Sorry. -- Author of e-book for learning Tapestry (www.agileskills2.org/EWDT)

Re: set http headers (cache-control, etc) in tapestry

2005-08-16 Thread Jacob von Eyben
Ok, I think I will stick to the filter solution I mentioned in my question. It will also take effect on *.pdf files as long as I map the filter correct. Thanks for the answers. Regards Jacob von Eyben Nordija A/S > > On Aug 15, 2005, at 11:12 AM, Patrick Casey wrote: > >> So it sure looks li

Re: Beta-4 NullPointerException

2005-08-16 Thread seloha .
Thanks Kent I got the new cvs since the stack trace did show something about data squeeze. This does solve that issue but after setting the value to null I have an "@If" statement which checks for the values existence, i.e. something like: since value1 is now not set (null), instead of th