Re: Experiences with upgrading our apps from 5.8.2 to 5.8.6

2024-05-03 Thread Chris Poulsen
issues was related to (field) injecting an Asset (an icon or similar) and the error was something about RequestGlobals being null, IIRC -- Chris On Tue, Apr 30, 2024 at 9:32 PM Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Hello, Chris! > > Thanks for the info

Experiences with upgrading our apps from 5.8.2 to 5.8.6

2024-04-30 Thread Chris Poulsen
s around class hierarchies in the plastic stuff between 5.8.2 and 5.8.6. Our actual code is pretty complex (or a mess as some would say), but I can try to come up with a simple example, if anyone has a hunch on what is wrong / is willing to try and fix it. -- Chris

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-15 Thread Chris Poulsen
lay (like hibernate integration etc). -- Chris On Sun, Jun 11, 2023 at 7:04 PM Vangel V. Ajanovski wrote: > This bug prompts another question that bothers me. > > How come nobody else has noticed the bug for two years? I had a report > in Sep 2021, which did not get an answer, the

Re: [ANNOUNCEMENT] Tapestry 5.8.1 released!

2022-04-05 Thread Chris Poulsen
lease.html while the (working) link from this thread is: https://tapestry.apache.org/release-notes-581.html -- Chris On Tue, Apr 5, 2022 at 2:45 PM Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Thanks Tim for spotting this and Ben for creating this ticket! > > On Tue,

upgrade from 3.0.1

2021-07-26 Thread Chris Kujawa
is there. I just get the feeling that the stop at 4.0.x is a moot point, and that we've got our work cut out for us. Thank you in advance for your help! -Chris

Re: method varargs and property expression

2021-05-27 Thread Chris Poulsen
We never really use much of the expression language, so I can't comment on that. This is just a comment on the last example: I'm not sure that you need a @Property when using the "var:" prefix (if you have a backing property it ought to be a "prop:" binding, as far as I un

Re: Coffeescript documentation is broken

2021-04-21 Thread Chris Poulsen
t/META-INF/modules/t5/core/ajax.html where the correct link should probably be: https://tapestry.apache.org/5.6.3/coffeescript/ajax.html (trial error shows that the page is there, whether that is correct I do not know). -- Chris On Wed, Apr 21, 2021 at 1:42 PM Thiago H. de Paula Figueire

Re: Coffeescript documentation is broken

2021-04-16 Thread Chris Poulsen
ocs/ which basically "hides" the index page with the links to the apidocs and coffeescript pages. Also the contents of the "jump to" (upper right corner) menu on http://tapestry.apache.org/5.7.0/coffeescript/t5-core-dom-jquery.html are still broken. -- Chris On Wed, Apr 14, 2021

Coffeescript documentation is broken

2021-03-25 Thread Chris Poulsen
apestry/tapestry-5/tapestry-beanvalidator/src/main/coffeescript/META-INF/modules/t5/beanvalidator/beanvalidator-validation.coffee" I guess it should be something slightly shorter and at the very least not include Thiagos homedir ;) -- Chris

Re: Re: Spring Security Integration

2020-09-14 Thread Chris Poulsen
- to allow reacting to it in contribute application defaults servletContext.setInitParameter(SymbolConstants.PRODUCTION_MODE, "true"); } } HTH. -- Chris On Mon, Sep 14, 2020 at 2:24 AM Ronny Latif wrote: > I managed to get Tapestry integrated with Springboot using this

Re: HTML5 Button Component for tapetry 5.4.x

2019-09-11 Thread Chris Poulsen
We usually just style the various Tapestry link components to get buttons with the desired behavior. -- Chris On Wed, Sep 11, 2019 at 1:45 PM Luca Arzeni wrote: > Hi there, > I googled a little around, but I was not able to find a tapestry component > that generates a button. > &g

Re: Apache Tapestry for Java 11

2019-09-10 Thread Chris Poulsen
ld be good to get it finalized IMO. -- Chris On Mon, Sep 9, 2019 at 9:11 PM Charles Roth wrote: > Sounds good to me. We'd be very happy to test a 5.5-beta. (Large > application that has about 1M LOC, including unit-tests, TML, etc.) > > On 9/9/2019 3:08 PM, Dmitry Gusev

Re: Proxying default methods does not work with 5.5.0-beta-2

