Re: property-specification should be optional most of the time and uses annotation when need extra info

2005-08-19 Thread Mark Dillon
Hey Sebastien. In tap 4, you only need to have the abstact getter in your class for properties. If you want the property to be persistent, you do something like this: @Persist public abstract int getCounter(); No page specification required... Cheers, Mark On 8/18/05, Sebastien Tardif <[EMAIL

Re: anyone built tap 4 with os x?

2005-08-18 Thread Mark Dillon
inks it does. I haven't had a chance to dig into why this is > though. > > I'm now dealing with the XTile issue that you were. > > -warner > > On Aug 18, 2005, at 1:37 PM, Mark Dillon wrote: > > > Yeah, I'm totally baffled. The only things I can think

Re: anyone built tap 4 with os x?

2005-08-18 Thread Mark Dillon
Yeah, I'm totally baffled. The only things I can think of are that maybe you're not on ant 1.6.2, or else your build.properties does not point to the correct hivebuild directory? Even then, you shouldn't be seeing an error like the one you're seeing. If you want, you can send me a tarball of you

Re: component id naming conflicts?

2005-08-17 Thread Mark Dillon
Tyler, can you send the actual stacktrace that you get when this problem occurs? Thanks, Mark On 8/17/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Hmmm..I'd have to see the rest of your page spec to give an opinion > then...Maybe your components are nested within something else other > than you

Re: anyone built tap 4 with os x?

2005-08-17 Thread Mark Dillon
I get some free time I'll delve into the failing tests. BTW, I'm doing this with OS X 10.4 Tiger. I'd like to hear your own experiences if you're willing to share. HTH... Cheers, Mark On 8/17/05, Mark Dillon <[EMAIL PROTECTED]> wrote: > Hi Warren. I'm movi

Re: anyone built tap 4 with os x?

2005-08-17 Thread Mark Dillon
ind and configured the build.properties file > to point to it. > > -warner > > On Aug 16, 2005, at 9:19 AM, Mark Dillon wrote: > > > I have, yes. If I recall, the only problem I had was a couple of > > failing tests due to CRLF issues. I just commented out a coupl

Re: [Beta 4] DirectLink issue

2005-08-17 Thread Mark Dillon
This is a known bug in beta 4. There is a workaround in JIRA, and it is fixed in head. You can find more information in the mailing list archives... Cheers, Mark On 8/17/05, Jean-Yves Sironneau <[EMAIL PROTECTED]> wrote: > Hello, > > I switched to tapestry 4 beta 4 and my directlink components

Re: Client-side updating input fields

2005-08-11 Thread Mark Dillon
I do this with the @Script component. Check out the second example on the Script component reference: http://jakarta.apache.org/tapestry/3.0.3/doc/ComponentReference/Script.html It works the same way in 4.0... Cheers, Mark On 8/11/05, Rhys Causey <[EMAIL PROTECTED]> wrote: > Hi, > > I've actu

Re: contrib:table + ajax sorting?

2005-08-10 Thread Mark Dillon
I went down the road of trying to bake Ajax into contrib:table at first. In the end, I found that it was easier to use a plain old HTML table with Ajax rather than trying to figure out how to make it work with contrib:table. I've accomplished this using using DWR and a simple HTML table rather th

Re: How to change templates on the fly in tapestry 4 ?

2005-08-07 Thread Mark Dillon
I was looking at loading templates from a database a while back. Here's a pointer to the thread: http://tinyurl.com/dnb3w It involves implementing an ITemplateSourceDelegate. I'm curious, how does this play out in Tap 4. Is there a better way to do this with Hivemind? Cheers, Mark On 8/7/05,

Re: Rico Ajax / Tapestry - How to Call Tapestry URL

2005-08-02 Thread Mark Dillon
I think Danny's solution together with friendly URLs should solve your problem. I'll give it a shot when I get home tonight and let you know what I find. I'm using Tap 4, which has built in friendly URL support. If you're using Tap 3 you'll need to implement the friendly URL patch from the Tapes

Re: High Traffic Tapestry Performance

2005-08-02 Thread Mark Dillon
If you're interested in a performance comparison of Tapestry and Wicket, check out this thread form the Wicket mailing list: http://sourceforge.net/mailarchive/message.php?msg_id=12321179 If I recall correctly, Tapestry outperformed Wicket drastically at first. They figured out that the problem

Re: Anyone know what up with t-deli site?

2005-08-01 Thread Mark Dillon
It's back :) On 8/1/05, Chris Chiappone <[EMAIL PROTECTED]> wrote: > It has been down for a while now, anyone know whats going on and when > it will be back up? > > -- > ~chris > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] >

Re: Tapestry and Hibernate

2005-07-28 Thread Mark Dillon
The Spring framework provides a servlet filter called OpenSessionInViewFilter. All this filter does is open a Hibernate session and attach it to the thread via a ThreadLocal for every request. This gives you access to an open session for the entire lifespan of the request/response cycle. The bea

Re: XTiles supprt for tapestry 4.0

2005-07-26 Thread Mark Dillon
Great work guys, thanks! On 7/26/05, Mind Bridge <[EMAIL PROTECTED]> wrote: > Ces't moi. > > Unfortunately I only have internet trough my wife's computer at the > moment, as a lightening struck nearby and fried the lan card on mine. I > will buy a new one tomorrow. I am afraid I cannot modify the

Re: Generic IPropertySelectionModel implementation

2005-07-26 Thread Mark Dillon
There is an example in the mailing list archives of a reflection implementation of the IPropertySelectionModel. That's one option. I prefer to have all of my domain objects implement an interface that specifies a getDescription and a getID method, and have the IPropertySelectionModel just deal wi

Re: XTiles supprt for tapestry 4.0

2005-07-26 Thread Mark Dillon
If not, could you possibly post it to Tassel for the time being? http://equalitylearning.org/Tassel/app Cheers, Mark On 7/26/05, Fernando Padilla <[EMAIL PROTECTED]> wrote: > who is the maintainer of XTiles? Could they just put it up on xtiles > homepage, as an official port. > > seloha . wrot

Re: XTiles supprt for tapestry 4.0

2005-07-26 Thread Mark Dillon
+1 for your post :) Thanks, Mark On 7/26/05, seloha . <[EMAIL PROTECTED]> wrote: > There is a solution that involves not changing Tapestry (since the Tapestry > modification has now been made by the Tapestry development team). > > I have a modified version of XTiles which works with 4.0 and can

