Re: Portlets and Tapestry-Javascript issues

2011-05-16 Thread Moritz Gmelin
t has the problem > then post the html that gets generated? By simplest I mean don't > include all your form variables just the one that fails etc. > > Josh > > > On Thu, May 12, 2011 at 1:53 PM, Moritz Gmelin wrote: >> Hi, >> >> my tapestry/portlets project

Portlets and Tapestry-Javascript issues

2011-05-12 Thread Moritz Gmelin
Hi, my tapestry/portlets project is advancing quite a bit. I'm currently stuck at a page that contains 3 portlets, each being generate from one tapestry page. One of the portlets contains a form that does some default tapestry javascript form validation (checking whether an integer form really c

Re: Critical Bug of Zone with IE9

2011-05-02 Thread Moritz Gmelin
help you in 5.2 > > Regards > François > > 2011/5/1 Moritz Gmelin : >> Hi, >> >> we have had reports that our application causes errors in IE9. I could >> create a very simple example of this behaviour. It seems that Zones that are >> updated with an

Critical Bug of Zone with IE9

2011-05-01 Thread Moritz Gmelin
Hi, we have had reports that our application causes errors in IE9. I could create a very simple example of this behaviour. It seems that Zones that are updated with an ActionLink contained in the Zone itself cause a problem with IE9. In our Apache Log files I could see that IE9 does a POST on th

Event Handler Method

2011-04-24 Thread Moritz Gmelin
Hi, If I have an event link for a request. I can find the target component (with its proper class) with the ComponentSourceService. Is there a more elegant way to find the event handler method that will be invoked on the component than to search through matching method names in the component c

Re: Multiple Portlets / Sharing SSOs

2011-04-19 Thread Moritz Gmelin
gt; scope can be defined: > > http://www.bluesunrise.com/portlet-api/javax/portlet/PortletSession.html > >> >> Original-Nachricht >> Datum: Tue, 19 Apr 2011 23:07:09 +0200 >> Von: Moritz Gmelin >> An: "Tapestry users" >>

Re: Multiple Portlets / Sharing SSOs

2011-04-19 Thread Moritz Gmelin
estGlobals object returns null). So this might be confusing for the ApplicationStateManager. Is there a way to make an ApplicationStateManager bind its SSOs to the PortletSession that the page definitely knows of? Thanks Moritz Am 18.04.2011 um 21:51 schrieb Moritz Gmelin: > OK, > &g

Re: Multiple Portlets / Sharing SSOs across contexts

2011-04-18 Thread Moritz Gmelin
() on this object gives the same ID for both portlets. Thanks for any clues. Moritz Am 18.04.2011 um 10:47 schrieb Moritz Gmelin: > Hi, > > I have tried using Markus Feindlers code to create some portlets for a > liferay portal server. It started very promissing but now I am

Multiple Portlets

2011-04-18 Thread Moritz Gmelin
Hi, I have tried using Markus Feindlers code to create some portlets for a liferay portal server. It started very promissing but now I am quite stuck with some tapestry issues. In order for those portlets to get initialized in liferay I needed to place all tapestry jars in the lib folder of th

Portlets with liferay

2011-04-08 Thread Moritz Gmelin
Hi, I'd like to make parts of our application available as portlets with a liferay server. So far I have found the tapestry5portlet project on google code with some hints on how to move forward. But I have not yet been able to integrate the demo into my liferray 6.0.5 demo installation. Is tape

Re: Threading and SSOs (again)

2010-11-24 Thread Moritz Gmelin
Thanks https://issues.apache.org/jira/browse/TAP5-1355 Moritz Am 24.11.2010 um 00:29 schrieb Josh Canfield: > Can you put the test case into jira? I'll try to look at it over the > holiday/weekend. > On 23 Nov 2010 13:16, "Moritz Gmelin" wrote: >> Hi, >> &

Re: Threading and SSOs (again)

2010-11-23 Thread Moritz Gmelin
Figueiredo: > On Tue, 23 Nov 2010 12:30:42 -0200, Moritz Gmelin > wrote: > >> Hi, > > Hi! > >> Is this a design problem with my application that multple threads can access >> the sessionstateobject at the same time and thus break its uniqueness or is >

Threading and SSOs (again)

2010-11-23 Thread Moritz Gmelin
Hi, a couple of weeks ago, we had an issue with our application when all assets were checked by our AccessControlDispatcher which is checking User permissions to access any resource based on user information stored in a session state object . The problem was that the session-state-objects were

