Re: Tapestry 4 with a modern JVM

2019-02-07 Thread Steve Shaw
Thanks for your feedback, everyone. I had suspected that version incompatibilities with some of the byte code and libraries and other utilities would prove to be the root cause of a lot of the problems. We’ll keep this in mind as we determine our modernization strategy. Thanks again, Steve

Tapestry 4 with a modern JVM

2019-01-31 Thread Steve Shaw
ut I’d like to check with the community to see if there’s any experience with this before jumping in. Thanks, Steve -- Steve Shaw | Principal Consultant, Shaw Software Solutions | 416-737-6665

Re: Deploying .war file to jetty (Something is going wrong - please help!)

2013-10-30 Thread Steve
when the deadline hits for me in 2 weeks that I am able to put it where it needs to be. Thanks, Steve On 30 October 2013 15:40, Steve wrote: > Hi, > > Sorry to bother you - the plot thickens. > So I have just found if I do: > mvn clean war:war > It will delete the target

Re: Deploying .war file to jetty (Something is going wrong - please help!)

2013-10-30 Thread Steve
building a war again and see if it works after cleaning the eclipse project. On 30 October 2013 15:23, Steve wrote: > Hi, > > So far I have been using the run jetty eclipse plugin to run my > project and it is working fine. > I have now got the task of setting this up to run on the prod

Deploying .war file to jetty (Something is going wrong - please help!)

2013-10-30 Thread Steve
Hi, So far I have been using the run jetty eclipse plugin to run my project and it is working fine. I have now got the task of setting this up to run on the production server rather than my localhost. The server is on opensuse rather than my local windows installation, but that shouldn't make a d

Re: [5.4.23] Troubleshooting Live Class Reloading

2013-10-25 Thread Steve
t is two places to check?). I also have under the "Jetty" tab the "Show advanced options" ticked, and "ParentLoadPriority" is ticked. I don't know exactly what these do. Steve On 25 October 2013 12:49, Peter Hvass wrote: > Hi Taha, > > > Thanks

Re: Datatables warning when using

2013-10-25 Thread Steve
Thanks for getting back to us - Glad it helped! I'm regularly asking questions here myself so I'm just happy I was able to help someone else :D. Have a good weekend, On 25 October 2013 05:08, lidijaldo . wrote: > Will keep that in mind, thanks! > > Regards, > Lidija > > > On Thu, Oct 24, 2013 a

Re: How create Autocomplete with selectbox

2013-10-25 Thread Steve
uck with this, please let me know what you have tried and i'll try to help more. I'm a bit of a tapestry noob also (only been using it maybe 4 months), but I implemented something similar with a particular jquery script I wanted for displaying data and it worked fine. Thanks, Steve On 23 Oc

Re: Embedding a file on a page using StreamResponse from another component.

2013-10-25 Thread Steve
The PDF cannot be displayed, please update your browser. The decision about which block to display is made by a delegate method which looks at the filename to decide which block is most likely appropriate. Thanks, Steve On 24 October 2013 17:56, Steve wrote: > Hi, > > Thanks for the

Re: Embedding a file on a page using StreamResponse from another component.

2013-10-24 Thread Steve
need to be easily directly editable on the server if required and if it is all file based it also makes it easy to back up for now. I think I will save it along with the user object using onetime tokens and see how well that works for now. Thanks for your input, I really appreciate your help! Steve

Re: Embedding a file on a page using StreamResponse from another component.

2013-10-24 Thread Steve
a token which is valid only to that user as a parameter, but I think i'm so far off the mark.. there must be an easier way. On 24 October 2013 16:32, Steve wrote: > Hi, > > I think I am doing something very, very wrong. What I have currently > works - but I get a feeling that it&#

Embedding a file on a page using StreamResponse from another component.

2013-10-24 Thread Steve
Hi, I think I am doing something very, very wrong. What I have currently works - but I get a feeling that it's not the best way of doing it. I'm hoping for a little bit of advice again (sorry to ask so many questions recently, and sorry this is a long one). This is the issue: I have some dynamic

Re: Integration Testing using Selenium + Eclipse

