Re: Alternating table rows

2010-09-14 Thread Bob Harner
This alternating stripes effect is such a common need that I think it should be a built-in capability of all of the looping components, as a parameter in which you pass the names of the CSS classes to alternatively apply. JSF does this, and it's very handy. I guess you could do this yourself with

Re: FAQ Entry? How to render TML from a database.

2010-11-04 Thread Bob Harner
Michael, If the customer doesn't like the down time for small changes, it might be beneficial to cluster the app, so you can update it without any down time. That would probably be a lot easier/cheaper to set up than the major code changes you're considering. Just a thought. On Nov 4, 2010 9:06

Re: Tapestry Web Site Updated

2010-11-27 Thread Bob Harner
Maybe it' d be best if there were no live links to Confluence, but just the URL written as plain text? That would also help to keep spider traffic down. On Nov 27, 2010 12:03 PM, Christophe Cordenier christophe.corden...@gmail.com wrote: Hi all It seems that the 'documentation' page has links

Re: [Tapestry Central] Announcing Tapestry 5.2

2010-12-20 Thread Bob Harner
Here's the documentation page: http://tapestry.apache.org/reload.html On Mon, Dec 20, 2010 at 5:25 AM, Vangel V. Ajanovski a...@ii.edu.mk wrote: On 20.12.2010 10:41, Yohan Yudanara wrote: As expected, live class reload does not work on service without an interface. I have try it. There

Re: @SessionState Bug?

2011-01-08 Thread Bob Harner
Hi everybody, To partially address the concerns raised, and following Pierce's suggestion (and using many of his words), I have updated this page in the User Guide to help make it clearer what the pitfalls and decision points are for using @SessionState and @SessionAttribute:

Re: Upgrade Process from 5.1 to 5.2

2011-01-17 Thread Bob Harner
I took Donny's recommendations from last month as the basis for a new Breaking Changes section at the top of the https://cwiki.apache.org/confluence/display/TAPESTRY/Release+Notes+5.2 page. Does anybody know of any other breaking changes going from 5.1 to 5.2? On Fri, Dec 17, 2010 at 12:29 PM,

Re: Upgrade Process from 5.1 to 5.2

2011-01-17 Thread Bob Harner
if there are no errors. The fix is simple - call inputs.getHasErrors() directly, rather than getting the tracker and calling getHasErrors() on that. On Mon, Jan 17, 2011 at 3:55 PM, Bob Harner bobhar...@gmail.com wrote: I took Donny's recommendations from last month as the basis for a new Breaking Changes

Re: IntelliJ IDEA

2011-01-24 Thread Bob Harner
From what I've seen there is just Loom, plus this collection of helpful setup hints: * http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse * http://bbwebcraft.blogspot.com/2009/01/task-4-customize-eclipse-for-tapestry-5.html *

Re: Tapestry 5.1.0.5 and HTML 5 Doctype

2011-02-21 Thread Bob Harner
By the way, I have added Nille Hammer's work-around (for emitting the HTML5 doctype) to the documentation, at https://cwiki.apache.org/confluence/display/TAPESTRY/Component+Templates On Sun, Feb 20, 2011 at 3:13 PM, Christian Riedel cr.ml...@googlemail.com wrote: Hi François, the central

Re: Tapestry 5.1.0.5 and HTML 5 Doctype

2011-02-21 Thread Bob Harner
Correction, the URL should be: http://tapestry.apache.org/component-templates.html (once the change propagates in an hour or two, and the apache site comes back up) On Mon, Feb 21, 2011 at 9:21 AM, Bob Harner bobhar...@gmail.com wrote: By the way, I have added Nille Hammer's work-around

Re: Global Configuration/Logging/Properties files locations

2011-02-21 Thread Bob Harner
Just a note: http://tapestry.apache.org/localization.html is the newer version of that page. On Mon, Feb 21, 2011 at 3:00 PM, Josh Canfield joshcanfi...@gmail.com wrote: That's the question, what goes into resources (globally?) i.e. resources/app.properties, etc. Are there any other properties

Re: Exception starting filter test

2011-03-06 Thread Bob Harner
Just a guess, but normally the filter is named app instead of app1. The filter name affects the name of the app module class Tapestry looks for. See http://tapestry.apache.org/configuration.html On Sat, Mar 5, 2011 at 12:46 AM, raj1jaiswal raj1jais...@yahoo.co.in wrote:

