Re: Tapestry vs. Wicket

2005-12-20 Thread Jamie Orchard-Hays
For something interesting to look at, see Seaside. It's SmallTalk, and quite interesting: http://www.seaside.st/ On Dec 20, 2005, at 9:25 AM, Jesse Kuhnert wrote: This is something I posted a long time ago, it's sort of negative sounding now that I look back on it, but I'm too lazy to re-w

Re: property-specification tag as annotation ?

2005-10-06 Thread Jamie Orchard-Hays
It's now On Oct 6, 2005, at 11:23 AM, Henri Herscher wrote: Hi, I cannot see the equivalent of the tag in T4 annotations. I want to create a persistent property in my component that is not a . Any ideas ? Thanks - To uns

Re: Page-Inheritence

2005-10-03 Thread Jamie Orchard-Hays
That's correct for 3.0.x For 4, you can use annotations only and get real inheritance. Jamie On Oct 3, 2005, at 1:56 PM, Jim Steinberger wrote: Happy Monday! Am I correct in stating that page-inheritence is possible with the Java classes, but not the XML specification files? For exampl

Re: Jetty Installation!

2005-10-03 Thread Jamie Orchard-Hays
se that you mean the $HOME/lib and not the $HOME/extra/lib? Thanks On Monday 03 October 2005 18:57, Jamie Orchard-Hays wrote: If you want to globally install Tapestry into Jetty, then I imagine you would put Tapestry's jars and its supporting jars in the lib dir of jetty. The usual way of

Re: Jetty Installation!

2005-10-03 Thread Jamie Orchard-Hays
installing Tapestry in Jetty and not a application which was developed using Tapestry! Thanks On Monday 26 September 2005 19:20, Jamie Orchard-Hays wrote: As with other servlet containers, if you're deploying a war file, just make sure the tapestry and supporting jars are in WEB-INF/lib.

Re: Tapestry 3.0.3 page doesn't work with Safari?

2005-10-03 Thread Jamie Orchard-Hays
That's a bit vague. Do you get any errors on the client or server? Can you turn on Safari's debugging and see if you get any info? On Oct 3, 2005, at 10:01 AM, Daniel M Garland wrote: Hi all, I had a working web app in Tapestry 3.0.3 which worked with the Safari browser. Now I made a load

Re: Brain Freeze Assistence Please

2005-10-03 Thread Jamie Orchard-Hays
or: On Oct 3, 2005, at 12:11 AM, Darío Vasconcelos wrote: instead of your boolean getEven( ) method, create a String getCSSClass( ) that will return the class name directly, depending on whether the row is even or odd: As to why your brain is locked, well, it's Sunday, 1

Re: Dynamic template selection

2005-09-29 Thread Jamie Orchard-Hays
I wonder if you could hack the code that returns the template to be configurable. You could then have properties defined in your .application file that specify which html template to return for a particular app. Look around ITemplateSource and ITemplateSourceDelegate. Jamie On Sep 29, 200

Re: question about custom squeezer

2005-09-27 Thread Jamie Orchard-Hays
Here's our code: In the Engine: public DataSqueezer createDataSqueezer() { DataSqueezer squeezer = new DataSqueezer(getResourceResolver (), new ISqueezeAdaptor[] { new SectionActionItemAdaptor()}); return squeezer; } The Squeeze Adaptor: public class SectionActionItemAdap

Re: question about custom squeezer

2005-09-27 Thread Jamie Orchard-Hays
If you have a serializable object, tapestry can serialize an object into a very long string. This is not usually desirable. I wrote a custom squeezer a while back for an object that was the only practical way to pass certain data around. It was worth it. It ended up being around 20 characte

Re: Jetty Installation!

2005-09-26 Thread Jamie Orchard-Hays
As with other servlet containers, if you're deploying a war file, just make sure the tapestry and supporting jars are in WEB-INF/lib. On Sep 26, 2005, at 11:14 AM, FTP wrote: Hi, I was looking in the different tutorials but wasn't able to find something concerning Tapestry installation wi

Re: off topic which dev. laptop

2005-09-22 Thread Jamie Orchard-Hays
Although I only use Eclipse once in a while, I did get the jetty plugin for it. Works like a champ. Jamie On Sep 22, 2005, at 2:30 PM, Gentry, Michael (Contractor) wrote: One day, I'll figure out how to use Jetty with Eclipse and Tapestry on OS X. Jetty starts up substantially faster than

Re: Tapestry 3.0.3 - property initialization sequence

