Re: T5.3 rc3 ordering of css

2011-11-07 Thread Ville
static void contributeJavaScriptStackSource(MappedConfiguration configuration)? I suppose not, as this is MappedConfiguration, not ordered. Perhaps it's time for ordered mapped configuration. Atleast, CSS is heavily dependant to the order and now I can't control it? Any thoughts?

Re: T5.3. rc3: event bubbling bug?

2011-11-07 Thread Ville
Yep, figured it out already. Too much time since using T5, and too much JSF in between. It's good to be back ;) - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-rc3-event-bubbling-bug-tp4966490p4970859.html Sent from the Tapestry - User mailing list ar

Re: T5.3 rc3 ordering of css

2011-11-08 Thread Ville
which order Tapestry includes it's own css or the thirdparty libraries / components. Tested on 5.3 rc3, development mode. - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-rc3-ordering-of-css-tp4969412p4974198.html Sent from the Tapestry - User mailing

[T5.3 rc-3] Error messages and AJAX

2011-11-08 Thread Ville
rendered out in the next request (post redirect get), but should Tapestry use non-persisting ValidationTracker if the request is xhr? (No need to persist those errors?) - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-rc-3-Error-messages-and-AJAX-tp4974222p4974222

Re: T5.3 rc3 ordering of css

2011-11-08 Thread Ville
I say that my css should be the last to include, always. (If the stack contribution would use the normal after:/before: notation it could be done using thous declaratives?) - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-rc3-ordering-of-css-tp4969412p4976938

Re: [T5.3 rc-3] Error messages and AJAX

2011-11-08 Thread Ville
Hi, happy to comply: :) https://issues.apache.org/jira/browse/TAPESTRY-2784 - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-rc-3-Error-messages-and-AJAX-tp4974222p4976982.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5.3 rc3 ordering of css

2011-11-09 Thread Ville
So the fix is to exclude all css files that third party libs include, then copy the css from those jars, modify it and include it yourself? I don't get how the ordering is not important, as the order dictates how the styles are applied, and what overrides what? - Ville -- View this messa

Re: T5.3 rc3 ordering of css

2011-11-09 Thread Ville
ost elegant fix. - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-rc3-ordering-of-css-tp4969412p4977069.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe

Re: T5.3 rc3 ordering of css

2011-11-09 Thread Ville
Hmm, I might then have done an error by mistakenly took for granted that the Tap5 stylesheet comes before mine. Thanks for the specificity link, that clears it up nicely. Well, now I have to go write all my css again that overrides Tap 5 styles ;) - Ville -- View this message in context

Re: T5.3 rc3 ordering of css

2011-11-09 Thread Ville
Thanks for the input again, live and learn :) In case anyone comes looking, the easiest way is to set a class "c" to body and prepend all your styles with .c. - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-rc3-ordering-of-css-tp4969412p4977487

[T5.3] Change asseth path prefix

2011-11-21 Thread Ville
Hi, we have requirement to change the asset path to be something else than /assets/. Can this be done? We're running T4 and T5 side by side and now the assets request are handled entirely by Tap 4 that can't "see" the resources. Why the path prefix is not a configurati

Re: [T5.3] Change asseth path prefix

2011-11-23 Thread Ville
Hi, added: https://issues.apache.org/jira/browse/TAP5-1756 - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-Change-asseth-path-prefix-tp5012745p5016475.html Sent from the Tapestry - User mailing list archive at Nabble.com

[T5.3] Volatile grid inside form

2011-11-23 Thread Ville
Peruuta The dialog defines the form, so it is not visible in this tml. So, is it time for another JIRA (with patch), or have I misunderstood something? - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-Volatile-grid-inside-form-tp5017357p5017

Re: [T5.3.6] combining JSON response and zone update