2013-10-23 Thread Steve
e my action should be to make sure these are all stored locally in the src/main/webapp/layout/js directory. I wonder why this is though. Thanks, Steve On 23 October 2013 15:58, Steve wrote: > Excellent, thanks Dmitry. I just gave that a try and I am a step closer. > > Even though my tes

Re: Integration Testing using Selenium + Eclipse

2013-10-23 Thread Steve
wrote: > Just run it as usual TestNG unit test. > You may probably need TestNG eclipse plugin for this: > http://testng.org/doc/eclipse.html > > > On Wed, Oct 23, 2013 at 6:38 PM, Steve wrote: > >> Hello, >> >> I hope everyone is having a good day. >>

Integration Testing using Selenium + Eclipse

2013-10-23 Thread Steve
Hello, I hope everyone is having a good day. I am sure this has been asked before but when searching I haven't been able to find a solution. I have an T5 application which runs ok, but I know there are some issues and I would like to start using selenium whilst it is still early in the project. I

Re: Datatables warning when using

2013-10-23 Thread Steve
s like the approach you are using is also documented under "Approach 1: @Import". Hope this helps, i'm new to Tapestry myself so please take what I say with a pinch of salt, but the documentation seems to show how it can be done (I believe you would just need an if statement in your page c

Re: Quick question about where best to store user files

2013-09-27 Thread Steve
e library or another. Thanks again, Steve On 27 September 2013 15:52, Steve wrote: > Hi, > > Ok, I understand exactly what I need to do now. It's going to take me a > bit of time to change what I have done so far but this is exactly the > information I needed. > > I

Re: Quick question about where best to store user files

2013-09-27 Thread Steve
l get back to you soon and let you know how it goes. Thanks again for your help, can't say enough how much trouble this has probably saved me. Steve On 27 September 2013 15:09, Thiago H de Paula Figueiredo wrote: > On Fri, 27 Sep 2013 11:04:41 -0300, Barry Books wrote: > > D

Re: Broken links and my own confusion - T5.4 upgrade

2013-09-27 Thread Steve
Hi Serge, Sorry for my late reply. Thanks for the pointers, that's perfect. I really appreciate your help, Steve On 14 September 2013 22:30, Serge Eby wrote: > Hi, > > Since 5.4 is still under development, your best bet to keep up is to follow > the announcements on the mai

Quick question about where best to store user files

2013-09-27 Thread Steve
e the local path to it. However, is there a way to protect these files? I assume I am doing something very, very wrong here but I just don't know exactly what. I'd really appreciate some guidance. Thanks, Steve

Broken links and my own confusion - T5.4 upgrade

2013-09-13 Thread Steve
and if my steps are correct to upgrade). Again, sorry I am not used to maven yet, or Tapestry - I am learning. For reference, I have attached my pom.xml. I hope that this the mailing list works with attachments. Thanks, I really appreciate any guidance. Steve http://maven.apache.org/POM/4.0.0 htt