Re: Tapestry in Action - Manning MEAP deal of the day

2011-03-26 Thread Bob Harner
Yes, it does. On Mar 26, 2011 6:44 PM, Jeshurun Daniel sjeshu...@yahoo.ca wrote: This doesn't cover the latest version of Tapestry, does it? If it does, I would gladly pay full price for it :) --- On Sat, 3/26/11, Alex Kotchnev akoch...@gmail.com wrote: From: Alex Kotchnev akoch...@gmail.com

Re: Using @Environmental and JavaScriptSupport Object to dynamically load css based on browser

2011-04-06 Thread Bob Harner
I updated the docs at http://tapestry.apache.org/css.html based on Howard's answer. On Apr 5, 2011 8:32 PM, Taha Hafeez tawus.tapes...@gmail.com wrote: Sorry typo!! On Wed, Apr 6, 2011 at 3:25 AM, Howard Lewis Ship hls...@gmail.com wrote: Oops, sorry Taha, you got this a bit wrong. You use

Re: New user and IDE issues

2011-04-06 Thread Bob Harner
The Apache infrastructure guys have turned off attachments (apparently long-term), due to abuse by the bad guys. On Apr 6, 2011 5:56 PM, Laurent Guerin zlau.dream...@gmail.com wrote: I have updated the content of the http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse page but was unable

Re: Live reload in production?

2011-04-19 Thread Bob Harner
On Tue, Apr 19, 2011 at 2:53 PM, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Apr 19, 2011 at 11:23 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 19 Apr 2011 15:21:44 -0300, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Apr 19, 2011 at 11:07 AM, Thiago H. de

Re: Suggestion on quickstart

2011-05-05 Thread Bob Harner
There is indeed this shorter version: mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org as listed in the tutorial at http://tapestry.apache.org/creating-the-skeleton-application.html. Maybe we can add a note on the http://tapestry.apache.org/getting-started.html page about

Re: Suggestion on quickstart

2011-05-05 Thread Bob Harner
. On Thu, May 5, 2011 at 1:25 PM, Bob Harner bobhar...@gmail.com wrote: There is indeed this shorter version:    mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org as listed in the tutorial at http://tapestry.apache.org/creating-the-skeleton-application.html. Maybe we can

Re: [5.4-alpha-2] core_**.properties got wrong encoding?

2013-01-30 Thread Bob Harner
No, I don't think it's just you. I see it too. I think some of the files might have got munged in the merge into the core property files a few weeks back. I checked the corresponding (original) files in the 5.3 branch and they look right there, in contrast. On Wed, Jan 30, 2013 at 6:34 PM,

Re: Disable operations caused due to back and forward buttons

2013-01-31 Thread Bob Harner
You haven't said what mechanisms you're using to navigate between pages. But my guess is that to achieve the behavior you want you'll need to eliminate the middle page and put its code into the first page, with the Run button on the first page causing a form submission followed by a redirect to

Re: [5.4-alpha-2] core_**.properties got wrong encoding?

2013-01-31 Thread Bob Harner
Yes to both, although it may take me a day or two to get to it. On Thu, Jan 31, 2013 at 11:01 AM, Christian Riedel cr.ml...@googlemail.com wrote: Hi Bob, would you be able to restore the correct encoding? Should I open a JIRA? Cheers Christian Am 31.01.2013 um 04:19 schrieb Bob Harner

Re: [Tapestry4.1] web site links broken

2013-01-31 Thread Bob Harner
This seems to be a (hopefully temporary) casualty of the switch that was made a couple of days ago to a svnpubsub approach to publishing the docs. So far only a subset of the older docs have survived the transition:

Re: project template and page changes don't get picked up by maven jetty plugin?

2013-02-05 Thread Bob Harner
Take a look at the troubleshooting section at the bottom of http://tapestry.apache.org/class-reloading.html -- the problem is usually one of the things listed there. On Tue, Feb 5, 2013 at 9:58 AM, John j...@quivinco.com wrote: Usually any changes I make to my page sources are built and deployed

Re: getting tapestry out there

2013-02-10 Thread Bob Harner
John, One of the markets I am intersted in serving has settled on JSF as the technology of choice. So there are loads of devs out there they can pick from. What hope is there of breaking this stranglehold of an etablished standard technology with tapestry? I wish I had a good answer for

Re: Issue in special characters displaying from properties file