2013-02-22 Thread Ville
Take a look at AjaxResponseRenderer (http://tapestry.apache.org/5.3.6/apidocs/org/apache/tapestry5/services/ajax/AjaxResponseRenderer.html) It can be used to add as many zone, json etc. responses in one request to the client. Example: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax

Re: RadioGroup disable bug(?)

2013-03-05 Thread Ville
Hi Eric, please open ticket here: https://issues.apache.org/jira/browse/TAP5 And please describe the anticipated behavior. Patch is a big plus and test is superb! Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/RadioGroup-disable-bug-tp5720328p5720363.html Sent

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Ville
Hi, I tried to search but I couldn't find a post that explains why the setup render event is stored to form if the grid is volatile? If it is obvious please explain it like to a child so that I can comprehend the design decision :) - Ville -- View this message in context: http://tap

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Ville
as proposed in my first email. - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-Volatile-grid-inside-form-tp5017357p5017455.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Ville
Hi, I added https://issues.apache.org/jira/browse/TAP5-1757, but with tests I need help, as I dont know how I should write them. Any pointers? - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-Volatile-grid-inside-form-tp5017357p5017983.html Sent from the

TAP5-1425

2011-11-24 Thread Ville
y: if(this.assetSource.getExpandedAsset(path).getResource().exists()) { return this.assetSource.getExpandedAsset(path); } return null; Do we now have to catch RuntimeException and return null if such is thrown? We should atleast have ResourceNotFoundRuntimeException? - Ville -- View this messa

Tapestry 5 JQuery - redirect to other page when session has expired

2011-12-01 Thread Ville
se is generated instead. This involves wrapping the response etc. I also have to intercept the call in browser side to have it working correctly. Is this the best way to do it? - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-JQuery-redirect-to-other-page

Re: Simple CMS / content editor component

2012-03-09 Thread Ville
had the time to finish the work and publish it. I hope that this will change in the near future, but I can't make any promises. - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/Simple-CMS-content-editor-component-tp5494712p5551907.html Sent from the Tapestry - User

Re: Simple CMS / content editor component

2012-03-11 Thread Ville
ight - it isn't pretty and needs a rewrite. (Now days that might be trivial too if there is proper solution for it.) - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/Simple-CMS-content-editor-component-tp5494712p5554345.html Sent from the Tapestry - User mai

Re: Simple CMS / content editor component

2012-03-13 Thread Ville
ovide the actual paid ckfinder for it. The upload-only approach is not an option for us, as the users really need the browsing view to the server and it's files with thumbnails. - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/Simple-CMS-content-editor

T5 : if component help

2008-01-11 Thread Ville Virtanen
using ognl under the hood?) This is something I desperately need answer to. (Or then I must rethink some portions of the software...) Thanks, Ville _ Lataa 30 ILMAISTA hymiötä Windows Live Messengeriisi! http://www.livemess

T5 : if component help

2008-01-11 Thread Ville Virtanen
using ognl under the hood?) This is something I desperately need answer to. (Or then I must rethink some portions of the software...) Thanks, Ville Ps. Sorry if this is double post, sent the first one before subscribing to list, so that one should have gone to bith

RE: T5 : if component help

2008-01-11 Thread Ville Virtanen
Hi, I too miss ognl, but your point is very good. At first this new way seems limited, but I agree that testability makes for it. (And one could argue that you dont have to learn yet another language to implement your logic.) Also, refactoring is a bit easier again. Thanks, - Ville

Re: NPE when trying to contribute ServletContextSymbolProvider to SymbolSource (WAS: Re: Page pool hard limit and page instance usage)

2008-10-06 Thread Ville Virtanen
I have no new info on this, and I think we should add ticket to get this sorted. (If it is something we do wrong -> correct the documentation or then it is a bug that needs a fix anyway.) Currently I'm just fetching the values from context by hand. The reason behind this however is likely to be

Re: Localized Translators - again

2008-10-06 Thread Ville Virtanen
The localized js validation must be there, not very serious solution if it supports server side localization, but not client side :) +1 too for localized translators and js validation. Marcelo Lotif-2 wrote: > > And me too. > Here, we're using a javascript + onToClient and onParseClient metho

Re: Access the ApplicationGlobals inside the "AppModule::bind()" method

