T4 pageBeginRender bug with thread dump

2008-10-08 Thread Phillip Rhodes
I use 4.0.2, but this may apply to 4.1, 5.x... I had a problem with my application pegging 100% on the CPU. This only occurs if there is an uncaught Exception in the pageBeginRender of a page. If I wrap my code with an try/catch, there are no issues. If I do not do a try/catch, the CPU hi

T4.1.4 tagged as what in svn?

2007-12-28 Thread Phillip Rhodes
I would like to build the 4.1.4 version of tapestry from source. In the svn repository, I do not see anything with a tag of 4.1.4. Is the 4.1.4 release being built from the trunk of svn, or am I missing something? I had a few things I wanted to try out regarding the stack trace that I have be

Re: backport 5.0.5 fix to 4.1.3?

2007-12-19 Thread Phillip Rhodes
stry 4.1.3 to use embedded ClassFabUtils like tapestry 5.x I would appreciate hearing that I have been working too much and forgot to put something in the classpath Phillip - Original Message - From: "Phillip Rhodes" <[EMAIL PROTECTED]> To: "Tapestry users&q

backport 5.0.5 fix to 4.1.3?

2007-12-19 Thread Phillip Rhodes
Hi. I believe the same issue reported on tapestry 5.0.4 is happening in tapestry 4.1.3 https://issues.apache.org/jira/browse/TAPESTRY-1423 Can someone backport this to 4.1.3? Thank you. Basically, my app stops running and crashes with javassist no such class errors: ... 100 more Ca

Re: Web Content Management Systems

2007-12-07 Thread Phillip Rhodes
I did write some tapestry components to search, display, upload, modify contents in a JCR repository, but after we loaded a few hundred images into the repo, our application slowed to a crawl. The problem (and it's a common one for many repositories) was that to return a content item, the repo

T4.1.3 fails with javassist errors after running awhile

2007-12-06 Thread Phillip Rhodes
After running fine for a while (I can access it for a hour), my application stops functioning and starts failing with the exception below. It appears that javaassist is not able to find my abstract page classes that it has compiled. My versions: ognl-2.7.1.jar javassist-3.4.ga.jar tapestry

[T4] inherit-informal-parameters not working?

2007-10-24 Thread Phillip Rhodes
Can someone share a working example for inherit-informal-parameters? I am trying to render some informal parameters passed to a container component from a contained component. However, the informal parameters are never emitted, they are just swallowed. I set allow-informal-parameters and inh

[T4] Handle AjaxDirectLink when session expired?

2007-10-23 Thread Phillip Rhodes
While this is happening in tapestry/tacos, I feel it might be global to ajax/tapestry in general. 1) User has expired session 2) User clicks AjaxDirectLink 3) Application detects an expired session and sends Redirect to login page back to the user 4) Browser receives the redirect, but both IE an

tacos and ControlCheckbox problem

2007-09-20 Thread Phillip Rhodes
Hello, Using tapestry 4.0.2 with tacos The tapestry components ControlCheckbox and the Palette both depend upon javascript that is emitted outside the component. Because of this, these components won't work this with Ajax since the content that is emitted from the ajax call does not update th

Re: How to load a image dynamiclly in tapestry5.0.4