2005-08-11 Thread Jamie Orchard-Hays
updated or b) when we haven't updated anything in last pass, and an exception is thrown - meaning we have an unresolvable reference on our hands. -- Alex -Original Message- From: Jamie Orchard-Hays [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 11:45 AM To: Tapestry u

Re: property and property-specification

2005-08-11 Thread Jamie Orchard-Hays
That's correct. Jamie On Aug 11, 2005, at 1:30 PM, Paul Cantrell wrote: I believe that is simply the 4.0 counterpart to . They renamed a bunch of these tags in 4.0 to make them more concise. Others, correct me if I'm wrong On Aug 11, 2005, at 9:56 AM, Jamie Orchard-

Re: property and property-specification

2005-08-11 Thread Jamie Orchard-Hays
from the 3.0 DTD: On Aug 11, 2005, at 11:45 AM, Chris Chiappone wrote: Since I relatively new to tapestry I really don't understand the use of the tag in the page or component specification. I use often but wonder what the use of property was. -- ~chris

Re: Tapestry 3.0.3 - property initialization sequence

2005-08-11 Thread Jamie Orchard-Hays
You're not using this feature correctly. It's for the state of the property when it's returned to the page pool, not for when you use it on the page. Implement PageRenderListener in your Java file, then implement pageBeginRender() and initialize your variables there. You'll be able to get

Re: Tapestry for a "virtual" web site

2005-08-03 Thread Jamie Orchard-Hays
IExternal? Do you mean IExternalPage? That doesn't do what your suggesting, Pat. What I'd do us use FURLs* and then for the virtual directories, use a URL rewrite of some sort. I don't know how flexible and powerful the options are for FURLs in 4.0--maybe that would get you all the way th

Re: Slightly (ok totally) OT HTML Question

2005-08-03 Thread Jamie Orchard-Hays
divs are block elements--they appear on separate lines by default. You'll need to tell them to float. float:left for the left one, float:right for the right one. See if that works for you Jamie On Aug 3, 2005, at 3:18 PM, Patrick Casey wrote: Sorry about the OTness of this,

Re: Tapestry + Hibernate + Springframework: No go with DirectLink/ExternalLink?

2005-08-03 Thread Jamie Orchard-Hays
Will, if your an EOF guy, you will definitely want to look at Cayenne. It's modeled on EOF and has the CayenneModeler, which is essentially their version of EOModeler. Jamie On Aug 3, 2005, at 12:12 PM, Will Scheidegger wrote: Hi Shawn Thanks for your help. On 03.08.2005, at 18:00, Sh

Re: When release Tapestry 4.0 productive version?

2005-08-03 Thread Jamie Orchard-Hays
at least a few months. It's in Beta right now. Jamie On Aug 3, 2005, at 3:12 AM, Jun Tsai wrote: Hi all, I have seen many new features.I want to use it. When release Tapestry 4.0 final version? thanks Jun Tsai - To u

Re: creating jwc:101

2005-08-02 Thread Jamie Orchard-Hays
lly i can submit my HW ;-) From: Jamie Orchard-Hays <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: creating jwc:101 Date: Tue, 2 Aug 2005 14:19:19 -0400 pageBeginRender() is called before the components are rendered, so tha

Re: creating jwc:101

2005-08-02 Thread Jamie Orchard-Hays
pageBeginRender() is called before the components are rendered, so that shouldn't be your problem. can you paste up the code in your page's pageBeginRender() method? On Aug 2, 2005, at 1:29 PM, Dan wrote: Hi, I am trying to create a component using the contrib:Table component. Basically

Re: Crash when adding "direction" to second component parameter!?

2005-08-02 Thread Jamie Orchard-Hays
ponent. The inner component is actually a subclass of BasePage whereas the border component subclasses BaseComponent. At least this is how I understood http://jakarta.apache.org/tapestry/ 3.0.3/doc/ComponentReference/RenderBody.html. -Will On 02.08.2005, at 17:21, Jamie Orchard-Hays wrote:

Re: Crash when adding "direction" to second component parameter!?

2005-08-02 Thread Jamie Orchard-Hays
n't want to clutter the list with pages of java, html and xml code. ;-) -Will On 02.08.2005, at 16:34, Jamie Orchard-Hays wrote: could you share some more code? What do you mean exactly by "a component with a border component wrapped around it"? Jamie On Aug 2, 2005, at 8

Re: Crash when adding "direction" to second component parameter!?