2019-07-12 Thread Chris Poulsen
beta/rc versions in central ( https://mvnrepository.com/artifact/org.apache.tapestry/tapestry-core ), that would work well for us. I can see a single 5.4-beta on apache staging, but it seems unclear how long we can expect things to be present in "staging". -- Chris On Sat, Jun 22, 20

Re: Looking for open source projects that uses the current version of Tapestry

2019-07-08 Thread Chris Poulsen
ne in your example you should simply reference the property without {} or ${}. These things are described here: http://tapestry.apache.org/component-parameters.html (there is even a section called: "Don't use the ${...} syntax!" on that page ;) ). HTH! -- Chris On Mon, Jul 8, 2019 at 4:

RE: Jetbrains considers to deprecate Tapestry plugin in IntelliJ 2019.3

2019-06-18 Thread Chris Lail
If you visit the link, there is a contact form. I sent a contact urging the continued support of the plugin. -Original Message- From: Rafael Bugajewski Sent: Tuesday, June 18, 2019 5:01 PM To: Tapestry users Subject: Re: Jetbrains considers to deprecate Tapestry plugin in IntelliJ

Re: Accessing a page over HTTPS results in infinite 302 redirects

2019-06-14 Thread Chris Poulsen
nd handled correctly by the various servers. -- Chris On Fri, Jun 14, 2019 at 10:06 AM Dmitry Gusev wrote: > Hi, > > I'd suggest to check value of `Request#isSecure()`, it looks like it's > false. > > It can happen if your WebSphere is behind a proxy/load balancer which >

Re: Re: Open Discussion: remove Bootstrap from T5 core

2019-02-19 Thread Chris Poulsen
ething similar could be used to apply styling (Tapestry-BS3, Tapestry- BS4 or whatever) to the tapestry components, without having to dream up new stuff. (Provided that the processing does not become a significant performance bottle-neck). -- Chris On Tue, Feb 19, 2019 at 10:05 AM abangkis wro

Re: [ANNOUNCEMENT] Tapestry 5.4.4

2019-01-03 Thread Chris Poulsen
r that one is still necessary. -- Chris On Thu, Jan 3, 2019 at 1:05 AM Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, Dec 19, 2018 at 11:26 AM Chris Poulsen > wrote: > > > Hi > > > > Hello! > > > > We are using some pretty

Re: [ANNOUNCEMENT] Tapestry 5.4.4

2018-12-19 Thread Chris Poulsen
le to find a lightweight,/focused library with a compatible license today, that tapestry could rely on, instead of attempting to implement this on its own. This is obviously not a widespread problem, but it is one of correctness and it tickles my OCD ;) -- Chris On Wed, Dec 19, 2018 at 1:23 PM Th

Re: DateField behaviour when within a zone

2018-12-06 Thread Chris Poulsen
name" attribute (in the servlet api). -- Chris On Thu, Dec 6, 2018 at 4:02 AM Christopher Dodunski < chrisfromtapes...@christopher.net.nz> wrote: > Just a few short questions to help progress with problem solving. > > 1) Is there any known reason why DateField's WebFX DatePicker

Re: How to let custom component participate in form submission

2018-11-04 Thread Chris Poulsen
submission and component render life cycles interact, it will be easier to fix your problem. -- Chris On Thu, Nov 1, 2018 at 3:53 PM abangkis wrote: > Hi Thiago, > > This component is some ui that we extract from few common pages. It shows a > series of tabs. Each tabs has its

Re: Has anyone tried nesting "toplevel" layout components successfully?

2018-10-15 Thread Chris Poulsen
ork. I had screwed up somewhere along the way and managed to not create PageLayout class/tml in the same path in the final output. It was apparently "working enough" to make it hard to see what was actually wrong. Sorry for the noise -- Chris On Mon, Oct 15, 2018 at 1:12 PM Bob Harner w

Has anyone tried nesting "toplevel" layout components successfully?

2018-10-15 Thread Chris Poulsen
only provides shared configuration of the pagelayout. Has anyone successfully used nested layouts like this? The documentation seems to suggest it should work, but I've tried a lot of different constructs without success. -- Best regards Chris

Re: eventlink with multiple context parameters

2018-10-03 Thread Chris Poulsen
simple expressions in the Java class and if you build the Object[] (the entire parameter value, not its "parts") in Java, this is not an issue to begin with. -- Chris On Tue, Oct 2, 2018 at 4:48 PM D. R. wrote: > Hi @all, > > I am confused about calling a java metho

Re: Using JavaScript during Ajax request

2018-09-28 Thread Chris Poulsen
no usages). Almost all the usages we have seems to be related to making sure that informal parameters end up on the correct html element. HTH. -- Chris On Thu, Sep 27, 2018 at 3:47 PM Davide Vecchi wrote: > Thanks guys, that was it. Worked right away. > > Now my problem is solved

Re: JavaScript not invoked on zone refresh