Re: Book proposal withdrawn :-(

2013-09-03 Thread Steve
lly an option. I don't know how feasible this is to you, and unfortunately as a student i'm not rich so alone I am not going to be 'paying anyones bills'. However if you find that others are in the same boat, who knows. Thanks, Steve On 24 August 2013 20:08, Thiago H de Paula Figu

Tapestry 5.4 URLs on download page

2013-08-27 Thread Steve Eynon
Hi, I was just wondering if the the T5.4 URLs on: http://tapestry.apache.org/download.html could be updated to point to: https://repository.apache.org/content/groups/staging For currently, the alpha1 and alpha2 URLs mentioned don't exist. Steve.

Re: Form inside component isn't working as I expected (Fairly new to tapestry, help greatly appreciated!)

2013-08-14 Thread Steve
soon as I know what I'm doing myself :). Steve On 13 August 2013 20:37, Lenny Primak wrote: > I second that. That's how I learned tapestry and it was quick and easy. > > On Aug 13, 2013, at 12:55 PM, Howard Lewis Ship wrote: > >> I'd recomment Igor

Re: Form inside component isn't working as I expected (Fairly new to tapestry, help greatly appreciated!)

2013-08-13 Thread Steve
project, and because of your help - things are actually working well - you have made my week. If there is anything I can give you a hand with (Although, I see I can't help you with development!), such as user testing or anything, please do let me know. Thanks, Steve On 12 August 2013

Re: Form inside component isn't working as I expected (Fairly new to tapestry, help greatly appreciated!)

2013-08-12 Thread Steve
with that, and no doubt a lot of headaches in the future. I also wasn't aware that "Tapestry never interprets HTML generated in MarkupWriter or Element or OutputRaw", so that's good to know for future (but should be unnecessary anyway). I really appreciate your help. Steve (S

Form inside component isn't working as I expected (Fairly new to tapestry, help greatly appreciated!)

2013-08-12 Thread Steve
es it to the component. The component when the data is submitted will put that into the object (or that is the idea). There is a good chance i'm doing something very wrong here, but I can't see why it's not working, or what a better way is. Thanks, I really appreciate any help. If

Re: Quartz for Tapestry5

2013-08-12 Thread Steve
es it to the component. The component when the data is submitted will put that into the object (or that is the idea). There is a good chance i'm doing something very wrong here, but I can't see why it's not working, or what a better way is. Thanks, I really appreciate any help. If

Re: Conditional wrapping html element

2013-08-07 Thread Steve Eynon
writer.end(); } } Steve. On 7 August 2013 10:54, Dmitry Gusev wrote: > Or you can use blocks and delegate: > > > Your content > > > > > > > > > > > > On Wed, Aug 7, 2013 at 1:47 PM, Lance Java &

Re: [OT] T5-IoC in Fantom

2013-08-07 Thread Steve Eynon
y be passed into Registry.autobuild() - emphasis on annotations (facets) and not naming conventions I learnt a lot from the project and now certainly appreciate the recursive complexity involved in maintaining an IoC registry! Cheers, Steve. -- Steve Eynon --- "

[OT] T5-IoC in Fantom

2013-08-06 Thread Steve Eynon
IoC, I took it upon myself to implement one in the image of T5-IoC, bringing with it all the goodness T5-IoC provides! I realise this post is slightly off topic, but I wanted to give acknowledgement and thanks to all those inspiring T5-IoC developers, your ideas are awesome! So, err, thanks! Um, I

Re: TapestryIoC: Is it possible to receive an OrderedConfiguration's ID?

2013-03-17 Thread Steve Eynon
Nothing specific that I know of... ...you could iterate over the ServiceActivities in the ServiceActivityScoreboard service looking for a matching service interface and take the ID from there. It's not nice, but as long as you know the type of the service, it should work.

Re: Read only bindings - How do I set their value from a mixin?

2013-03-16 Thread Steve Eynon
Here's the thread where I ran into the problem: http://tapestry.1045711.n5.nabble.com/How-to-set-the-translate-parameter-tt5719495.html Luckily, for my use case, I was able to Munky Patch T5. Steve. On 16 March 2013 05:25, trsvax wrote: > I ran into this problem also. I think you

Re: TapestryIoC: Is it possible to receive an OrderedConfiguration's ID?

2013-03-15 Thread Steve Eynon
No, but if your contribution is a service then you can inject the ServiceId using the @Symbol annotation: http://tapestry.apache.org/symbols.html#Symbols-InjectingValuesfromSymbols Steve. On 15 March 2013 11:26, Eli Doran wrote: > When using OrderedConfiguration the add method'

Re: Read only bindings - How do I set their value from a mixin?

2013-03-14 Thread Steve Eynon
at to several Mb and clog up the browser renderer! Steve. On 15 March 2013 08:04, Lance Java wrote: > Your suggestion only removes the navigation so I can only assume it would be > impossible to see the second page of data. I want all the data in a single > page so that navigation i

Re: Read only bindings - How do I set their value from a mixin?

2013-03-14 Thread Steve Eynon
will need to supply its own navigation mechanism). Steve. On 15 March 2013 02:17, Lance Java wrote: > I'm actually trying to set the rowsPerPage parameter on a grid to Integer. > MAX_VALUE to effectively disable paging. It might be controversial but what > if A

