Re: Specifying BlockingDialog Resources

2007-09-28 Thread Steven Coco
Vity: Thanks for the help; that's good to know. In the meantime, the simple resources are working for me. There's one odd thing though: I have this Task set to BlockingScope.WINDOW, and when the dialog comes up, it is centered on the button that launched the Task. It loos odd, since I'd expect it

Re: T5 Loading Component Assets

2007-07-25 Thread Steven Coco
If filtering is enabled in Maven, then it will filter binary files too: and it is the case with Maven that your images are nearly guaranteed to be corrupted. The ideal way to solve it is to separate files that need filtering from those that don't, by defining several resource directories: http

Re: Overriding default location of properties files

2007-07-18 Thread Steven Coco
On Wed July 18 2007 3:59:05 pm you wrote: > I am wondering if anyone has any pointers on how I could change the > location of where my properties files are. I am looking to move them > to a separate directory to clean up my application. > > Thanks, One way is to use Maven... If I understand what

Properties Files and I18N Charsets (Russian symbols, and others...)

2007-07-17 Thread Steven Coco
A blog posting by Felipe Gaucho, about properties files encoding, was highlighted on the front page of Java.net. I Just thought I'd share the link quickly, since it's on the same topic as some recent threads here! http://weblogs.java.net/blog/felipegaucho/archive/2007/07/the_backslash_o.html Ci

Re: Encoding and Upload component

2007-07-17 Thread Steven Coco
Hi. I'm sorry, but don't have any solutions for you. I also don't know if there's been an issue filed on this. What my response to that posting was about, was to check the actual HTML generated by Tapestry. Doug posted that it seemed the browsers were posting bad data; but certain things in th

Re: Russian symbols problems

2007-07-13 Thread Steven Coco
loaded it needs to convert > bytes in the file to the characters. By default JVM is using platform > encoding when loading files, but you can override this settings by > specifying > > -Dfile.encoding=utf8 > > when running your JVM. > Solution proposed in Wiki change th

Re: Russian symbols problems

2007-07-09 Thread Steven Coco
This is somewhat intersting to me. This is the expected, usual, Java behavior (the .properties files must be in ISO 8895-1 encoding); but I thought I read somewhere that T5 allowed one to store the .properties files in UTF-8 encoding. Does this imply that is not so, or perhaps this just has not

Re: Problem with non-ASCII form parameters in form containing upload component

2007-07-07 Thread Steven Coco
Hi. I have a couple of obvious thoughts: Does the form contain an accept-charset attribute? If the form in the HTML document does not specify an accept-charset, it is allowed to use the document's charset. Did you double-check the charset being returned by the server (what's seen by the agent

Re: T5 Templates In src/main/resources Might Interfere With Resource Filtering

2007-07-04 Thread Steven Coco
uly 3 2007 4:23:03 pm you wrote: > Can't you set up multiple resource folders, some filtered, some not? > > On 7/2/07, Steven Coco <[EMAIL PROTECTED]> wrote: > > Hi. > > > > Has there been discussion about the fact that Maven can filter resources, > > loca

T5 Templates In src/main/resources Might Interfere With Resource Filtering

2007-07-02 Thread Steven Coco
Hi. Has there been discussion about the fact that Maven can filter resources, located in src/main/resources, and if templates are placed there, then Maven may munge expansions intended for Tapestry, or maybe also vice-versa? The tutorial says templates should be placed here. I have been using W

Re: Hackish(?) Workaround for Entities In Templates

2007-07-02 Thread Steven Coco
quot;-//W3C//DTD HTML 4.01//EN",c.getResource("xhtml1- > strict.dtd")); > map.add("-//W3C//DTD HTML 4.01 Frameset//EN",c.getResource > ("xhtml1-frameset.dtd")); > } > > > Robert > > On Jun 10, 2007, at 6/103:36 PM , Steven

[OT] Re: about Maven, Java Applet and Tapestry's pages...

2007-06-27 Thread Steven Coco
ks are used to using Jetty during development, so I bet they have some ideas on that list. Good luck. Ciao! -Steven Coco. On Tue June 26 2007 9:41:55 am #Cyrille37# wrote: > Steven Coco a écrit : > > Hi. > > > > You should create a Parent project, with 2 modules: one for t

Re: about Maven, Java Applet and Tapestry's pages...

2007-06-24 Thread Steven Coco
Hi. You should create a Parent project, with 2 modules: one for the WebApp, and another for the Applet. They will build into their own artifacts -- a War for the WebApp, and a Jar for the Applet -- in your repositories, but they share the parent project's attributes; and they go into folders in

Re: which version of tapestry-simple:5.0.?

2007-06-24 Thread Steven Coco
Hello. Executing the command you gave, without the repository flag: -DremoteRepositories=... Works for me. The Tapestry archetype is in the main repository. When building the app, you will need the snapshot repositories -- you'll need whichever repositories are added to the POM by the archetyp

