Upgrading from T5.3-beta-24 to T5.3-beta-25 brings about a breaking
change which I believe is related to:
https://issues.apache.org/jira/browse/TAP5-1686
and
http://tapestry.1045711.n5.nabble.com/Revision-1181139-td4913594.html
I have a sub module defined with @SubModule(CuModule.class) which f
Digging further into this, the problem is actually triggered by the GWT
JavaScript that's on the same page.
I can't reproduce this unless I have a GWT component on that page, any GWT
component.
I believe something was broken with
http://svn.apache.org/viewvc?view=revision&revision=1186564
It se
Essentially you're talking about capturing the output of a page /
component / block and serialising it to a String, of which there has
been plenty of past discussion here on the mailing list.
Though personally, my technique would be to render the dev-mode error
page into to your prod-mode error pa
Looking at the code, yes, the names are indeed sorted. But even if
they weren't I doubt they'd be returned in the template defined order
as internally they are stored as set of bindings and transformed into
a named map - and both structures are notorious for losing a defined
order.
Turning the que
Maybe tynamo does something to get weaving working that tapestry-jpa doesn't
do?
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Problems-using-JPA-with-5-3-tp6898469p6919297.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
--
Nope, still cant get around it. This is part of the error I get
"The class was not weaved properly - for EE deployments, check the module
order in the application.xml deployment descriptor and verify that the
module containing the persistence unit is ahead of any other module that
uses it."
Doe
Hi David,
I'm using 5.2.6 as well. What happens when your progressively-displayed grid
can't render and throws an exception?
Best Regards,
Wulf
-Original Message-
From: David Canteros [mailto:davidcanteros@gmail.com]
Sent: Donnerstag, 20. Oktober 2011 18:33
To: Tapestry users
Subje
Hello all,
I will open up my t5 intranet application for "public" testing next week and
was planning on having slf4j send me all exception stack traces that occur per
email. I was wondering if it's possible to do the same for the glorious
tapestry error page. Even more awesome would be to be ab
Hi all,
I just noticed the API Doc for ComponentResources.getInformalParameterNames()
says that it returns the parameter names in alphabetical order. I'm stunned, to
be honest because I would not have expected this at all and I really need them
to be in the order as defined in the template ...
On 21.10.2011 11:28, Olga wrote:
Maybe does anybody know how clean cache from java file?
You forget that your java files run on the server, not in the browser.
smime.p7s
Description: S/MIME Cryptographic Signature
Hello Thiago,
Tapestry version: T5.2.6
Java class:
*public class InscriptionProfessionnelGardeEnfant {*
*
*
*@Property*
*@Persist*
*@Valid*
*private ChildminderAccount childminderAccount;*
*
*
*@Property*
*private SelectModel childminderStatusSelectModel;*
*
*
*@Inject
On Fri, 21 Oct 2011 17:37:40 -0200, Julien Martin wrote:
Hello,
Hi!
I still get this error the first time the form is loaded:
*Render queue error in
BeginRender[InscriptionProfessionnelGardeEnfant:accountemailaddress]:
Class
cannot be null (displayed in the browser)*
*java.lang.IllegalA
Hello,
I have a slight problem with Tapestry.
I have a Tapestry form which is as follows:
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
*
Hello again,
I sorted the problem thanks to Igor's help as follows:
Thanks,
Julien.
2011/10/21 Julien Martin
> Igor,
> Here is the page:
>
> *public class InscriptionProfessionnelGardeEnfant {*
> *
> *
> *@Property*
> *@Persist*
> *@Valid*
> *private ChildminderAccount childmi
Just upgraded to beta-26, and started getting JavaScript errors when
submitting an AJAX form.
search object has a Date (hence the DateField bean)
I get the following errors starting sometime after beta-21 (it worked perfectly
in beta-21)
Thiago H de Paula Figueiredo wrote:
>
>
> You're triggering your own event here, so what happens after your handler
> method is exactly what you put inside your implementation of the
> ComponentEventcallback's handleResult() method. Try @Inject'ing into your
> component class ComponentEven
Igor,
Here is the page:
*public class InscriptionProfessionnelGardeEnfant {*
*
*
*@Property*
*@Persist*
*@Valid*
*private ChildminderAccount childminderAccount;*
*
*
*@Property*
*private SelectModel childminderStatusSelectModel;*
*
*
*@Inject*
*private SelectModelFa
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
On Fri, 21 Oct 2011 12:48:40 -0200, hese <1024h...@gmail.com> wrote:
I understand encapsulation and the need for it, but isn't it very common
for base classes to have protected variables which the derived classes
can
access freely without having accessor methods?
Not in good object-oriente
Alternately, use the @ActivationRequestParameter annotation instead of
@Persist. This will put the value into a query parameter of the URL,
which will be unique to each window.
On Fri, Oct 21, 2011 at 7:36 AM, Bo Gao wrote:
> Thank you, This is exactly what I want.
>
> On Oct 21, 2011, at 7:09 PM
Got it! Thanks for the explanation.
> In any case, I will be taking a crack at supporting this in 5.4 ...
> allowing fields to be non-public, but not necessarily private.
That'll be great!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/why-does-tapestry-force-varia
It's about the bytecode generation that Tapestry does on components.
Since it is designed to work lazily, and piecemeal (one class at a
time) it wants to limit the scope of changes.
Basically, most of those private fields are rewritten into get and set
methods, and every reference to those fields
There's a very good reason why they must be private - because as soon
as you annotate them with @Property, @Parameter or similar, they don't
exist!
Tapestry replaces your variables with it's own getter and setters -
part of the magic that ensures the variables are always correct at
runtime. The on
just discovered that it is not just for property variables, i cant say -
public String something;
protected String something2;
why??
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/why-does-tapestry-force-variables-to-be-private-tp4924925p4924955.html
Sent from the Tapes
I understand encapsulation and the need for it, but isn't it very common for
base classes to have protected variables which the derived classes can
access freely without having accessor methods?
Is there any architectural reason in tapestry for disallowing this for
property and injected variabl
Thanks for the inputs Thiago!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/whats-the-best-way-to-differentiate-create-and-update-modes-in-a-form-tp4918970p4924893.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Thank you, This is exactly what I want.
On Oct 21, 2011, at 7:09 PM, Thiago H. de Paula Figueiredo wrote:
> On Fri, 21 Oct 2011 08:41:25 -0200, Bo Gao wrote:
>
>> Hi
>
> Hi!
>
>>
>> I have a problem with @Persist values.
>>
>> I use Zone in my page, the zone only shows a number 'count'. And
On Fri, 21 Oct 2011 10:52:42 -0200, captain_rhino
wrote:
Thankls for your advice.
I can see how you would capture request information using
ActivationRequestParameter but cannot see how in a page context you
would
add parameters in the same way that addparameter works on a link?
Thankls for your advice.
I can see how you would capture request information using
ActivationRequestParameter but cannot see how in a page context you would
add parameters in the same way that addparameter works on a link?
Link link =
linkSource.createPageRenderLinkWithContext(PolicySign
Hi,
I think you are disabling cache for incorrect page. You must disable caching
for all pages that should not be available after logout, but you must do
that when pages are sent to browser, not on logout action.
Best regards,
Cezary
On Thu, Oct 20, 2011 at 11:30 AM, Olga wrote:
> I've tried
>
Just one advice: adding query strings isn't URL rewrite at all. Instead,
it's when you want some URL to be processed as if it was another. Example:
/page.html?id=1 to be processed by Tapestry as /page/1.
In addition, if you need just one or two query parameters, I'd use the
page activation
On Fri, 21 Oct 2011 08:41:25 -0200, Bo Gao wrote:
Hi
Hi!
I have a problem with @Persist values.
I use Zone in my page, the zone only shows a number 'count'. And when I
click a link in this page, it will plus count by 1 and refresh the zone.
I open 2 same page in safari, (two tabs in o
Hi
I have a problem with @Persist values.
I use Zone in my page, the zone only shows a number 'count'. And when I click a
link in this page, it will plus count by 1 and refresh the zone.
I open 2 same page in safari, (two tabs in one safari window, they have a same
sessionid)
I click link in t
Either the object graph is not traversed or your ChildminderAccount object
is null. The @Valid annotation is ignored for null objects. Please post the
entire page class and template. You can also pass childminderAccount to the
Form's validate parameter.
On Thu, Oct 20, 2011 at 9:53 PM, Julien Mart
Hi,
You can use ActivationRequestParameter
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/ActivationRequestParameter.html
It's basically the samo use case as PageActivationContext except you can
have more than one field annotated and it handles URL parameters, so the
o
I found a way of doing this unless anyone know any different. Is there a
way to this with the page object rather than using a link.
@Inject
private PageRenderLinkSource linkSource;
@Log
public Object onSubmitFromPolicySigninForm()
{
Link link =
linkSource.cre
If i do clean cache after logout from browser that i have behaviour what i
want. After logout i can't to come back to previos paje.
Maybe does anybody know how clean cache from java file?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4924218
up
2011/10/20 Julien Martin
> Hi Igor,
>
> Yes I do use the form component as follows:
>
> From the class:
> *@InjectComponent*
> *private Form childminderRegistrationForm;*
> *
> *
> From template:
> *clientValidation="none">*
>
> Julien.
>
> 2011/10/20 Igor Drobiazko
>
>> Please m
I understand how I can read from a query string ith Tapestry but how do i
write a query string of a specfic page request.
For example
My initial request is
myapp/redirect?sourceSiteId=aUniqueValue
I use @ActivationRequestParameter to capture the value of the parameter.
My redirect page then
39 matches
Mail list logo