2013-02-12 Thread Bob Harner
For property files that are expected to have international characters, the problem with using ISO-8859-1 is that a great many of those characters require \x escape sequences, and that makes the text unreadable to the human eye, so then you need some special editor support (e.g. a plugin). As

Re: simple page render

2013-02-18 Thread Bob Harner
I think you'll actually find Ivan's second suggestion more productive. Each page (tml and empty java class) should take you no more than 60 seconds to create by copying and pasting, and then you'll have a good starting point for fleshing out real functionality later. On Mon, Feb 18, 2013 at 3:00

Re: SinglePage app design thoughts

2013-02-18 Thread Bob Harner
For uploading, take a look at http://tapestry5-jquery.com/components/docsajaxupload and http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ -- both of which use the highly regarded valums file uploader (now called Fine Uploader). On Mon, Feb 18, 2013 at 2:49 PM, bigcache1

Re: getting tapestry out there

2013-02-19 Thread Bob Harner
such people can be doing useful work in Tapestry in just a day or so, and quite proficient in a few days. So in my opinion the lack of developers who have Tapestry on their resume *shouldn't* be a concern, in an ideal world. On Sun, Feb 10, 2013 at 7:35 AM, Bob Harner bobhar...@gmail.com wrote: John

Re: Change Page template file extentions to .HTML

2013-02-23 Thread Bob Harner
David, Doing so is probably possible but is not recommended. It will lead to lots of small problems that won't be worth the trouble. It would be like renaming Microsoft Word files to use a .txt extension and changing your OS to open .txt files with MS Word. You might get it to work, but you just

Re: button tag

2013-02-24 Thread Bob Harner
You could just use a regular pagelink, actionlink or event link and style it (with CSS) to look like a button. If you really want to use a button element, you can. But you'll have to decide out how to get the Tapestry-generated URL to the browser, with a JavaScript click event handler. Maybe get

Re: html5 - input (and other void elements)

2013-02-25 Thread Bob Harner
At first I thought that maybe Dom Manipuation could be used as a work-around to fix the output. But no, rendering to markup occurs *after* Dom manipulation. So I don't think there is a way to do what you're looking for at the current time, although I'll be happy to have somebody correct me. On

Re: How to add an image to a tapestry page?

2013-02-26 Thread Bob Harner
Assuming you're willing to bundle the image with your application, you'll probably want to use the ${context:...} binding prefix for the URL of the image so that Tapestry will emit a far-future expires header and automatic versioning of the URL. img src=${context:images/logo.png} alt=Banner/

Re: Checking if user has left the page or refreshed it

2013-03-06 Thread Bob Harner
Be aware that the referer header is unreliable. It is frequently blocked by proxies, and in the case of SSL I believe it is (usually? always?) not present. On Tue, Mar 5, 2013 at 3:58 PM, bhorvat horvat.z.bo...@gmail.com wrote: Cool I will then try what you suggested. The pageReset event looks

Triggering a form submission via JavaScript in 5.4-alpha2

2013-03-09 Thread Bob Harner
Has anyone figured out how to trigger a form submission using JavaScript in Tapestry 5.4? In 5.3 I was able to do this: this.form.fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT) but that does nothing under 5.4. - To unsubscribe,

Re: Triggering a form submission via JavaScript in 5.4-alpha2

2013-03-10 Thread Bob Harner
Still no progress on this. I forgot to mention that this is with a zone. @Lance: I rendered a submit button (not hidden, for now): t:form ... zone=listZone t:submit t:id=categorySubmit id=categorySubmit value=Go/ /t:form and then t:select onchange=console.log(onchange executing.);

Re: Triggering a form submission via JavaScript in 5.4-alpha2

2013-03-10 Thread Bob Harner
Steve, Yeah, I hadn't gotten around to switching this code to unobtrusive JavaScript yet and was hoping for a quick substitute. Your code did the trick, it works perfectly. Of course, I'll still need to adjust the module to set up a additional event handlers for other events, but I guess I can

Re: Triggering a form submission via JavaScript in 5.4-alpha2

2013-03-10 Thread Bob Harner
jsSupport.require() once when the page loads: define [t5/core/dom], (t5) - return - t5.onDocument change, select, (e) - form = this.findParent(form) form.trigger submit Steve. On 11 March 2013 09:06, Bob Harner bobhar...@gmail.com wrote: Steve, Yeah, I hadn't gotten around

Re: Streaming a binary file - IllegalArgumentException

