Re: No uploaded file when upgrading to new Tapestry version (Spring Boot jar, embedded Tomcat...)

2018-06-20 Thread Vjeran Marcinko
pring Boot jar, embedded Tomcat...) Thank you Vjeran Il 19/06/2018 18:58, Vjeran Marcinko ha scritto: Ah, big SORRY for version typo... I meant that I used 5.3.7 (not 4.3.7), and I wanted to stay there, but there was some java-8 related issue during boot, and I had to upgrade to 5.3.8 (rel

Re: No uploaded file when upgrading to new Tapestry version (Spring Boot jar, embedded Tomcat...)

2018-06-19 Thread Vjeran Marcinko
list in case of FileUploadException. Did you try to attach with debugger and checking the exception object? On Tue, Jun 19, 2018 at 7:28 PM, Vjeran Marcinko < vjeran.marci...@email.t-com.hr> wrote: Hi, I am upgrading my old Tapestry 4.3.7 app (java-7, standalone Tomcat...) to newer tech stack (jav

Re: No uploaded file when upgrading to new Tapestry version (Spring Boot jar, embedded Tomcat...)

2018-06-19 Thread Vjeran Marcinko
49 PM, Ivano Luberti wrote: Side questiono on this message: Tapestry 4.3.7 is not compatible with Java 8 ? Il 19/06/2018 18:28, Vjeran Marcinko ha scritto:  Hi, I am upgrading my old Tapestry 4.3.7 app (java-7, standalone Tomcat...) to newer tech stack (java 8, Spring Boot with embeddable T

No uploaded file when upgrading to new Tapestry version (Spring Boot jar, embedded Tomcat...)

2018-06-19 Thread Vjeran Marcinko
 Hi, I am upgrading my old Tapestry 4.3.7 app (java-7, standalone Tomcat...) to newer tech stack (java 8, Spring Boot with embeddable Tomcat deployed as single jar...). I wan't to leave tapestry untouched as much as possible, so I just upgraded from 4.3.7 to 4.3.8 because of Java-8 requiremen

Adding/removing upload form fields on client side?

2013-11-08 Thread Vjeran Marcinko
Hi, I have a form that should allow adding arbitrary number of upload fields, thus once final Submit on form is presses, all files should be uploaded then. Meaning, on server side I should simply have form bean that has something like : Collection uploadedFiles; And on the form to have someth

Grid disable sorting mixin

2011-02-26 Thread Vjeran Marcinko
Hello all, I developed simple mixin that disables sorting for any Grid. I didn't test it extensively, but it seems to work, so if anyone is interested here it is: import org.apache.tapestry5.annotations.InjectContainer; import org.apache.tapestry5.beaneditor.BeanModel; import org.apache.tapest

Re: Disabling sort in Grid forces property names being java coded?

2011-02-26 Thread Vjeran Marcinko
t("nonSortableColumn") .sortable(false); return model; } Hope it helps, Joost 2011/2/26 Vjeran Marcinko : Hello, I want to create Grid with sorting disabled, similar to T4 grid usage with exclamation mark for sort disabling: "!username,!age, !creationTime" Prope

Disabling sort in Grid forces property names being java coded?

2011-02-26 Thread Vjeran Marcinko
Hello, I want to create Grid with sorting disabled, similar to T4 grid usage with exclamation mark for sort disabling: "!username,!age, !creationTime" Property names are best specified in template, naturally. I heard somewhere that in order to achive that little thing in T5.2 I need to add to

Page configuration and activation not exactly separated?

2011-02-23 Thread Vjeran Marcinko
Hello all, I just wanted to hear if current state of page configuration and activation is the desired one? (this is the reason for one of my architectural problems, but I don't want to go into details here since it will boil down to - why don't I use RequestFilters insted of page hiererchy fo

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Vjeran Marcinko
- Original Message - From: "Massimo Lusetti" To: "Tapestry users" Sent: Tuesday, November 16, 2010 4:11 PM Subject: Re: Form field inputs automatically cleared when "success" reached!? On Tue, Nov 16, 2010 at 4:00 PM, Vjeran Marcinko wrote: Long

Re: Form field inputs automatically cleared when "success" reached!?

2010-11-16 Thread Vjeran Marcinko
- Original Message - From: "Massimo Lusetti" Newsgroups: gmane.comp.java.tapestry.user To: "Tapestry users" Sent: Tuesday, November 16, 2010 10:30 AM Subject: Re: Form field inputs automatically cleared when "success" reached!? On Tue, Nov 16, 2010 at 6:22 AM, Kalle Korhonen wrote

Re: Let's make @ActivationRequestParameter first-class citizen

2010-11-02 Thread Vjeran Marcinko
Hello again, - Original Message - From: "Thiago H. de Paula Figueiredo" To: "Tapestry users" Sent: Tuesday, November 02, 2010 4:09 PM Subject: Re: Let's make @ActivationRequestParameter first-class citizen Something I personally find odd is to have two different object ids being us

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-02 Thread Vjeran Marcinko
- Original Message - From: "Thiago H. de Paula Figueiredo" To: "Tapestry users" Sent: Tuesday, November 02, 2010 8:28 PM Subject: Re: [Tapestry Central] Tapestry 5.2.2 On Tue, 02 Nov 2010 16:10:52 -0200, Vjeran Marcinko wrote: Mentioned utility static method

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-02 Thread Vjeran Marcinko
t; Sent: Tuesday, November 02, 2010 4:22 PM Subject: Re: [Tapestry Central] Tapestry 5.2.2 That's odd, pretty sure I covered that case. On Tue, Nov 2, 2010 at 7:46 AM, Vjeran Marcinko < vjeran.marci...@email.t-com.hr> wrote: - Original Message - From: "Howard Lewis Ship&q

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-02 Thread Vjeran Marcinko
- Original Message - From: "Howard Lewis Ship" To: "Tapestry users" Sent: Tuesday, November 02, 2010 3:34 PM Subject: Re: [Tapestry Central] Tapestry 5.2.2 I'm not sure how you are getting illegal access errors at this point; I'd need to see your code. The code is dead simple. I ju

Re: Let's make @ActivationRequestParameter first-class citizen

2010-11-02 Thread Vjeran Marcinko
Hi, Vjeran! Hi Thiago! Almost any kind of cross-page solution, as this scenario, is much better implemented as a ComponentRequestFilter. You can put all the logic in a single, easily unit tested class and with almost no effort (just a contribution to the ComponentRequestHandler service) apply

Re: Let's make @ActivationRequestParameter first-class citizen

2010-11-02 Thread Vjeran Marcinko
Paula Figueiredo" To: "Tapestry users" Sent: Tuesday, November 02, 2010 11:38 AM Subject: Re: Let's make @ActivationRequestParameter first-class citizen On Tue, 02 Nov 2010 05:08:08 -0200, Vjeran Marcinko wrote: Hello all. Hi! URL path context and onActivate/onPassiv

Re: Let's make @ActivationRequestParameter first-class citizen

2010-11-02 Thread Vjeran Marcinko
- Original Message - From: "Kalle Korhonen" To: "Tapestry users" Sent: Tuesday, November 02, 2010 8:24 AM Subject: Re: Let's make @ActivationRequestParameter first-class citizen 2010/11/2 Vjeran Marcinko : And finally, with 5.2. release, we got @A

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-02 Thread Vjeran Marcinko
I have a question regarding this disabling live-service reloading since I'm the one who still gets IllegalAccessErrors in my service when it calls static package-private method in some other utility class: Why is this disabling realized via JVM property and not deafult configuration mechanism th

Let's make @ActivationRequestParameter first-class citizen

2010-11-02 Thread Vjeran Marcinko
Hello all. I know this is shameless whining for my wishes, but I find it very strange that people don't use new @ActivationRequestParameter annotation often and notice it's shortcomings. When I first jumped on T5, I first looked what is the way to pass parameters between pages/links. URL p

[5.2.1] @ActivationRequestParameter field and superclass "activate" ordering bug?

2010-10-14 Thread Vjeran Marcinko
Hi. Tapestry sets @ActivationRequestParameter fields on page instance before calling "activate" handler. But it seems that this ordering is only respected when both fields and activate handler are on the same page class, but in subclass-superclass cases, superclass "activate" handler is called

[T5.2.1] IllegalAccessError again in my utility class

2010-10-14 Thread Vjeran Marcinko
Hi. Similar as in version 5.2.0, and now in 5.2.1, my custom service (ComponentRequestHandler) registered in my module class still throws IllegalAccessError as in 5.2.0 since it accesses package-private static method in utility helper class. The utility class is stateful, and later used in o

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-12 Thread Vjeran Marcinko
should either make those other members (including constructors) public OR mark the service in question as not live-reloadable. This can be accomplished as: public static void bind(ServiceBinder binder) { binder.bind(MyInterface.class, MyImplementation.class).preventReloading(); } On We

Re: Latest 5.2 distributions not available yet?

2010-08-11 Thread Vjeran Marcinko
e.comp.java.tapestry.user To: "Tapestry users" Sent: Wednesday, August 11, 2010 4:21 PM Subject: Re: Latest 5.2 distributions not available yet? it was renamed to ActivationRequestParameter 2010/8/11 Vjeran Marcinko : Hello, I wanted to try out new QueryParameterMapped annotation, b

Latest 5.2 distributions not available yet?

2010-08-11 Thread Vjeran Marcinko
Hello, I wanted to try out new QueryParameterMapped annotation, but it seems it isn't present yet in latest 5.2 distributions that are available through man site. I guess it should be present in tapestry-core-5.2.0, and in "org.apache.tapestry5.annotations" package, but it isn't: I tried 2

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-11 Thread Vjeran Marcinko
I tried everything again with converting my package-private methods into public, and now everything works, so this is also related to bug: https://issues.apache.org/jira/browse/TAP5-1233 -Vjeran - Original Message - From: "Vjeran Marcinko" To: "Tapestry users&qu

Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-11 Thread Vjeran Marcinko
Hello, I tried to port my 5.1 app to 5.2 alpha, and also got IllegalAccessError. I have my own ComponentRequestFilter implementation (for Hibernate session management) registered naturally in Tapestry's module class (service package), and IllegalAccessError is raised when this filter tries to a

Re: [Tapestry Central] Tapestry 5.2: Improved Query Parameter Support

2010-06-28 Thread Vjeran Marcinko
I'm OK with any solution, but I think the reason why some obvious name hasn't popped up immediately in everyone's head is because we use few names for same thing : - action request, component event request... - render request, page request, page render request, page activation request, ... :

Re: [Tapestry Central] Tapestry 5.2: Improved Query Parameter Support

2010-06-26 Thread Vjeran Marcinko
This is exactly related to comment I left on TAP-1190 so I'll repeat the question here - Why doesn't @QueryParameterMapped has attribute to specify whether it is required or optional? In my web apps I don't use onActivate/onPassivate for anything else beside setting/getting activation context

Page-constrained @Persist("client")?

2010-03-03 Thread Vjeran Marcinko
Hello, Has anyone developed some nice page-level client persistence strategy and is willing to share it? Default @Persist("client") keeps URL parameter present all the time until discarded explicitly via code, even when user leaves the page in question, but I need something that will act simil

Back to request-driven frameworks...What a step back!

2010-01-29 Thread Vjeran Marcinko
Hello, I rarely write here, and that's always when I have a problem with some part of Tapestry, but this time I want to praise it a bit since I had to work recently on some project made in reques-driven framework (Spring MVC). For years I have been working just inTapestry, so I just forgot how it

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Vjeran Marcinko
I think you should write the book, but only if there's going to be a T5.1.1.x set of releases with bugfixes - this is long overdue in my opinion. (we have too many 'temporary' tapestry fixes - > it's annoying & embarrassing) I don't think there's any pressing need for T5.2 yet (IMHO) but there

Suggestion for instance-based authorization?

2009-11-08 Thread Vjeran Marcinko
Hello all, I have a T5 app that have typical security restriction to some pages based on role, but also based on domain-specific instances that can be resolved from request parameters. For example, request to web page ShowDocument that accepts "documentID" as parameter can be allowed only to

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-08 Thread Vjeran Marcinko
I understand that book would be valuable addition to Tapestry, but I would also prefer you to spend your time doing the coding, and if I may add, not so much on new features (like Spring Web Flow), but more on improving already present ideas since there are many places for improvement. One thing

Re: [T5] Log in directly to requested page (not just home page)

2009-08-09 Thread Vjeran Marcinko
Thanx, This is satisfying solution, though I don't know if Link implementation not being Serializable makes any problem when persisting in HttpSession in some cases. -Vjeran - Original Message - From: "Josh Canfield" To: "Tapestry users" Sent: Sunday, August 09, 2009 7:48 PM Subj

Re: [T5] Log in directly to requested page (not just home page)

2009-08-09 Thread Vjeran Marcinko
stry.apache.org/tapestry5/apidocs//org/apache/tapestry5/EventContext.html) i use b) very often felix Vjeran Marcinko schrieb: Hello, Is there any way to genericaly extract activation context (array or EventContext) from some page instance? I'm asking this because I want my page authorization t

[T5] Log in directly to requested page (not just home page)

2009-08-09 Thread Vjeran Marcinko
Hello, Is there any way to genericaly extract activation context (array or EventContext) from some page instance? I'm asking this because I want my page authorization to work in a way to remember what page and activation context has been requested by unauthorized user, so that after he logs

Re: How to fetch Form from within "afterSubmit" handler?

2009-07-31 Thread Vjeran Marcinko
Message - From: "Thiago H. de Paula Figueiredo" To: "Tapestry users" Sent: Friday, July 31, 2009 5:34 PM Subject: Re: How to fetch Form from within "afterSubmit" handler? Em Fri, 31 Jul 2009 12:04:32 -0300, Vjeran Marcinko escreveu: Actually you mentioned

Re: How to fetch Form from within "afterSubmit" handler?

2009-07-31 Thread Vjeran Marcinko
bject: Re: How to fetch Form from within "afterSubmit" handler? Em Fri, 31 Jul 2009 02:13:14 -0300, Vjeran Marcinko escreveu: Hello, Hi! I have created multi-form-field component (eg, DateRangeEditor component that has two DatePickers inside that are used to set "start"

Re: How to fetch Form from within "afterSubmit" handler?

2009-07-31 Thread Vjeran Marcinko
Subject: Re: How to fetch Form from within "afterSubmit" handler? This might help: http://tapestry.apache.org/tapestry5/guide/validation.html You can access your form and input components by injection, and then do form.recordError(field, ...). 2009/7/31 Vjeran Marcinko Hello,

How to fetch Form from within "afterSubmit" handler?

2009-07-30 Thread Vjeran Marcinko
Hello, I have created multi-form-field component (eg, DateRangeEditor component that has two DatePickers inside that are used to set "start" and "end" dates for DateRange domain class). When Form that contains this DateRangeEditor component submits, the component gets notified about this via "

Please don't tell me this is impossible in T5

2009-07-23 Thread Vjeran Marcinko
Hello, I almost converted my old T4 web app to T5, but stumbled upon one major problem and I cannot find any help in mail list archive... I'm using one page to edit whole class hierarchy (ie., multiple subclasses of one superclass), and instantiation of specific subclass happens in "onPrepar

Re: Tapestry not suitable for this environment?

2009-06-29 Thread Vjeran Marcinko
quired. Ben Gidley www.gidley.co.uk b...@gidley.co.uk 2009/6/29 Vjeran Marcinko Hi, I think I already know the answer, but I just want to be sure. Looking at some non-Tapestry web applications in my company, some of them are deployed in environments where customer's header and footer have to be incl

Tapestry not suitable for this environment?

2009-06-29 Thread Vjeran Marcinko
Hi, I think I already know the answer, but I just want to be sure. Looking at some non-Tapestry web applications in my company, some of them are deployed in environments where customer's header and footer have to be included in application's web layout. This is not the case where customer's we

[5.1.0.5] FormFragment doesn't work in IE7 and Chrome

2009-06-22 Thread Vjeran Marcinko
Hello, I just tried playing with FormFragments in a simpliest example, and I couldn't get it to work in my IE7 and Chrome. Fragment is always shown regardless of checkbox state. I dunno if it's maybe because of: https://issues.apache.org/jira/browse/TAP5-749 Here's my simple template portion

Re: Type-safe PageLink version

2009-06-22 Thread Vjeran Marcinko
Page.configured(user.getId()); } ...and in template: Edit ...instead of shorter, but type-nonsafe: context="user.id">Edit Cheers, Vjeran - Original Message - From: "Vjeran Marcinko" To: "Tapestry users" Sent: Sunday, June 21, 2009 1:14 PM Subject

Re: Type-safe PageLink version

2009-06-21 Thread Vjeran Marcinko
lassResolver resolver; @Cached public String getEditEmployeePage() { resolver.resolvePageClassNameToPageName(EditEmployeePage.class); } regards, Onno 2009/6/21 Vjeran Marcinko Hello, I have an idea for PageLink version that would be type-safe because I simply love when I don't have to worry abou

Type-safe PageLink version

2009-06-20 Thread Vjeran Marcinko
Hello, I have an idea for PageLink version that would be type-safe because I simply love when I don't have to worry about page names or context parameters in my templates as much as possible, especially cosidering that I like to refactor much... If PageLink could accept page *instance* as pa

Will back-compatibility hurt further T5 development?

2009-06-20 Thread Vjeran Marcinko
Hello all. Although I am not a frequent poster, I still use Tapestry after I began using it around 5 years ago. I was a bit suprised on amount of negative publicity that the framework received after T5 was initated due to loss of back-compatibility, but I could partly understand it if I imagine m

[T5.1] Grid sort disabling not working

2009-05-16 Thread Vjeran Marcinko
Hello, I am using Grid on my page, and I would like to disable sorting on all columns, I hoped that it would be some easier way in template to do that as in T4.0, but I found out from this mailing list that I have to do it programmaticaly. So I had put it inside setupRender method: void setu

Re: [T5] Default ValidationTracker clearing needed?

2008-07-08 Thread Vjeran Marcinko
IMHO the events provided by tapestry are just fine. most of the time the way the application is designed is the problem. a clean separation of view and businesslayer is crucial. have a look at "Pojos in Action" by Chris Richardson or "Domain Driven Design" by Eric Evans... the

Re: [T5] Default ValidationTracker clearing needed?

2008-07-08 Thread Vjeran Marcinko
ault ValidationTracker clearing needed? hi, the Form component was changed some time ago to use the "flash" persistence strategy for the ValidationTracker from the code: @Persist(PersistenceConstants.FLASH) private ValidationTracker defaultTracker; g, kris "Vjeran Marc

[T5] Default ValidationTracker clearing needed?

2008-07-07 Thread Vjeran Marcinko
Hi all. I posted this as a comment on some closed Jira issue, but nevertheless, I would like to see comments from everybody... ValidationTracker in its current form clears its input values before "success" event. I guess it is done this way assuming that no error can happen anymore when "suc

[T5] How to "skin" .properties files? Localization almost good...

2008-03-04 Thread Vjeran Marcinko
Hello. I already had this minor problem with Tapestry versions prior to T5, and it seems to me that it still persists... Anyway, sometimes I deploy my Tapestry application to various customers which want to have dfferent text messages or maybe even outlook of some pages. I can use CSS for so

Re: How to make a basic crud : Feedback wanted

2007-11-16 Thread Vjeran Marcinko
Hi. Although your example is very simple in code as such, it suffers from some drawbacks, mainly because you don't have activation context for Save page. 1. Your create and edit actions on Start page use ActionLinks which make 2 HTTP requests (action + render Save page), whereas PageLinks wit

Re: [T5.0.6] Is coercion MANDATORY for custom parameter classes?

2007-11-16 Thread Vjeran Marcinko
Yes, I kept my parameter class inside same package as component, since it is only sensible place to keep it. It feels a bit stupid to have ImageMessage and ImageMessageModel in separate packages. So, its classloader issue then because of mandatory type of packaging. Hope this will change somet

[T5.0.6] Is coercion MANDATORY for custom parameter classes?

2007-11-16 Thread Vjeran Marcinko
Hello. Still getting acquainted with T5, and I created my first component called ImageMessage that accepts my custom ImageMessageModel parameter: public class ImageMessage { @Parameter(required = true) private ImageMessageModel model; } And when I bound my ImageMessageModel instan

Re: [T5.0.6] Is coercion MANDATORY for custom parameter classes? [BUG?]

2007-11-16 Thread Vjeran Marcinko
- Original Message - From: "César Lesc" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Friday, November 16, 2007 5:57 PM Subject: Re: [T5.0.6] Is coercion MANDATORY for custom parameter classes? You don't have to create a coercion for you custom class, how do you declare the binding i

Re: [T5] Removing page name shortening?

2007-11-15 Thread Vjeran Marcinko
- Original Message - From: "Kevin Menard" <[EMAIL PROTECTED]> To: Sent: Thursday, November 15, 2007 10:01 PM Subject: Re: [T5] Removing page name shortening? going away. So long as you always use one of the link components, you really shouldn't worry that much about how Tapestry na

[T5] Removing page name shortening?

2007-11-15 Thread Vjeran Marcinko
Hello. I can really speak from position of someone who just is learning Tapestry 5 for first time, and from what Kevind Menard mentioned in few mails before, I can really see page name shortening as nothing but confusion and complication. Referencing pages is quite straightforward, and one j

Re: [T5] Big problem with

2007-11-14 Thread Vjeran Marcinko
- Original Message - From: "Kevin Menard" <[EMAIL PROTECTED]> To: Sent: Thursday, November 15, 2007 12:21 AM Subject: Re: [T5] Big problem with 1. Biggest issue - most of serious web apps out there wil always have few servlets/filters defined in their web.xml, and thus using /* mappi

[T5] Big problem with

2007-11-14 Thread Vjeran Marcinko
Hello. After years of using Tapestry 4.0, I just started experimenting with T5, and although it brings much improvement, I noticed a few issues: 1. Biggest issue - most of serious web apps out there wil always have few servlets/filters defined in their web.xml, and thus using /* mapping for

[T4.0] Some way to set "theme" (via Locale)?

2007-07-06 Thread Vjeran Marcinko
Hello. I have few customers where I have to deploy my Tapestry 4.0 web app, and I would like to have some way to set specific customer "theme" thus to be able to have many versions of templates and properties files for each customer. For instance, I would like to set theme name "customer1", a

Re: Is breadcrumbs component hard in Tapestry?

2006-09-21 Thread Vjeran Marcinko
- Original Message - From: "Robert Zeigler" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Thursday, September 21, 2006 9:10 PM Subject: Re: Is breadcrumbs component hard in Tapestry? I haven't made a breadcrumbs component in tapestry. But I have a comment on implementation: If it's

Is breadcrumbs component hard in Tapestry?

2006-09-21 Thread Vjeran Marcinko
Hello all. I tried to develop my breadcrumbs component, but it seems that it is a bit harder than expected to do it in component framework. Anyway, has anyone developed the same and is willing to share? IMPORTANT NOTE: this breadcrumb component should be dynamic in nature, not using only Pag

Urgent! How to remove "base href" generation?

2006-09-05 Thread Vjeran Marcinko
Hello. I hate this kind of situations where I need urgently to do something that I haven't done before, and I cannot find documentation on how to do it either. Anyway, Tapestry 4.0.2 generates as HTML headers, making me problems with accessing my application through some virtual host which

Removing deprecated stuff in 4.1?

2006-07-04 Thread Vjeran Marcinko
Hello. I was just wondering will all deprecated stuff in 4.0 be removed in 4.1 ? I am particularly interested in removal of this confusion with "translator" and "translators" bindings (tied with deprecated ValidField) Regards, Vjeran ---