2005-08-02 Thread Jamie Orchard-Hays
could you share some more code? What do you mean exactly by "a component with a border component wrapped around it"? Jamie On Aug 2, 2005, at 8:38 AM, Will Scheidegger wrote: (Tapestry 3.0.3) Newbie alert! Could not find any solution in the archive, so please bare with me: I've got a com

Re: Tapestry fails performance testing. HELP!

2005-08-02 Thread Jamie Orchard-Hays
That would make a huge difference in performance. On Aug 2, 2005, at 6:39 AM, Robert Cole wrote: Only on our development instances. Something I hadn't thought about though. Rob Cole [EMAIL PROTECTED] (Dirk Dittert) Sent by: news <[EMAIL PROTECTED]>

Re: t-deli.com is down and I cant get xtile.jar to work. Any help would be greatly appreciated!

2005-07-30 Thread Jamie Orchard-Hays
Joshua, I just put up what I have for access, but then realized that it probably doesn't have the x-tile stuff: http://dangdev.com/tapestry/t-deli/ Jamie On Jul 29, 2005, at 8:00 PM, Joshua Long wrote: Would someone be kind enough to send me a workign copy of xtile.jar? I'm desperate. T-de

Re: AW: Calls for the 'AutoCompleteSelection' Component

2005-07-29 Thread Jamie Orchard-Hays
nice one. Jamie On Jul 29, 2005, at 10:05 AM, Konstantin Ignatyev wrote: I run the demo on my site: http://kgionline.com/tajax/app Take a glance - really cool! --- Maximilian Weissboeck <[EMAIL PROTECTED]> wrote: Maybe the Tapestry Ajax Component is what you are looking for see http://t

Re: constructors and the initialize method

2005-07-19 Thread Jamie Orchard-Hays
Don't use a constructor. That's not where you initialize your values. initialize() is a misleading name. It's used to reset values to be returned to the page pool-- made this obsolete for general usage. Instead, you must implement PageRenderListener and its pageBeginRender () method. Initi

Re: About engine

2005-07-14 Thread Jamie Orchard-Hays
x27;t understand is why my machine works properly without this while I have to add this for the server? Henry -Original Message- From: Jamie Orchard-Hays [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 11:32 AM To: Tapestry users Subject: Re: About engine Any time you start usin

Re: About engine

2005-07-14 Thread Jamie Orchard-Hays
Any time you start using the Visit object, that triggers it. Jamie Orchard-Hays wrote: My first thought is that it has something to do with not having a session attached yet. Others can correct me if I'm wrong, but I think Tapestry won't attach an engine to your session until i

Re: About engine

2005-07-14 Thread Jamie Orchard-Hays
My first thought is that it has something to do with not having a session attached yet. Others can correct me if I'm wrong, but I think Tapestry won't attach an engine to your session until it's needed. Perhaps your setlocale isn't sticking until you've got a Tapestry session going. Try explori

Re: Question about validation

2005-07-13 Thread Jamie Orchard-Hays
I don't know how you'd attach two fields two one validator at the same time. I'm curious if someone has solved this using a validator. I've just done comparisons in the listener method. Jamie On Jul 13, 2005, at 4:53 PM, Chris Chiappone wrote: Hi, I was wondering if there was a validator t

Re: Contrib 3.0.2

2005-07-13 Thread Jamie Orchard-Hays
http://jakarta.apache.org/tapestry/downloads.html On Jul 13, 2005, at 2:51 PM, david joffrin wrote: Thanks. Where is the download please? I am only seeing the "regular" Tapestry on the jakarta download site. From: Jamie Orchard-Hays <[EMAIL PROTECTED]> Reply-To: &quo

Re: Contrib 3.0.2

2005-07-13 Thread Jamie Orchard-Hays
http://jakarta.apache.org/tapestry/3.0.3/doc/ComponentReference/ On Jul 13, 2005, at 2:09 PM, david joffrin wrote: Guys, Far away from the consideration of the future of Tapestry I have been there for a while, still using 3.0.2 version of it. I would like to use the associated contribut

Re: Future of Tapestry in questionable

2005-07-13 Thread Jamie Orchard-Hays
ly I won't be doing any Ruby development until there's an Eclipse for Ruby :). I'm just *way* too addicted to Eclipse to consider switching back to a language I have to program in a glorified notepad :). --- Pat -Original Message- From: Jamie Orchard-Hays [mail

Re: Future of Tapestry in questionable

