Re: Tapestry 5.4.1 Confirm mixin prevents onSuccessFrom... event from working

2016-12-07 Thread George Ludwig
case works ok given that the only time I need a confirm dialog is for the Delete action. But I can't help but wonder if it isn't supposed to work on a form button... On Fri, Nov 11, 2016 at 11:44 AM, George Ludwig wrote: > Hi all, > > I've got a pretty simple test project i

Tapestry 5.4.1 Confirm mixin prevents onSuccessFrom... event from working

2016-11-11 Thread George Ludwig
Hi all, I've got a pretty simple test project in Tap 5.4.1. Everything works as expected, but when I add the built-in Confirm mixin to a component form, the onSuccessFrom... event does not work. The confirm dialog works as expected, but when I click ok, nothing happens (Other than the confirm dial

Re: T5.3.8 ClassNotFound error ONLY when running on a virtualized server?!

2016-01-18 Thread George Ludwig
rge. > > Are you sure the specific directory and its content is readable by Tomcat? > Maybe some File-specific exceptions get silently catched on the way and > substituted with 'null' instead of empty array. > > Just my 2c. > > Cheers, > Andi. > > On 18 Jan 2016,

T5.3.8 ClassNotFound error ONLY when running on a virtualized server?!

2016-01-17 Thread George Ludwig
I'm trying to move a Tapestry app to the cloud, and came across this confounding error. I'm running Tomcat 7 and JDK 7 on CentOS. The war file works fine in my lab running on a bare metal CentOS 6.5 box, but when I run it in the cloud (RackSpace) on CentOS 6.7 or 7.2 (my only CentOS options), it bl

Anyone implemented Braintree recurring payments in Tapestry?

2015-07-08 Thread George Ludwig
I'm asking, because I'm up to my elbows in it. What's the most straightforward way to get the payment nonce back to the server? I figure it has to do with creating an event link via javascript support, but I'm unclear on the details. If anyone has done anything similar and can point to an example

alternative a better validation decorator?

2013-11-30 Thread George Ludwig
I've been trying to integrate Bootstrap's modal dialog as a Tapestry validation decorator, but not having a lot of luck. Has anyone successfully done anything similar? My goal is to have a validation error box appear when there is a problem with the field; the user clicks ok and it goes away. My i

Re: how to configure jquery/autocomplete for ssl?