2018-09-26 Thread Chris Poulsen
( "diagramClientId", diagram.getClientId(), "modelJson", modelJson ); jsSupport.require( "pages/contentspace/content-space-index" ).invoke( "init" ).with( specification ); HTH. -- Chris On Wed, Sep 26, 2018 at 1:10 AM Christopher Dodunski < chrisfromtapes...@ch

Re: JavaScript not invoked on zone refresh

2018-09-25 Thread Chris Poulsen
Hi Zone updates are updates of parts of the page, so the ready function is not triggered for those. Consider also performing your initialization on zone updates. See: http://tapestry.apache.org/current/coffeescript/events.html#section-20 for the zone related events. -- Chris On Tue, Sep 25

Re: Grid custom no field

2018-04-19 Thread Chris Poulsen
Create a component? -- Chris On Thu, Apr 19, 2018 at 5:53 AM, abangkis <abang...@gmail.com> wrote: > Hi, when adding a custom no field to my grid, to show the no of the actual > row, i declared an int on the page and calculate the value by multiplying > the variables in the gri

Re: Grid component customization

2018-02-06 Thread Chris Poulsen
There is already a decent amount of RenderNotification mixins present on the various grid components allowing you to manipulate the MarkupWriter per row, column and header column. -- Chris On Tue, Feb 6, 2018 at 12:51 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: >

Re: BeanEditForm onValidate()

2018-01-16 Thread Chris Poulsen
You could try setting a break point in the database update code and some in the event handlers and the examine the call stack to see where the call originates from and in which order things happen -- Chris On Tue, Jan 16, 2018 at 10:51 AM, JumpStart < geoff.callender.jumpst...@gmail.com>

Re: How to use CSS buttons outside of forms

2017-12-25 Thread Chris Poulsen
o it could be plausible, but I do not have the sources handy on this machine to check). I guess you could make a plain HTML button that delegates its clicks to a hidden link using Javascript, if you cannot fix your CSS, but it feels like a hack compared to just styling the links. -- Chris On M

Re: How to use CSS buttons outside of forms

2017-12-23 Thread Chris Poulsen
Hi, All the link types extends AbstractLink which supports informal parameters... So basically just add a class="" parameter and it will pass through to the html. -- Chris On Sat, Dec 23, 2017 at 8:31 AM, Christopher Dodunski < chrisfromtapes...@christopher.net.nz>

Re: Contribute requirejs.config.paths to ModuleManager

2017-11-27 Thread Chris Poulsen
stuff like CK editor to load properly as a module and still allowing it to dynamically require its plugins IIRC. -- Chris On Mon, Nov 27, 2017 at 2:14 PM, Svein-Erik Løken <sv...@jacilla.no> wrote: > Got this error message (very informative): > > org.a

Re: Change bootstrap css load order

2017-08-29 Thread Chris Poulsen
Try using a JavaScriptStack instead of adding them directly with link tags. -- Chris On Tue, Aug 29, 2017 at 6:23 AM, Rural Hunter <ruralhun...@gmail.com> wrote: > Hi, > > I have some web pages which have bootstrap and some other css extentions > depending on bootstrap.

Re: Tapestry Ajax Security

2017-05-01 Thread Chris Poulsen
Your means to securing a "traditional tapestry page" (filter based approach) should be sufficient. On Mon, May 1, 2017 at 6:39 AM, abangkis wrote: > Hi, with the client-side API release in Tapestry 5.4.2 probably there will > be more people that will depend on the tapestry

Re: RadioGroup Validate Bug

2017-01-04 Thread Chris Poulsen
specify the validate parameter on the component. -- Chris On Wed, Jan 4, 2017 at 4:07 PM, <christophe.foi...@valdoise.fr> wrote: > Hi all, > > This bug seems not be corrected on 5.4.1 > https://issues.apache.org/jira/browse/TAP5-1513 > > Could you tell me how corre

Re: Data export

2016-12-23 Thread Chris Poulsen
Hi, One solution is to return a StreamResponse from an event handler. -- Chris On Fri, Dec 23, 2016 at 9:16 AM, <christophe.foi...@valdoise.fr> wrote: > Hi All, > > I'm a newbee on Tapestry which is a powerful and simply Framework ! > > I'm looking for a tutorial on tap

Re: Preventing context from passivate

2016-12-01 Thread Chris Poulsen
a plain html link (in case of a filter-based system) or using a page link if it is an actual tapestry page - in most cases it does not make sense to use links that activate their containing page if you are just interested in leaving it. -- Chris On Thu, Dec 1, 2016 at 4:21 PM, Adam X <vbgn

Re: Recommended way to instantiate EventContext