2005-07-13 Thread Jamie Orchard-Hays
Wicket sounds cool, but is immature compared to Tapestry. Howard isn't going anywhere. Tapestry is not only still viable, it's in heavily active development as is Hivemind. What is the future of Tapestry? My own opinion is that as long as there is a need for Java Web Frameworks, Tapestry is

Re: Contrib:popup

2005-07-13 Thread Jamie Orchard-Hays
basically, you're dealing with javascript and having your popup window knowing about your main window. I don't know if there are any Tapestry components out there that do what you need. You'd want a component with some javascript that could handle the communication between the main window.

Re: Newbie with Thread Issues

2005-07-12 Thread Jamie Orchard-Hays
PM, Java Leech wrote: So I guess I don't understand how to initialize these properties for components. If i create a in my.jwc how do I retrieve the Object I have stored in the Visit()? On Tue, 12 Jul 2005 15:59:22 -0400, "Jamie Orchard-Hays" <[EMAIL PROTECTED]> said: You ne

Re: Newbie with Thread Issues

2005-07-12 Thread Jamie Orchard-Hays
eate a in my.jwc how do I retrieve the Object I have stored in the Visit()? On Tue, 12 Jul 2005 15:59:22 -0400, "Jamie Orchard-Hays" <[EMAIL PROTECTED]> said: You need to learn some Tapestry conventions. The first is that when you have page or component properties, you generally

Re: Tapestry, Cayenne and Squeezer

2005-07-12 Thread Jamie Orchard-Hays
If you haven't, would you mind putting this up on the WIKI? Jamie On Jul 12, 2005, at 1:13 PM, Filip Balas wrote: It seems to me that no where on the internet is this whole process explained in enough detail to make it easy to understand in under 15min. So here is my best attempt. I assume:

Re: Newbie with Thread Issues

2005-07-12 Thread Jamie Orchard-Hays
You need to learn some Tapestry conventions. The first is that when you have page or component properties, you generally should not define them in the Java file with instance variables and get/setters. What you should do is define them in your .page or .jwc file as . When you do this, Tape

Re: continued: tapestry component repository

2005-07-11 Thread Jamie Orchard-Hays
So my vote goes to giving all the help we can give towards making the tacos project THE tapestry components repository. I guess i got a little carried away with the prospects of creating the project and i didn't really try to find it something like that was already there. Cheers Hugo

Re: continued: tapestry component repository

2005-07-11 Thread Jamie Orchard-Hays
Have you guys looked at Tacos? Is it what you're trying to do? If so, better to join an existing effort than start a new one. jamie On Jul 11, 2005, at 11:35 AM, Viktor Szathmary wrote: Hello, On 7/11/05, Norbert S?ndor <[EMAIL PROTECTED]> wrote: I have a sourceforge project I could us

Re: Where do my component files go in Tapestry 4?

2005-07-06 Thread Jamie Orchard-Hays
Denis: in 3.0 you can specify your own ITemplateSourceDelegate. See if it's the same in 4.0 On Jul 6, 2005, at 4:49 PM, Denis Souza wrote: That's not what I meant. The problem is not regarding the java class files for the pages/components. Yes, I can organize the classes any way I wan

Re: About a bigger Tapestry components library!

2005-07-05 Thread Jamie Orchard-Hays
peter out fairly quickly), I'd say leave it in users. This is not about internal stuff that only has to please the developers. This is about exactly where users live and breathe everyday. Todd On Jul 5, 2005, at 12:03 PM, Jamie Orchard-Hays wrote: It seems to me that what we nee

script's unique element

2005-07-05 Thread Jamie Orchard-Hays
I've got a couple of scripts I've got associated with a component. I've put around the js code in the body. When I use the component in a loop, I'm still getting output of the scripts for each loop. Am I missing something? Jamie ---

Re: About a bigger Tapestry components library!

2005-07-05 Thread Jamie Orchard-Hays
It seems to me that what we need to do is combine the component libraries into one place. Also, if none of those sites has all that's needed, expand the new site's capabilities. We should probably move this discussion over to the developer list as well. Jamie Ron Piterman wrote: +1 What I no

Re: About a bigger Tapestry components library!

2005-07-05 Thread Jamie Orchard-Hays
And Tassel. I forgot to mention that one. That makes three... Ron Piterman wrote: ציטוט Pablo Ruggia: This is not a Tapestry problem. It's the community (me included) the one that should contribute with those components. I've created several components and never upload them anywhere. I think