2007-05-23 Thread Phillip Rhodes
Just wanted to mention stitches (yet again). Stitches consists of a spring layer over JCR (Java content repository) and suite of components that interface to this spring layer to deal with common types of web content (html, pdf's, images, gallerys). Lots of unit tests exist. There are componen

Re: expert needed

2007-05-14 Thread Phillip Rhodes
You can you use IListener as a parameter. On each page, you can bind your component to the specific page listener that you want invoked. This works good, as I am using this approach myself. - Original Message - From: "Paul Stanton" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Mond

Re: how to get maximum component portablity?

2007-05-02 Thread Phillip Rhodes
0) America/New_York Subject: Re: how to get maximum component portablity? I'm not sure I understood anything from either email. Could you give an example that is more generic ? Tapestry doesn't limit the number of persistent properties that anything can have. On 5/2/07, Phillip Rhodes <[EM

Re: how to get maximum component portablity?

2007-05-02 Thread Phillip Rhodes
iteration of your for. I'm not reporting it as a problem, but rather, just something to remember in tapestry application development. Thanks. Phillip - Original Message - From: "Phillip Rhodes" <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Wednesday, Ma

how to get maximum component portablity?

2007-05-02 Thread Phillip Rhodes
Hi everyone, I am kind of stuck and would like to have some different perspectives on this problem/solutions. Using t4. I have a a list of items that I am displaying. For each order, I display an EditItemLink component. The ItemEditLink takes a parameter of an Item. The ItemEditLink contains

Re: Anyone used Any Document Management System with Tapestry ?

2007-04-24 Thread Phillip Rhodes
Btw, I am knee deep in the next version of stitches, I have integrated it to store all content into apache jackrabbit using the jcr api. Phillip - Original Message - From: "sunilmanu" <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Monday, April 23, 2007 4:40:40 PM (GMT-0500) A

Getting url to tapestry page from acegi filter?

2007-03-24 Thread Phillip Rhodes
I am writing a acegi filter that needs to send a redirect to a specific tapestry page. For now, I will just do a static absolute url (i.e. "/authsumserver/app?page=GroupRegistration&service=page") but knowing that this is a fragile solution, I was wondering if there is a way to call a tapestry

tapestry-acegi, how does SecurityUtilsImpl.accessDecisionManager get set?

2007-03-21 Thread Phillip Rhodes
I am implementing acegi/tapestry and pulling apart the wonderful work of James Carman (preserving the copyrights!) and re-implementing for my purposes. My @Secured annotation is erroring out in SecurityUtilsImpl when a call to the accessDecisionManager fails because it is null. How is the acce

tapestry-acegi for basic auth only?

2007-03-19 Thread Phillip Rhodes
>From my understanding of tapestry-acegi >(http://www.carmanconsulting.com/tapestry-acegi/) , it appears to support >basic authentication, not form-based or other types of authentication. Can someone confirm my view? Thanks!

Re: Cant Checkout tapestry-spring project

2007-03-17 Thread Phillip Rhodes
James, I was about to post a message to post a message about this very same thing. anonymous/anon does not work. I tried using a browser, and subclipse, and it keeps failing to login with thse credentials. Until javaforge anonymous access is fixed, would you mind making a source distribution av

Re: tapestry 4.1 vs tapestry 4.0.2 with tacos?

2007-03-17 Thread Phillip Rhodes
IL PROTECTED]> To: "Tapestry users" Sent: Saturday, March 17, 2007 6:53:37 PM (GMT-0500) America/New_York Subject: Re: tapestry 4.1 vs tapestry 4.0.2 with tacos? 4.1.2... which functionality are u talking about? On 3/18/07, Phillip Rhodes <[EMAIL PROTECTED]> wrote: > > I am imp

tapestry 4.1 vs tapestry 4.0.2 with tacos?

2007-03-17 Thread Phillip Rhodes
I am implementing an ajax login for my project and trying to figure out if I should use tapestry 4.1 or tapestry 4.0.2 with tacos. It seems like tacos has a lot more "goodie" functionality than what is provided with tapestry 4.1. Can someone point me to tapestry 4.1 or 4.0.2? Thanks. Phillip

Re: Role based security

2007-02-27 Thread Phillip Rhodes
Sorry, but have to also point out authsum. It has some tapestry components that also manage login/authorization, but it's very different from anything else out there. It's a search engine for authorizations (uses's lucene to search for authorizations) and it accesses lucene via webservices. Usi

Re: Multiple application in a single war

2006-11-28 Thread Phillip Rhodes
Please drop the "/app" from your url pattern. There is no need for it. browse /browse/app admin /admin/app Needs to be: browse /browse admin /admin Here is my entire web.xml from a working war file with s

Re: using Tapestry to send mails

2006-11-27 Thread Phillip Rhodes
One thing to keep in mind with this type of problem is whether this email will ever be seen outside the context of a web request, will you have have to send the email via a batch process? I ended up doing my email in velocity due to this requirement. Cyrille37 wrote: Hello all, I still l

tapestry ofbiz project?

2006-11-13 Thread Phillip Rhodes
Anyone wish to work with me to implement a shopping cart in tapestry using the ofbiz project as the backend? http://incubator.apache.org/ofbiz/ Thanks. Phillip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: help : displaying Images that are stored outside the Web application

2006-11-09 Thread Phillip Rhodes
I think you want to use the "@Any" component the following example depends on you have a page method called "getImageUrl()" Image displayed here sunilmanu wrote: Hi, I am a newbie to Tapestry. I need help on how to display the Images stored outside the Web application. Say my applicatio

Override session expiration page

2006-09-22 Thread Phillip Rhodes
I would like to change the default Session Expiration page that tapestry uses. Any pointers? I can't find this in the docs. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: catch custom exception generated in tapestry app in filter?

2006-08-29 Thread Phillip Rhodes
y one exception "UnAuthenticatedException" However, thanks for your response. > Why not create your own exception page? > > You can define a method > public void setException(Throwable value) { ... } > and Tapestry will call this before activating your exception page. >

catch custom exception generated in tapestry app in filter?

2006-08-29 Thread Phillip Rhodes
I have a checked exception that is thrown from various listeners in my tapestry app. I was hoping that I could use a servlet filter to catch these specific exceptions in order to deal with them. Is this just something that is impossible to do within the tapestry framework due to tapestry having

ProgressBar, call page listener when complete?

2006-08-27 Thread Phillip Rhodes
Forgive me, this is my first few hours with ajax/tacos... I have a application that uses FOP to generate PDF reports. I am implementing the ajax/tacos ProgressBar example into my app. I have everything figured out except for when the ProgressWorkerThread has completed it's job, I need to call a

Re: Wiki implementation using Tapestry

2006-07-06 Thread Phillip Rhodes
hate to chime in here, but Stitches supports adding searching,adding,modifying content in the "textile" content markup syntax. I would be willing to help out if you have questions, guidance and/or some changes to the lib to make it work. > Hi! > > I need to add wiki features to a Tapestry web ap

Re: CMS Integration

2006-07-06 Thread Phillip Rhodes
nse. Basically, the closer it > gets to something like Magnolia the better but anything someone else has > done would be a start. > > Michael Grundvig > Electrotank, Inc > http://www.electrotank.com > > > - Original Message - > From: "Phillip Rhodes" <[EM

access global from tapestry service?

2006-07-05 Thread Phillip Rhodes
I am writing an EmailVerificationService (user clicks on link in email and it hits my tapestry service). Inside my service, I need to have access to the application Global object (defined in my tapestry app spec file). I didn't see the application global object as an available option in the inf

Re: RadioGroup validation

2006-07-05 Thread Phillip Rhodes
I don't know if this is related, but if you try to do any client-side validation with a radiogroup, the presence of a radio group will break all client-side validation. Sorry if this doesn't help you, but thought I would share what could be more symptoms of the problem. > > Hi, > > As of Tapest

Re: CMS Integration

2006-07-05 Thread Phillip Rhodes
What are the basic requirements? CMS is a many-faceted beast. > Has anyone integrated any sort of CMS tool with Tapestry? I've looked into > Magnolia and several others, but all seem to require an uphill battle if > they are to be tied into Tapestry and I was wondering if someone else has > alre

Re: How to set cookie ftom T4 application for different host

2006-06-30 Thread Phillip Rhodes
Third party cookies (cookies from other hosts) are not accepted by default. I have got around this problem 2 different ways: For machines in same domain: 1) use the cookie.setDomain(".authsum.org") method to create a cookie that can be read by all hosts your domain. For machines in different doma

input validation for multiple locales?

2006-06-28 Thread Phillip Rhodes
I have a professional testing company testing my tapestry app, and they reported issues that one can enter non-alphanumeric fields into my textfields. While I know I can solve this with a regex in my validator, I wonder what folks do if they need to support other languages and perform validation

RE: CSV export component

2006-06-28 Thread Phillip Rhodes
I have the beginnings of just this type of component. Would you want to collaborate on it? > Thanks for you input. This is probably the best way to go, to make the > interface of the component similar to that of the table component. As soon > as I find the time I will try this out. > > Martin

3 field date component

2006-06-17 Thread Phillip Rhodes
I am writing a 3 field date component. The component allows the user to select the month/date/year from select boxes for their birth date. Couple of questions: 1) Has anyone already created such a component? 2) Because I have 3 input fields bound to 3 properties in my component, what would