2016-11-28 Thread Chris Poulsen
Normally you would return an Object[] from passivate and tapestry will coerce it into the correct result. -- Chris On Mon, Nov 28, 2016 at 6:41 PM, Adam X <vbgnm3c...@gmail.com> wrote: > Okay, I tried @Persist(FLASH) EventContext ec storing it in activation > and simp

Re: running JS to attach client events to a zones content after it's rendered

2016-10-01 Thread Chris Poulsen
mically loaded stuff - there are helpers for the "scanner pattern" in t5/core/dom iirc. I tend to prefer binding the handlers on the document whenever possible. -- Chris On Sat, Oct 1, 2016 at 7:58 PM, Qbyte Consulting <qbyteconsult...@gmail.com> wrote: > Hi, > > I have a zon

Re: Getting ID of an updated zone

2016-09-17 Thread Chris Poulsen
Check to see what "this" refers to in the handler? Isn't that often the element that triggered the event? On Sat, Sep 17, 2016 at 12:25 PM, Adam X wrote: > Thanks for the suggestion about t5atmosphere. I will definitely look into > it. > > I do not want to send ids back to

Re: JS call on AJAX zone update

2016-09-15 Thread Chris Poulsen
ed'); > > }); > > > > > > Is there something obvious that I'm doing wrong? > > > > > > $("#myZone").change(function() { > > alert('changed'); > > }); > > > > > > Adam > > > > On Thu, Sep 15, 2016

Re: JS call on AJAX zone update

2016-09-15 Thread Chris Poulsen
Take a look at http://tapestry.apache.org/current/coffeescript/events.html#section-16 to see which events to listen for On Thu, Sep 15, 2016 at 9:40 AM, Adam X wrote: > Hi, > > I know I'm missing something, but what's the easiest, cleanest > Tapestry way to hook a JS

Re: Swipe and touch

2016-09-05 Thread Chris Poulsen
I think the way to go is not to expose them / use them directly in onClick. Instead you bind them in a module (either using t5/core/dom or jquery). That way you are also keeping your global (script) scope much cleaner. Lots of the tapestry framework client side code use this pattern. -- Chris

Re: file upload doesn't set file value

2016-09-01 Thread Chris Poulsen
Unfortunately I think Carlos is correct. -- Chris On Wed, Aug 31, 2016 at 11:18 PM, Pavel Chernyak <fjfal...@fjfalcon.ru> wrote: > Hi there. > > Maybe you shall anotate field file @Persist? > > > On 31 August 2016 at 23:03, Qbyte Consulting <qbyteconsult...@gmail.

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Chris Poulsen
javascriptSupport.require( "" ).with( ) - if your module returns a function javascriptSupport.require( "" ).invoke( "" ).with( "" ) if your module export named functions Take a look at the t5 sources to see how things are used. -- Chris On Wed, A

Re: how to pass geolocation coords as hidden values in login form