2008-10-07 Thread Ville Virtanen
Just bind(@Inject @Symbol("some.identifier") String someSymbol) I think. This initiates the construction of symbolsource, which in turn calls the contribute in your appmodule which initiates the construction of the PropertiesFileSymbolProvider which reads the file. And btw, I would recommend h

[T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
"onSuccess" redirect, as my component does not define form and hence it doesn't receive the on submit event. I think it is pretty standard to have a button to redirect to another page after submit. Am I missing something totally obvious? - Ville -- View this message in context: http:/

Re: [T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
Yes it must be, otherwise it won't work. The submit event that is triggered by the form in the page does not bubble to my component and I can't use the selected event triggered by the button in my component because that event does not support return type of page class. - Ville

Re: [T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
PROTECTED] This type of event does not support return values from event handler methods. - Ville dhning-2 wrote: > > From your former mail, my understanding on your case (correct me if I am > wrong): your page has a form, and the form contains your component, and > your compon

Re: [T5] Page naigation using submit

2008-10-18 Thread Ville Virtanen
cannot know which page will contain the component. (It can be configured in database.) - Ville Ps. I resolved this by extending the submit context component (http://wiki.apache.org/tapestry/Tapestry5SubmitContextComponent) that I earlier modified to work with 5.0.12. Now developer can return

[HOWTO] Context and page navigation aware submit button

2008-10-18 Thread Ville Virtanen
here: http://tapestry.apache.org/tapestry5/guide/pagenav.html. I also made the context optional, so now you can satisfy all your submitting needs with one button :) Enjoy! (And remember to tell of any bugs etc..) - Ville -- View this message in context: http://www.nabble.com/-HOWTO--Context-and-page-

Re: [T5] Page naigation using submit

2008-10-18 Thread Ville Virtanen
ormSupport" component which is correctly intergrated. Otherwise it does nothing." disclaimer.) - Ville Joachim Van der Auwera wrote: > > equanda-tapestry5 includes a link component which submits the page to > assure the entered state is not lost. > > http://equanda.org/

Re: [T5] Page naigation using submit

2008-10-19 Thread Ville Virtanen
Hi, and sorry for my bad English :) I meant that I re-invented the wheel, not you. And yes, there are no links that can submit without js. I wrote those comments after a 12 hour work day. I should never do that again :D - Ville Joachim Van der Auwera wrote: > > Ville Virtanen

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Ville Virtanen
nd analyze the results. I've had all sorts of really mind boggling problems with multiple different versions of certain library in the classpath. This can be T5 bug also, but lets close all the easy doors first :) - Ville mdes wrote: > > Hi Ville, > thanks a lot for your quick repl

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread Ville Virtanen
deeper insight? - Ville mdes wrote: > > Dear all, > I need your help because I don't understand the real cause of my problem. > > I injected one page, say AnotherPage, in MyPage.java. > When I try to use one of the setter methods of AnotherPage to pass a value > conta

Re: "Session bleedings" in Tapestry5

2008-10-20 Thread Ville Virtanen
by T5. Same applies to components. Also instance variables are cleaned if not marked with @Retain when page is returned to page pool. - Ville toby78 wrote: > > I have heard there are some issues with "Session bleedings" in Tapestry5. > > Will those issues be fixed by Novemb

Re: T5 - Catching user leaving a page

2008-10-21 Thread Ville Virtanen
ever the user does to the client to move to another page stops the javascript that is sending the "still alive messages". You're going to have to write some custom js to do this, there isn't needed functionality in T5 that would do this AFAIK. - Ville BarryDev wrote: &g

Re: T5 - Catching user leaving a page

2008-10-21 Thread Ville Virtanen
that, but that would be the path that I would take. No guarantees though :D - Ville BarryDev wrote: > > Hi all, > > I've completed the hi/lo and address tutorial and I'm not trying to write > a simple chatroom to learn some more about tapestry. > > My basic

Re: New JIRA: Tapestry does not pick pages, components and templates after application startup

2008-10-28 Thread Ville Virtanen
-to live reload document, that clearly explains what conditions must be met prior live reloading works. - Ville Ps. We have NetBeans 6.1 + jetty, tomcat 6 or glassfish with either ant build process or maven depending on the project. Thiago H. de Paula Figueiredo wrote: > > Hi! > >

Re: Problem with 5.0.16/17

2008-11-23 Thread Ville Virtanen
. - Ville Ps. I have filed issue to T5 commons website, so hopefully it will be fixed soon. Joachim Van der Auwera wrote: > > Hi, > > When I run my application in 5.0.15 everyting works just fine. > In 5.0.16 (and also 17) I get an exception saying "No object of type &g

Re: T5: @Propery can not be an Interface? No default coercion?

2008-12-01 Thread Ville Virtanen
You can have interface parameters, but the problem here is that you define a parameter of type PageDelegate, and try to assign a default value of string "false" to that parameter. Perhaps you meant @Property(required="false") ? - Ville Maximilian Weißböck wrote: > &g

Re: The Form Submit can't Work!

2008-12-01 Thread Ville Virtanen
onFailureFromDownloadFile() and if you want to execute only when there are no validation errors use onSuccessFromDownloadFile() submit event will fire regardless whether there are validation errors or not. - Ville Gerry Chen wrote: > > Thank dalahoo ! > > I use T5.0.16 JA

[T5] Exposing part of T5 service using RMI

2009-01-02 Thread Ville Virtanen
with the option to use different hosts for the systems in the future. My needs are synchronous, so no async allowed. - Ville -- View this message in context: http://www.nabble.com/-T5--Exposing-part-of-T5-service-using-RMI-tp21254013p21254013.html Sent from the Tapestry - User mailing list archi

[T5] Any component nullpointer

2009-01-02 Thread Ville Virtanen
Element is always null if the mixin is before the anyElement in the template. Should the any component do some initialization there if anyElement is null? - Ville The mixin: @Parameter(allowNull=true,defaultPrefix="component") private Any sumField; @Parameter(allowNul

Re: [T5] Any component nullpointer

2009-01-02 Thread Ville Virtanen
Forgot to mention that I'm using 5.0.18. - Ville Ville Virtanen wrote: > > Hello, > > I have a mixin that takes two Any components as parameters. As long as the > Any components are *before* the mixin in the template everything is ok, > but if I move the Any component

Re: [T5] Any component nullpointer

2009-01-04 Thread Ville Virtanen
Hello all. I have opened JIRA with instructions to replicate. See https://issues.apache.org/jira/browse/TAP5-438 for more information. - Ville Ps. Can someone please confirm that this replicates, or is it just my environment? It's hard to believe that this kind of bug would have

Re: [T5] Any component nullpointer

2009-01-08 Thread Ville Virtanen
Hi again. Should have read the documentation properly: the clientid is available only after the component has rendered itself. Sorry for bothering, I'll close the JIRA now. - Ville Ville Virtanen wrote: > > Hello all. > > I have opened JIRA with instructions to replicat

Re: problem with t:formdata

2009-01-09 Thread Ville Virtanen
fields etc. in the loop.) - Ville jgn wrote: > > Thank you, It works :). I think that I won't have any problem because I do > not have fields on the loop, just LinkSubmit components, thank you. > > > Fernando Padilla wrote: >> >> by default t:loop seria