2013-09-17 Thread George Ludwig
ontributeApplicationDefaults(**final > MappedConfiguration configuration) { > configuration.add(**SymbolConstants.SECURE_**ENABLED, "true"); > > > 17.09.2013 13:07, George Ludwig пишет: > > I recently secured my webapp using an ssl certificate. Everything is >> gre

how to configure jquery/autocomplete for ssl?

2013-09-17 Thread George Ludwig
I recently secured my webapp using an ssl certificate. Everything is great, except the jquery/autocomplete mixin generates an ajax url with an http protocal, rather than an https protocol, causing the ajax call to fail. Is there an easy way to configure the protocol used?

Re: What's an elegant way to set the source dir for jquery/showSource?

2013-07-28 Thread George Ludwig
hub.com/uklance/tapestry-stitch/blob/master/pom.xml#L73 > > https://github.com/uklance/tapestry-stitch-demo/blob/master/pom.xml#L16 > > > > > > > > > > On 25 July 2013 18:49, George Ludwig wrote: > > > >> I have a few Tapestry 5.3.x component proj

What's an elegant way to set the source dir for jquery/showSource?

2013-07-25 Thread George Ludwig
I have a few Tapestry 5.3.x component projects. As part of the test code, there is a webapp that uses jquery/showSource, to display the source of the test page to instruct the user on how to use the component. For example, the tapestry5-highcharts project does exactly this. My question is, is ther

Re: Best practice for managing JS dependencies in a component project?

2013-07-23 Thread George Ludwig
"And be the first to write an open-source component library on the top of Raphael. " I might just do that, I'm getting good at wrapping JS librairies :) On Tue, Jul 23, 2013 at 2:10 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 23 Jul 201

Re: Best practice for managing JS dependencies in a component project?

2013-07-23 Thread George Ludwig
rying about until someone includes Raphael as part of another project, and it causes problems... Thanks! -George On Tue, Jul 23, 2013 at 1:54 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 23 Jul 2013 17:36:09 -0300, George Ludwig > wrote: > > I&#

Re: Best practice for managing JS dependencies in a component project?

2013-07-23 Thread George Ludwig
I'm on 5.3...is 5.4 stable enough to use? On Tue, Jul 23, 2013 at 12:48 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > What Tapestry version? The answer will be different for 5.3 or 5.4. > > > On Tue, 23 Jul 2013 15:59:16 -0300, George Ludwig > wr

Best practice for managing JS dependencies in a component project?

2013-07-23 Thread George Ludwig
I'm working on a component project that integrates a JS library with Tapestry. The library has a couple of external dependencies: jQuery, Raphael, as well as it's own CSS file. My question is, what is the best way to handle these dependencies? Do I just put the .js and .css in an asset directory (

Re: guidance with integrating yet another js library as custom component

2013-07-09 Thread George Ludwig
n anywhere I can take a look at? -George On Tue, Jul 9, 2013 at 10:53 AM, George Ludwig wrote: > Thanks for those links! > > > On Sun, Jul 7, 2013 at 11:00 PM, Geoff Callender < > geoff.callender.jumpst...@gmail.com> wrote: > >> These examples descr

Re: guidance with integrating yet another js library as custom component

2013-07-09 Thread George Ludwig
es/javascript/javascript > - > > http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/reusable > - > http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/robust > > HTH, > > Geoff > > > On 3 July 2013 06:25, George Ludwig wrote

Re: guidance with integrating yet another js library as custom component

2013-07-09 Thread George Ludwig
l 8, 2013 at 4:44 AM, Lance Java wrote: > I think you want to @Inject the AssetSource to lookup the Asset. You can > then call Asset.toClientUrl() to get an href for the asset which you can > pass to your js library to use. > On 4 Jul 2013 23:32, "George Ludwig" wrote: >

Re: guidance with integrating yet another js library as custom component

2013-07-09 Thread George Ludwig
You were totally right...my brainfart didn't notice that the data files were in the wrong directory. On Mon, Jul 8, 2013 at 5:09 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sun, 07 Jul 2013 16:59:18 -0300, George Ludwig > wrote: > > Here&#

Re: guidance with integrating yet another js library as custom component

2013-07-07 Thread George Ludwig
http://localhost:8080/myfile.ext) and it still returns the contents of the index page. It returns the same thing even when I type in a URL for a non-existent file. Is this a tapestry or jetty setting that I've missed? On Thu, Jul 4, 2013 at 3:32 PM, George Ludwig wrote: > Thiago, > >

Re: guidance with integrating yet another js library as custom component

2013-07-04 Thread George Ludwig
t now this error is completely about > Sigma and JavaScript and not about Tapestry itself. What Tapestry version > are you using? JavaScript minification is enabled? > > > On Thu, 04 Jul 2013 01:36:04 -0300, George Ludwig > wrote: > > I'm at a point where it seems

Re: guidance with integrating yet another js library as custom component

2013-07-03 Thread George Ludwig
; } } This seems to be a load order issue, yet I tried swapping the order of declaration of sigma.parseGexf.js and sigma.min.js, with the same result. Any thoughts? -George On Tue, Jul 2, 2013 at 5:43 PM, George Ludwig wrote: > Cool, thanks a lot! > > > On Tue, Jul 2, 2013 at 3:50 P

Re: guidance with integrating yet another js library as custom component

2013-07-02 Thread George Ludwig
Cool, thanks a lot! On Tue, Jul 2, 2013 at 3:50 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 02 Jul 2013 19:47:14 -0300, George Ludwig > wrote: > > I think I got it...so to initialize my graph I need to pas it a file >> name...is it

Re: guidance with integrating yet another js library as custom component

2013-07-02 Thread George Ludwig
iag...@gmail.com> wrote: > On Tue, 02 Jul 2013 17:25:14 -0300, George Ludwig > wrote: > > Thanks for the info Thiago! >> >> Couldn't you just @Import to get the JS files included and >>>> >>> JavaScriptSupport.addScript() to invoke JS functions

Re: guidance with integrating yet another js library as custom component

2013-07-02 Thread George Ludwig
rote: > On Tue, 02 Jul 2013 15:35:20 -0300, George Ludwig > wrote: > > I'm working on a custom component of the SigmaJS visualization library ( >> http://sigmajs.org). >> Specifically, this example: http://sigmajs.org/examples/** >> gexf_example.html <http://s