2016-08-31 Thread Chris Poulsen
url parameters ( http://tapestry.apache.org/current/coffeescript/utils.html) -- Chris On Wed, Aug 31, 2016 at 1:19 AM, Qbyte Consulting <qbyteconsult...@gmail.com > wrote: > I could not get the form method to work, so ended up passing an eventlink > url to my javascript and addin

Re: how to pass geolocation coords as hidden values in login form

2016-08-30 Thread Chris Poulsen
Use a form, request parameters or url context - The usual way of sending data to the server. -- Chris On Tue, Aug 30, 2016 at 11:56 AM, Qbyte Consulting < qbyteconsult...@gmail.com> wrote: > I get JS to populate the hidden form fields, they are passed as parameters >

Re: hide special pages ...

2016-08-30 Thread Chris Poulsen
The code pasted is from one of our property block pages. The activate ensures that the page cannot be accessed as a "normal page" -- Chris On Tue, Aug 30, 2016 at 10:56 AM, Juan M Garrido de Paz < juanm.garrido@gmail.com> wrote: > Hi, yes , I do return that in

Re: hide special pages ...

2016-08-30 Thread Chris Poulsen
Just return something from you activate, e.g: Object onActivate() { return new HttpError( 404, "Resource not found"); } On Tue, Aug 30, 2016 at 1:25 AM, Juan M Garrido de Paz < juanm.garrido@gmail.com> wrote: > Hello, I'm using Tapestry with Spring Boot and embedded tomcat (jar >

Re: exception on page render

2016-08-12 Thread Chris Poulsen
. -- Chris On Fri, Aug 12, 2016 at 6:35 PM, Qbyte Consulting <qbyteconsult...@gmail.com > wrote: > I resolved dependency conflicts and get to rendering a page but this pops > up, and it's not a resource I uses? > > *Render queue error in SetupRender[Index:layout]: Unab

Re: exception on page render

2016-08-12 Thread Chris Poulsen
org.got5is still in your stacktrace... So maybe you have a jar lingering somewhere. -- Chris On Fri, Aug 12, 2016 at 2:02 PM, Qbyte Consulting <qbyteconsult...@gmail.com > wrote: > I've been copying code from here https://tapestry-app.apache.org/hotels/ > but with my own databa

Re: TLS termination proxy and Tapestry

2016-07-22 Thread Chris Poulsen
. -- Chris On Fri, Jul 22, 2016 at 1:23 PM, JumpStart < geoff.callender.jumpst...@gmail.com> wrote: > When you say you are avoiding absolute URLs, where have you noticed this? > I can’t recall this being a problem. > > Now, I’m no expert on this kind of configuration, and its a while sinc

Re: TLS termination proxy and Tapestry

2016-07-22 Thread Chris Poulsen
We are always setting tapestry.secure-enabled = false -- Chris On Fri, Jul 22, 2016 at 11:29 AM, Dimitris Zenios <dimitris.zen...@gmail.com > wrote: > When i am doing ssl out of the servlet container (eg jetty,apache etc) i > always set secure enables to false. > > On 21 Jul

Re: Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Chris Poulsen
Thu, Jul 21, 2016 at 10:42 PM, Jochimsen, Janko < janko.jochim...@urios-beratung.de> wrote: > Hi Chris, > > thanks for your sift answer > > I think this is the right direction. I am just stuck with a very – > probably stupid – problem. I included all relevant paths that I can

Re: Problem sending data from a JS Element back to Tapestry

2016-07-21 Thread Chris Poulsen
utils.extendURL( link, { params: JSON.stringify(params) } ); }; Where ajax/utils are those from t5/core/ajax / t5/core/utils The handler on the server side looks like this: handlerName( @RequestParameter( "params" ) JSONObject json ) HTH. -- Chris On Thu, Jul 21, 2016 at 5:35 PM, Jochim

Re: Modules not found by Tapestry 5.4.1; serving 'index' instead

2016-07-01 Thread Chris Poulsen
change @Import(module = { "mymodule.js",}) to @Import(module = { "mymodule"}) -- Chris On Fri, Jul 1, 2016 at 4:31 AM, Claude Andrew <cla...@bronzenose.com> wrote: > I just upgraded to 5.4.1 from 5.3. I am switching my js libraries to > requirejs modules

Re: after migrating to T5.4 home page won't load

2016-07-01 Thread Chris Poulsen
check mvn dependency:tree to see what is actually resolved -- Chris On Thu, Jun 30, 2016 at 10:52 PM, Qbyte Consulting < qbyteconsult...@gmail.com> wrote: > Here are the effective dependencies: > > > > org.apache.tapestry > tapestry-core >

Re: problem accessing assets after migration to 5.4

2016-07-01 Thread Chris Poulsen
assets are usually in a specific path (resources/META-INF/assets/...) - Could it be that your file is not an asset and that it should be loaded using normal methods (classloader.getResourceAsStream or similar) -- Chris On Thu, Jun 30, 2016 at 8:23 PM, Thiago H de Paula Figueiredo < th

Re: Tapestry with Selenium and Cucumber

2016-07-01 Thread Chris Poulsen
The tapestry sources are tested using selenium. On Thu, Jun 30, 2016 at 5:31 PM, Qbyte Consulting wrote: > Hi, > > Are there any Tapestry sample projects around with Selenium and/or Cucumber > tests? > > thanks, > John >

Re: Caching problem?

2016-06-30 Thread Chris Poulsen
btw the modules path can be both "modules" and "modules.gz" depending on various things. On Thu, Jun 30, 2016 at 4:35 PM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > Hey Chris, > > Yeah, that's the only option I've found until now

Re: Caching problem?

2016-06-30 Thread Chris Poulsen
check the path? (asset paths usually contains "/asset/" and module paths contains "/modules/") On Thu, Jun 30, 2016 at 11:55 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > Is there any way to know in a Request filter if it is a page request (not > a request to some asset). > > I

Re: FW: Null pointer on sort with 5.3.8 that didn't occur with 5.3.7

2016-06-30 Thread Chris Poulsen
I guess using t:add is OK as long as the grid is not performing operations where it needs to access the property in the data source (for operations like sorting/filtering). Generally speaking we (@work) almost always end up using bean models, except in the most simple cases. -- Chris On Thu

Re: FW: Null pointer on sort with 5.3.8 that didn't occur with 5.3.7