Re: Localization changes in t5.2.2

2010-11-10 Thread Moritz Gmelin
Link link = linkSource.createPageRenderLink(Start.class); request.getResponse().sendRedirect(link); Am 10.11.2010 um 09:58 schrieb Christophe Cordenier: > How do you build the redirect URL ? > > 2010/11/10 Moritz Gmelin > >> Hi, >> >> the support

Re: Localization changes in t5.2.2

2010-11-10 Thread Moritz Gmelin
Hi, the supported Locales do contain de, de_DE, de_CH, fr_CH, etc. M. Am 10.11.2010 um 09:33 schrieb Christophe Cordenier: > Hi > > How is configured your supported locales ? > > 2010/11/9 Moritz Gmelin > >> Hi, >> >> I have just done the upgrade of o

Localization changes in t5.2.2

2010-11-09 Thread Moritz Gmelin
Hi, I have just done the upgrade of out application to T5.2.2. We have so far had a system to redirect a user to a localized start page depending on his locale settings. So far those locale settings could contain language and country. So a german user was re-directed to context/de_DE/startpage.

Re: Again problems with SSOs (Threading)

2010-10-29 Thread Moritz Gmelin
ll reduce (but not eliminate) contention because > requests for assets and the like will not come through the filter. > > > On Fri, Oct 29, 2010 at 11:42 AM, Moritz Gmelin wrote: >> Am 29.10.2010 um 16:24 schrieb Thiago H. de Paula Figueiredo: >> >>> On Fri, 29

Re: Again problems with SSOs (Threading)

2010-10-29 Thread Moritz Gmelin
Am 29.10.2010 um 16:24 schrieb Thiago H. de Paula Figueiredo: > On Fri, 29 Oct 2010 12:14:18 -0200, Moritz Gmelin > wrote: > >> Hi, > > Hi! > >> It happened to me again that one of my RequestFilters was creating a >> SessionStateObject. Which, when done f

Again problems with SSOs (Threading)

2010-10-29 Thread Moritz Gmelin
Hi, It happened to me again that one of my RequestFilters was creating a SessionStateObject. Which, when done for all assets of a page simply fails at one point. Different Threads accessing different Assets in parallel start to create new Sessions and thus the SSO gets lost. Now one can resolve

Re: Live-Class reloading for rest services.

2010-10-27 Thread Moritz Gmelin
a RequestFilter. It will > work fine and it will reload your classes. > If you file a JIRA issue I can provide you with a patch to try. > > Alejandro. > > On Wed, Oct 27, 2010 at 9:57 AM, Moritz Gmelin wrote: >> I don't know whether this is a bug or not. I've s

Re: Live-Class reloading for rest services.

2010-10-27 Thread Moritz Gmelin
e than welcome. > > BTW, Moritz, please file a JIRA issue > (http://jira.codehaus.org/browse/TYNAMO) so we don't forget. > > Saludos. > Alejandro. > > On Tue, Oct 26, 2010 at 2:55 PM, Thiago H. de Paula Figueiredo > wrote: >> On Tue, 26 Oct 2010 10:45:55 -0

Live-Class reloading for rest services.

2010-10-26 Thread Moritz Gmelin
Hi, is there a way to extend Live Class reloading to other claasses that are not pages, components or service implementations? I'm especially interrested in enabling Live Reloading for all classes under TAPESTRY_APP_PACKAGE_PARAM.rest.* Is there some contribution I have to make to enable live

Re: tapestry-resteasy NPE when trying to access session [solved]

2010-10-26 Thread Moritz Gmelin
? >> >> I don't use tynamo so I don't know what they are doing, but I'd guess >> that something like you've suggested is the culprit. >> >> Josh >> >> >> On Mon, Oct 25, 2010 at 12:15 PM, Moritz Gmelin wrote: >>> ?? I do

Re: tapestry-resteasy NPE when trying to access session

2010-10-25 Thread Moritz Gmelin
where reasteasy handles its service methods? M. Am 25.10.2010 um 18:30 schrieb Josh Canfield: >> I'd like to get access to the current session from inside my resteasy >> handler methods. > How are you creating your resteasy handler? > > On Mon, Oct 25, 2010 at 3:06

tapestry-resteasy NPE when trying to access session

2010-10-25 Thread Moritz Gmelin
Hi, I'd like to get access to the current session from inside my resteasy handler methods. But when I inject the request and call getSession() on it, I get a NullPointerException. My original goal was to get access to SessionState objects from tapestry by calling the ApplicationStateManager.ge

Re: SessionStateObject lost with 5.2 [fixed]

2010-10-15 Thread Moritz Gmelin
; I don't ever see Jetty starting strangely ... what else is going on in > your application besides Tapestry. > > Also ... it's always a good idea to "audit" your runtime classpath, > make sure there isn't anything odd going on there. > > On Thu, Oct 14,

Re: No 404 error is raised

2010-10-15 Thread Moritz Gmelin
Hi, we've been running into this also. Fixed this by creating a custom 404 page and setting this as the default start page. FourOhFour.tml http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Page not found And FourOhFour.java import org.apache.tapestry5.Link; import org.apa

Re: SessionStateObject lost with 5.2

2010-10-14 Thread Moritz Gmelin
] de.example.aso.CurrentSessionASO.valueBound(CurrentSessionASO.java:1587) session 95wqzf1oyaps asoHash 1646600475 name sso:de.example.aso.CurrentSessionASO thread btpool0-4 Am 14.10.2010 um 22:04 schrieb Moritz Gmelin: > Hi, > > I added the logging as you suggested. This is part of the logging for a > _