guidance with integrating yet another js library as custom component

2013-07-02 Thread George Ludwig
I'm working on a custom component of the SigmaJS visualization library ( http://sigmajs.org). Specifically, this example: http://sigmajs.org/examples/gexf_example.html I'm starting with the simplest use case, which is to create a sigma viewer, passing it a single parameter, which is the name of a

Re: CompnentEventException while updating zone (HiddenFieldPositioner.getElement may no longer be invoked)

2013-06-02 Thread George Ludwig
Boris, thanks for the suggestion. Tried that, and now get a slightly different exception: Method org.apache.tapestry5.corelib.internal.HiddenFieldPositioner.getElement(HiddenFieldPositioner.java:83) may no longer be invoked. What I suspect is going on is this... On the page, there is a composite

Re: CompnentEventException while updating zone (HiddenFieldPositioner.getElement may no longer be invoked)

2013-06-01 Thread George Ludwig
at 3:03 PM, George Ludwig wrote: > I'm getting this exception while updating a zone: > > Method > org.apache.tapestry5.corelib.internal.HiddenFieldPositioner.getElement(HiddenFieldPositioner.java:83) > may no longer be invoked > > My code does this: > > ajaxResponseRend

CompnentEventException while updating zone (HiddenFieldPositioner.getElement may no longer be invoked)

2013-06-01 Thread George Ludwig
I'm getting this exception while updating a zone: Method org.apache.tapestry5.corelib.internal.HiddenFieldPositioner.getElement(HiddenFieldPositioner.java:83) may no longer be invoked My code does this: ajaxResponseRenderer.addRender(myZone); This is called when a page component calls an update

Re: loop component only reads 'value" once, renders same object each time?

2013-06-01 Thread George Ludwig
Is there any reason why you are not using @Property annotation on the > currentObject? > > Try it maybe it will help > > > On Sat, Jun 1, 2013 at 9:35 PM, George Ludwig >wrote: > > > This used to work, and now it doesn't and I'm at a loss. > > > >

loop component only reads 'value" once, renders same object each time?

2013-06-01 Thread George Ludwig
This used to work, and now it doesn't and I'm at a loss. What I see happening is that setCurrentObject is called the correct number of times (4), with the correct value each time. However, getCurrentObject is only called once. The list is rendered the correct number of times (4x), but it renders

Re: how to trigger onValueChanged from AutoComplete mixin?

2013-05-28 Thread George Ludwig
the place that you need to modify to get the desired behavior. > > > On Mon, May 27, 2013 at 11:25 PM, George Ludwig >wrote: > > > I've got a custom textfield that uses the autocomplete mixin. Everything > is > > working great except that when the user clicks on

Re: jQuery/bind mixin does not submit field value onChange

2013-05-28 Thread George Ludwig
Is that tap5-jquery 3.3.7-SNAPSHOT? I just checked my local copy, and it's at 4.0.0-SNAPSHOT. Just a little confused... On Tue, May 28, 2013 at 10:25 AM, Boris Horvat wrote: > Hi, > > I recently reported a bug whcih I think could be what you are talking > about. This was fixed in the new version

how to trigger onValueChanged from AutoComplete mixin?

2013-05-27 Thread George Ludwig
I've got a custom textfield that uses the autocomplete mixin. Everything is working great except that when the user clicks on an item in the matchlist, the onValueChanged event is not triggered. I'm it's possible, but I'm in over my head. As far as I can tell, I would need to trigger an event base

Re: Extend a mixin class as a component?

2013-05-22 Thread George Ludwig
challenge as far as making it all behave exactly the way it should. On Wed, May 22, 2013 at 12:30 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 22 May 2013 15:57:29 -0300, George Ludwig > wrote: > > @Thiago: The goal was not to apply a componen

Re: Extend a mixin class as a component?

2013-05-22 Thread George Ludwig
W, I believe I have permission to release this component as open source once it's completed, so any help would be much appreciated :) On Wed, May 22, 2013 at 5:28 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 21 May 2013 23:52:49 -0300, George Ludwig &g

Re: Extend a mixin class as a component?