2016-06-29 Thread Chris Poulsen
s not necessary.. You can keep the override if you need to. -- Chris On Wed, Jun 29, 2016 at 12:04 PM, Davide Vecchi <d...@amc.dk> wrote: > I changed my plan of finding out what causes this difference between 5.3.7 > and 5.3.8. Instead I will go with some re-design, using some suggestions

Re: Null pointer on sort with 5.3.8 that didn't occur with 5.3.7

2016-06-28 Thread Chris Poulsen
lumns > is not correct in general, regardless of Tapestry version ? Maybe this is > the case and this incorrect way was being somehow "forgiven" by 5.3.7 ? > > > -Original Message- > From: Chris Poulsen [mailto:mailingl...@nesluop.dk] > Sent: Tuesday, Jun

Re: Null pointer on sort with 5.3.8 that didn't occur with 5.3.7

2016-06-28 Thread Chris Poulsen
Also you can control the display blocks using the data-type on the bean model, if you need something special. -- Chris On Tue, Jun 28, 2016 at 3:30 PM, Chris Poulsen <mailingl...@nesluop.dk> wrote: > You can use a bean model for variable number of columns, that one also > gi

Re: Null pointer on sort with 5.3.8 that didn't occur with 5.3.7

2016-06-28 Thread Chris Poulsen
synthetic columns defined. -- Chris On Tue, Jun 28, 2016 at 3:13 PM, Davide Vecchi <d...@amc.dk> wrote: > Thanks for the answers, it's becoming more clear. > > The possibility suggested by Kalle makes sense, however I made some test > about it and I don't think it's the c

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
You should checkout the tapestry source (Grid, GridRows and friends) to see how the output is generated. -- Chris On Wed, Jun 22, 2016 at 12:50 PM, g kuczera <gkucz...@gmail.com> wrote: > Thanks for the idea, Chris. I was going to make the table with styled divs > and t:Loop, but

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
the cell. The latter being the most "hackish solution" of the two, IMO. -- Chris On Wed, Jun 22, 2016 at 8:22 AM, g kuczera <gkucz...@gmail.com> wrote: > Sorry, the image was not embedded correctly. Here is the link: > http://i.imgur.com/OlnNVBn.png > > (two headers

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
Your post seems incomplete, so it is not clear to me, what you are trying to do. -- Chris On Wed, Jun 22, 2016 at 8:05 AM, g kuczera <gkucz...@gmail.com> wrote: > Currently I got a request to add another visible column to the table (grid > component), but the request was for it

Re: Tapestry5.4.0 'ProgressiveDisplay' ajax call fails to render page on IE 11

2016-06-21 Thread Chris Poulsen
Hi, Sounds like IE is to blame - for once... Could it be something with compatibility mode that is acting up? https://msdn.microsoft.com/en-us/library/ff955410(v=vs.85).aspx -- Chris On Tue, Jun 21, 2016 at 4:29 PM, sheikh hossain <shossa...@gmail.com> wrote: > I wonder if there's

Re: What pattern to use for service disambiguation based on String input?

2016-05-09 Thread Chris Poulsen
if that is the case There are many internal tapestry services that uses this pattern, so I suggest you check out the source and see how they are created. (NullFieldStrategySourceImpl and related code could be an example) -- Chris On Mon, May 9, 2016 at 9:22 AM, Rafael Bugajewski <raf...@ju

Re: What pattern to use for service disambiguation based on String input?

2016-05-07 Thread Chris Poulsen
he prior I suppose you could use modules or symbols or a customized build method. For the latter you could create a map configuration (name->impl), inject that into your service and lookup the named impl. at run time. -- Chris On Fri, May 6, 2016 at 7:49 PM, Rafael Bugajewski <raf...@juicycoc

Re: Changing Grid.currentPage persistency to flash

2016-05-02 Thread Chris Poulsen
g to alter the component itself. -- Chris On Mon, May 2, 2016 at 11:12 AM, Davide Vecchi <d...@amc.dk> wrote: > Hi everybody > > I see that the instance field that holds the current page number of a grid > (org.apache.tapestry5.corelib.components.Grid.currentPage) is annotated &g

Re: Change grid on "onSuccess"

2016-04-27 Thread Chris Poulsen
nstance. A ValueEncoder could probably do this for you automatically (you have to let it know how to map from your instance to a String and back again). Another possibility is to remove the @Activation* parameters and perform the mapping in the page activate/passivate methods. HTH. -- Chris On We

Re: Paged grid with checkbox's fails when switching page