Re: Persistance

2009-01-14 Thread Ville Virtanen
conversation id from the filter to the persistence strategy? This implementation could also be per client tab and not at all dependent of the session etc. Just some quick thoughts.. - Ville Kalle Korhonen-2 wrote: > > I don't know if there's a better thread for discussin

Re: Persistance

2009-01-14 Thread Ville Virtanen
But still the wizard example requires session in some form and thus the same conversation in two tabs scenario is not possible? - Ville Geoff Callender-2 wrote: > > It would be great if Tapestry provided a really nice clear solution to > conversation state (and continuations), b

Re: Persistance

2009-01-14 Thread Ville Virtanen
Ok, it uses currentMillis inside the session to differentiate the conversations. It works, but as we are seasoned T5 users we expect everything to just work without all that scary java code :) - Ville Ps. Seriously I appreciate greatly your effort and just want to say Thank you. (I've le

Re: [t5] upgrade to java 6 and javassist

2009-10-06 Thread Ville Virtanen
javassist that gets included for us is 3.9.0.GA - Ville Ps. Below is the mvn configuration we're using w/ netbeans org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 true UTF-8

Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-10-14 Thread Ville Virtanen
Hi, If this ever gets published in English we will buy one copy for sure, so plase :) - Ville Igor Drobiazko wrote: > > Not yet but I'll ask the publisher again. > > On Tue, Oct 13, 2009 at 9:02 PM, Borut Bolčina > wrote: > >> Hi, >> >> any n