Re: Read only bindings - How do I set their value from a mixin?

2013-03-13 Thread Steve Eynon
There is no way that I found. :( On 13 March 2013 16:52, Lance Java wrote: > In a mixin, I can change the value of a component parameter using > @BindParameter to get a mirror of the parameter and then updating the > mirrored value. > > This is fine with the prop: and var: bindings since they a

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

2013-03-10 Thread Steve Eynon
/ ajax update. e.g. the following will submit the form on all select change events and you only ever need to call jsSupport.require() once when the page loads: define ["t5/core/dom"], (t5) -> return -> t5.onDocument "change", "select", (e) -> form = thi

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

2013-03-10 Thread Steve Eynon
form.trigger "submit" Then in a render phase method in your component / page: jsSupport.require("formSubmitter").with(select.getClientId()); Steve. On 11 March 2013 02:32, Lenny Primak wrote: > In 5.3, you had to do setSubmittingElement(). Not sure if this applies

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

2013-03-09 Thread Steve Eynon
Try this: this.form.fire("submit") I've not tried it, but I was looking at: http://people.apache.org/~hlship/t5api/coffeescript/forms.html Steve. --- "If at first you don't succeed,

Re: The tml file is not being rendered properly

2013-03-05 Thread Steve Eynon
Erm... is this not a Velocity question rather than a Tapestry one? On 5 March 2013 16:07, harishpatarla wrote: > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/The-tml-file-is-not-being-rendered-properly-tp5720336p5720337.html > Sent from the Tapestry - User

Re: RadioGroup disable bug(?)

2013-03-05 Thread Steve Eynon
Looking at the RadioGroup code I think you're right. It has a somewhat unused 'disabled' field and there is no code that prevents processSubmission() from being called. Steve. On 4 March 2013 20:45, Erik Östman wrote: > Hey, > > I have a problem with a RadioGroup wh

RE: SelectModelImpl Non-Serializable Prevents Session Replication in Cluster

2013-02-28 Thread Steve Wall
As we are just wading into the waters of clustering, your comment is probably very insightful. I imagine we'll have to take a hard look at what is going into the session and ask the question, does it really need to be there. As you pointed out, putting it the session now has more significant ram

RE: SelectModelImpl Non-Serializable Prevents Session Replication in Cluster

2013-02-28 Thread Steve Wall
t: Re: SelectModelImpl Non-Serializable Prevents Session Replication in Cluster On Thu, 28 Feb 2013 13:19:31 -0300, Steve Wall wrote: > Hello, Hi! Don't @Persist or @SessionState SelectModel. That's a bad idea. As Lance said, if you really need to persist it somehow, persist a

SelectModelImpl Non-Serializable Prevents Session Replication in Cluster

2013-02-28 Thread Steve Wall
o get around this exception? Thanks! Steve The information transmitted, including any content in this communication is confidential, is intended only for the use of the intended recipient and is the property of The Western Union Company or its affiliates and subsidiaries. If you are not the int

[T5.4-alpha-2] w jQuery Infrastructure - Checkboxes are always checked

2013-02-14 Thread Steve Eynon
rent There's probably a better way to do with $ selectors, but not being a jQuery expert I don't know how to extend the current selected object. Steve. - To unsubscribe, e-mail: users-unsubscr...@tapestry.

Re: Tapestry-5.4-alpha-2 css overriding

2013-02-09 Thread Steve Eynon
config.add(SymbolConstants.BOOTSTRAP_ROOT, "classpath:/META-INF/assets/bootstrap-2.2.2"); } Steve. On 9 February 2013 20:54, Lance Java wrote: > If I was to take a guess, it would be the new usage of require.js in tapestry > 5.4. Tapestry has defined a bootstrap module. You might need to define a >

Re: Tapestry > 5.3 makes it impossible to load symbols from DB (TAP5-1823)

2013-02-05 Thread Steve Eynon
T5 not to look elsewhere for the service definition. Steve. -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" - To unsubscribe, e-mail: users-unsubscr..

Re: [T5.4-alpha-2] Ajax alerts not rendered after a call to dismissAll()