2013-03-16 Thread Bob Harner
The src attribute of the img element requires the URL of the image, not the image contents. On Mar 16, 2013 7:46 PM, Bela Takacs bela.takacs@gmail.com wrote: Hi All, I am writing my very first program using Tapestry, and I've got my first problem... I want to display an image in my

Re: is there a way to get the hostname:port and IP address

2013-03-17 Thread Bob Harner
The Tapestry-related answer is that Tapestry provides an injectable service, Request [1], that is a shadow of the current thread's HTTPServletRequest [2]: import org.apache.tapestry5.services.Request; @Inject Request request; public String getRemoteHost() { return request.getRemoteHost(); }

Re: For Nabble users

2013-03-21 Thread Bob Harner
Yeah, I 'm with you, Lance. And I didn't think the annoyances of the nabble posts were significant. On Mar 21, 2013 7:06 PM, Lance Java lance.j...@googlemail.com wrote: That's actually really annoying for me. Most workplaces don't allow personal email but they do allow Nabble. Sure I can

Re: For Nabble users

2013-03-22 Thread Bob Harner
then I recommend that people like Lance use a webmail service in situations where they can't use an email client. Uli On 22.03.2013 00:45, Bob Harner wrote: Yeah, I 'm with you, Lance. And I didn't think the annoyances of the nabble posts were significant. On Mar 21, 2013 7:06 PM, Lance

Re: intermittent stack trace

2013-03-24 Thread Bob Harner
I've also seen this error when a form submission takes so long to return that users get frustrated and click into URL field of the browser and hit Enter. This submits the URL as a GET instead of a POST. On Mar 22, 2013 1:59 PM, Ken in Nashua kcola...@live.com wrote: Hi Folks, Could I get some

Re: Can't build tapestry 5.3

2013-03-25 Thread Bob Harner
Lance, Are you able to build without tests? ./gradlew build -x test Or you can try just skipping the plastic tests the same way, in case that helps narrow things down. Have you scanned through http://tapestry.apache.org/building-tapestry-from-source.html to make sure you didn't miss

Re: binding an enum to a radio group

2013-04-05 Thread Bob Harner
No, Tapestry doesn't have a single component that will generate a list of radio buttons. There is a checklist component, but no corresponding radiolist. But even if something like a radiolist component existed, it might not be quite what you'd want. That's because, unlike a select element, HTML

Re: Tapestry 5.4-alpha-3

2013-04-07 Thread Bob Harner
Hantsy, you might want to start a separate thread. Your question isn't about 5.4-alpha-3 at all. On Sun, Apr 7, 2013 at 9:23 AM, hantsy han...@yahoo.com.cn wrote: I want to know if Tapestry has plan to integrate with Java EE, such as how to use CDI with Tapestry, I know Tapestry has its DI

Re: Tapestry 5 and Java EE6/CDI

2013-04-07 Thread Bob Harner
Hantsy, For the non-CDI parts of your question: Remember that JEE is really just a very large, only loosely-related bag of specifications and reference implementations. It includes JPA, JCA, JSF, JDBC http://en.wikipedia.org/wiki/Java_Database_Connectivity,

Re: delegating to block with different wrapper html problem

2013-04-21 Thread Bob Harner
Yes, this is such a common mistake that the error probably should be much clearer. On Sun, Apr 21, 2013 at 11:27 AM, Todd Orr torr0...@gmail.com wrote: Thanks! On Sun, Apr 21, 2013 at 9:34 AM, Taha Siddiqi tawus.tapes...@gmail.com wrote: You can't use property expressions with component

Re: debugging T5.3.6 with jetty into eclipse

2013-04-30 Thread Bob Harner
Check all the items in the troubleshooting section at the bottom of http://tapestry.apache.org/class-reloading.html On Apr 29, 2013 8:58 AM, George Christman gchrist...@cardaddy.com wrote: Have you checked to ensure your not running in production mode? On Mon, Apr 29, 2013 at 6:56 AM, Alberto

Re: permgen error

2013-05-08 Thread Bob Harner
If you're running in development mode and have made a lot of iterative changes to page/component/mixin/service classes since the last restart (a lot being dozens or hundreds, depending on your MaxPermSize setting), this can be considered normal. Tapestry's live class reloading does chew up permgen

Re: Tapestry IoC: Symbols and Defaults