Re: Slightly OT: Ad hoc connection pools

2009-10-17 Thread Ville Virtanen
/proper/dbcp/trunk/doc/ManualPoolingDriverExample.java?revision=821733&view=markup Tapestry 5 Quartz: http://www.chenillekit.org/chenillekit-quartz/index.html - Ville Daniel Jue wrote: > > Hi all, I'm hoping someone might have a suggestion for a strange > challenge. I&#x

Re: T5 NPE on service realization

2009-10-17 Thread Ville Virtanen
Hi, please share some more of the code + stack trace, without those further speculation is nearly impossible. - Ville zack1403 wrote: > > Hi all, > > I was just curious if anyone has had weird NullPointerExceptions on > service realization. I am getting this NPE when usi

Re: Chenille kit Quartz

2009-10-17 Thread Ville Virtanen
we're using 1.6.3. - Ville Sam Domonkos wrote: > > I was wondering if the Chenille kit project will be updating the Quartz > module to version 1.6.5 from 3/6/2009, it seems to be using 1.6.0 from > 11/6/2006 >

Re: About T5 IoC

2009-10-17 Thread Ville Virtanen
Hi, Do you ask is it possible to know which module has done the service bind or building? What kind of problem you are trying to solve? You could guess something from the class name, but imho it sounds that there is something wrong with the logic whatever you might be trying to solve. - Ville

Re: t5: redirect to a page in javascript?

2009-10-17 Thread Ville Virtanen
f the line, like after "items"; also..) - Ville Angelo Chen wrote: > > Hi, > How to redirect to another page in a javascript? example: > > function do_proc() { > saveupdates() > window.location="items" > } >

Re: tapestry 5.1.0.5 with php

2009-10-26 Thread Ville Virtanen
views... (In which case the state should be transferred via the url and/or for an example shibboleth imho.) - Ville Argo Vilberg wrote: > > hi > > Are everyone tried integrage tapestry with php pages? > > Is it even possible? > > I mean tapestry servlet send reque

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Ville Virtanen
Hi, I think this could be a framework level component, as it seems that there are many of us solving the same problem with a bit different approaches. (Everyone invents the wheel..) so +1 for this idea! :) - Ville Howard Lewis Ship wrote: > > Idea for a component: ImagePlaceholde

Re: Netbeans 6.7 tapestry 5 plugin support

2009-11-12 Thread Ville Virtanen
. Anyhow, it really is usefull, atleast the tml / java class switch functionality. - Ville Sergey Didenko wrote: > > Hi, > > does anybody uses this T5 plugin for Netbeans? ("nbtapestrysupport", > see below). Does it work all right? > > On Mon, Jun 15, 2009 at 9

Re: Netbeans 6.7 tapestry 5 plugin support

2009-11-15 Thread Ville Virtanen
Ok, I'll try to do that as soon as I have the required time in my hands. - Ville Andreas Andreou-4 wrote: > > When was that? i think the T5related project used to be hosted at > google-code > but then was moved into https://nbtapestrysupport.dev.java.net/ > (whe

Re: Switching between Stage & Production DB with Tapestry5 & Hibernate3