Indicating required fields to user?

2006-06-14 Thread Phillip Rhodes
I am using tapestry validation successfully for required fields. All works well. However, I need to display a required indicator to the user so that they know before submitting the form that these fields are required. Currently, users must submit the form to enable the "required" decorations. I

Re: image gallery component?

2006-06-14 Thread Phillip Rhodes
Image gallery component: http://stitches.authsum.org/ Contains admin components to upload images. The uploaded images get auto-created thumbnails. Admin components to create a gallery, which is just a collection of images. The gallery is written out in an xml document, but can also be displaye

Re: [OT] loading resources from the classpath in a static method

2006-06-08 Thread Phillip Rhodes
Please read this. http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property-p2.html > I have static method where i need to read a .properties file off of the > classpath. The same code that works when running under a tapestry > application in jetty does not work when run as a normal

Re: Select first item of RadioGroup with n Radio Buttons

2006-06-07 Thread Phillip Rhodes
riedQuestion(mq); cycle.activate(qp); in your template: No Yes Maybe > Am 07.06.2006 um 19:34 schrieb Phillip Rhodes: > >> I think that your radio group is bound to a property, in which >> case, can >> you just set your property and the radio group would auto

Re: strange problem losing session variables

2006-06-07 Thread Phillip Rhodes
Sounds like your container is not able to tie the session to the client. Are cookies turned off for clients? Have a multi-domain site and the cookies are not going across domains? > Maybe synchronization glitches can be the cause? nothing prevents a user > from firing two concurrent requests th

Re: Select first item of RadioGroup with n Radio Buttons

2006-06-07 Thread Phillip Rhodes
I think that your radio group is bound to a property, in which case, can you just set your property and the radio group would automatically reflect this when it is rendered? > Hello! > > I'm currently working on a RadioGroup which includes 1, 2 or 3 > RadioButtons. The decision which Buttons

Re: TabPanel thing?

2006-06-07 Thread Phillip Rhodes
The best non-ajax version of a tab control (IMHO) is in stitches. Download: http://www.rhoderunner.com/repo/authsum/stitches/jars/ Demo of it: http://test.rhoderunner.com:8080/stitches/app?page=TabPage&service=page List of features: toggle visibility of tabs Toggle enblement of tabs Clientside

Re: Shopping card with tapestry

2006-05-17 Thread Phillip Rhodes
I did a tapestry shopping cart with integration to payflowpro for a site. http://www.palatepartners.com I am in the process of porting it all from hibernate2 to hibernate3 and spring 1.x to spring 2.x Let me know if you are interested in it as a starting point. I was going to release it as ope