Re: SessionStateObject lost with 5.2

2010-10-14 Thread Moritz Gmelin
your servlet container, it may be a race condition > between threads, or it may just be a coding problem in your code. I > hate to say it, but the last option is the most likely (given the > total lack of information you've provided). > > On Thu, Oct 14, 2010 at 3:01

SessionStateObject lost with 5.2

2010-10-14 Thread Moritz Gmelin
Hi, since upgradeing to Tapestry 5.2 (5.2.0 and 5.2.1) we sometimes obseve that the contents of our SessionStateObject gets lost. The Session-ID between 2 requests is identical, but the Hashcode of the @SessionState object changes and thus the contents are lost. If everything works correctly, t

Re: Resteasy and security (again)

2010-09-13 Thread Moritz Gmelin
ep 13, 2010 at 5:22 PM, Christophe Cordenier > wrote: >> Hi ! >> >> See how IgnoredPaths filter is contributed in TapestryModule class, then use >> >> before:IgnoredPaths >> >> to execute your filter before Tapestry's one >> >> HTH >>

Resteasy and security (again)

2010-09-13 Thread Moritz Gmelin
Hi, I've been able to create some kind of authentication filter for my tapestry webapp. Now I'd like to have this same filter work with the tapestry-resteasy webservices of the application. But since the resteasy module adds the rest path to the tapestry-ignored-paths. My filter is ignored by t

Re: FileUpload Problem / MultipartDecoder

2010-09-09 Thread Moritz Gmelin
Got it, the uploaded file is still known as a parameter. You just need to cycle through all the parameters of the HTTPServletRequest and check whether the MultipartDecoder service has a file with that name. M. Am 09.09.2010 um 18:08 schrieb Moritz Gmelin: > Hi, > > I want to in

FileUpload Problem / MultipartDecoder

2010-09-09 Thread Moritz Gmelin
Hi, I want to intercept a special form submission to a url that contains an uploaded file. However I don't know how this file is called. Therefore I have created a filter that is configured in the contributeRequestHandler method in my AppModule. The MultipartDecoder seems to give me that file in

Re: OAuth support in tynamos tapestry-security

2010-09-07 Thread Moritz Gmelin
Bolčina > wrote: >> That would be awesome. I am using tapestry security in two apps currently. >> One is a 5.1 and the other T5.2. So far very smooth. I am very pleased. Keep >> up! >> >> Regards, >> Borut >> >> 2010/7/14 Moritz Gmelin &g

T5.2 update problem - The resource path was not within an aliased path

2010-09-04 Thread Moritz Gmelin
Hi, I tried to convert an application from T5.1.0.5 to T5.2. I'm having problems with injected assets. In the .tml file I have an image like this in the .java file for the page it is stated like this @Inject @Path("classpath:/assets/icons/nav_left_red.png") @Property

Re: No service implements the interface org.slf4j.Logger

2010-08-04 Thread Moritz Gmelin
specific to the service, > rather than a general object provided via the MasterObjectProvider > service." > > > So this problem is not related to dependencies. > > Yunhua > > On Tue, Aug 3, 2010 at 3:57 PM, Moritz Gmelin wrote: >> Hi, >> >>

No service implements the interface org.slf4j.Logger

2010-08-03 Thread Moritz Gmelin
Hi, I am having some troubles with a T5 application integrating tapestry-resteasy and tapestry-security. I'm getting No service implements the interface org.slf4j.Logger as soon as I try to inject a Logger in a page or service. If I remove the tapestry-resteasy dependency from the application, I

Re: pdf generation using flying saucer

2010-07-19 Thread Moritz Gmelin
Hi, we had the same challenge to create PDF screenshots from our application. At that time I did not know about tapx-templating. We ended up using a native library wkhtmltopdf on the server that we call from a tapestry page and use the referred in the URL as the URL to pass to wkhtmltopdf. You

Re: OAuth support in tynamos tapestry-security

2010-07-14 Thread Moritz Gmelin
t; > Kalle > > > On Wed, Jul 14, 2010 at 2:12 PM, Borut Bolčina > wrote: >> That would be awesome. I am using tapestry security in two apps currently. >> One is a 5.1 and the other T5.2. So far very smooth. I am very pleased. Keep >> up! >> >> Regar

OAuth support in tynamos tapestry-security

2010-07-14 Thread Moritz Gmelin
Hi, I was wondering if there is some kind of support planned to support OAuth authentication with tynamos tapestry-security. I would love to be able to offer RESTful webservices with OAuth authentication with tapestry, tapestry-restful and tapestry-security. Any plans? Pointers? Thanks Morit

Multiple browser windows handling with sessions

2010-05-25 Thread Moritz Gmelin
Hi, Does anybody know of a practicle way to handle the situation that a user opens multiple browser windows and does persistant changes in one window that will of course be reflected in the session of the other window too since both windows share the same session (as long as it is the same brow

Re: IE6 and inPlace Grid

2010-02-01 Thread Moritz Gmelin
Just for the record: This is related to IE6 in Wine not being installed with ActiveX by default. If you use ies4linux to install IE6 in Wine on linux, all the AJAX stuff works again. Regards Moritz Am 01.02.2010 um 13:53 schrieb Moritz Gmelin: > Hi, > > I just discovered that the

IE6 and inPlace Grid

2010-02-01 Thread Moritz Gmelin
Hi, I just discovered that the standard InPlace Grid seems to be broken with IE 6 (T5.1.05) http://tapestry-test.appspot.com/inplacegriddemo Well at least with my IE6 that I run on Linux with Wine to test our application compatibility. Is this an issue with IE6 in Wine or is it a known proble

Re: Chenille Kit - Handle response error

2010-01-18 Thread Moritz Gmelin
Hi, we've solved this issue just yesterday with a custom AccessControlDispatcher. Works great for inPlace grids and other zone update stuff. Add this to your AppModule public void contributeMasterDispatcher( OrderedConfiguration configuration,

Re: JavaScript inside .tml breaks ZoneUpdate for IE

2010-01-13 Thread Moritz Gmelin
la Figueiredo > wrote: >> On Tue, 12 Jan 2010 14:53:05 -0200, Moritz Gmelin >> wrote: >> >>> Hi, >> >> Hi! >> >>> clickme >> >> @Inject RenderSupport and use its addScript() methods instead of adding the >> JavaScrip

JavaScript inside .tml breaks ZoneUpdate for IE

2010-01-12 Thread Moritz Gmelin
Hi, We're having trouble with JavaScript calls in blocks that are used for zone updates. They work perfectly for FIrefox, Safari, etc. but show nasty errors in IE. apostrophes in javascript statements are returned as ' in the returned block for zone updates. This irritates IE. In the example b

Chenillekit issues with IE6

2009-10-07 Thread Moritz Gmelin
Hi, The window component of chenillekit is loading its border images from within a CSS file that is added to the component depending on the style attribute. The problem with this is that IE6 is somehow interpreting those path arguments as relative paths', relative to the current page. Other

Re: COMBINE_SCRIPTS no effect

2009-06-30 Thread Moritz Gmelin
Well, then it seems that there is something wrong. As I said on some pages of the application I can see a header like this (correct) http://www.w3.org/TR/html4/loose.dtd ">http://www.w3.org/1999/xhtml";>Avetana Patientenakteequiv="Content-Type">href="/avetanafile/assets/tapestry/5.1.0.5/de

Re: COMBINE_SCRIPTS no effect

2009-06-29 Thread Moritz Gmelin
, combination is turned off in development mode (by default). On Mon, Jun 29, 2009 at 6:59 AM, Moritz Gmelin >wrote: Hi, I just found out that some of our pages do generate a number of JS head elements. Although configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");

COMBINE_SCRIPTS no effect

2009-06-29 Thread Moritz Gmelin
long file name. Is this a known issue or a feature that I do not understand yet? Thanks Moritz -- Dipl.-Inform. Moritz Gmelin avetana GmbH Geschäftsführer Brändströmstr. 8 76275 Ettlingen Tel: 07000-AVETANA (07000-2838262) eMail: moritz.gme...@avetana.de Internet: www.avetana-gmbh.de Gesch

Re: Access Control for events

2009-06-25 Thread Moritz Gmelin
void success(Object message); public boolean hasRecord(); public String getZone(); } tml: On Thu, Jun 25, 2009 at 2:41 PM, Moritz Gmelin wrote: Hi, I'm on T5.1.0.5. I have installed 2 AccessControlDispatchers in my application. One for PageRendering and one

Access Control for events

2009-06-24 Thread Moritz Gmelin
Hi, I'm on T5.1.0.5. I have installed 2 AccessControlDispatchers in my application. One for PageRendering and one for event handling. Both Dispatchers just redirect to the start page with an error message in the case that e.g. no user was logged in. This works nicely with all pages and eve

Redirect from Exception Page (with Tomcat) in 5.1

2009-06-15 Thread Moritz Gmelin
Hi, I'd like to have all Exception of my Application handled by its special ExceptionReport in the way that on the production system the ExceptionReport directly redirects the user to the start page. This works well using Jetty as AppServer and checking for the error reason in beginRender a

Re: assets caching T5.1

2009-06-04 Thread Moritz Gmelin
ote: Have you switched off production mode? Perhaps in 5.1, in dev mode we won't specify the far future expires header. In 5.1 I'm pretty sure that far future expires is in force regardless of production mode. Joachim Moritz Gmelin wrote: Hi, after updateing our application to T

Turning on Applicationwide security in 5.1

2009-06-04 Thread Moritz Gmelin
Hi, In 5.0, we did this in our AppModule to enbale applicationwide security public void contributeMetaDataLocator(MappedConfigurationString> configuration) { configuration.add(MetaDataConstants.SECURE_PAGE, "true"); } In 5.1.0.5 this seems to have no effect. I

assets caching T5.1

2009-06-04 Thread Moritz Gmelin
Hi, after updateing our application to T5.1 I was hoping for noticeable accelleration in loading of pages. However while checking the log output I can see that all the assets are requested from the browser on every loading of a page for example I can see this INFO: Request time: 0 ms, pag

Re: overriding dateeditor

2009-06-03 Thread Moritz Gmelin
21:36 schrieb Moritz Gmelin: Well yes, I'm using 5.1.0.5 too. Your example is working for the DataTypeAnalyzer whicht takes an ordered List. BeanBlockContribution unfortunately only takes an unorderedList. M. Am 03.06.2009 um 21:29 schrieb Thiago H. de Paula Figueiredo: Em Wed, 03 Jun 200

Re: overriding dateeditor

2009-06-03 Thread Moritz Gmelin
Well yes, I'm using 5.1.0.5 too. Your example is working for the DataTypeAnalyzer whicht takes an ordered List. BeanBlockContribution unfortunately only takes an unorderedList. M. Am 03.06.2009 um 21:29 schrieb Thiago H. de Paula Figueiredo: Em Wed, 03 Jun 2009 16:16:19 -0300, Moritz G

Re: overriding dateeditor

2009-06-03 Thread Moritz Gmelin
n of those contributeBeanBlockSource methods is not predictable. Most often times the method from my appModule class is called first but sometimes the method from tapestryModule is called first. M. Am 03.06.2009 um 21:02 schrieb Thiago H. de Paula Figueiredo: Em Wed, 03 Jun 2009 15:49:13 -0300, Moritz Gmelin

overriding dateeditor

2009-06-03 Thread Moritz Gmelin
Hi, I am still trying to find the proper way to override the default date editor component. I have tried to do the following in my AppModule class public static void contributeBeanBlockSource(Configuration configuration) { configuration.add(new BeanBlock

Re: T5.1.0.5 Component's body not rendered

2009-06-02 Thread Moritz Gmelin
Hi, I had a very similar problem today too. Sometimes the body was rendered, other times just nothing was rendered. My workaround was to define a block containing the body part, pass this block to the "report" and have it rendered through to="passedBlock" /> your report.tml would look lik

Re: [T5.1] NPE in ResponseCompressionAnalyzerImpl.isCompressable

2009-06-01 Thread Moritz Gmelin
Hi, back to my original question: Is this NPE a bug in T5.1 or is redirection not working at all? M. Am 01.06.2009 um 23:31 schrieb Thiago H. de Paula Figueiredo: Em Mon, 01 Jun 2009 18:23:04 -0300, Moritz Gmelin > escreveu: Thanks for this try, Ooops, my mistake. You can retur

Re: [T5.1] NPE in ResponseCompressionAnalyzerImpl.isCompressable

2009-06-01 Thread Moritz Gmelin
work from RenderPhaseMethods. Any other ideas? Thanks Moritz Am 01.06.2009 um 23:05 schrieb Thiago H. de Paula Figueiredo: Em Mon, 01 Jun 2009 17:49:40 -0300, Moritz Gmelin > escreveu: Hi, Hi! You could just return Page1.class in beforeRender() or onActivate() to redirect instead

[T5.1] NPE in ResponseCompressionAnalyzerImpl.isCompressable

2009-06-01 Thread Moritz Gmelin
Hi, we just tried porting a larger application from 5.0.18 to 5.1.0.5. One thing is causing troubles though. We use redirection in some cases to bring the user back to the start page if an error occurs. This is how we do it in T5.1 (code from a sample Page to reproduce the NPE in a clean

Re: Overriding BeanBlockSource (serious issue with contributeBeanBlockSource)

2008-10-21 Thread Moritz Gmelin
I tried to add @Order("after:*") to the contributeBeanBlockSource method but the execution order is still random. Am 20.10.2008 um 23:40 schrieb Moritz Gmelin: Hi Howard, Thanks for taking the time to answer. I understand the licensing thing. However the other problem s

Re: Overriding BeanBlockSource (serious issue with contributeBeanBlockSource)

2008-10-20 Thread Moritz Gmelin
) at org.mortbay.thread.BoundedThreadPool $PoolThread.run(BoundedThreadPool.java:475) Am 17.10.2008 um 15:33 schrieb Howard Lewis Ship: On Fri, Oct 17, 2008 at 2:56 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: Hi, In our application we override the default editing component for

Overriding BeanBlockSource

2008-10-17 Thread Moritz Gmelin
Hi, In our application we override the default editing component for Date types to be the DateTimeEditor from t5-components (why is that one not the default. It is so much nicer?). AppModule.java public static void contributeBeanBlockSource(

Re: Recover broken database connection

2008-10-04 Thread Moritz Gmelin
tion use because it uses only one connection without guarantee that it is/stays open. take a look at c3p0 ... it's a matter of 4-5 lines of config values to configure a connection pool that will keep the connection open in hibernate g, kris Moritz Gmelin <[EMAIL PROTECTED]> 03.10.20

Recover broken database connection

2008-10-03 Thread Moritz Gmelin
Hi We have a t5 application running using tapestry-hibernate to connect to a sqlserver database. Now the applicationserver (tomcat) and the db Server are separated by ad Firewall that sometimes closes the connection for no reason. This totally Breaks the t5 application with nothing but ad r

Securing services

2008-09-09 Thread Moritz Gmelin
Hi, Securing page access with an access controller injected as a dispatcher in the render cycle is well described in the T5 wiki. But How would I secure a service method on a page? E.G. I have a page "DocumentPage" with a method onDownload(id docID). When the URL DocumentPage/onDownload/5 is

5.0.14 InPlaceEditor in InPlaceGrid problem

2008-09-02 Thread Moritz Gmelin
Good morning List readers, yesterday we tried to switch to T5.0.14 from 5.0.13. Mostly smooth. One thing however seems to be "broken". If I use a to add InPlaceEditors to GridCells every second click on the list pagers or sort

Re: Sorting in Grid

2008-07-30 Thread Moritz Gmelin
compareTo(Object o) { CaseInsensitiveString cis = (CaseInsensitiveString)o; return String.CASE_INSENSITIVE_ORDER.compare(s, cis.s); } public String toString() { return s; } } On Wed, Jul 30, 2008 at 6:15 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: Hi, If I want

Sorting in Grid

2008-07-30 Thread Moritz Gmelin
Hi, If I wanted to change the sorting system of a grid colum. e.g ignore lower/uppercase for sorting. How could I do this? Regards Moritz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: Access control with dispatchers and annotations

2008-07-29 Thread Moritz Gmelin
Hi, I think there is a bug in the Wiki. Try this instead Component page = componentSource.getPage(pageName); Private prvAnnot = page.getClass().getAnnotation( Private.class); when your Annotation is called Private of course. You'll get th

onActivate called twice when overriding from abstract generic superclass

2008-07-28 Thread Moritz Gmelin
Hi, if I have an abstract superclass of a page that has the abstract definition of onActivate() defined public abstract SuperClass { public abstract void onActivate(E value); } and a subclass public SubClass Extends SuperClass { public void onActivate (Bar value) { System.o

Re: onActivate with access permission check

2008-07-28 Thread Moritz Gmelin
08 um 18:00 schrieb Angelo Chen: you can use dispatcher for this, there are some articles in the wiki page. Moritz Gmelin wrote: Hi, I want to add some security to my application by checking whether the currently logged in user (stored in an ApplicationState) has access to the object

onActivate with access permission check

2008-07-26 Thread Moritz Gmelin
Hi, I want to add some security to my application by checking whether the currently logged in user (stored in an ApplicationState) has access to the object that is handed to his current page via onActivate(). Since tapestry handles the database fetching of entities to an onActivate method I

updating a zone "manually"

2008-07-16 Thread Moritz Gmelin
Hi, I have a page that contains a zone (from an InPlace grid) that I'd like to update manually from within a javascript function. I can already call a function of the grid (subclass of the grid) that returns the script that should do this updating. The response Looks something like this {"

[T5Components] multiple palettes on page

2008-07-10 Thread Moritz Gmelin
. Moritz Gmelin avetana GmbH Geschäftsführer Brändströmstr. 8 76275 Ettlingen Tel: 07000-AVETANA (07000-2838262) eMail: [EMAIL PROTECTED] Internet: www.avetana-gmbh.de Geschäftsführer: Moritz Gmelin Sitz der Gesellschaft: Ettlingen Amtsgericht Mannheim HRB 362834 UST-ID DE211535427

[T5Components] multiple palettes on page

2008-07-10 Thread Moritz Gmelin
Hi, I am trying to put multiple palette components on a page to edit multiple lists at the same time. It seems that only the last palette actually writes its data correctly in the list. Is there a known issue when using multiple palettes on a page? Regards Moritz

Tables being cached by IE

2008-07-03 Thread Moritz Gmelin
Hi, one of our clients has noticed, that when he accesses a simple page with a grid through IE7, hitting the Pagers on the grid does not show the requested Grid-Page but still the old one. Refreshing the page thereafter show the right grid-page. I can imagine that IE is doing some caching h

Re: Hibernate Version referenced t5c-project

2008-06-29 Thread Moritz Gmelin
Ooops, posted too early: updating to maven integration for eclipse 0.9.4 fixed this. great, I just answered my first question on this list ! M. Am 29.06.2008 um 23:12 schrieb Moritz Gmelin: Hi, The pom.xml from t5c-project references hibernate 3.2.2.ga and hibernate-annotations 3.2.1

Hibernate Version referenced t5c-project

2008-06-29 Thread Moritz Gmelin
Hi, The pom.xml from t5c-project references hibernate 3.2.2.ga and hibernate-annotations 3.2.1.ga as dependencies. My own project references higher version numbers of poth packages as dependencies. I have just moved to eclipse 3.4 with run-jetty-run plugin 1.0.1 and maven integration for ec

Re: Strange performance issue Tomcat/Jetty

2008-06-24 Thread Moritz Gmelin
. 72sec). It does not look like there is any difference on the methods that both servers use. Just the time spent working seems to be different. Could it be a logging issue with those servers? M. Am 23.06.2008 um 12:38 schrieb Massimo Lusetti: On Mon, Jun 23, 2008 at 8:13 AM, Moritz Gmelin

Re: Strange performance issue Tomcat/Jetty

2008-06-22 Thread Moritz Gmelin
tapestry-hibernate integration? M. Am 20.06.2008 um 15:00 schrieb Moritz Gmelin: Hi, I have a 5.0.13 application running that handles some grids with about 150 entries fetched from a database. Now on one page, this grid is basically the only component of the page. On another page, there are some

Strange performance issue Tomcat/Jetty

2008-06-20 Thread Moritz Gmelin
Hi, I have a 5.0.13 application running that handles some grids with about 150 entries fetched from a database. Now on one page, this grid is basically the only component of the page. On another page, there are some beans around that grid and the grid itself is in a block that is only displ

Searcheable inPlace Grid

2008-06-14 Thread Moritz Gmelin
Hi, I'd like to add a search box to a grid component that has its inPlace attribute set to "true" (really cool ajax feature). This works if the submit action of the search box repaints the whole page. Then the grid gets its source from a "filtered" list. How can I make the submit button of

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Moritz Gmelin
Hi, would it be possible to do a 5.0.12 release and then do this renaming? I fear to use the nightly build because of such issues. Thanks Moritz Am 20.05.2008 um 08:06 schrieb Jun Tsai: org.apache.tapestry.v5 +1 -

Re: Threading issues with DB operations on OS X

2008-04-22 Thread Moritz Gmelin
Looks like my issue. I'll give it a try. Thanks Am 22.04.2008 um 17:46 schrieb Howard Lewis Ship: Yes, it does sound like https://issues.apache.org/jira/browse/TAPESTRY-2247 which is fixed in the nightly snapshots. On Tue, Apr 22, 2008 at 8:26 AM, Moritz Gmelin <[EMAIL PROTECTED

Threading issues with DB operations on OS X

2008-04-22 Thread Moritz Gmelin
Hi, There seems to be some threading issues when doing database updates from page to page. E.G. we have a page that displays a list of elements in a Database table and a button that you can click to add a new entry. The button is a ActionLink. Its method handler adds an element to the datab

T5 TapestryException when accessing root of secured application

2008-04-15 Thread Moritz Gmelin
Hi, I have deployed an application that I made secure by adding public void contributeMetaDataLocator(MappedConfiguration configuration) { configuration.add(TapestryConstants.SECURE_PAGE, "true"); } to the AppModule class. Now when I try to access

tapestry-hibernate and MS SQLServer

2008-03-27 Thread Moritz Gmelin
Hi, we have an application developed using a PostgreSQL Database that we are now trying to deploy on a MS SQL Server. Problem is that any database error that occurs (e.G. violation of unique constraints) makes that access to the table involved in the transaction is blobked for all users (

InPlaceEditor and special characters

2008-03-18 Thread Moritz Gmelin
Hi, the InPlaceEditor component seems to handle special characters (äöü) incorrectly, I only get ??? instead in my save method. Anything one can do about this? M. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [T5] Changing default renderer for boolean in Grid and BeanDisplay

2008-02-28 Thread Moritz Gmelin
line from the wiki: configuration.add(new BeanBlockContribution("date", "AppPropertyEditBlocks", "date", true)); The last parameter is true if the contribution is for an "edit" contribution, and false for a "view" contribution. Robert On Feb 28, 2008,

Re: [T5] Changing default renderer for boolean in Grid and BeanDisplay

2008-02-28 Thread Moritz Gmelin
Hm, I can see this having an influence on how the BeanEditor behaves. OK. But my question was how to change the default renderer for Grids and BeanDisplay components... M. Am 28.02.2008 um 23:13 schrieb Davor Hrg: it's just what this mailing list is about :) On 2/28/08, Moritz G

Re: [T5] Changing default renderer for boolean in Grid and BeanDisplay

2008-02-28 Thread Moritz Gmelin
Great! Now guess who posted the question leading to this answer :-) M. Am 28.02.2008 um 23:02 schrieb Davor Hrg: here's tutorial for date (by SvenHomburg) http://wiki.apache.org/tapestry/Tapestry5LocalizedDateField use it to do it for boolean Davor Hrg On 2/28/08, Moritz Gmelin &l

[T5] Changing default renderer for boolean in Grid and BeanDisplay

2008-02-28 Thread Moritz Gmelin
Hi, maybe this is for the FAQ I can't seem to find a way to tell Tapestry 5 to render all boolean elements in my beans as YES and NO instead of TRUE and FALSE in Grids and BeanDisplays. Setting an extra "parameter cell" for all boolean columns in my grids is probably not the T5-way to

Re: T5 customization with web.xml

2008-02-27 Thread Moritz Gmelin
parameters and saving them as System parameters. M. Am 27.02.2008 um 10:30 schrieb Davor Hrg: you could extend TapestryFilter, and copy properties from web.xml into system properties, and use system properties in your module On Wed, Feb 27, 2008 at 9:41 AM, Moritz Gmelin <[EMAIL PROT

T5 customization with web.xml

2008-02-27 Thread Moritz Gmelin
Hi, I'd like to customize my AppModule.binding() method based on parameters I write in the web.xml file. Therefore I'd need to access the ServletContext or tapestrys SymbolProvider in the bind() method of my AppModule service. This is because I'd like to distribute different applications wi

  1   2   >