2009-11-15 Thread Ville Virtanen
to determine the wished configuration from the production mode flag. - Ville Alessandro Bottoni-4 wrote: > > Hi All, > I'm almost completely new to Tapestry and Hibernate so, please, be > patient.. > > In your opinion, what's the best (simplest/most-maintain

Re: collection of components within a page (Tapestry 5.1)

2009-12-03 Thread Ville Virtanen
ion if you just follow the normal project layout. (So that T5 knows which classes are components / pages. You can of course use non-standard packages and instruct T5 to treat any class as component.) Hopefully this clarifies it a bit. - Ville Steven Tönsing wrote: > > Hi, > i'm com

Re: collection of components within a page (Tapestry 5.1)

2009-12-03 Thread Ville Virtanen
Hi again, also forgot to mention great source to learn from: http://jumpstart.doublenegative.com.au:8080/jumpstart/ (http://jumpstart.doublenegative.com.au/home.html) - Ville Steven Tönsing wrote: > > Hi, > i'm completely new to tapestry and i got a very fundamental (for

Re: Tapestry 5.1.0.5 FCKEDITOR PROBLEM

2009-12-09 Thread Ville Virtanen
Chenillekit mailing list / issue tracking. - Ville Boban Stojanovski wrote: > > Hi > can someone tell me how to implement a fckeditor in a tapestry webapp. > > i use maven. > The Pom.XML is a bit large so ill paste just the fckeditor part > > > org.chenillekit

Tapestry 5 and Selenium

2009-12-13 Thread Ville Virtanen
input name changes like this: request one: mpo-1258bc89493_0 request two: mpo-1258bcae418_0 request three: mpo-1258dfea345_0 Has anyone solved this? - Ville -- View this message in context: http://old.nabble.com/Tapestry-5-and-Selenium-tp26773754p26773754.html Sent from the Tapestry - User mailing li

Re: Tapestry 5 and Selenium

2009-12-14 Thread Ville Virtanen
e meaning full tests.) - Ville Howard Lewis Ship wrote: > > Identify the fields using XPath instead of id. > > On Sun, Dec 13, 2009 at 11:05 PM, Ville Virtanen > wrote: >> >> Hi, >> >> I've googled around but couldn't find solution for this one.

Re: Number Formatting in TextField (T5)