2013-05-27 Thread Bob Harner
Having an optional default value on @Symbol seems useful to me. On Mon, May 27, 2013 at 4:42 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 27 May 2013 17:23:36 -0300, Eli Doran e...@elidoran.com wrote: I've used @Symbols a lot. I appreciate its flexibility and coercion

Re: npe on simple type usage

2013-05-30 Thread Bob Harner
Ken, please try to moderate your own posts better, as others have said. Four emails in about an hour, with only you replying to your own emails, is a real waste of everybody's attention. Until you've spent at least a few hours on a problem, you're probably not stuck enough to beg free time from

Re: URLEncoderImpl throws exception when resource has ablank

2013-06-23 Thread Bob Harner
Do the URLs in the request really have spaces? If so, they aren't valid and should be encoded as + or %20 when the requests are being created. But if the spaces were encoded correctly then there is another isssue. On Jun 22, 2013 5:50 PM, John j...@quivinco.com wrote: Hi, I'm trying to use a

Re: Overriding default CSS for validation errors

2013-09-02 Thread Bob Harner
CSS problems like this are usually best solved by making the rule more *specific*. In CSS, the more specific rule wins. In simplistic terms, this means using more selectors. For example, just add body, like this: body .t-error-popup span{

Re: Overriding default CSS for validation errors

2013-09-02 Thread Bob Harner
help and assistance. Much appreciated. Best Regards, Sanket On Mon, Sep 2, 2013 at 6:37 PM, Bob Harner bobhar...@gmail.com wrote: CSS problems like this are usually best solved by making the rule more *specific*. In CSS, the more specific rule wins. In simplistic terms, this means

Re: Eclipse Tapestry5 Plugin update

2013-09-16 Thread Bob Harner
I just tried this plugin for the first time. Very nice! I could really get addicted to having the Tapestry Context view on the screen. Also, I noticed that in my component classes the properties that I have annotated with @Property or @Parameter no longer show the yellow underline value not used

Re: Setting css property dynamically

2013-09-25 Thread Bob Harner
My suspicion would be with your cdn binding implementation. As an experiment, if you leave it off, does the url value get updated at all? background:url(${prop:theme?.imageUrl}) no-repeat top On Wed, Sep 25, 2013 at 9:22 AM, Borut Bolčina borut.bolc...@gmail.comwrote: Hi, what is

Re: About Tapestry 5.4

2013-09-27 Thread Bob Harner
As for the documentation, very little changes with 5.4, except notably the JavaScript, Ajax/Zones, and CSS pages, which will need major work. I'm planning on introducing a tab mechanism that let's us keep alternate versions of code examples text at the same spot on the page, and hopefully it

Re: About Tapestry 5.4

2013-09-27 Thread Bob Harner
I have no such powers On Fri, Sep 27, 2013 at 7:46 PM, Kalle Korhonen kalle.o.korho...@gmail.comwrote: On Fri, Sep 27, 2013 at 4:35 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Fri, 27 Sep 2013 18:46:45 -0300, Muhammad Gelbana m.gelb...@gmail.com wrote:Bob, if I can

Re: An idea to improve the documentation

2013-10-14 Thread Bob Harner
A good idea, although there is some added risk of broken links as source code gets moved around with new releases. Do you have any specific places in the documentation where you think a link to Tapestry's source code would be helpful? On Mon, Oct 14, 2013 at 7:09 AM, Muhammad Gelbana

Re: An idea to improve the documentation

2013-10-14 Thread Bob Harner
for this http://developer.android.com/reference/android/app/Activity.html As you see in the link, you can click the (view source) link beside each class name to view the related source code. On Mon, Oct 14, 2013 at 6:17 PM, Bob Harner bobhar...@gmail.com wrote: A good idea, although there is some

Re: PageRenderLinkSource inside periodic executor

2013-10-14 Thread Bob Harner
Just a word of caution that Dmitry's sample code uses an internal class (LinkImpl) subject to change. On Mon, Oct 14, 2013 at 2:54 PM, Dmitry Gusev dmitry.gu...@gmail.comwrote: Here is a code snippet I use in my projects to generate links in offline:

Re: T5.4 ajax select menu bug

2013-10-16 Thread Bob Harner
I noticed a couple of days ago in 5.4 alpha 22 that the SelectModel is now being used on form render AND submission whereas it used to be used only on render of the form. This is a big deal performance-wise because creation of the SelectModel commonly involves a database query to populated a list

Re: T5.4 ajax select menu bug

2013-10-16 Thread Bob Harner
the subject line to 5.4, I forget T4 actually existed. Unless there is another work around, I was unable to get this to work without the use of @Persist. Hopefully this is just a regression bug that can be resolved. Should this be reported? On Wed, Oct 16, 2013 at 7:01 AM, Bob Harner bobhar

Re: [5.4.23] Troubleshooting Live Class Reloading

2013-10-25 Thread Bob Harner
Peter, To be 100% sure you are running in development mode, look in the console log as Tapestry is starting up. It should have (development mode) next to the Tapestry5 ASCII art. Whenever I have had a problem with Live Class Reloading not working, I have gone through the Troubleshooting section

Re: Arabic locale

2013-10-27 Thread Bob Harner
It's easy... Read http://tapestry.apache.org/localization.html -- especially the very last section. I've done these before myself and will be happy to commit them. On Oct 27, 2013 11:50 AM, Muhammad Gelbana m.gelb...@gmail.com wrote: I'd like to provide Arabic translations to help have the

Re: [5.4] Is preview-able TML dead?

2013-10-30 Thread Bob Harner
Previewable templates are a great marketing bullet point, but whether you use them depends on your circumstances: 1) You have no UI designer (i.e., the developers are the designers) -- there is probably no need for previewable templates. 2) You have designers who are willing to use some

