Re: Number translator message in 4.1

2006-12-02 Thread Ryan Holmes
I agree with Sam's points. The new default messages will be more confusing to end users and should be reverted, for all of the reasons Sam mentions. -Ryan On Dec 1, 2006, at 6:06 PM, Sam Gendler wrote: +1 for new extended default messages! It is worth wading through a sea of PMs to save d

Re: How do I override the stale session and links pages

2006-10-20 Thread Ryan Holmes
Nevermind, looks like Andreas and Thomas answered your question. Although I have to say that overriding the page names in your hivemodule file seems like a cleaner approach than "hiding" the default pages in your .application. My guess is that you were running into a page resolution issue i

Re: How do I override the stale session and links pages

2006-10-20 Thread Ryan Holmes
The default StaleLink page extends BasePage, so you shouldn't have to extend a special base class. However, the default StaleLink page class declares a "message" property (i.e. public abstract void setMessage(String message)), so your custom page probably needs the same thing. There doesn

Re: problem with images

2006-10-17 Thread Ryan Holmes
Assuming you're talking about user uploaded images or something similar, there are of course different opinions on the "best" way but here are my thoughts: 1.) You are absolutely right not to store uploaded images in the application directory. They are external data just like data in a da

Re: Component resolution question

2006-10-17 Thread Ryan Holmes
On Oct 16, 2006, at 2:13 PM, andyhot wrote: Here's another: I've seen (and even written) components that provide nicer gui on top of contrib:Table. They all usually define the same component class as contrib:Table does... Interesting, that's the use case I couldn't think of ;) I actually do

Re: LoginPage problem in T4

2006-10-17 Thread Ryan Holmes
I'm not familiar with that exact error but if that pageValidate method is in your Login page (or it's superclass, etc.), then you're creating a sort of recursive condition where activating the Login page when the user is not logged in will redirect back to the Login page. The Vlib app use

Re: Component resolution question

2006-10-16 Thread Ryan Holmes
avigation(); (FYI, in my example I was only giving the full flassname for illustration only) You talk about the ambiguity if the 'type' parameter isn't specified. What ambiguity are you refering to? I haven't encountered a single example of such ambiguity yet. The only case

Re: Textfield validation problem

2006-10-14 Thread Ryan Holmes
in. Is it possible to use a regular expression with a textfield? I don't want to use it to read a number, but a string. Thanks On 14/10/06, Ryan Holmes <[EMAIL PROTECTED]> wrote: Change this: to this: The 'omitZero' property in org.apache.tapestry.form.translator.NumberTr

Re: Confusion over persistent page properties and editing

2006-10-14 Thread Ryan Holmes
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ryan Holmes, CISSP [EMAIL PROTECTED] ph. (213) 626-0026 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Textfield validation problem

2006-10-14 Thread Ryan Holmes
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ryan Holmes, CISSP [EMAIL PROTECTED] ph. (213) 626-0026 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Component resolution question

2006-10-14 Thread Ryan Holmes
Actually, eclipse will pick up @Component 'type' values during refactoring if you check the "Update textual occurrences in comments and strings" option when you rename a component class. The "bug" you illustrate is a good example of why the type parameter should be required, at least for th

Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-19 Thread Ryan Holmes
stupid things here, could anyone help me out? Best Regards Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ryan Holmes, CIS

Re: tableRowsIterator nullPointerException

2006-08-19 Thread Ryan Holmes
eption-tf2128224.html#a5872918 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Ryan Holmes, CISSP [EMAIL

Re: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Ryan Holmes
id="tapestry.url.ServiceEncoders"> id="tapestry.multipart.MultipartDecoder"> -Mensaje original- De: Ryan Holmes [mailto:[EMAIL PROTECTED

Re: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Ryan Holmes
a innovación, apoyado en la sinergia corporativa de Parquesoft. Ryan Holmes, CISSP [EMAIL PROTECTED] ph. (213) 626-0026 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Label on Property Selection List

2006-08-16 Thread Ryan Holmes
hen I change from "chose your item" to the "Item 1", the javascript submits the form... Thanks! Ryan Holmes, CISSP [EMAIL PROTECTED] ph. (213) 626-0026 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Injecting State Objects w/ Non-Serializable Beans

2006-08-16 Thread Ryan Holmes
d value is null). Maybe keeping this sort of stuff out of state objects is a good idea. It's a natural factoring, given what we're doing, but this seems to make it inadvisable. Anyone else had to deal with this? Thanks, Michael Prescott Ryan Holmes, CISSP [EMAIL PROTECTED] ph. (21

Re: Best way to do Cookies in Tapestry 4 (full example)

2006-08-03 Thread Ryan Holmes
This is from an earlier post on the subject: @InjectObject("service:tapestry.request.CookieSource") public abstract CookieSource getCookieSource(); and then: getCookieSource().readCookieValue(name); or getCookieSource().writeCookieValue(name, value); Also, see the API docs at: http://tapestr

Re: accessing page in a library

2006-06-11 Thread Ryan Holmes
What do you mean by a "page" of a library? If you're talking about accessing components in a component library, as far as I know you must specify the library in your .application file. -Ryan Norbert Sándor wrote: Hello, How can I acces a page of a library, if the library is not defined in t

Re: conditional and nested ul and li tags

2006-06-11 Thread Ryan Holmes
First, you can't nest UL tags outside of LI tags. I'm sure most browsers will render it correctly, but a more strict parser (like the Tapestry page parser) will choke on it. Your HTML structure needs to be: Post 1 Post 2 Post 2, Reply A Post 2, Reply B

Re: image service?

2006-06-11 Thread Ryan Holmes
This might help you with image resizing. It was built for a very specific purpose: take an input image, downsize it to fit a specified maximum width and output it as a JPEG. It could easily be extended to work with a maximum height as well (typical thumbnail bounding box approach). The useful t

Re: XMLHTTPRequest within tapestry

2006-06-01 Thread Ryan Holmes
Have you checked out DWR (http://getahead.ltd.uk/dwr/)? It might be a good fit for what you're trying to do and it's framework agnostic, so it will work fine with Tapestry 3. It's also pretty darn easy to use. -Ryan Peter Dawn wrote: just tried to implement it now. the country list example r

Re: Directly requesting a page

2006-05-31 Thread Ryan Holmes
That blog entry is about a year and a half old and doesn't apply to Tap 4. Try this: http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html -Ryan Ryan Cuprak wrote: Yup, I am using version 4. That returns the page unprocessed - jwcid and everything. From the blog (http://howardle

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) writer.att

Re: Form with 2 sets of submit buttons doesn't work

2006-05-29 Thread Ryan Holmes
action="listener:doHelp" will work. It also has the benefit of not invoking an ognl call. As a general rule, use binding prefixes whenever possible to avoid ognl. You might also want to check out the Tapestry-Prop library (http://howardlewisship.com/tapestry-javaforge/tapestry-prop/) to get n

Re: new logo for Tapestry - more comps

2006-05-29 Thread Ryan Holmes
Nice color combinations and the logo is clean -- I like it. It's always tough to judge the color scheme from a logo alone, but at first glance I like the blue/orange, blue on blue and the navy/green one on the lower right. If we're going to have a logo contest, maybe it would be a good idea to