2016-04-14 Thread Chris Poulsen
You can roll your own version of the grid. We have done this to support filters, include context in pagination links, have better control over the zone updates etc. I do not think the built in grid/tree components was ever intended to handle all possible cases. -- Chris On Thu, Apr 14, 2016

Re: tapestry 4.1.6 and pergmen question

2016-04-07 Thread Chris Poulsen
You could try "CMSClassUnloadingEnabled" to see if that helps -- Chris On Wed, Apr 6, 2016 at 11:24 PM, Kalle Korhonen <kalle.o.korho...@gmail.com> wrote: > If you run out of permgen space very quickly, then it's indicative that the > allocated permgen space is sim

Re: render nested component

2016-03-21 Thread Chris Poulsen
markup (opposed to simply building and returning a HTML string, which would most likely end in a maintenance nightmare pretty fast) -- Chris On Mon, Mar 21, 2016 at 5:02 AM, Qbyte Consulting <qbyteconsult...@gmail.com > wrote: > ok ignore that, bumped into some tapestry4 source

Re: render nested component

2016-03-19 Thread Chris Poulsen
Hi, Take a look at the Tapestry Tree component to see how recursive rendering can be done. -- Chris On Fri, Mar 18, 2016 at 6:17 AM, Qbyte Consulting <qbyteconsult...@gmail.com > wrote: > I am creating a Menu component (for a ul tag) that needs to > programmatically generate the

Re: SSL on url demand

2016-03-10 Thread Chris Poulsen
that. -- Chris On Thu, Mar 10, 2016 at 12:34 PM, h3ph3st0s <h3ph3s...@gmail.com> wrote: > Chris hi, > thanks for the answer but this is already tested & it works. But it is > hard-coded and practically does not allow me to switch on or off the > overall SSL context per us

Re: SSL on url demand

2016-03-10 Thread Chris Poulsen
I think we're handling it like this: // default to non-secure pages (allows us to support both http and https based on the incoming request) configuration.add( SymbolConstants.SECURE_ENABLED, "false" ); HTH. -- Chris On Thu, Mar 10, 2016 at 3:36 AM, JumpStart < geoff.cal

Re: jss.require(...) code is not executed when using ajaxResponseRenderer.addCallback(new JavaScriptCallback())

2016-02-06 Thread Chris Poulsen
ot; way. You should probably start off by making sure that the third party library (atmos) actually works like you expect. -- Chris On Sat, Feb 6, 2016 at 9:06 PM, g <g...@gwiki.be> wrote: > hello, > > I stripped down the demo to make it easy to test and illustrate the issue

Re: jss.require(...) code is not executed when using ajaxResponseRenderer.addCallback(new JavaScriptCallback())

2016-02-06 Thread Chris Poulsen
nses/the issue fixed... (given that it actually is an issue with the framework). -- Chris On Sat, Feb 6, 2016 at 11:13 PM, danny de cock <danny.dec...@gmail.com> wrote: > the atmos library works fine with the chatdemo page and the table in > index.java gets updated correctly... >

Re: [5.4] request from javascript to Tapestry event

2016-02-05 Thread Chris Poulsen
Have a look at http://tapestry.apache.org/current/coffeescript/ajax.html -- Chris On Fri, Feb 5, 2016 at 2:54 PM, Nathan Quirynen <nat...@pensionarchitects.be > wrote: > Hi, > > I have finally started the process of updating to 5.4. > Some components have an initialize

Re: [5.4] request from javascript to Tapestry event

2016-02-05 Thread Chris Poulsen
Faking a "click" on an invisible async eventlink could also be a very simple way to get this working without having to mock around with much javascript. -- Chris On Fri, Feb 5, 2016 at 3:04 PM, Chris Poulsen <mailingl...@nesluop.dk> wrote: > Have a look at http://tapestry

Re: Commit After not working after migrating to IntelliJ

2016-02-04 Thread Chris Poulsen
I have not used the hibernate integration myself. But my guess is that you should depend on tapestry-hibernate instead of tapestry-hibernate-core As far as I can tell from the sources, the CommitAfterWorker class lives in that module. HTH. -- Chris On Thu, Feb 4, 2016 at 2:39 PM, abangkis

Re: 5.4-rc-1 - problem when *add* a column to a *grid*, but it is working OK in 5.4-beta-26

2015-12-14 Thread Chris Poulsen
So if you actually tried using and got the error, something is really off... You can try to attach a debugger to either Grid, BeanModelUtils or BeanModelImpl to see what your generated model contains... or create / bind a bean model explicitly and debug using that. -- Chris On Mon, Dec 14, 2015 a

Re: 5.4-ga-1 - problem when *add* a column to a *grid*, but it is working OK in 5.4-beta-26