Re: Turn off HTML encoding

2013-11-15 Thread Bob Harner
Sounds like you need to use the OutputRaw component On Nov 15, 2013 3:18 AM, Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Tapestry automatically encodes HTML like to lt; , which is nice as a part of XSS prevention. But we also have some own javascript components where this doesnt

Re: Application properties

2014-01-07 Thread Bob Harner
You have all the options available to you that any other Java app provides: 1) put name/value pairs in a CONFIGURATION table in the database. 2) put name/value pairs in a property file in a location of your choosing. Java has built-in features to read property files 3) set system properties or

Re: what happened to HibernateCoreMessages in T5.4 ?

2014-01-14 Thread Bob Harner
One of the changes in 5.4 was to combine the many small properties files into one core property file. Hopefully the Hibernate values made it in there, but I'm not at my computer right now to check. On Jan 14, 2014 3:56 PM, nhhockeyplayer nashua nhhockeypla...@hotmail.com wrote: ? deprecated ?

Re: kaptcha component reloading issues with Firefox

2014-01-24 Thread Bob Harner
Actually, Tapestry's Response interface and ResponseImpl implementation (a thin facade over HttpServletResponse) don't include an addHeader method, so we would either have to 1) combine the two setHeader calls or 2) use HttpServletResponse directly, or 3) change the Response interface (a

Re: [ANN] JumpStart Preview: for Tapestry 5.4

2014-01-27 Thread Bob Harner
Geoff, this is really great. It's amazing how much of an improvement it is to display the file listings in separate tabs. A minor thing, in Chrome (but not IE) it looks like there's a layout problem with the checkboxes on the

Re: 5.4 Select component isn't resetting on page refresh.

2014-01-29 Thread Bob Harner
George, If I understand your question correctly, you're just seeing standard browser refresh behavior there. F5 refreshes the page but retains all entered-but-not-submitted form values. To get the behavior you're looking for, try Control+F5. On Jan 21, 2014 11:40 AM, George Christman

Re: Mixup with page resolution

2014-02-02 Thread Bob Harner
I'm with Lance in thinking that an exception should be thrown. The exception message should list the conflicting page names, of course. On Jan 31, 2014 10:38 AM, Mauricio Aldazosa mauricio.aldaz...@gmail.com wrote: On Thu, Jan 30, 2014 at 2:35 AM, Lance Java lance.j...@googlemail.com wrote:

Re: Freeze Colums in Grid

2014-02-05 Thread Bob Harner
I think this is about being able to scroll horizontally int he browser and yet keeping the first 2 columns on the screen, as described here: http://stackoverflow.com/questions/1312236/how-do-i-create-an-html-table-with-fixed-frozen-left-column-and-scrollable-body But since the Tapestry Grid

Use cases for the any component

2014-03-02 Thread Bob Harner
Hi Tapestry users, Does anyone have any good use cases for the any component? http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Any.html So far I have only come up with two: 1) When you want to dynamically output a different HTML element depending on a

Re: Use cases for the any component

