RE: Does Tapestry work with XHTML?

2006-05-31 Thread Townson, Chris
Please don't give up on the XHTML thing. Alex Russell is completely wrong in the article Jesse referred to. His condemnation of so-called academics (Alex's label) smacks of narrow-mindedness, lack of forethought and wilful unawareness of the very history of web development he briefly covers

Locale switching question

2006-05-31 Thread Bondarenko, Oleg
Hello folks, please share your experience. What is he best way to implement locale switching in Tapestry applications? Say, your application supports English and German and there is a link to switch from one language to another. The problem is: if you just change the engine's locale in the

RE: RE: Does Tapestry work with XHTML?

2006-05-31 Thread Kristian Marinkovic
+1 for XHTML and standards. btw. there is a firefox extension for validating pages on the fly: HTML Validator: https://addons.mozilla.org/firefox/249/ IMHO every web developer should use it :) best regards, kris

RE: Tapernate Moved (finally)...

2006-05-31 Thread James Carman
It hasn't been published yet to Howard's maven repository. It's in mine. I don't have permission to publish to Howard's. -Original Message- From: 罗天 [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 5:07 AM To: Tapestry users Subject: Re: Tapernate Moved (finally)... Hi James,

Re: Tapestry 3.0.4 and Friendly URLs patch problem

2006-05-31 Thread Bernard Lange
Bernard Lange wrote: 'http://localhost:8080/edu-high/oswiata/?sp=logo.gifsp=MDSUMGOESHERE' Correction. The link goes of course as: 'http://localhost:8080/edu-high/oswiata/asset.do?sp=logo.gifsp=MDSUMGOESHERE' - To

RE: Locale switching question

2006-05-31 Thread Schulte Marcus
Overriding the engine's setupForRequest does it for me: class YourEngine extends BaseEngine { protected void setupForRequest( RequestContext context ) { super.setupForRequest( context ); String lang = context.getParameter(lang); if (lang!=null) setLocale( new

Contributed ControlCheckbox, ControlledCheckboxes with given CheckboxGroup

2006-05-31 Thread Shing Hing Man
I have been trying out the contributed CheckboxGroup, ControlCheckbox and ControlledCheckbox. Everyhing is fine when the ControlCheckbox, ControlledCheckboxes are enclosed by a CheckboxGroup. However, I have problem when my CheckboxGroup does not enclose the ControlledCheckbox and

Re: How to implement a 'application property with persistence strategy client:app' ?

2006-05-31 Thread Gerald Schöffel
Well, this is bad news :( I redesigned a part of my application to use only one 'flag' and implemented a strategy which is able to persist this flag in application scope (adding a simple '?myflag=myvalue' key/value pair to the url). I can control the lifecycle of the flag from inside the

Re: List loaded twice from DB

2006-05-31 Thread Mark
Hi Marcus, Ok, I start to understand now. Are you sure that under production settings (with cache turned on) it will re-initialize the property when the page is put back in the pool, and not when it is checked out of the pool? I understand the thing about "putting a pristine instance of the

Re: List loaded twice from DB

2006-05-31 Thread Mark
Hi Nick, thanks for this response. The next question is probably to be decided by the Tapestry developers, but maybe somebody else has some insights on this or knows if this has been discussed before: Would it not make more sense to be able to specify a attach-value and a detach-value

RE: Directly requesting a page

2006-05-31 Thread James Carman
Are you in tap4? If so, enable Friendly URLs and you can invoke the page by doing: http://localhost:8080/test.html -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 2:33 PM To: users@tapestry.apache.org Subject: Directly requesting a page

RE: Directly requesting a page

2006-05-31 Thread Ryan Cuprak
Yup, I am using version 4. That returns the page unprocessed - jwcid and everything. From the blog (http://howardlewisship.com/blog/2004/12/tapestry-urls-half-way-there.html) I added the following to my web.xml: servlet-mapping servlet-nameapp/servlet-name

Re: HTML editor for tapestry

2006-05-31 Thread Jesse Kuhnert
I think tacos also has an editor component that is based on the dojo Editor, which is used in the wiki system at http://jot.com. There doesn't appear to be a current published documentation set for this component on the tacos website but I know it's in there. (Sorry, I'm not working on tacos as

RE: Loading resources from classpath in components

2006-05-31 Thread James Carman
I think you're right. The ClassLoader that's assigned to the class generated by Javassist might not support that method. Print out the type of the classloader to make sure. -Original Message- From: Dan Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 3:39 PM To: Tapestry

RE: Loading resources from classpath in components

2006-05-31 Thread James Carman
Could you try using the thread context classloader? -Original Message- From: Dan Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 3:39 PM To: Tapestry users Subject: Loading resources from classpath in components How do you load resources from classpath within a component?

Re: Issues with Label Components with Tapestry 4.0

2006-05-31 Thread Ryan Holmes
Your problem getting the span tag where you want it is due to how the FieldLabel component renders itself. Here's the relevant part of FieldLabel.renderComponent(): delegate.writeLabelPrefix(field, writer, cycle); writer.begin(label); if (id != null)

NullPointerException when using WML component @Go

2006-05-31 Thread Emil Jönsson
Hi all, I'm implementing a WAP interface for a project using Tapestry's WML components. The only code example I've found is one from the 3.0.4 component reference. I've modified this example a bit, but I can't get it working. When using the Go component, I get a NullPointerException (see below).

Re: HTML editor for tapestry

2006-05-31 Thread Alan Chaney
The best documentaiton on the dojo editor that I have found appears to be: http://dojotoolkit.org/docs/rich_text.html which you can find by clicking on a rather obscure link 3 levels down from the top page in the 'Manual' somewhere. My biggest gripe with dojo at the moment is that they spend

Problem with @Persist

2006-05-31 Thread Jean-Eric Cuendet (RPT)
Hi, I have 2 pages, one with a list of Users (UsersPage) and another with Details for a given User (DetailsPage). In UsersPage, I have a onEditUser() listener, which do: page = getDetailsPage() // = With @InjectPage page.setUserId(selectedId); return page; And in DetailsPage, I have:

[ANN] TapIDEA 0.4

2006-05-31 Thread Hugo Palma
Hey Tapestry community, TapIDEA 0.4 release is out. This is the first release that only works with IDEA Demetra(6.0), so you'll need to download that to use TapIDEA. The good news is that Demetra is actually quite usable right now so you won't have many unpleasant surprises. You can find a

Re: HTML editor for tapestry

2006-05-31 Thread Paul Cantrell
It is worth pointing out that neither of these works in Safari, the default browser on the Mac. FCK blames Safari: http://www.fckeditor.net/safari.html ...but the bottom line is, it's probably not a good idea to use these for a public site. Of course, if you're doing an internal app,