2009-12-27 Thread Ville Virtanen
Hi! If you get this working please share the results. This is something I never thought when adding our number format handling. (Which is based on custom translators. I'm happy to share the current solution if you are interested?) - Ville Benny Law wrote: > > On Thu, Dec 24, 2009

Re: Passing object as paramters to component

2009-12-30 Thread Ville Virtanen
Hi, define private YourObjectType param; variable to your component class and use it. Annotate it with @Parameter annotation. Then use your component like this: Or read the documentation: http://tapestry.apache.org/tapestry5/guide/parameters.html - Ville Captain Cid wrote: > > I w

Re: Number Formatting in TextField (T5)

2010-01-04 Thread Ville Virtanen
message? One example of this is how to tell the user in error message how many characters is the max limit in the field and how many characters she/he has typed. E.g. "Product description is 3072 characters long but the maximum length is 3000 characters. Please edit your text accordingly.&q

Re: Installing easyfckeditor

2010-01-06 Thread Ville Virtanen
s etc. - Ville Ps. The project has moved to Kenai, so the 1.0.2 jar can be obtained from mvn repository, just go with your favorite browser to http://kenai.com/svn/t5-easy-fckeditor~maven-release-repository/com/orientimport/t5-easy-fckeditor to view the releases. oskar_a wrote: > > Hi, &

Re: Advice on Tapestry5 best practise for user session data

2010-01-10 Thread Ville Virtanen
es or encoded urls, this way you can achieve truly stateless server side and you can add more servers without any sort of sticky sessions or session replication problems etc. - Ville Ps. for 99% of cases using as light user session as possible + pure java cache is the right way to go afaik, so con

Re: Installing easyfckeditor

2010-01-10 Thread Ville Virtanen
will also shortly release 1.0.4 which uses the newer java integration package 2.6 (http://java.fckeditor.net/) to provide the file upload capabilities. - Ville oskar_a wrote: > > Hi Ville, > > thank you for your advice. I installed the m2 Eclipse plugin and enabled > the depen

RE: Advice on Tapestry5 best practise for user session data

2010-01-10 Thread Ville Virtanen
hing to do with a web request. IMHO web related stuff should never be accessed in low level services / dal to avoid this. If you can live with that restriction it is ok to use ApplicationStateManager. - Ville jc1001 wrote: > > Eric, Juan, > > Thanks for the replies. I can s

Re: Installing easyfckeditor

2010-01-11 Thread Ville Virtanen
Hi, just released 1.0.4 which uses the latest java integration library. I also updated some of the docs at http://t5-easy-fckeditor.kenai.com - Ville oskar_a wrote: > > Thx to all, > > but I solved this problem by creating a new maven-project from tapestry > quickstar

Re: [T5.1.0.4] Distinguishing Between Internal and Scripts when Combining

2010-01-21 Thread Ville Virtanen
Hi, GA works ok for us by just adding it to the tml as is instructed in GA site - No need to use T5 facilities to include the script. (Done in layout.tml in our case.) This doesn't solve the external script problems, and may not work for you but just thought to let you know. - Ville

Re: How to get rid of some T5 stack traces ...

2010-01-28 Thread Ville Virtanen
. This can be fixed by implementing a component named html that does absolutely nothing and placing it to the page. - Ville (From f*cking cold and snowy Turku ;)) oakstair wrote: > > Hi ! > > Our production servers get hitted by our users as well as robots as well > as > ...

Re: How to get rid of some T5 stack traces ...

2010-01-29 Thread Ville Virtanen
Hi, hrx -> xhr :D It is true that T5 catches many of these "I-did-not-even-know-something-makes-these" -requests, and it is good to know of this happening. Obviously I should also take a look at the URL re-write functionality. - Ville Ps. It's minus 20 Celsius here... (

Re: Pretty Printing JSON

2010-02-24 Thread Ville Virtanen
Hi, this definitely sounds something T5 should do as it is known to be developer friendly and aid in debugging whenever possible. It sounds good to enable this in non-production mode and disable in production. - Ville Ben Dotte-2 wrote: > > I put up a post on pretty printing the JSO

Re: easyfckeditor and file upload

2010-03-28 Thread Ville Virtanen
Hi, can you attach the stack trace for further analysis? Also what servlet container are you using to run software? -Ville Tomek-28 wrote: > > Hi, > > i need to integrate a WYSIWYG editor to my website. I found only 2 > projects > that integrate fckeditor with tapestry 5

Re: easyfckeditor and file upload

2010-03-29 Thread Ville Virtanen
hough. Any pointers how to reproduce are welcome. You should check that your Java process has read and write rights to the directory where you put the files ie. C:\\logs\\wwwfiles\\ directory. I also tested with jetty 6.1.9, 6.1.14 and 6.1.22 without problems. - Ville Ps. We have this working o

Re: easyfckeditor and file upload

2010-03-29 Thread Ville Virtanen
Hi, also forgot to mention that 1.0.5 version contains fix for that warning during startup, however it shouldn't affect anything. I'll try to release 1.0.5 as soon as We've solved this problem. - Ville Tomek-28 wrote: > > Hi, > > I use jetty 6.1.9 as a mave

Re: easyfckeditor and file upload

2010-03-29 Thread Ville Virtanen
5.0.x versions. - Ville Tomek-28 wrote: > > Hi, > > I use jetty 6.1.9 as a maven plugin. Problem occurs in Windows and Linux > > this is my implementation of FckEditorUserRightService > > public class SimpleFckEditorUserRightServiceImpl implements >

Re: easyfckeditor and file upload

2010-03-29 Thread Ville Virtanen
fall back to the default. Then allow all in SimpleFckEditorUserRightServiceImpl and you can upload and view images etc. - Ville Ps. Take a look at FCK editor default implementation for details if you whish to implement your own connector: http://dev.fckeditor.net/browser/FCKeditor.Java/tags/2.6/ja

Re: EasyFCKEditor FileUpload with Tomcat?

2010-05-05 Thread Ville Virtanen
Hi, yeah, the configuration differs how to set up this with different app servers. (Or apache as we always use httpd to serve static files anyway.) - Ville Ps. Wish that I had time to finish CKEditor integration, I already have working version which needs polishing and documentation. The file

Re: Discard persistent field changes for one strategy only?

2009-01-19 Thread Ville Virtanen
Hi, It sounds like an addition that would be good to have when implementing non-standard persistence strategies. - Ville Ps. I'm very interested in the results Kalle if you care to share? (Or Kristian for that matter. Would it be possible to add a project to tapestry.formos.com?)

Re: OnActivate question

2009-01-27 Thread Ville Virtanen
Hi, Also take a look at PageAttached. (http://tapestry.apache.org/tapestry5/guide/lifecycle.html) - Ville Chris Lewis-5 wrote: > > > > James Sherwood wrote: >> Hello, >> >> >> > Hi. >> I have security through page Activate. >> >

Re: T5: timeout exception when using Grid - Solved, but query

2009-01-29 Thread Ville Virtanen
getModel() { return model; } - Ville tapestryphoto wrote: > > > My grid data required a model. In copying this in from an example I had: > > @SuppressWarnings("unchecked") > @Property > @Retain > private BeanModel _myModel; > > The ke

Re: How to implement a long lasting operation waiting page

2009-02-03 Thread Ville Virtanen
that example should be extended a bit so that the thread source takes also the thread progress inspector which can tell you how many percent the task is complete... - Ville HugoPalma wrote: > > I have an operation that needs to be executed that could take a couple > of minutes and so i

Re: How to style a button

2009-02-08 Thread Ville Virtanen
Hi, google is your friend: http://www.google.fi/search?q=css+input+submit Three first articles all fullfill your needs. - Ville kace wrote: > > Hi fellas, > > this isnt a T5 question but hoping someone can help out. > > I am looking to style buttons > >

Re: How to implement a long lasting operation waiting page

2009-02-09 Thread Ville Virtanen
You should be ok polling now with your page instance whether the task is ready by asking it from the PercentageCompleteHandler in the session, but remember _not_ not lose reference to the PercentageCompleteHandler as that is your view to the executing thread. - Ville HugoPalma wrote: > &g

Re: Hibernate ID

2009-02-10 Thread Ville Virtanen
Sometimes if you want to assign the id an not let the DB do it for you it is good to be able to have null values. Also checkin whether the object is already saved can be achieved by just checking id != null. Primitive int defaults to zero without initialization? - Ville Ulrich Stärk wrote

Re: How to set actionlink id dynamically

2009-02-23 Thread Ville Virtanen
apestry id. Dont know if that is generally advisable, but I've used it couple of times. (This of course works only if you need just the ids to client side.) - Ville http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

Re: Trouble with Transactions in tapestry-hibernate

2009-02-26 Thread Ville Virtanen
Check MySQL documentation, MyISAM tables DO NOT support TRANSACTIONS OR FOREIGN KEYS... (the correct one is innodb, use configuration.setProperty(Environment.DIALECT, MySQL5InnoDBDialect.class.getName()); to force Hibernate to use inno db tables when creating database...) - Ville Kejo

Re: T5 ConcurrentBarrier / Deadlock

2009-03-05 Thread Ville Virtanen
If my memory servers me right T5 was having these problems all the way to 5.0.15 or 16, but today all of those are fixed afaik. - Ville titöf wrote: > > Hi! > > We encountered a "small" problem in the way tapestry detects changes of > tml's and classes which

Re: Date Validation

2009-03-05 Thread Ville Virtanen
Feedback from customers indicate that this sometimes is work blocker, as "the system won't let me change the date and I cannot do anything" so, I think this deserves a JIRA. (Calendar should use the date if it is parsable, if not just ignore it and replace it when user chooses a d

  1   2   >