2014-03-05 Thread Bob Harner
javadocs. I meant javadocs On Wed, Mar 5, 2014 at 8:23 AM, Bob Harner bobhar...@gmail.com wrote: Thanks, everybody! I'll be updating the avocados for that component soon, with examples. On Wed, Mar 5, 2014 at 8:08 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: My biggest use

Re: Use cases for the any component

2014-03-05 Thread Bob Harner
Thanks, everybody! I'll be updating the avocados for that component soon, with examples. On Wed, Mar 5, 2014 at 8:08 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: My biggest use is the same as Kristian mentioned: to generate a unique client id to pass to javascript. It's

Re: Use cases for the any component

2014-03-05 Thread Bob Harner
Geoff, Kristian, do you have any examples for using the any component when you need to generate a unique client id to pass to JavaScript? On Wed, Mar 5, 2014 at 8:23 AM, Bob Harner bobhar...@gmail.com wrote: javadocs. I meant javadocs On Wed, Mar 5, 2014 at 8:23 AM, Bob Harner bobhar

Re: Use cases for the any component

2014-03-06 Thread Bob Harner
); } } }); // Select the clicked selectable. $clicked.addClass(selectedClass); $clicked.trigger(selected); }); }; }); On 06/03/2014, at 1:17 PM, Bob Harner

Re: Persist object fails

2014-03-07 Thread Bob Harner
I know of many cases of Tapestry 5.3.x web apps running on Java 1.7 and Tomcat in production. No problems, as long as the version of Tomcat chosen is Java 1.7-compatible. On Mar 6, 2014 5:28 PM, Cezary Biernacki cezary...@gmail.com wrote: Tapestry uses Servlet API to persist data, so if they are

Re: Tapestry App Not booting right - dependency tree help

2014-03-08 Thread Bob Harner
Ken, you're shooting yourself in your own foot. Without an apology for those rants you might have trouble getting much help on this mailing list from the many people you insulted. Just saying... On Thu, Mar 6, 2014 at 3:17 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Sun, 02 Mar

Re: tapestry doc error typo... is this explainable ?

2014-03-12 Thread Bob Harner
http://tapestry.apache.org/schema/tapestry_5_3.xsd works for me, no problem On Mar 12, 2014 7:54 AM, nhhockeyplayer nashua nhhockeypla...@hotmail.com wrote: Hey BROGrammers Can someone explain why this document https://tapestry.apache.org/component-templates.html documents a specific URL

Re: Tapestry 5 eurodns

2014-03-13 Thread Bob Harner
I think it would require their permission to do so. Lots of site owners don't want their site's underlying tech publicized. On Mar 13, 2014 5:28 AM, Dimitris Zenios dimitris.zen...@gmail.com wrote: Just found out that tapestry 5 is been used to develop eurodns website. Maybe it can be put

Re: Navigation control in Layout component not rendering properly 5.4beta3 quickstart app

