it would be to
implement it in the PlasticClass transformation.
The change in final handling is most likely related to an older ticket of
mine
https://issues.apache.org/jira/browse/TAP5-2630
Cheers
Ben
On Tue, Aug 1, 2023 at 2:57 PM Jens Breitenstein wrote:
HI!
I noticed due to JDK 11 there is a sub
HI!
I noticed due to JDK 11 there is a subtile change in handling of final
fields and initialization.
On rare cases we used final fields including @Property(write = false),
which is no longer working. Example:
@Property(write="false") private final String[] _keys = new String[] {
Hi!
we are currently trying to upgrade our webapp from T5.4 to T5.8.3
The migrator did his job, entire applications builds and starts, well,
partly.
It looks like our migration is incomplete because we use two external
libs "federated-accounts" and "json-bindinding". We made a fork of both,
d out that
the new Module organization could lead to missing one if you don't use the
TapestryFilter directly, like via web.xml:
https://lists.apache.org/thread/ocy882q8tgdyq6j3mjs50mjx4y7l7yod
You could try to import the TapestryModule in your AppModule explicitly.
Cheers
Ben
On Mon
Hi!
we are currently trying to upgrade our webapp from T5.4 to T5.8.3
The migrator did his job, entire applications builds and starts, well,
partly.
It looks like our migration is incomplete because we use two external
libs "federated-accounts" and "json-bindinding". We made a fork of both,
Hi Volker!
The only interaction with Tapestry is the StreamResponse from an EventHandler
to the client. So are you asking for this part or is it more general „how do I
create pdfs using fob“ which is honestly not related to tapestry?
Von meinem iPhone gesendet
> Am 27.01.2022 um 08:19 schrieb
Hi Chris,
We never had issues with glyphicons locally but we do have issues
(sometimes) in production when IT Admin people disallow loading of fonts
and the firewall drops these files. That's the reason we use png's
instead, which is a real pain. If this is your problem and anyone has a
solut
it is right now.
Eventually we will release it as open-source, but having an integration
into Tapestry (as a new tapestry-*) would be even nicer :-)
Best regards
Ben
On Thu, Feb 14, 2019 at 10:14 AM Jens Breitenstein
wrote:
Hi Tapestry guys!
I want to hear/read your opinion about getting ri
Hi Tapestry guys!
I want to hear/read your opinion about getting rid of the Bootstrap
Library from T5 core.
I would like to move all BS related code (css/js) to a seperate module
like "tapestry-bootstrap3" and decouple the hardcoded BS from T5.
Furthermore I would like to see a second module "t
Hi!
What does "freezes my application" mean? Maybe your business logic
creates a deadlock? Maybe a thread dump will give some insights why it
is hanging?
Jens
Am 12.12.18 um 12:00 schrieb Rbsn Lbk:
Hi,
I am having some issues with the default Tapestry loading on refresh the
page. I will
Hi David/Ben
The SelectModelRender makes use of attributes by
...
writeAttributes(optionModel.getAttributes());
...
And this method is implemented first in "AbstractOptionModel" and
returns "null".
So as Ben stated just adding the entry
"data-icon" -> "glyphicon glyphicon-eye
s with an activation context different
from the current one? This doesn't look good at first look, to be honest.
On Thu, Aug 16, 2018 at 10:35 AM Jens Breitenstein
wrote:
Hi all!
I use ComponentResources to create my EventLinks. As the page context
(in this example "id") is added
Hi all!
I use ComponentResources to create my EventLinks. As the page context
(in this example "id") is added to the link onPassivate gets called.
This results in a link like
/mypage:mycomponent?t:ac=id
Each component context "cc1", "cc2" passed to the createEventLink method
results in
Hi!
Maybe this helps:
We wrote our own component, modify as you like
public class DateFormatter
{
@Inject private Messages_messages;
@Parameter(required =true, defaultPrefix ="prop")private Date_date;
@Parameter(required =false, defaultPrefix ="literal")private String_format;
Hi David!
If I look at the classes implementing AssetFactory there is
ExternalUrlAssetFactory, maybe this is what you want
(file:///your-dir/your-asset.png)?
AssetModule.java configures all context asset factories so you have to
contribute
configuration.add("file", new ExternalAssetFacto
Hi Barry,
Am 04/03/16 um 13:00 schrieb Barry Books:
Using data directly from the client is never a good idea. While in this
case it's probably fine it's a bad habit to fail into.
Agreed
I would make a enum
with the Cookie string and the page class. Use enum.valueOf(cookie) to
convert from Stri
4.x. I know, it always sucks upgrade several libs at once.
Kalle
On Mon, Jan 11, 2016 at 4:47 PM, Jens Breitenstein
wrote:
Hi Thiago, thanks for your answer!
After some "more" dependency exclusions, the following (hibernate related)
libs are left:
* org.apache.tapestry
.loadClass(WebappClassLoaderBase.java:1293)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1145)
... 68 more
Any other idea?
Jens
Am 11.01.16 um 17:08 schrieb Thiago H de Paula Figueiredo:
On Mon, 11 Jan 2016 14:06:15 -0200, Jens Breitenstein
wrote:
Hi All
Hi All,
I am migrating an application from T5.3.8 to T5.4. In the past the
application was based one Hibernate 3x but T5.4 seems to make use of
Hibernate 4 explicitly (correct me if I am wrong). So currently I am
facing the following exception:
Caused by: java.lang.NoSuchMethodError:
org.hi
Hi Luca
a) via Graddle I built the ear which is located below build/libs/.
b) I created a JBoss (Wildfly 9) Project, added the ear as external
dependency because Intellij did not notice it as project artifact (why
ever) and started it.
c) opened a webbrowser pointing to http://localhost:8080/w
setSource.getClasspathAsset(
"/META-INF/assets/images/congratulations.png",
currentLocale);
return asset.toClientURL();
}
Geoff
On 16 Dec 2015, at 10:38 pm, Jens Breitenstein wrote:
Hi all!
I am struggling with the new asset behaviou
Hi all!
I am struggling with the new asset behaviour in T5.4 and maybe one of
you can point me in the right direction
When using an asset directly from a TML
the image is correctly located and shown. The URL has been replaced to:
url(/new/assets/meta/595abbf1/img/my.png) as described in th
Hi Larzeni,
The project you provided as download only builds a WAR not EAR. As the
WAR declares all dependencies as "provided" it won't run anyway. Can you
provide the EAR gradle project? I downloaded Wildfly, Graddle but I need
your full "environment" to test it.
Can you update it, please? I
What about a component like this:
public class DateFormatter
{
@Inject private Messages _messages;
@Parameter(required = true, defaultPrefix = "prop") private Date _date;
@Parameter(required = false, defaultPrefix = "literal") private
String _format;
boolean beginRender(final
;Illegal libray mapping name" exception. What do you think?
Jens
Von meinem iPhone gesendet
Am 06.05.2014 um 00:42 schrieb Jens Breitenstein
mailto:mailingl...@j-b-s.de>>:
Hi T5 Users!
I am struggling with an strange error in T5.3.7 and hopefully one of
you can give me a hint how
Hi T5 Users!
I am struggling with an strange error in T5.3.7 and hopefully one of you
can give me a hint how to track it down..
I wrote a "Icon" component to show bootstrap glyphicons:
public class Icon
{
@Parameter(required = true, defaultPrefix = BindingConstants.LITERAL)
@Property
Hi Ken!
this sounds more like a "persistence" question, to be honest. How do you
store / persist the user data?
Jens
Am 15.03.14 06:44, schrieb Ken in Nashua:
Hi Folks,
I want to create a web site data model whereby... whatever a user creates...
they own.
And when they come back to the
done!
Am 09.12.13 23:53, schrieb Chris Mylonas:
$3880 / $4500
$620 to go
On Tue, Dec 10, 2013 at 7:21 AM, Joachim Van der Auwera wrote:
Great initiative, twelve hours and 740$ to go. Let's make it happen!
May I remind you that Thiago will not receive any money (donations are
refunded) whe
Emmanuel,
please stop your spam. This is a mailing list for developers even stupid
ones like us using tapestry.
Create your little Facebook page name it "Tapestry sucks" add a "I
dislike it too" button or something else and we all can continue with
more serious stuff.
Jens
Am 20.11.13 22:1
}
final XValue xValue = (XValue) o;
if (!_pk.equals(xValue._pk)) {
return false;
}
return true;
}
@Override
public int hashCode()
{
return _pk.hashCode();
}
@Override public String toString()
{
final StringBuilder
Hi All!
I am struggling since days with a Tapestry Bug(?) and maybe one of you
have an idea whats wrong or what my mistake may be...
Scenario: I use a loop to display multiple rows in a table. Each row
allows inline editing if the user presses a link. Due to link pressing
the particular row'
I believe it strongly depends what you want and use from Tapestry.
For example: The BeanEditor is a great component to display something
quickly but at the very end I never used it, because you can not (or at
least I am to stupid to) control exactly the look and feel / positioning
of all field
Hi all!
I have a strange problem and maybe one of you can give me a hint...
Basically I have a table and each individual forms it's own zone
and can be replaced independently from each other by an eventlink (works
perfectly).
Next I added @RequiresPermissions("MyPermission:modify") on the
ev
Hi Ken,
how is this related to Tapestry?
Am 23.10.13 22:30, schrieb Ken in Nashua:
Hi Folks,
I have a database.
And I want all users to login...
But I want all my code to cater to each user, regardless of how many are logged
in SAME CODE BASE... UNLIMITED USERS... CONCURRENCY... CONTEN
Yes, Lance this did the trick. Stupid me, a closer look at the Zone
class should have told me it's not an interface...
Thanks
Jens
Am 21.06.13 12:39, schrieb Lance Java:
You can't reference a transformed class (component /page / mixin classes)
directly from a service as the classloaders a
Hi All!
I have a strange problem with Zone and maybe you have an idea...
This works as expected in a page (injecting the required services and
return a zone or body/block from an event handler):
@Inject private AjaxResponseRenderer _arr;
@Inject private Request _request;
@InjectC
s/Tooltip.java
It seems to be woking ^^
On 3 Jun 2013, at 22:23, Jens Breitenstein wrote:
Hi Mischa, hi Jan!
You mean this:
http://tapestry5-jquery.com/mixins/docstooltip
?
There is an example on the same page, too including code. Or can you please
describe what particular information y
Hi Mischa, hi Jan!
You mean this:
http://tapestry5-jquery.com/mixins/docstooltip
?
There is an example on the same page, too including code. Or can you
please describe what particular information you need?
Jens
Am 03.06.13 23:09, schrieb Mischa Tuffield:
Hey Jan,
I am currently looking a
Ken,
I am glad you figured it out. But next time can you please examine the
stacktrace more carefully? Let me show you what I mean:
at
org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48)
at
org.apache.tapestry5.ioc.internal.util.LoggingInvokab
Hi Ken,
somethings I get the feeling you use this mailinglist like a chat system
providing much info in many many small chunks. Can't you just gather all
information first and afterwards throw it to the mailinglist? And for
this particular topic, I miss the stacktrace maybe I did not see it. C
Hi Ben!
Any particular reason why you need bind for capturing the change event
of a select?
This works for me (honestly not tried in a AjaxFormLoop, so don't kill me):
t:validate="required"
blankOption="Always"
value="schoolFinderSearchOptionValue" zone="schoolFinderZon
Hi All!
I use the AjaxFormLoop to render a table with multiple columns and
provide inplace-editing capabilities by replacing a particular row with
a different block content. Now I added a Button "SAVE" outside the
AjaxFormLoop component to save all changes made in "one transaction",
but I onl
Hi All!
I struggeld with something similar for some days maybe it helps you to
see how I solved my problem and maybe you can reuse
something...Basically I tried to find a work around for the autocomplete
mixin limitations, which just accepts string as return type, thus
rendering complex value
Hi Ken,
please paste the whole Bean class, too. I got an NPE in the past due to
an leading underscore in my pk member name.
"_pk" --> NPE
"pk" --> works fine. Guess this is a bug, because Tapestry in general
is happy with "_" when accessing properties.
Jens
Am 13.05.13 23:26, schrieb Ken
Hi All!
I detected a bug(?) in the HibernateEntityValueEncoder. When the
hibernate entity's primary key contains an underscore in the primary key
member name e.g.
private Long _pk;
than the HibernateValueEncoder fails with:
Caused by: java.lang.NullPointerException
at
org.apache.t
Hi All!
I detected a bug(?) in the HibernateEntityValueEncoder. When the
hibernate entity's primary key contains an underscore in the primary key
member name like
private Long _pk;
than the HibernateValueEncoder fails with:
Caused by: java.lang.NullPointerException
at
org.apache.ta
Hi All!
I detected a bug(?) in the HibernateEntityValueEncoder. When the
hibernate entity's primary key contains an underscore in the primary key
member name like
private Long _pk;
than the HibernateValueEncoder fails with:
Caused by: java.lang.NullPointerException
at
org.apache.ta
Hi All!
I use an enum as activation context parameter. Unfortunately in case the
enum changes or more likely the user has a typo in the url Tapestry is
unable to coerce the url param to enum and fails by throwing an
exception (fair enough). Instead of using onActivate parameters I
switched to
Hi All!
I detected a bug(?) in the HibernateEntityValueEncoder. When the
hibernate entity's primary key contains an underscore in the primary key
member name like
private Long _pk;
than the HibernateValueEncoder fails with:
Caused by: java.lang.NullPointerException
at
org.apache.ta
Hi All!
I have two questions concerning jquery/autocomplete and hopefully one of
you can point me to the right direction.
Part 1:
Basically everything is working fine: onProvideCompletions is called and
the list is displayed. Unfortunately I need to render a different href
and text in the
Hi All!
I detected a bug(?) in the HibernateEntityValueEncoder. When the
hibernate entity's primary key contains an underscore in the primary key
member name like
private Long _pk;
than the HibernateValueEncoder fails with:
Caused by: java.lang.NullPointerException
at
org.apache.ta
Hi Ben!
I am using the tapestry-jquery mixin for this:
tml:
t:validate="required" value="yourValue"
t:mixins="jquery/bind" bind.context="${yourValue.pk}"
bind.event="yourSelectionChanged" bind.eventType="change"/>
page:
public Object onYourSelectionChanged(final long pk)
{
Syste
we use DOA's as singletons since 3 years in prod, without any issue.
Again, a DOA will never have a state, why?
A DOA should have methods like "List getPersonsBornInYear(final
int year)" and every selection criteria gets passed as parameter. If you
consider a method like
"Order getOrder(fi
Hi Magnus,
many thanks for the detailed cookbook. I will give it a try and let you
know and have a nice holiday.
Jens
Am 30.07.12 00:03, schrieb Bård Magnus Kvalheim:
Hi Jens,
As it happens I too was thinking about this a while back.
I didn't make any research, but I would probably look i
uery/
Keep the rendering as light as possible!
Best,
Christian
Am 28.07.2012 um 13:11 schrieb Jens Breitenstein:
Hi T5'ers
we have some performance issues and started thinking about caching our pages (lets say
parts of them to be precise). Due to the fact we are showing user related inf
Hi T5'ers
we have some performance issues and started thinking about caching our
pages (lets say parts of them to be precise). Due to the fact we are
showing user related information along with "public information" on a
page, we can not make use of a simple web proxy caching.
Therefore we ar
Hi Howard,
In the past we had severe problems with T5 when a tomcat was started under
heavy load. It deadlocked reproduceble in the classloader / bytecode
instrumentation area. Thus we workaround this issue but clicking the index page
manually ones before adding the tomcat to the loadbalancer (
that's an interesting OO discussion... :-)
I would only use protected variables as long they are "final" to reduce
the boring "getXY()" code. But "final" is not possible in our case as
the variable's value is injected and not set via a constructor call.
Therefore Thiago is right to my personal
hi wesley
try to handle strings containing text and
html styles
jens
Am 06.10.11 13:43, schrieb wesleywj2:
hello,
i would like to know how to style the variable in tml page. for eg. in my
java class has a private String myMessage, normally i would just show
${myMessage} in my tml file.
Hi Taha!
I'll use
a) new project | maven
b) edit configurations | add jetty server | local
edit your newly created configuration and make sure "perform on update
action" --> "hot swap classes" is selected
afterwards if you build a class or module intellij prompts you for
hot-swapping. the
us
time to allow proper migration from 5.1.0.5?
Any hint is highly appreciated
Jens
Am 22.09.11 17:52, schrieb Howard Lewis Ship:
This is known and fixed in 5.2.
On Thu, Sep 22, 2011 at 3:36 AM, Jens Breitenstein wrote:
Hi All!
It seems we encountered a serious concurrency bug in Tapestry 5.
Hi All!
It seems we encountered a serious concurrency bug in Tapestry 5.1> under
high load.
In our special case one thread was blocked and unable to respond and
write an asset output stream.
As virtual assets are shared and the same ByteArrayOutputStream is
reused for the same asset accross mu
Hi Jack!
I wonder what kind of page data you want to cache which is not
provideable by a service?
a) why not using a spring singleton or a plain java static?
b) You can bind a service implementation (without interface) in your app
module and inject it to your page if you're not using a spri
Hi Geoff, hi Wulf, hi All!
Am 30.08.11 14:52, schrieb Geoff Callender:
Hi all,
The whole business of writing and storing ComponentActions does my head in -
it's plumbing, and for the most part Tapestry is very good at hiding plumbing,
but not when it comes to input components.
I agree...it's
at
you can wire to get called all the time for property-bound parameters.
Just my $.02
Thanks,
Les Baker
On Mon, Aug 29, 2011 at 10:52 AM, Taha Hafeez wrote:
Yes, please
On Mon, Aug 29, 2011 at 8:20 PM, Jens Breitenstein wrote:
Hi Taha, hi Josh!
well, that's what my gut feeling told
On Mon, Aug 29, 2011 at 6:16 PM, Jens Breitenstein
wrote:
Hi All!
I tried to use a combination of @Property and @Parameter.
@Property(read = true, write = false)
@Parameter(required = true)
private String _myParam;
unfortunately it seems to be impossible to "intercept" a set in suc
meterWorker for details
you can always use setupRender to setup things
On Mon, Aug 29, 2011 at 6:16 PM, Jens Breitenstein wrote:
Hi All!
I tried to use a combination of @Property and @Parameter.
@Property(read = true, write = false)
@Parameter(required = true)
private String _myParam;
u
Hi All!
I tried to use a combination of @Property and @Parameter.
@Property(read = true, write = false)
@Parameter(required = true)
private String _myParam;
unfortunately it seems to be impossible to "intercept" a set in such a case
// >> NEVER CALLED
public void String setMyParam(final
He Josh!!
Am 23.08.11 19:50, schrieb Josh Canfield:
Hmm.. every response from Jens is starting a new thread. Very hard to follow.
On Tue, Aug 23, 2011 at 1:43 AM, Robert Zeigler
wrote:
That's not fair!! :-)
I changed the "subject" field as the thread got a new direction (towards
one out
ok Robert! you are a genious, that did the trick.
for all T5'ers interested in Robert's solution see below both possible
versions.
BUT:
Incidentally, you mentioned validate in your previous e-mail... each form
component fires its own validate event, so the validate event you mentioned
befor
Hi Robert (and all others),
sorry to bother you, but
I implemented a ComponentAction and use FormSupport as you suggested it.
And it's near to what I need :-)
Unfortunately the "execute" method is called before tapestry updates the
property thus I see the orginal value not the new one?
Any id
Hi Robert!
again, many thanks for you input, I really appreciate this discussion
and time you spent
If you're using tapestry's form components inside your component, and binding
the values, then all of the values should be updated automatically. The main
thing is to make sure that the prop
s become part of
formSupport and let you know the results
Many thanks Robert for the quick help
On Aug 22, 2011, at 8/223:26 PM , Jens Breitenstein wrote:
Hi Robert!
I have a hugh and complex form and tried to create components and cut down the
page code. Each component gets access to the mo
n't see the form's event.
What are you trying to accomplish?
Robert
On Aug 22, 2011, at 8/223:04 PM , Jens Breitenstein wrote:
Hi all!
is it possible for a component to listen to the "success" event from the
enclosing form?
I tried various onEvent combinations but m
Hi all!
is it possible for a component to listen to the "success" event from the
enclosing form?
I tried various onEvent combinations but my annotated component method
is never called...
Jens
-
To unsubscribe, e-mail: users
Hi Thiago!!
I found a workaround!!!
Definitely ComponentInstantiatorSource is your friend. Decorating this
one allows me exactly to replace the componts I want to change.
code: I saw you pasted it but did not see a difference. I'll stick it in
SmartSync later :-), maybe I am near to blindn
Thiago,
do you use multiple modules?
- we are building running T5 apps per layer
- each layer is build by mvn thus containing a root pom.
- all layers may depend on jars from "upper" layers to assemble a new T5
app (just by jar dependencies).
- we have a module per layer and annotate it by @SubM
lready had write access replaced".
Jens
Am 15.08.11 13:00, schrieb Thiago H. de Paula Figueiredo:
On Sun, 14 Aug 2011 19:06:25 -0300, Jens Breitenstein
wrote:
ok, next step...
Hi!
this code below shows me all components from my current module/layer,
but the classes I want to &quo
Hi all!
I am still trying to replace an existing compont class by a derived
version. As @Advise did not work I tried to decorate the CCR (see module
code below).
Unfortunately its not working too but the result is consice between the
advised and decorated version. The service gets created but
ame]");
}
}
Am 14.08.11 15:28, schrieb Thiago H. de Paula Figueiredo:
On Sun, 14 Aug 2011 10:03:37 -0300, Jens Breitenstein
wrote:
Hi Thiago!
Hi!
Thanks for your response
but I do not get you. What do you mean by "checking the generated xml"?
HTML, not XML. O
e the compent "A" by "B".
But intercepting a service would allow me (and all of us) to
transparently inject derivded components without the need of touching tml's.
Jens
Am 14.08.11 14:07, schrieb Thiago H. de Paula Figueiredo:
On Sat, 13 Aug 2011 09:26:27 -0300, Jens B
hi All!
I have some trouble concerning component inheritance. My scenario is
something like:
A.tml
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
xmlns:p="tapestry:parameter" class="mini-basket-items">
A.class
--
public class A
{
public String getValueForA()
return _request.getMethod();
}
public int getLocalPort()
{
return _request.getLocalPort();
}
public int getServerPort()
{
return _request.getServerPort();
}
}
}
Am 11.08.11 12:28, schrieb Jens Breitenstein:
Hi All!
Hi Thiago!
thanks, it's solved (see my mail based on Igor's sample)
Jens
Am 10.08.11 21:07, schrieb Thiago H. de Paula Figueiredo:
On Wed, 10 Aug 2011 13:09:38 -0300, Jens Breitenstein
wrote:
Hi Thiago!
Hi!
puh, this is more a less a real time chat not a mailinglist :-
Wished I found that in your book (or I missed it?)
Many thanks Igor, it works..
for all of you having the same problem. This is the contrib section
based on Igor's solution:
@Contribute(ComponentMessagesSource.class)
public static void provideMessages(final
@Value("/de/domain/client/x
Hi all!
We have a WebApp and are currently developing a more or less similar App
with extended / slightly changed functionality (yes a customized
versision). Instead of C&P we use inheritance through all technical
layers (starting from Hibernate-DB over Spring-Services to T5-classes)
to imple
Hi all!
I use a spring alias which causes me some headache, because I get
Caused by: org.apache.tapestry5.ioc.internal.OperationException: Spring
context contains 2 beans assignable to type mypackage.IService:
myPackage.IServiceAlias, mypackage.IService.
at
org.apache.tapestry5.ioc.intern
use provided in the mvn dependency section when including
the javax.servlet thing...
javax.servlet
servlet-api
2.5
provided
Jens
Am 02.03.10 19:18, schrieb Thiago H. de Paula Figueiredo:
On Tue, 02 Mar 2010 15:09:52 -0300, oskar_a
wrote:
Hi,
Hi!
I have an Problem using T5 and javax.
.
thanks
Thiago H. de Paula Figueiredo schrieb:
Em Tue, 13 Oct 2009 14:29:34 -0300, Jens Breitenstein
escreveu:
Hi all!
Hello!
I know that all pages live below the "pages" directory but this
information is not enough to get the page-classes by the Classloader.
Due to the fa
Hi all!
I know that all pages live below the "pages" directory but this
information is not enough to get the page-classes by the Classloader.
Due to the fact tapestry needs to know the available pages anyway, can I
access some internal voodoo magic :-) to get a List or iterator
to my pages?
90 matches
Mail list logo