2013-01-31 Thread Steve Eynon
> Can you please open an issue and attach the patch there? https://issues.apache.org/jira/browse/TAP5-2062 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apach

Re: Disable operations caused due to back and forward buttons

2013-01-31 Thread Steve Eynon
As it's a server side process you're trying to protect, store a flag in the session when the user has clicked "Run". Then before you kick off the process again, check the status of the flag. - To unsubscribe, e-mail: users-unsubsc

Re: [T5.4-alpha-2] Ajax alerts not rendered after a call to dismissAll()

2013-01-30 Thread Steve Eynon
ck", "button.close", -> Patch file for alert.coffee attached. Steve. -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" - To unsubscribe

[T5.4-alpha-2] Ajax alerts not rendered after a call to dismissAll()

2013-01-30 Thread Steve Eynon
pretty please! Steve. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: 5.4 - Javascript best practices

2013-01-29 Thread Steve Eynon
I've just noticed that @Import now has a "module" parameter, that can be used for modules & methods that take no parameters. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h.

Re: parameter in tml page?

2013-01-29 Thread Steve Eynon
Okay, I getcha. You can use String literals if that helps... e.g. ${getObject('bob')} - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: How to get code coverage of Integration Test ?

2013-01-28 Thread Steve Eynon
T5 instruments pages and components itself and uses it's own class loader to reload them, so it's very unlikely Sonar is able to hook that. (Not that I know anything of Sonar.) - To unsubscribe, e-mail: users-unsubscr...@tapestry.

Re: tapestry jQuery theme

2013-01-28 Thread Steve Eynon
I'm assuming you know that, by default, T.3 doesn't use jQuery - so which library are you using to import jQuery. Could you be more specific with your question? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For

Re: 5.4 - Javascript best practices

2013-01-27 Thread Steve Eynon
Yup. That's right. On 28 January 2013 00:00, Lance Java wrote: > Thanks Steve, I've lost a few hours trying to figure this out. > > So I only need to contribute to ModuleManager if I don't follow the > convention? (ie module "foo" is located at "/ME

Re: parameter in tml page?

2013-01-27 Thread Steve Eynon
Could you use: ComponentResources.getInformalParameter(String name, Class type); ??? Steve. -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" On 27 January 2013 22:18, sommeralex wrote: > i dont wont a page property

Re: 5.4 - Javascript best practices

2013-01-27 Thread Steve Eynon
ves a service // recursion error during tests - so we use AssetSource instead Resource classpath = assetSource.resourceForPath("classpath:/"); Resource highcharts = classpath.forFile("/META-INF/assets/highcharts-2.3.5/highcharts.js"); config.add("h

Re: 5.4 - Javascript best practices

2013-01-27 Thread Steve Eynon
.require("alienfactory/stuff").invoke("f2"); then your JS module looks more like: define(["jquery", "t5/core/console", "bootstrap"], function($, console) { return { f1: function() { .. } f2: function() { .. } }; }); CoffeeScript, if you w

Re: Tapestry 5 book is here

2013-01-25 Thread Steve Eynon
Nice! You get even your own personalised PDF copy! Sweet! -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" On 25 January 2013 17:20, Igor Drobiazko wrote: > Dear Tapestry community, > > I'm glad to a

Re: How to set the translate parameter?