2014-03-16 Thread Bob Harner
I noticed this myself last week. An issue in JIRA would be helpful, yes. On Mar 16, 2014 3:50 PM, Jon Williams williams.jonat...@gmail.com wrote: this is a fix @Import(stylesheet = {library = {context:mybootstrap/dist/js/bootstrap.js}) public class Layout... On Sun, Mar 16, 2014 at 10:04

Re: How to handle form warnings?

2014-03-17 Thread Bob Harner
I believe Lance's #2 is only true for 5.4 (since https://issues.apache.org/jira/browse/TAP5-1808) On Mon, Mar 17, 2014 at 2:45 PM, Lance Java lance.j...@googlemail.com wrote: 1. If you use a block you can use a delegate to render it in the 2 scenarios. 2. Tapestry does not redirect after post

Re: [5.4B3] File Upload Error

2014-03-24 Thread Bob Harner
Mike, Not a direct answer to your question, but as part of resolving TAP5-2295 recently I did change Tapestry-upload's commons-io dependency from 2.0.1 to 2.2. That change has not yet made it into any regular or beta release yet, though. On Mon, Mar 24, 2014 at 2:46 PM, Michael Gentry

Re: select problem render queue

2014-07-14 Thread Bob Harner
I haven't read through this thread very carefully, but last week I got a nearly identical stack trace. It was from Palette, not Select, but those components have a lot of identical code. In my case the problem was that the SelectModel had all of the expected values *except* the selected value.

Re: contribute to head from a page

2011-05-07 Thread Bob Harner
I guess you could call addScriptLink() from your serupRender() method. See http://tapestry.apache.org/javascript.html Bob Harner On May 7, 2011 4:35 AM, stephanos2k stephan.beh...@googlemail.com wrote:

Re: contribute to head from a page

2011-05-07 Thread Bob Harner
/JavaScriptSupport.html I'll make a note to update our docs. On Sat, May 7, 2011 at 9:01 AM, Bob Harner bobhar...@gmail.com wrote: I guess you could call addScriptLink() from your serupRender()  method. See http://tapestry.apache.org/javascript.html Bob Harner On May 7, 2011 4:35 AM, stephanos2k stephan.beh

Re: about select model

2011-05-19 Thread Bob Harner
Also see http://jumpstart.doublenegative.com.au/jumpstart/examples/select/easyobject, although it is perhaps not the simplest implementation. On Thu, May 19, 2011 at 5:11 AM, ningdh ningd...@gmail.com wrote: Hi, use SelectModelFactory. DH - Original Message - From: libaoming

Re: A new T5 site! www.bookmarkerpro.com

2011-05-25 Thread Bob Harner
By back end I think Joel means the part you see after you create an account. Bob Harner On May 25, 2011 5:48 AM, George Banus georgeba...@gmail.com wrote: Wao, what a brilliant idea to gain some popularity for your site. What do you mean by you use Tapestry for the backend? Tapestry is a front

Re: T5: property expression language intelligence

2011-05-25 Thread Bob Harner
Seems like unnecessary complexity to me. Bob Harner On May 25, 2011 5:51 PM, Adam Zimowski zimowsk...@gmail.com wrote: Guys - it is interesting to see your perspectives, I appreciate this. What if this could be a configurable setting? I have several beans like this and a very large app. Quite

Re: White Background on Zone Update

2011-05-26 Thread Bob Harner
Jack, I'm not seeing this happen myself in the test case I made (ok, IE flashes a little, but FF Chrome work fine). Have you tried changing setting the zone's update parameter to show? t:eventlink t:id=clicker context=test zone=myzonetest/t:eventlink/td t:zone t:id=myzone elementName=div

Re: datefield - no option to cancel?

2011-05-27 Thread Bob Harner
I would suggest attaching your code to one of those JIRA issues mentioned. Bob Harner On May 27, 2011 2:52 AM, antalk ant...@intercommit.nl wrote:

Re: Simpler Select configuration

2011-06-01 Thread Bob Harner
Inge, Interesting ideas. I agree that it would be nice to have a SelectModel created automatically from the parameters passed to the Select component. In fact, Select can do this already, with some limitations. That is, if you provide a property of type List for the model parameter (and don't

Re: What to use for multiple select = (MultiplePropertySelect || Select with Multiple=true)

2011-06-02 Thread Bob Harner
Nazar, I know this isn't really an answer to your question, but many people find the select multiple=true hard to use. Usually preferable alternatives are multiple checkboxes (perhaps within a scrolling div), or Tapestry's Palette component

Re: Simpler Select configuration

2011-06-03 Thread Bob Harner
I would prefer to see something more familiar-looking: t:select model=someList value=oneItem option value=oneItem.id${oneItem.name}/option /t:select Not sure how possible that is. But it sure would be a lot more flexible, and a lot easier for newbies to understand. On Fri, Jun 3, 2011 at

Re: expansions and expresion language

2011-06-10 Thread Bob Harner
Bogdan (and everybody), We're working on improving Google's ability to search Tapestry docs. Meanwhile, http://tapestry.apache.org/search is by far the best place to start. Searching there for expressions brings up the right page as the very first result. Hope this helps next time... Bob Harner

Re: [ANN] JumpStart 5.3.5 released

2011-06-20 Thread Bob Harner
Geoff, JumpStart is the most valuable resource I know of for learning to use Tapestry. Thanks so much for providing it! One thing I would suggest -- and I know this is a lot to ask -- would be to (eventually, some day) move away from the use of leading underscores in the private variables. I

Re: [ANN] JumpStart 5.3.5 released

2011-06-22 Thread Bob Harner
at 10:03 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: Done. Released as version 5.3.7. On 21/06/2011, at 2:01 PM, Geoff Callender wrote: On 21/06/2011, at 11:22 AM, Bob Harner wrote: Geoff, JumpStart is the most valuable resource I know of for learning to use Tapestry. Thanks

  1   2   3   4   >