2013-05-21 Thread George Ludwig
>>Why don't you create a component which uses the mixin instead of one that extends the mixin? Well, I've already got that component. I'd like to simplify it and have better control over it, and am exploring my options. My thought would be to subclass it and apply its behavior to a textfield withi

Extend a mixin class as a component?

2013-05-21 Thread George Ludwig
If I wanted to extend the Autocomplete mixin, can I extend it as a component? I.e., my new class would extend autocomplete, but it would be in the components package. Just wondering if this is good Tapestry form or not...

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread George Ludwig
I should probably look at more Tapestry source :) On Tue, May 21, 2013 at 4:02 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 21 May 2013 19:33:02 -0300, George Ludwig > wrote: > > Dmitry, >> >> Thanks for that, I didn't realize you

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread George Ludwig
Dmitry, Thanks for that, I didn't realize you could delegate to blocks from other pages! -George On Mon, May 20, 2013 at 11:30 PM, Dmitry Gusev wrote: > > But, if implement my pages with blocks, like: > > Page1.tml: > > > >Page1 > > > > Page2.tml > > > >

Re: Customize autocomplete mixin match list?

2013-05-21 Thread George Ludwig
Thanks for the replies...still working on this @Lance: Did you mean override protected JSONArray generateResponseJSON(List matches)? This method already works as I'd like it to...it calls the toString() method on every element of the list: protected JSONArray generateResponseJSON(List matches

Customize autocomplete mixin match list?

2013-05-15 Thread George Ludwig
I want customize the look of each item in the list created by the Autocomplete mixin. Currently, I just return an id for each object. But I'd rather return HTML-formatted output. For example, right now I just return a simple String to populate the match list: return getName(); But I want to add

Re: How to dynamically specify the template for the Dynamic component?

2013-05-07 Thread George Ludwig
mail.com> wrote: > On Tue, 07 May 2013 14:12:52 -0300, George Ludwig > wrote: > > I'm trying to use the Dynamic component so I can specify the tml at >> runtime. >> > > Notice the template parameter is of type Asset, so that's what you should > pass

How to dynamically specify the template for the Dynamic component?

2013-05-07 Thread George Ludwig
I'm trying to use the Dynamic component so I can specify the tml at runtime. These work:

Example of using the Dynamic component?

2013-05-03 Thread George Ludwig
Is there an example online anywhere? I don't see one on jumpstart, and google comes up dry... TIA! -George

Re: Acces page properties file within a component?

2013-04-08 Thread George Ludwig
ponentResources resources; ... resources.getContainerMessages().get(someKey); Just posting this in case someone else comes looking for a solution. On Fri, Apr 5, 2013 at 1:08 PM, George Ludwig wrote: > Thanks! > > > On Fri, Apr 5, 2013 at 12:52 PM, Thiago H de Paula Figueiredo < > t

Re: Acces page properties file within a component?

2013-04-05 Thread George Ludwig
Thanks! On Fri, Apr 5, 2013 at 12:52 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 05 Apr 2013 16:16:58 -0300, George Ludwig > wrote: > > I'm building a custom component, and want to render field labels similar >> to how the Tapestr

Acces page properties file within a component?

2013-04-05 Thread George Ludwig
I'm building a custom component, and want to render field labels similar to how the Tapestry components do, by reading a . parameter from the page's .properties file. Is there an easy way to read the properties file from within a component? I can get ComponentResources, and that will get me the Me

tapestry5 highstock integration?

2013-03-13 Thread George Ludwig
Obviously there's the highcharts integration, but I really want the built in date range features they have in highstock. Has someone already done such a project? I'm about to do it myself, but thought I'd check here first. I searched the web obviously, and came up with nothing. -George

Re: How to get a lot of data in to highcharts?

2013-03-09 Thread George Ludwig
y, March 9, 2013 10:01 PM > Subject: Re: How to get a lot of data in to highcharts? > > On 3/10/2013 5:40 AM, George Ludwig wrote: > > I've been reviewing the tapestry5/highcharts integration code, and I see > > that the data for the charts has been hardcoded in to a javascript

Re: Has anyone gotten the tapestry 5 highcharts demo webapp to run?

2013-03-09 Thread George Ludwig
he project. If anyone else is experiencing similar issues, it's worth a try. On Sat, Mar 9, 2013 at 12:31 PM, George Ludwig wrote: > @Francois: Thanks for reminding me to run it from the command line with > maven...that works fine. > > @Shing: I got the same excluded entry, but in m