T5: (Noob:) How To Contribute A Custom Validator

2007-06-14 Thread Steven Coco
I'm REALLY swimming lost here, however I want to use a custom Validator for a form Select widget. I have the server side down OK. I figured I would try to attach the validator in the template as well -- t:validator="NotEnumElementValidator=UNSELECTED" -- but I don't know how to contribute the

Re: AW: Split mailing list for T5/T4,4.1

2007-06-14 Thread Steven Coco
Hi. Since I'm new and only using T5, for feedback purposes on this concept, it would suit me fine if there were a T5-only list. I'll try to remember to put T5 in the subject for now too. Thanks. -Steev Coco. On Thu June 14 2007 9:08:31 am Holger Stolzenberg wrote: > That was my intend ;-) > >

Re: T5: Can't use any page name but "Start"

2007-06-13 Thread Steven Coco
Hi. I think this could be due to a known bug in parsing the page path name. The path "/status/ViewStatus" is supposed to be canonicalized into "/status/View" which should be how you'd refer to that page in your PageLinks. But there is some bug in the code handling those path translations. It's

Re: Hackish(?) Workaround for Entities In Templates

2007-06-10 Thread Steven Coco
iki, so that is another concept, but my current plan revolved around entities and HTML 4 strict; and I haven't come far enough to understand Tap and client accept-encodings. I'll work it out in time: and probably by then DTD support will be implemented up a notch... Thanks for the help

Hackish(?) Workaround for Entities In Templates

2007-06-08 Thread Steven Coco
I just implemented a set of properties in WEB-INF/Application.properties. They look like this: # HTML entities: entity.copy: © entity.trade: ™ ... Now in templates I can "use" them like so: Such is life. Ciao. -S

Re: T5.0.5 build error due to expired tapestry-ioc-5.0.5-SNAPSHOT.jar

2007-06-08 Thread Steven Coco
(This is obviously a Maven issue and not a tapestry issue; but...) I'm not the Maven expert, but it might have been better to delete the entire artifact folder instead of just the jar. The only real issue with doing this is that some software (I honestly don't know which) might index the reposi

Re: How To Get 5.0.5

2007-06-08 Thread Steven Coco
have been tryign to get 5.0.5 for several > days now and looked at the suggested forum entries but still noy joy. Would > you mind detailing exactly how you got it to work. > > Many thanks. > > Steven Coco-5 wrote: > > Fixed it. > > > > All I had to do was r

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Steven Coco
eTwo. > > > > At least this is the behavior i'm getting. I'll report an issue for this. > > In the mean time, i think renaming the folder or the page will solve > > your problem. > > > > Steven Coco wrote: > > > Hi. > > > >

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Steven Coco
he page itself, Tapestry won't find that page. > So, it won't find pagetwo/PageTwo but it will find somepages/PageTwo. > > At least this is the behavior i'm getting. I'll report an issue for this. > In the mean time, i think renaming the folder or the page will solve &

Re: Whoops: 5.0.5 SNAPSHOT NoSuchMethodError Registry.eagerLoadServices

2007-06-06 Thread Steven Coco
t; On 6/4/07, Steven Coco <[EMAIL PROTECTED]> wrote: > > I spoke a little to soon. > > > > I dumped all those repositories into the POM and the project builds fine. > > But > > then I tried to run it. Both Jetty and Tomcat throw a NoSuchMethodError. > > This

(T 5.0.5 snapshot) "No root element has been defined"

2007-06-05 Thread Steven Coco
? I'm missing something simple, but I've been all around the documentation and bunches of tutorials, and I thought I was on the right track. Any help? The simple webapp is attached. Sorry for the extremely fundamental difficulty! Thanks in advance for any help.

Whoops: 5.0.5 SNAPSHOT NoSuchMethodError Registry.eagerLoadServices

2007-06-04 Thread Steven Coco
I spoke a little to soon. I dumped all those repositories into the POM and the project builds fine. But then I tried to run it. Both Jetty and Tomcat throw a NoSuchMethodError. This is the stack trace from Tomcat. I have to step out just now but I thought I'd post the trace quickly. Ciao. Ju

Re: How To Get 5.0.5

2007-06-04 Thread Steven Coco
2.0.6 and Tap 5.0.5-SNAPHOT. (Aside: dig this late Maven POM element: 2.0.6 I like.) Wheee. Ciao. Steven Coco. On Monday June 4 2007 1:59:35 pm Davor Hrg wrote: > I found it easier to download trunk and build it, > I also disabled tests while mvn install to make it faste

How To Get 5.0.5

2007-06-04 Thread Steven Coco
in fact contain any snapshots. If I declare 5.0.4-SNAPSHOT or 5.0.5-SNAPSHOT in my POM I get "artifact not found". Can anyone point me in the right direction? Do I actually have to just build it? Thanks in advance. Ciao. Steven Coco. ---