2015-12-14 Thread Chris Poulsen
anged, new data type analyzers may have been added etc.) -- Chris On Mon, Dec 14, 2015 at 2:31 AM, Vangel V. Ajanovski <ajanov...@gmail.com> wrote: > When adding a new column to a grid like this: > > > > delete >

Re: Retrieving the Class of an enum backing a Grid column

2015-12-09 Thread Chris Poulsen
Maybe you can find it in the PropertyModel for the column? ( http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/beaneditor/PropertyModel.html#getPropertyType%28%29 ) -- Chris On Wed, Dec 9, 2015 at 5:10 PM, Davide Vecchi <d...@amc.dk> wrote: > Hi everybody, > > I'm w

Default css class on input[type='file']?

2015-11-19 Thread Chris Poulsen
e that we are seeing is that the form-control class adds a box and an explicit height on the input (a height that is too large for the box in firefox) Basically I think everyone would be better off without the form-control class on the file input. Does anyone else have any thoughts on this? -- Chris

Improving linksubmit in form loop?

2015-11-03 Thread Chris Poulsen
l for someone else. If not I'd be interested in fixing it - If possible. The relevant parts of my linksubmit2 class are pasted below, the rest is a copy of the standard linksubmit. -- Chris ... Begin of paste @Inject private ContextPathEncoder contextPathEncoder; private static clas

Re: javassist/hibernate enhanced class problem

2015-10-30 Thread Chris Poulsen
Mabet use an interface for the objects? Then the implementation class can change all it wants to. On Thu, Oct 29, 2015 at 11:40 PM, Paul Stanton wrote: > further, it is not the 'save' that javassistifies the object, it is > 'session.load' ! so if you do a session.load(id)

Re: AW: How to send additional data with an ajax response

2015-10-29 Thread Chris Poulsen
o what is supposed to receive its return data. -- Chris On Thu, Oct 29, 2015 at 12:40 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 29 Oct 2015 05:59:30 -0200, Poggenpohl, Daniel < > daniel.poggenp...@isst.fraunhofer.de> wrote: > > Hello, >>

Re: How to send additional data with an ajax response

2015-10-28 Thread Chris Poulsen
Ajax response renderer may also be a viable solution for returning multiple things. I tend to prefer that over returning getBody() for exactly that reason. -- Chris On Wed, Oct 28, 2015 at 2:05 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 28 Oct 2015 08:16

Re: Standard BeanModel for my own classes

2015-10-12 Thread Chris Poulsen
Take a look at data type analyzers and their corresponding property display/edit blocks to get this working. Jumpstart has an example: http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/propertyeditors -- Chris On Mon, Oct 12, 2015 at 11:32 AM, Poggenpohl, Daniel < daniel.pogg

Re: Custom ValueEncoder & IOC

2015-09-14 Thread Chris Poulsen
Can't you could just bind it in your app module? -- Chris On Mon, Sep 14, 2015 at 3:35 PM, Damon Childs <milim...@gmail.com> wrote: > How do i get a custom ValueEncoder under control of IOC? > > I have a ValueEncoder that translates a id to a Object from a db. &

Re: Debugging Tapestry with IntelliJ IDEA

2015-08-25 Thread Chris Poulsen
It works fine with IDEA here. A possibility could be that you are running in production mode? On Tue, Aug 25, 2015 at 12:04 PM, Poggenpohl, Daniel daniel.poggenp...@isst.fraunhofer.de wrote: Hello everyone, we are evaluating IntelliJ IDEA for development and so far it has been quite good.

Re: Debugging Tapestry with IntelliJ IDEA

2015-08-25 Thread Chris Poulsen
Betreff: Re: Debugging Tapestry with IntelliJ IDEA Just to confirm it also works fine here too. I've found IntelliJ to be absolutely fantastic so far. I'm running it using jetty but I know there is an option for tomcat... I don't know if that could make a difference? On 25 Aug 2015 11:33 am, Chris

Re: Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Chris Poulsen
@BeginRender is only triggered during rendering. Page activation is always called and there are a couple of prepare events fired when you have a form in the mix. -- Chris On Mon, Jul 20, 2015 at 3:31 PM, Poggenpohl, Daniel daniel.poggenp...@isst.fraunhofer.de wrote: Hello everyone, I want

Re: Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Chris Poulsen
Case one is a candidate for activation and case 2 could be a matter of using form context / prepare events. Beware that the activate event is triggered in many situations. -- Chris On Mon, Jul 20, 2015 at 3:39 PM, Chris Poulsen mailingl...@nesluop.dk wrote: @BeginRender is only triggered

  1   2   3   4   5   6   7   8   9   10   >