Re: Which button did I press

2005-07-19 Thread Mark Dillon
Create a page property to represent the deleted WebPayment ID and set it with the selected parameter in conjunction with the tag. The value of the tag will set the selected parameter: In your listener, you can then grab your deletedWebPaymentID to determine which payment to delete. Does this h

Re: Container managed security with tapestry 3?

2005-07-16 Thread Mark Dillon
I think what you want is Friendly URLs. This is implemented natively in 4.0, but since that is not an option for you, you will have to use the Friendly URL patch for 3.0.3. You can find information about this patch here: http://wiki.apache.org/jakarta-tapestry/FriendlyUrls There are other optio

Re: Contrib 3.0.2

2005-07-13 Thread Mark Dillon
You need this in your .application file: On 7/13/05, david joffrin <[EMAIL PROTECTED]> wrote: > As stupid as it sounds, I have added tapestry-contrib-3.0.2.jar to my > current JBOSS server, and I have the following error message on a > contrib:PopupLink. > Library 'contrib' not found in applicat

Re: Stack overflow exception with custom component

2005-07-13 Thread Mark Dillon
Unfortunately you can't create recursive components in Tapestry. This is a result of the fact that the template parser recursively validates components, and doesn't know when to stop if a component has a reference to itself. It will keep validating that component until a stack overflow occurs. Y

Re: Using FormConditional

2005-07-01 Thread Mark Dillon
You need wrote: > Hi folks, > > I've learned a lot from this list as I've tried to get the hang of > Tapestry. Thank you very much! > > I'm afraid I've got another rank beginner question. I want to use the > contrib library component FormConditional. When I include it with > > > > I g

Re: Tapestry 4 CVS build problems

2005-06-16 Thread Mark Dillon
I got around the build problems by editing "framework/src/scripts/TestUpload.xml" and commenting out 3 blocks that look like this: Contents match. If you're failing in the same place as I was, this should take care of it for you temporarily. HTH, Mark On 6/15/05, Chris Conrad <[EMAIL PRO

Re: null litereral as parameter in DirectLink.

2005-06-16 Thread Mark Dillon
Do you want a null as one of the parameters in the parameter array? If so, you would want "parameters={null}". Cheers, Mark On 6/15/05, The Chris Method <[EMAIL PROTECTED]> wrote: > Why would you want to do that? > > "null" is valid ognl, though. That should work, I've done something like > tha