Re: About a bigger Tapestry components library!

2005-07-05 Thread Jamie Orchard-Hays
There are already two projects: t-deli and tacos Jamie Ron Piterman wrote: ציטוט Pablo Ruggia: This is not a Tapestry problem. It's the community (me included) the one that should contribute with those components. I've created several components and never upload them anywhere. I think you

Re: Where did the old pages go?

2005-07-02 Thread Jamie Orchard-Hays
Is this what you're looking for? http://jakarta.apache.org/tapestry/3.0.3/ On Jun 30, 2005, at 7:16 PM, Howard Lewis Ship wrote: With the move to beta, the 3.0 docs have been replaced by the 4.0 docs. You can still download the 3.0 docs. On 6/30/05, Mark Stang <[EMAIL PROTECTED]> wrote: I

Re: abstract base page spec

2005-07-02 Thread Jamie Orchard-Hays
feature supported in 4.0? Mike On 6/29/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote: In 3.0, if you want a base page class, it's easiest to implement the initialization of its properties in that class. You can't extend the page spec. If you make the base page properties ab

Re: Getting properties from Enhanced class

2005-07-02 Thread Jamie Orchard-Hays
Mike, from a higher level, what are you trying to do? Jamie On Jul 1, 2005, at 8:28 PM, mike jones wrote: Hello I am tring to access the property of a component in the page class but it always returns null. The property is declared... has an abstact getter and setter in the component clas

Re: Does anyone know about a tapestry fly-over component?

2005-06-30 Thread Jamie Orchard-Hays
What about the drive-by component? ;-) Seriously, what's the fly-over component? Jamie Mark Stang wrote: I remember seeing one somewhere, I don't remember where. thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Thank you, thank you, yeah, yeah, yeah

2005-06-29 Thread Jamie Orchard-Hays
Excellent! Jamie On Jun 29, 2005, at 10:31 PM, Vinicius Carvalho wrote: Well I'd like to thank everyone in this list for helping me out. Specially Howard for such a great framework, Mike and Geoff for their spectacular plugins (sorry Geoff for what was told), Pablo, Jamie, Ron, and everybody e

Re: abstract base page spec

2005-06-29 Thread Jamie Orchard-Hays
In 3.0, if you want a base page class, it's easiest to implement the initialization of its properties in that class. You can't extend the page spec. If you make the base page properties abstract, then you would need to add to each page's spec. That would be rather cumbersome. Use standard bean

Re: Organizing templates (newbie)

2005-06-28 Thread Jamie Orchard-Hays
folder as the component * If a page in the application namespace, search in the application root * Fail! * * * @return the template, or null if not found * **/ You can also specify your own ITemplateSourceDelegate. Hope this helps. Jamie Jamie Orchard-Hays wrote: in your

Re: Organizing templates (newbie)

2005-06-28 Thread Jamie Orchard-Hays
in your .application file: specification-path="/WEB-INF/thepath/ThePageName.page"/> [EMAIL PROTECTED] wrote: Hi, I would like to know how I can organize my templates in folders, eg. have my html as $CONTEXT_ROOT/basic/Abc.html instead of $CONTEXT_ROOT/Abc.html When I try to simply put the ht

Re: default-binding hell

2005-06-22 Thread Jamie Orchard-Hays
Norbert, get on the dev list and if we can get another vote, I think you'd put us over the top. ;-) Jamie Paul Ferraro wrote: This has been an ongoing debate on the dev list. Both committers and users are split around whether or not this feature causes more confusion than it helps. There wa

Re: Tapestry and SSI