Re: Has anyone gotten the tapestry 5 highcharts demo webapp to run?

2013-03-09 Thread George Ludwig
The above path is already in under default project path. Somehow, it is > not being picked up.) > > Shing > > > > > > From: George Ludwig > To: Tapestry users > Sent: Saturday, March 9, 2013 1:33 AM > Subject: Has anyone gotten

Re: OLark script block

2013-03-01 Thread George Ludwig
I'm dealing with this exact issue right now, and it makes me wonder why the UserVoice script works fine, but Olark does not. Harry, did you have to put this code on every page, or did you put it in the layout? Also, did you hard-code the script, or load it from a file? -George On Sun, Feb 26, 2

Re: How to disable bootstrap label/button hover behavior?

2013-03-01 Thread George Ludwig
p/commit/d7af2714c66ce19ba63e0871837f35dac73ecf66#less/labels-badges.less > > So, you can try to upgrade your bootstrap css. > > On Thu, Feb 21, 2013 at 1:20 AM, George Ludwig >wrote: > > > What approach did you take to the over ride? AFAIK, I would need to over > > rid

Re: deployment of images

2013-02-20 Thread George Ludwig
Ken, >But my app fails because somehoe the images for the tapestry component never made it. they dont exist inside my war file. This is a maven issue...you need to configure it to include the images. Your pom should have something like this in it: src/main/resources **/*.png

Re: How to disable bootstrap label/button hover behavior?

2013-02-20 Thread George Ludwig
What approach did you take to the over ride? AFAIK, I would need to over ride a lot of CSS in order to remove that functionality for all the badge and label types. For now, I did my over ride in the page CSS, but it's only. Thankfully, I'm only using one badge and one labelfor now at least.

Re: Spinner - Prototype to JQuery (ie tapestry5-jquery)

2013-02-18 Thread George Ludwig
Why bother converting it? You can run Prototype along with jQuery. On Mon, Feb 18, 2013 at 1:04 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 18 Feb 2013 17:54:25 -0300, bhorvat > wrote: > > Probably not the best place to ask (and probably not the best question as >>

Re: css layout problems, strange runtime behavior - help

2013-02-18 Thread George Ludwig
a Figueiredo < thiag...@gmail.com> wrote: > On Mon, 18 Feb 2013 13:13:30 -0300, George Ludwig > wrote: > > In CSS, the problem is almost always that some unexpected rule is being >> followed rather than the one you think. I've found Chrome to be an >> invaluable

Re: Trying to get tapestry-bootstrap running with 5.3.6

2013-02-13 Thread George Ludwig
n ellipsis appears in the wrong spot! On Wed, Feb 13, 2013 at 3:29 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 09 Feb 2013 02:08:17 -0200, George Ludwig > wrote: > > @Lenny: so running my app with the bootstrap stuff in it, the first thing >> I

Re: What is the syntax for multiple progressiveDisplay blocks on a page using tapestry5-jquery?

2013-02-12 Thread George Ludwig
lication ? > > Do you have a JavaScript error ? > > Manu > > > 2013/2/12 George Ludwig > > > Emmanuel, > > > > This is what I found. In the .tml before the progressiveDisplay blocks, I > > have this at the top of the page: > > > > > >

Re: What is the syntax for multiple progressiveDisplay blocks on a page using tapestry5-jquery?

2013-02-11 Thread George Ludwig
some timing issue. If I remove the eventlink from the block, then the progressiveDisplay blocks work correctly. This is %100 reproducible. As I said, this error only occurs when tapestry5-jquery is in the classpath. I find this very strange! -George On Mon, Feb 11, 2013 at 5:46 PM, George Ludwig

Re: What is the syntax for multiple progressiveDisplay blocks on a page using tapestry5-jquery?

2013-02-11 Thread George Ludwig
Emmanuel, I resolved the issue...thanks for your help! -George On Mon, Feb 11, 2013 at 5:34 PM, George Ludwig wrote: > I created an empty project using the tapestry prototype and imported > jquery, and sure enough, progressive display works. I guess I'm going to > have to start

Re: What is the syntax for multiple progressiveDisplay blocks on a page using tapestry5-jquery?

2013-02-11 Thread George Ludwig
I created an empty project using the tapestry prototype and imported jquery, and sure enough, progressive display works. I guess I'm going to have to start paring my app down until I discover what is causing the problem... On Mon, Feb 11, 2013 at 4:10 PM, George Ludwig wrote: >

Re: Trying to get tapestry-bootstrap running with 5.3.6

2013-02-08 Thread George Ludwig
to make it work if you really need of. I suspect you > don't. > > On Feb 8, 2013, at 10:27 PM, George Ludwig wrote: > > > @Lenny: I excluded tapestry-yuicompressor, and maven is happy, but I > can't > > help but wonder if something is actually going to need th

Re: Trying to get tapestry-bootstrap running with 5.3.6

2013-02-08 Thread George Ludwig
exclusions for every one of them. > > On Feb 8, 2013, at 10:23 PM, George Ludwig wrote: > > > @Lenny: I get the maven exclusion, but what exactly should I exclude? Is > it > > safe to exclude tapestry-yuicompressor on version 5.3.6? > > > > > >

Re: Trying to get tapestry-bootstrap running with 5.3.6

2013-02-08 Thread George Ludwig
; > > > > > On Fri, Feb 8, 2013 at 7:01 PM, Lenny Primak > wrote: > > > >> This is really a maven question. > >> Just put an exclusion in your bootstrap dependency and then > >> add your own tapestry dependency. > >> This way you cont

Re: Trying to get tapestry-bootstrap running with 5.3.6

2013-02-08 Thread George Ludwig
pendency and then > add your own tapestry dependency. > This way you control what versions you get. > > On Feb 8, 2013, at 9:12 PM, George Ludwig wrote: > > > I've been running in circles trying to make Eclipse and Maven happy with > > the dependencies, but I'

Trying to get tapestry-bootstrap running with 5.3.6

2013-02-08 Thread George Ludwig
I've been running in circles trying to make Eclipse and Maven happy with the dependencies, but I've had no luck. My final play was to download Jumpstart 6.6.5 and run the build, then upload tapestry5-jquery-3.3.4.jar and tapestry-bootstrap-2.1.3.jar to my artifact repository. I then ad those to m

Re: Appropriate use of ProgressiveDisplay?

2012-08-17 Thread George Ludwig
ProgressiveDisplay does almost exactly what I need, with a small exception. On the same page, some actionlinks should trigger it, while others should not. So today I hacked it to work the way I wanted...I'd appreciate it if someone can tell me if I did something monumentally stupid! I copied Progr

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
look > for, since that's what you're trying to replace. Most of the components > render themselves in code, with a MarkupWriter, rather than having a .tml > template, so the HTML you're looking for will be slightly obfuscated in > that regard. > > Or.. whatever

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
response > to events is a good idea. Tapestry isn't really about doing fancy UI > things while still pretending you're only writing server code. In terms of > client-side code, I think of Tapestry as a bit like an IoC service for the > page. > > Michael > > On 16

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
understand how the lifecycle or render cycle of this message can mesh with Tapestry's render cycle. On Thu, Aug 16, 2012 at 4:36 PM, George Ludwig wrote: > Christian, > > The thing is, I'm server-side guy being forced to do UI...I really don't > know where to start on

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
est using XHR to the server to get the expensive stuff. > > Best > Christian > > Am 16.08.2012 um 23:05 schrieb George Ludwig: > > > I want to use ProgressiveDisplay to display a message and spinner icon > when > > an operation is taking place. For example, when savi

Re: Creating a linked list of pages for easy backward navigation?

2012-08-16 Thread George Ludwig
it to null when I'm done with it? Best, George On Fri, Aug 3, 2012 at 8:01 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 03 Aug 2012 19:32:13 -0300, George Ludwig > wrote: > > Thiago, >> > > Hi, George! > > > Thanks, that

Re: Creating a linked list of pages for easy backward navigation?

2012-08-03 Thread George Ludwig
he index of the previous page to the setup method. Is there a "best practice" for doing this? -George On Thu, Aug 2, 2012 at 6:38 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 02 Aug 2012 22:11:47 -0300, George Ludwig > wrote: > > Thiago,

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-08-02 Thread George Ludwig
My bad! On Thu, Aug 2, 2012 at 11:42 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 02 Aug 2012 15:11:25 -0300, Josh Canfield > wrote: > > Has it been that long? :) >> > > Ouch, I guess my brain is still in vacation mode. :P George thanked Josh > replying to my e-mail a

Re: Creating a linked list of pages for easy backward navigation?

2012-08-02 Thread George Ludwig
, 2012 at 6:21 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 01 Aug 2012 20:46:44 -0300, George Ludwig > wrote: > >> My current implementation doesn't work, as it appears that each >> previousPage is the same object. What's the best way

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-08-01 Thread George Ludwig
Josh, Wow, thanks so much! I can definitely learn from this example... -George On Wed, Aug 1, 2012 at 5:12 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 31 Jul 2012 23:02:53 -0300, George Ludwig > wrote: > > The component is fine. What is unwieldy

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
wrapper around the member object, and a then have several boolean methods to return !isNo&&!isYes)||isYes etc.? Does it even work if you do ? On Tue, Jul 31, 2012 at 6:52 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 31 Jul 2012 21:43:22 -0300, George

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
ervers when they > retrieve a document" > > Although, when you say that you remove the hashtag, do you remove the whole > #business, or just the # and leave business? > > > On Tue, Jul 31, 2012 at 6:15 PM, George Ludwig >wrote: > > > Josh, > > > > Thanks fo

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
and re-add it in the event handler. On Tue, Jul 31, 2012 at 6:07 PM, Josh Canfield wrote: > You need to implement a handler in your component "Refine" for the event. > > public void onAddNoTerm() { > } > > for instance. > > > On Tue, Jul 31, 2012 at 6:04 PM, George

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
Jul 31, 2012 at 5:59 PM, George Ludwig wrote: > Nevermind I guess... I discovered I could just render like this: > > > #businesshttp://localhost:8082/discoveryassistant/refine:addyesterm/#business> > ">yes href="/discoveryassistant/refine:addnoterm/#bus

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
Nevermind I guess... I discovered I could just render like this: #businesshttp://localhost:8082/discoveryassistant/refine:addyesterm/#business> ">yeshttp://localhost:8082/discoveryassistant/refine:addnoterm/#business> ">no On Tue, Jul 31, 2012 at 5:43 PM, George Ludwig w

Re: Preferred jQuery integration?

2012-07-26 Thread George Ludwig
t; list : tapestry5-jqu...@googlegroups.com and I will reply to them asap. > > What are your needs for your Tapestry5-jQuery based application ? > > Manu > > > 2012/7/24 Lenny Primak > > > They are the same thing. > > > > > > > > On Jul 23, 201

Preferred jQuery integration?

2012-07-23 Thread George Ludwig
I need to use the cool jQuery stuff with Tapestry 5.3.4. I've found at least 2 integrations: https://github.com/got5/tapestry5-jquery and http://tapestry5-jquery.com/. Is tHere a preferred implementation? Does one or the other have better end-user documentation? Also, are there any good tutorials

Re: Tapestry 5.3.2 throws TapestryException even though the original Exception was caught and properly handled

2012-04-03 Thread George Ludwig
Obviously I need to take a break! Best, George On Tue, Apr 3, 2012 at 2:38 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 03 Apr 2012 18:34:11 -0300, George Ludwig > wrote: > > Hi all, >> > > Hi! > > > The problem is that

Tapestry 5.3.2 throws TapestryException even though the original Exception was caught and properly handled

2012-04-03 Thread George Ludwig
Hi all, In my page there is a method that calculates a number, which might throw a divide by zero or null pointer Exception. This number is used in other methods that do some calculation and return a useful String to be displayed by the UI. The problem is that when an Exception is thrown during t

Re: Is it possible to use Zone with Radio Group to trigger an onValueChangedFrom?

2012-02-26 Thread George Ludwig
I spent a couple of hours on this today, and learned that my understanding of Tapestry is not yet deep enough for me to make this work. Has anyone else done something similar? Code examples? I've searched, and haven't been able to find anything that makes sense to me. On Sat, Feb 25, 2012 at 1:10

Is it possible to use Zone with Radio Group to trigger an onValueChangedFrom?

2012-02-24 Thread George Ludwig
I was able to get a Select with zone to trigger an onValueChangedFrom... event, and now I want to do the same thing with a radio group. After flailing away for a couple of hours, I consulted the documentation and noted that the Select component indicates it will use the zone param to trigger an or

Re: Simplest way to detect change of Select component?

2012-02-24 Thread George Ludwig
Thanks, I was eventually able to get it working...but I'm not sure what I missed the first time :) On Thu, Feb 23, 2012 at 2:18 AM, Emmanuel DEMEY wrote: > Hi George > > Since Tapestry 5.2, you can use the t:zone parameter of the select > component, in order to update a zone of your page (contain

Simplest way to detect change of Select component?

2012-02-22 Thread George Ludwig
I'm trying to implement a select object to control a filter to a grid form. For example, a drop down list box of employee first names followed by a grid of employee data. If I select a first name from the DDLB, I'd like to see only those employees with that first name. I haven't found a good way t

Re: T5.3: unable to change color of beaneditor border

2011-12-05 Thread George Ludwig
Perfect, thanks for the link! On Sun, Dec 4, 2011 at 5:37 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > Hi > > You can google "CSS Overriding" > > http://www.google.co.in/search?q=css+overriding > > regards > Taha > > > On Dec 5, 20

Re: T5.3: unable to change color of beaneditor border

2011-12-04 Thread George Ludwig
order: 2px outset blue !important; > } > > On Mon, Dec 5, 2011 at 12:53 AM, George Ludwig >wrote: > > > I'm want to change the border color of all the beaneditors to blue, so I > > added this to my layout.css: > > > > DIV.t-beaneditor { > >ba

T5.3: unable to change color of beaneditor border

2011-12-04 Thread George Ludwig
I'm want to change the border color of all the beaneditors to blue, so I added this to my layout.css: DIV.t-beaneditor { background: none repeat scroll 0 0 #CC; border: 2px outset blue; display: block; font-family: "Trebuchet MS",Arial,sans-serif; padding: 2px; } However,

Re: beanedit form issues (the FAQ seems to be incorrect)

2011-10-05 Thread George Ludwig
r "object" parameter is null. > > Can you provide some of the actual template/project code or a small > example project that reproduces the problem? > > Also, I may have overlooked it, but what version of tapestry are you using? > > Josh > > On Mon, Oct 3, 2011

Re: beanedit form issues (the FAQ seems to be incorrect)

2011-10-05 Thread George Ludwig
e developing ? > 2. Why don't you construct the bean yourself ? Add an event handler method > to handle the "PREPARE" event of form embracing your bean editor. > > On Tue, Oct 4, 2011 at 4:21 AM, George Ludwig wrote: > >> I've got a bean that reads/writes to the

beanedit form issues (the FAQ seems to be incorrect)

2011-10-03 Thread George Ludwig
I've got a bean that reads/writes to the file system. To do that, it's constructor takes a param for the file path. Very straightforward, however using this bean has been problematic. I got the "no service implements the interface String" exception when constructing the bean, which led me to the FA

Overriding onActivate() in page sublass appears to prevent access to session attributes/properties in subclass...?

2011-10-01 Thread George Ludwig
I'm working on a Twitter authentication use case, i.e. log on to the app via Twitter's oauth. It works well, except I have a Page superclass called MyPage that includes a getter/setter method for a session attribute isAuthenticated. In order to protect access to the pages, I check getIsAuthent

Re: Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-30 Thread George Ludwig
t;> Count me in. >>> >>> Kalle >>> >>> >>> On Tue, Sep 27, 2011 at 4:59 PM, Chris Collins wrote: >>> > That sounds like a great idea (also in sf bay area). >>> > >>> > C >>> > On Sep 27, 2011, at 3:23 PM, Georg

conditional page loading on OAuth callback?

2011-09-29 Thread George Ludwig
My app uses Twitter for authentication via OAuth. When Twitter redirects the user to my authorization callback page, I would like to be able to send them to their account setup page if they are a new user, but if they are an existing user I want to send them to their status page. I'm able to detect

Re: selenium hijacks TransformerFactory and breaks XML pretty print...wtf?

2011-09-27 Thread George Ludwig
t; exclude it from your Maven POM. > > > > > On 27 September 2011 16:43, George Ludwig wrote: >> I've been ripping my hair out the last few hours trying to figure out >> why my XML pretty print stopped working under Tapestry... >> >> I'm runni

  1   2   >