Re: Tacos Tree

2005-06-15 Thread Mark Dillon
In case you're interested for future reference, I've documented a way to mimick submit on change for checkboxes here: http://jroller.com/page/mdillon101/20050201#mimicking_submitonchange_feature_on_the HTH, Mark On 6/14/05, gvp <[EMAIL PROTECTED]> wrote: > Hello Ashish, > > A couple days ago I

Re: ui design vs. tapestry

2005-06-06 Thread Mark Dillon
How about having a separate ValidationDelegate for each form button? You could have a "creditDelegate" and a "promotionDelegate". I'm assuming that when the user clicks "enter another" you just refresh the page and display the value they entered along with a text field for the new value. In this

Re: Tacos Tree Question

2005-05-24 Thread Mark Dillon
Just as a quick note on that, I did some informal research recently on tree behaviour. My findings showed that users expect a +/- to expand and collapse, and that they expect label clicks to expand (if expandable) AND activate, but not collapse. I think that you'll find that windows explorer work

Re: Can a component include it selft

2005-05-24 Thread Mark Dillon
or you, tacos has a > > TreeIterator that you can use to do hierarchical iteration (while > > tracking depth).. See the source: > > > > http://cvs.sourceforge.net/viewcvs.py/tacos/tacos/src/net/sf/tacos/tree/TreeIterator.java?rev=1.2&view=auto > > > > viktor > >

Re: Can a component include it selft

2005-05-23 Thread Mark Dillon
Recursive components are not supported in Tapestry 3.x. Here's an explanation and a potential solution: http://www.behindthesite.com/blog/C1931765677/E923478269/index.html Thanks, Mark On 5/23/05, pepone pepone <[EMAIL PROTECTED]> wrote: > I have a TreeItem component and i want that if TreeItem

Re: Understanding Hivemind and Tapestry?

2005-05-20 Thread Mark Dillon
Justin, if you're still interested in this, I kept some notes on my experience porting to Appfuse/Tapestry/Spring/Hibernate. I posted them at: http://www.jroller.com/page/mdillon101/20050520#font_size_2_this_is Cheers, Mark On 5/12/05, Stanczak Group <[EMAIL PROTECTED]> wrote: &g

Re: Passing data, object between components...

2005-05-16 Thread Mark Dillon
I'm doing something similar to what you're doing. I have a frames based application that has a slightly modified version of the tacos:Tree component in the left frame. Clicking on a Node or Folder in the left calls an activate() listener with a custom URI as a service parameter. In my case, this

Re: Dynamic page templates?

2005-05-13 Thread Mark Dillon
Perfect! Thank you very much. Are those examples out there anywhere? BTW, love Lucene in Action... Thanks, Mark On 5/13/05, Erik Hatcher <[EMAIL PROTECTED]> wrote: > On May 12, 2005, at 11:53 PM, Mark Dillon wrote: > > > Has anyone out there attempted to dynamically lo

Re: Where to download HtmlArea?

2005-05-12 Thread Mark Dillon
http://www.dynarch.com/projects/htmlarea/ Download link in the right nav... Cheers, Mark On 5/12/05, Jun Tsai <[EMAIL PROTECTED]> wrote: > Where to download HtmlArea?goolge it,I find Tassel? > Where is Tassel? who can give me a url? thanks > > -- > Welcome to China Java Users Group(CNJUG). >

Dynamic page templates?

2005-05-12 Thread Mark Dillon
Has anyone out there attempted to dynamically load a page template from the database at runtime? For instance, imagine I had a model property on a page specification, and that model had a string property containing template text. Would it be possible to render this as the page template (or compon

Re: Understanding Hivemind and Tapestry?

2005-05-11 Thread Mark Dillon
On 5/11/05, Stanczak Group <[EMAIL PROTECTED]> wrote: > Mark Dillon wrote: > > >I'll preface this by saying that Hivemind is a fabulous framework. It > >doesn't, however, have the level of integration with other popular > >frameworks that Spring

Re: Understanding Hivemind and Tapestry?

2005-05-11 Thread Mark Dillon
I'll preface this by saying that Hivemind is a fabulous framework. It doesn't, however, have the level of integration with other popular frameworks that Spring has. IMHO the Tapestry/Spring/Hibernate combination is the way to go. Spring greatly simplifies the use of Hibernate (or Ibatis, JDO, wh