2005-06-21 Thread Jamie Orchard-Hays
t is pretty basic in functionality, but it has worked well for me. Please let me know if you have any problems or suggestions. Shawn Quoting Shawn Church <[EMAIL PROTECTED]>: Sure, I would be happy to. I will get it packaged up as soon as possible. Shawn Quoting Jamie Orchard-Hays <[EMAIL PROTEC

Re: Tapestry and SSI

2005-06-21 Thread Jamie Orchard-Hays
Hey Shawn, could you share that component? I have a need for something like that. Thanks, Jamie Shawn Church wrote: You can normally just use the Block and RenderBlock components. I however recently needed to include company-wide navigation in my apps, and I didn't want to duplicate the navi

Re: Tapestry 4.0

2005-06-21 Thread Jamie Orchard-Hays
It's about to go beta. I believe it'll only require Java 5 if you want to use annotations. Jeff Cooper wrote: I'm sure this has been covered, but new to the mailing list. When will Tapestry 4.0 be released, and will it require that I use jdk 1.5. Thanks, Jeff Cooper ---

Re: Property binding question

2005-06-20 Thread Jamie Orchard-Hays
You don't need the setter. Just the getter is required (unless you try to set the property!). On Jun 20, 2005, at 11:05 PM, Geoff Longman wrote: Is title a true property with getTitle()? I forget if you also need setTitle() for it to be a true property..brain fart. if not you have to do the

Re: stale link? (newbie)

2005-06-17 Thread Jamie Orchard-Hays
Well, have a look at ListEdit anyway, but I missed the essential problem that you're adding a new element onto the list. Konstantin is right--you have to add it later, in the submit method. Jamie Jamie Orchard-Hays wrote: Marc, have a look at ListEdit and ListEditMap. Those are design

Re: stale link? (newbie)

2005-06-17 Thread Jamie Orchard-Hays
Marc, have a look at ListEdit and ListEditMap. Those are designed to deal with dynamic lists inside of a form. Jamie Marc A. Donis wrote: Hi. I'm new to Tapestry... trying hard to make a transition from WebObjects :) Here's my problem: I have a List of Strings through which I iterate, disp

Apple to OS Web Objects?

2005-06-15 Thread Jamie Orchard-Hays
This is an interesting development: http://www.appleinsider.com/article.php?id=1135 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Contrib:FormTable - Can we submit a FormTable using a DirectLink or some other way?

2005-06-03 Thread Jamie Orchard-Hays
Patrick, have a look at LinkSubmit. Jamie Patrick Yip wrote: Is it possible to submit a FormTable using a DirectLink? I have a shopping cart page that contains a FormTable which has an editable quantity column. I want to find a mechanism to trigger a calculation on the form so the extende

Re: Date Formatter - not thread safe

2005-05-29 Thread Jamie Orchard-Hays
Patrick Jamie Orchard-Hays wrote: You could put your format strings in your Visit or Global object: private static final SimpleDateFormat SHORT_DATETIME_FORMAT = new SimpleDateFormat("MM/dd/yy h:mm a"); private static final SimpleDateFormat DEADLINE_DATETIME_FORMAT = new SimpleDateFormat(&

Re: 3.0 URLs -> 3.0 FriendlyURLs url rewrite

2005-05-27 Thread Jamie Orchard-Hays
y 26, 2005 6:31 AM To: Tapestry development Cc: Tapestry users Subject: Re: 3.0 URLs -> 3.0 FriendlyURLs url rewrite I wrote my own servlet filter for this. I found that the regex were too complex and also I wanted to transform the parameters and use the DataSqueezer. I can share the code if yo

Re: Properties specifications questions

2005-05-27 Thread Jamie Orchard-Hays
Global isn't where to put it--it's shared by all engine instances (it's application, not session bound). Put it in your Visit object. That's session bound. Vinicius Carvalho wrote: Hello there! I've a couple of questions about this topic: I have a login page, that after the user is logged I

Re: Backing on the browser

2005-05-27 Thread Jamie Orchard-Hays
The general answer is that Tapestry has state and using the back button confuses the management of this state. If you use the back button and then try to submit a form or use the link, that page was originally rendered in a different state than Tapestry is now in on the server side. One thing

Re: Date Formatter

2005-05-27 Thread Jamie Orchard-Hays
You could put your format strings in your Visit or Global object: private static final SimpleDateFormat SHORT_DATETIME_FORMAT = new SimpleDateFormat("MM/dd/yy h:mm a"); private static final SimpleDateFormat DEADLINE_DATETIME_FORMAT = new SimpleDateFormat(", d, @ h:mm a"); Then

Re: ListEdit problem inside another component

2005-05-27 Thread Jamie Orchard-Hays
Can you use a lazy load somehow? That's the general strategy for component properties. Jamie Michael Musson wrote: Hi, I am trying to use a ListEdit inside another component (not directly in a page like the examples). I am running into a problem with my associated ListEditMap. The examples ov

Re: Templates (re)loading...

2005-05-27 Thread Jamie Orchard-Hays
can you make a secured page that you could call the reset service from? Upload the new Border, then call the reset. expression="!page.engine.isResetServiceEnabled()"/> Jérôme BERNARD wrote: On 5/27/05, Andreas Andreou <[EMAIL PROTECTED]> wrote: How are you planning on incl

Re: Tapestry 4.0 Unable to read OGNL expression

2005-05-26 Thread Jamie Orchard-Hays
Judging from the confusion I've seen in the past few weeks, I'm inclined to agree. The defaults idea was well-intentioned, but if it leads to this much confusion, then it's not worth it. Jamie Patrick Casey wrote: Could I take this opportunity to re-raise my earlier request that we se

Re: 3.0 URLs -> 3.0 FriendlyURLs url rewrite

2005-05-26 Thread Jamie Orchard-Hays
eMind. The ServiceEncoders should be capable of emulating most of Paul's approach for 3.0. On 5/25/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote: I'm working on a servlet filter rewrite pattern to translate 3.0 URLs to 3.0 Friendly URLs (using https://urlrewrite.dev.java.net/)

Re: DirectLink Within Component

2005-05-26 Thread Jamie Orchard-Hays
If you put a direct link into your component and then put the listener method into your component's Java file, you're done. This is code from a custom component: Page spec: expression="components.sectionsTable.currentRow.courseSectionId"/> Java file: public void editGradesLink(

Re: Foreach and links

2005-05-26 Thread Jamie Orchard-Hays
This is true. I didn't mean to imply that primitives get squeezed as primitives, but that the framework handles primitives without problem. Jamie On May 26, 2005, at 6:27 AM, Erik Hatcher wrote: On May 25, 2005, at 10:54 PM, Jamie Orchard-Hays wrote: Also, if you dig into the tap

Re: Foreach and links

2005-05-25 Thread Jamie Orchard-Hays
Also, if you dig into the tapestry code and look at the sqeeze adaptors, you'll see what Tapestry sqeezes automatically. I can't think of them all off the top of my head, but primitives and Strings and Integers certainly apply. On May 25, 2005, at 9:03 PM, Erik Hatcher wrote: On May 25, 20

Re: Tapestry/AJAX question

2005-05-25 Thread Jamie Orchard-Hays
Anthony, you should check out the AJAX stuff at t-deli and tacos to get an idea of how to approach this. Jamie On May 25, 2005, at 10:31 AM, Anthony Fox wrote: Hi, I am new to Tapestry so forgive me if the answer to this question is simple. I am trying to create a navigation system using A

3.0 URLs -> 3.0 FriendlyURLs url rewrite

2005-05-25 Thread Jamie Orchard-Hays
I'm working on a servlet filter rewrite pattern to translate 3.0 URLs to 3.0 Friendly URLs (using https://urlrewrite.dev.java.net/) and it occured to me that someone might have already written the RegEx for this. If you have please share! I actually enjoy RegEx, but thought someone might have

Re: Foreach and links

2005-05-25 Thread Jamie Orchard-Hays
Don't pass the whole object as a parameter. You'll end up with a hideously long query string that will fail in some browsers if it ends up too long. If you can't use an id or an array index to fetch the object on the server side and really need to pass the object itself around, then use a custo

Re: Foreach and links

2005-05-25 Thread Jamie Orchard-Hays
in the .page file you need to set a property-specification for currentVariable (make sure you set the type). Then in your Foreach component binding, you set value="currentVariable". (Use ognl: as prefix if you are using the informal style in your html template rather than the formal style in y

Re: ListEditMap Question...

2005-05-25 Thread Jamie Orchard-Hays
our response, I assume the getAllValues does include the deleted values as well (with their modified fields from the form). Thanks for your help, Filip On 5/23/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote: Filip: You have two choices: 1. get the deleted keys and loop through

Re: Escape ognl expression

2005-05-25 Thread Jamie Orchard-Hays
have you tried \' ? Scott F. Walter wrote: I have the following ognl expression and I want to embed a single quote into my expression and not have it end the expression: How can I escape the ognl expression to embed a single quote? thanks, scott

Re: build component - HTML template

2005-05-25 Thread Jamie Orchard-Hays
Use Border for this. Have a look at some of the examples or in the docs. (B (BJamie (BOn May 25, 2005, at 5:16 AM, Eric Tan wrote: (B (B> Dear all, (B> (B>Is there any tutorial teaching how to build (B> reusable component? (B> (B>I want to build a HTML template, used by all page

Re: Friendly URLs and tacos Partial library: Available

2005-05-25 Thread Jamie Orchard-Hays
undled the wiki FriendlyURL patch, your tacos patch, and a patch for the xtile (tdeli) component into a jar for use in my project. I can release that if anyone is interested. scott On 5/24/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote: Scott, let me know how that works out for you. J

Re: Friendly URLs and tacos Partial library: Available

2005-05-24 Thread Jamie Orchard-Hays
Scott, let me know how that works out for you. Jamie On May 24, 2005, at 3:39 PM, Jamie Orchard-Hays wrote: Here you go: http://www.dangdev.org/tapestry/furls/tacos/index.html Scott Morgan wrote: Has anybody gotten the tacos library (specifically the Partial components) working with the

Re: Registering an ISqueezeAdaptor in Tapestry 3.0.3

2005-05-24 Thread Jamie Orchard-Hays
Yes. It's the only way to do this in 3.0.3. This should help: public class RegistrarStudentEngine extends RegistrarEngine{ public DataSqueezer createDataSqueezer() { DataSqueezer squeezer = new DataSqueezer(getResourceResolver(), new ISqueezeAdaptor[] { new SectionActionItemAdaptor()

Re: Page design question

2005-05-24 Thread Jamie Orchard-Hays
added ("add to cart" changes to "remove from cart") but not refresh the page, take the user somewhere else, etc. Jamie Ron Piterman wrote: ציטוט Jamie Orchard-Hays: I didn't suggest AJAX because it's trendy but because this is a good situation to use it. A

Re: Page design question

2005-05-24 Thread Jamie Orchard-Hays
ike that: border: links ... page: page 1 Note I use the Shell and Body components - if this is strange to you, use for a start just normal Later on you can use them if you need to... Cheers, Ron ציטוט Jamie Orchard-Hays: So you have this?

Friendly URLs and tacos Partial library: Available

2005-05-24 Thread Jamie Orchard-Hays
Here you go: http://www.dangdev.org/tapestry/furls/tacos/index.html Scott Morgan wrote: Has anybody gotten the tacos library (specifically the Partial components) working with the friendly URL hack described on the wiki? There seem to be a couple of service attributes (renderPageName and co

Re: Best approach with javascript prompt

2005-05-24 Thread Jamie Orchard-Hays
be carefully when using a the Hidden component this way. Make sure you set encode="false". This is because Hidden squeezes/unsqueezes the value by default. In the first case, give your DirectLink an id and then update the url using javascript. View the source in your browser to see what you ge

Re: Is this the correct usage

2005-05-24 Thread Jamie Orchard-Hays
yup! I looked at that three times and still missed it. Jamie Denis Souza wrote: Shouldn't the raw="true" be raw="ognl:true" instead? -Original Message- From: Edward Scanzano [mailto:[EMAIL PROTECTED] Sent: terça-feira, 24 de maio de 2005 13:47 To: tapestry-user Subject: Is this the c

Re: Is this the correct usage

2005-05-24 Thread Jamie Orchard-Hays
It looks correct. Edward Scanzano wrote: Tapestry is telling me it cannot parse this. Thanks E - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --

Re: Friendly URLs and tacos Partial library

2005-05-24 Thread Jamie Orchard-Hays
Yup! I'll be glad to share them. I'll need to rename one package. I'll have a look at it later today. Jamie Scott Morgan wrote: Has anybody gotten the tacos library (specifically the Partial components) working with the friendly URL hack described on the wiki? There seem to be a couple of se

Re: Page design question

2005-05-24 Thread Jamie Orchard-Hays
So you have this? link 1some content link 2that renders in one link 3area on the right side If that's what your doing, then this would be a perfect place to use the tacos AJAX components. Using the PartialLink and the Part components, you could populate th

Re: ognl expresion problem

2005-05-23 Thread Jamie Orchard-Hays
You're welcome! Jamie pepone pepone wrote: Sorry i misunderstand your response now is working ok thanks again On 5/23/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote: It should take iterator. I just wanted to point out that the component will coerce an iterator, so you do

Re: ognl expresion problem

2005-05-23 Thread Jamie Orchard-Hays
source can be Iterator, Collection, Object[], or Object is this reference out of date?? http://jakarta.apache.org/tapestry/doc/ComponentReference/Foreach.html On 5/23/05, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote: item should not be of type Iterator, but the type of object in your

Re: ognl expresion problem

2005-05-23 Thread Jamie Orchard-Hays
ognl:item is null ognl:item is null can any body say me why the value of ognl:item is not updated? On 5/23/05, pepone pepone <[EMAIL PROTECTED]> wrote: i think this isn't the problem model must be type TreeModelItem and ongl:item is a java.util.Iterator not a TreeModelItem

  1   2   >