2013-01-24 Thread Steve Eynon
sources, "teacherKey"); } }; } Is there any reason for the default translate to be package protected AND final?? is it okay if I make a JIRA asking for it to be protected scope and non-final? (It's a 9 character change!) Steve. -- Steve Eynon --- "If at

Re: Tapestry Session Service

2013-01-24 Thread Steve Eynon
ml As to why it's in the service package - well, I could ask the same of the @Traditional and @Core annotations. I guess because they relate to services if not actually a T5 service themselves. Steve. On 25 January 2013 00:03, Matías Blasi wrote: > Hi all! > > I'm a lit

Re: [5.4-alpha-2] Environment cloaked during ajax component event

2013-01-24 Thread Steve Eynon
This came in around T5.3, I believe the cloak / de-cloak was put in for Ajax requests so the environment used in the action phase didn't leak into the render phase. Steve. On 25 January 2013 01:31, Lance Java wrote: > Considering the simplified example below, can someone please tell me

How to set the translate parameter?

2013-01-24 Thread Steve Eynon
. final Binding defaultTranslate() {...} Anyone any ideas? Steve. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [T5.4-alpha-2] Alerts CSS & BootStrap Styling

2013-01-24 Thread Steve Eynon
Oh, and could: severityToClass = info: "alert alert-info" be added to the t5/core/alert module to add some styling for info alerts. Cheers. On 24 January 2013 20:04, Steve Eynon wrote: > Hiya, > > When I use the t:alerts component, it @Imports the core stack, w

[T5.4-alpha-2] Alerts CSS & BootStrap Styling

2013-01-24 Thread Steve Eynon
S? (By the way, I have a workaround, I'm just pointing stuff out for discussion.) Steve. -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" - To

Re: T5.4-alpha-2: Module Initialization Priority / Order

2013-01-18 Thread Steve Eynon
d do a pre-load pass for each of the InitialisationPriorites (early, norm & late) but then I feel you'd be fighting the RequireJS way of things. I think what is in place is good, only the InitialisationPriority should probably be scrapped (it always seemed like a course grained cludge to

Re: T5.4-alpha-2: Module Initialization Priority / Order

2013-01-18 Thread Steve Eynon
quireJS I don't know how to go about fixing this. Should I raise a JIRA? Steve. -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" On 17 January 2013 13:32, Steve Eynon wrote: > Hiya, > > I have the fo

Re: 5.4-alpha-2 Render queue error in BeginRender

2013-01-17 Thread Steve Eynon
As long as your custom client side component library plays nicely when jQuery is in noConflictMode, then there are no issues using T5 / Prototype and jQuery together. On 18 January 2013 01:25, sthomps wrote: > The problem is we have a custom client side component library that includes > jquery.

Re: 5.4-alpha-2 quickstart

2013-01-17 Thread Steve Eynon
I had a current project using T5.3 (built by gradle). For that I simply changed the version to "5.4-alpha-2" and added the following to my list of repositories: // for T5.4-alpha-2 mavenRepo url: 'https://repository.apache.org/content/repositories/orgapachetapestry-096/' S

Re: 5.4-alpha-2 Render queue error in BeginRender

2013-01-17 Thread Steve Eynon
Works fine for me (T5.4-alpha-2) - could it be something to do with your layout component? Steve. -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" On 18 January 2013 00:41, sthomps wrote: > Trying to get form

T5.4-alpha-2: Module Initialization Priority / Order

2013-01-16 Thread Steve Eynon
the lineChart. From Firefox console: Invoking af/highcharts/lineChart({ ... }) Invoking af/highcharts/theme/darkGreen() Is this because one module is invoked with params and the other without? The component is used several times on the same page, resulting in many calls to "require" the

Re: Ioc Ordering Contraints

2012-09-10 Thread Steve Eynon
> I think you are looking for the "ultimate solution" here that doesn't exist. Yeah, maybe. Sigh. :`( I guess I was jus' hoping I'd overlooked something. Nevermind, I'll live! :) Cheers to all for the suggestions. Steve. On 10 September 2012 23:27, Lenny P

Re: Ioc Ordering Contraints

2012-09-10 Thread Steve Eynon
cycle ('UnclaimedField' depends on itself via 'ContextNotRequiredWorker'). The dependency has been ignored. Steve. On 10 September 2012 19:37, Robert Zeigler wrote: > Hi Steve, have you tried specifying "after:*", "before:UnclaimedField"? > > Robert >

Re: Ioc Ordering Contraints

2012-09-09 Thread Steve Eynon
27; want to run last - which isn't allowed. > the trick is to specify multiple constraints I could specify many "after" clauses for T5 workers as you mention, but that then won't (be guaranteed to) work if some other another module adds an onA

Ioc Ordering Contraints

2012-09-09 Thread Steve Eynon
my config to be "after:* except UnclaimedField", or "before:UnclaimedField but after:everthing else"? Or does anyone know how else may I resolve my ordering problem? Cheers, Steve. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: How to return HTTP 404 for in-exact URL requests

2012-08-29 Thread Steve Eynon
ed by Error Handlers https://issues.apache.org/jira/browse/TAP5-1733 Steve. On 29 August 2012 19:20, Lance Java wrote: > It sounds like you are fixing something that really should be handled by > tapestry. I agree that a 404 is much better than a 500 in these cases and I > think it should

How to return HTTP 404 for in-exact URL requests

2012-08-29 Thread Steve Eynon
ComponentEventHandler() { @Override public void handleEvent(Component instance, ComponentEvent event) { if (event.getContext().length > 0) { String pageName = instance.getComponentResources().getPageName(); throw new MangledUrlException(pageName, M

Re: BigDecimal on Tapestry pages

2012-08-14 Thread Steve Eynon
.tapestry5.services.LocalizationSetter for more details. Steve. -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" On 14 August 2012 06:41, arterzatij wrote: > Hi, > > Currently I tested with 'en' locale a

Re: Conditionally (IE) including javascript

2012-08-12 Thread Steve Eynon
write out a dummy tag to prevent T5 from writing it's script tags 'inside' the IE comment! writer.element("script", "type", "text/javascript"); writer.end(); writer.writeRaw("\n\n"); }

Re: linksubmit t:mode=CANCEL and t:errors

2012-07-23 Thread Steve Eynon
arrived I decided it was too much bother to use. Now I just use a eventLink to refresh the page instead. Steve. On 23 July 2012 16:48, LanceWhite wrote: > I'm not sure if this is deliberate or not, but here goes... > > I've got a form with some fields that have client side va

Re: Tapestry 5.3.4

2012-07-17 Thread Steve Eynon
The Release Notes say: Breaking Features Tapestry's use of the Javassist bytecode library has been completely removed, along with many related services, such as ClassFactory, that were deprecated in 5.3. Use PlasticProxyFactory instead. On 18 July 2012 00:34, Kalle Korhonen wrote: > On Tue, J

Re: Tapestry 5.3.4

2012-07-17 Thread Steve Eynon
Just to say the 'Release Notes' link on Announcing Tapestry 5.3.4 links to 5.3.3 and not 5.3.4. Steve. On 18 July 2012 00:09, Howard Lewis Ship wrote: > Following a successful vote, we're happy to announce the release of > Tapestry 5.3.4. > > 5.3.4 includes further p

Re: Inheritance and the order of loaded JS

2012-07-12 Thread Steve Eynon
> wouldn't it be generally better if the @Import obeys the parent child order Possibly, but I believe it's quite an edge case you have there. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: Inheritance and the order of loaded JS

2012-07-12 Thread Steve Eynon
I would imagine, similar to specifying the order of CSS, the scripts that get added in the later render methods get added later. e.g. scripts added in setupRender() will appear before scripts added in afterRender() On 12 July 2012 21:40, mem wrote: > Hello, > > i've two Tapestry components whe

Re: Async process ComponentRequestHandler and JavaScriptSupport

2012-07-10 Thread Steve Eynon
o one project which, if pop() or peek() returned null, I'd recursively decloak the Env until I found it. Then re-cloak! This may or may not be what you're running into. Steve. On 11 July 2012 04:18, Lance Java wrote: > I'm doing some very non standard stuff in tapestry-cometd w

Re: BigDecimal on Tapestry pages

2012-07-04 Thread Steve Eynon
> tapestry js are handling decimalSeparator as coma > So, how I can change this? That's set from NumericTranslatorSupportImpl#createJSONDecimalFormatSymbols() which looks it up from the Locale of the browser. - To unsubscribe, e-

Re: BigDecimal on Tapestry pages

2012-07-03 Thread Steve Eynon
Floats (just for now) to see if they work correctly. Depending on where you're logging and how you're saving, the problem could be with your Database mapping. e.g. By default Hibernate doesn't preserve the BigDecimal scale. Steve. (Side note: Urgh! BigDecimals are horrid horrid things!

Re: Breaking auto realding feature with embeded classes

2012-06-30 Thread Steve Eynon
e com.myapp.entities <-- or here com.myapp.util<-- or here Steve. On 30 June 2012 20:22, bhorvat wrote: > I see, well that makes sense. Can I place that class then inside a components > page, or better yet components subpackage? > > -- > View this message in context:

Re: Breaking auto realding feature with embeded classes

2012-06-30 Thread Steve Eynon
T5 classes. Steve. On 30 June 2012 19:35, bhorvat wrote: > So one of my favourite features is the fact that once I change some piece of > the code, I dont have to restart the application, all I have to do is let > auto reloading work its magic. Sadly I have found a way to break that >

Re: Using ajaxformloop to add a label and a textfield

2012-06-30 Thread Steve Eynon
what you want. Steve. On 29 June 2012 21:59, sid wrote: > Hi ! > I am a beginner with tapestry and I want to use the component ajaxformloop > in a formular . I have to add 10 (maximum) textfields and labels. I read 2 > examples > http://tapestry.apache.org/current/apidocs/org/a

Re: Setting up selenium and testng

2012-06-30 Thread Steve Eynon
I don't know what your setup is, but no, I've never had to duplicate code or resources when using T5 and Selenium. Whatever runs your tests, just ensure the path / classpath is setup correctly. Steve. On 30 June 2012 03:12, George Christman wrote: > Hello, I'm pretty new to

Re: @Symbol and web context-params

2012-06-21 Thread Steve Eynon
her than that there's a ServletContextSymbolProvider which makes ServletContext init-parameters accessible as symbols. If that's no use, you could write your own SymbolProvider based on the above - which is only around 6 lines of code. Steve. On 22 June 2012 01:43, Michael Prescott wro

Re: Difference between renderSupport.addScript and JSON addInit(function, JSON Object)

2012-06-20 Thread Steve Eynon
then disabled JavaScript for the rest of the page load. Steve. On 20 June 2012 15:56, baptiste wrote: > It doesn't work for me. > > In java : >   @IncludeJavaScriptLibrary({ "context:static/javascript/address.js" }) > >   @Environmental >    private RenderS

Re: T.5.2.6 recordError on FormAjaxLoop

2012-06-20 Thread Steve Eynon
just for a FormAjaxLoop http://tapestry.1045711.n5.nabble.com/Validating-forms-inside-a-loop-td2426980.html Steve. On 20 June 2012 21:41, resign wrote: > hi, > is it possible to record an error to single field of FormAjaxLoop? > The requirement is: >  i want to make a form with several

Re: AppModule: using injected service in ContributeWebSecurityManager

2012-06-20 Thread Steve Eynon
ce, it could be defined in other modules. The annotation helps to dis-ambiguate between them. Steve. On 20 June 2012 20:47, cablepuff wrote: > Hi i have the following problem. I have set the following code. > >          public void contributeWebSecurityManager( >

Re: JSON issue when upgrading to 5.3.3 from 5.2.6

2012-06-20 Thread Steve Eynon
%7B%7B%2Fassets%2Feea17aee26bc0cae%2Fctx%2Flayout%2Flayout.css%7D%7D%3F http://tapestry.apache.org/assets.html#Assets-AssetURLs Steve. On 20 June 2012 06:20, Howard Lewis Ship wrote: > Change your application version number. > > On Tue, Jun 19, 2012 at 3:00 PM, Dongmei Cao wrote

Re: PageTester cant handle querystring ?

2012-06-19 Thread Steve Eynon
There is also a duplicate JIRA for the PageTester bug and a patch file here: REOPEN TAP5-698 - PageTester's setupRequestFromURI incorrectly uses substring twice on same string https://issues.apache.org/jira/browse/TAP5-1936 Steve. -- Steve Eynon --- "If at

Re: Getting Error when do any action in my page

2012-06-19 Thread Steve Eynon
guration.html#Configuration-SegregatingApplicationsIntoFolders Steve. On 19 June 2012 17:00, karthick wrote: > Hi , > > Thanks for your reply. > > Ices is context path my application. > > http://localhost:8080/ices/app > > -- > View this message in context: > http://tapest

  1   2   3   4   5   >