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
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
+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
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,
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
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
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
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
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
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
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
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
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
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
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?
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)
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).
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
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:
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
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,
21 matches
Mail list logo