1.6.0_25 32bit: is fine too!
- jdk1.6.0_25 64bit: throws the mentioned exception.
Well, I am just going to use Java 7 then. It's installed now and seems like
it did not break the code.
Cheers
Beat Durrer
2012/12/9 Bob Harner
> I can state categorically that 5.3.6 does indeed w
You could overwrite the FieldValidatorSource and the
FieldValidatorImpl, which is responsible for creating validator
instances, so that it .
Or you use this hack in your Validator. It uses the message object of
the current field:
public void validate(Field aField, Integer aConstraintValue,
Messag
http://permalink.gmane.org/gmane.text.xml.fop.user/24097
2012/4/23 Beat Durrer :
> To feed the offtopic-gods:
>
> Anyone ever tried to use a tapestry page with a special fop-template,
> which then is fed into FOP?
> I guess it would be a nice thing if I were able to capture the
To feed the offtopic-gods:
Anyone ever tried to use a tapestry page with a special fop-template,
which then is fed into FOP?
I guess it would be a nice thing if I were able to capture the page's
output and pipe it into FOP or something. Don't know how, but that
would be cool.
Anyone ever tried th
Hi all
I am refactoring some page which have very similar forms.
I thought it would be clever to make a custom component, which
contains a collection of preconfigured form elements.
Some of those fields need page specific field names (the field stay the same).
How can I make page specific message
Well it's not a "physical" redirect, its a replacement. The page does
nothing else than streaming an image back to the browser, tapestry
does not need to do a redirect for that.
I can't really tell you how well it performs in real life, it does
not have a big user base (maybe 200 users).
I have a
Hi Boris.
I do not use asset domains, but a spezialized page that transforms my
parameters into a filelocation (because it's also dependent on user
roles and such).
Page classes may return an Stream instead of rendering a page
template. And of course a stream may contain anything.
We use a file r
I have the same issue with a formFragment.
The InternetExplorer seems to submit ALL values, regardless of whether
the formFragment is active or not.
That resulted in a lot of validation errors. I solved the problem by
manually validating everything in a validate() method instead of using
the annota
nHandler = ...
>
> Denis
>
> Mar 26, 2012 v 1:14 PM, Beat Durrer:
>
>> I have this issue too. It occured with the ZoneUpdater from the
>> jumpstart project (http://jumpstart.doublenegative.com.au/)
>> It does not happen in every combination and I couldn't fin
We load a different hibernate.cfg.xml for each environment by adding a
HibernateSessionSource Service:
In our DevelopmentModule:
public static void
contributeApplicationDefaults(MappedConfiguration
configuration){
// to prevent the default file to be loaded
configuration.add(Hibernate
I tried using a zoneupdater mixin inside a formfragment (which is
shown/hidden using the triggerfragment mixin on a radiobutton). The
code does what it's intended to do, aside from the reported error.
With the mentioned patch the Exception is reported as following:
Ajax failure: Status 200 for
htt
I have this issue too. It occured with the ZoneUpdater from the
jumpstart project (http://jumpstart.doublenegative.com.au/)
It does not happen in every combination and I couldn't find out what's
causing it so I gave up in the end.
The code itself works as expected, but it records this error messag
Hi,
I don't know about your specific issue, but to save you time:
The easiest way to start is take a vanilla eclipse, add the maven
plugin, create the project via eclipse-maven and then download the
sources via right-clicking the project -> maven -> download sources.
No hassle with svn or maven co
The Idea with mixins is great.
Even simpler: Since I always use the same RootLayout as uppermost
component, I could simply add some method to add/manage the page's
CSS.
I was able to solve the issue by reducing the amount of nested layout
components to a maximum of two
Then I put the @Import on th
Okay my bad. It's obviously the wrong solution if the user is the
current user. I was more thinking along the line of a list->detail
connection.
2012/3/20 Kalle Korhonen :
> On Tue, Mar 20, 2012 at 9:44 AM, Beat Durrer wrote:
>> Since T5 still can't predict the future (p
Since T5 still can't predict the future (pfff!), you need to set the
reference to the user yourself :)
There are several ways to do this...
So, all your CreateGame page needs is the user - right?
Then let's add an page activation context:
@Property
private Game game;
private User user;
onActivat
s requires a bit more
> thought.
>
> On Tuesday, 20 March 2012, Beat Durrer wrote:
>> I did some tests and the order of the stylesheets is actually reversed
>> to what I expected it to be...
>>
>> Here is an example:
>>
>> Let's say we define a RootLa
the @Import annotation.
> Again, I'm not sure this would work with stacks or what would happen for
> two @Imports for the same asset with different priorities.
>
> As you said, you could handle stylesheets yourself. Probably by including
> all stylesheets in your Layout component
rFilter can use then manipulate the MarkupWriter's DOM
> before it is written to the response output stream
>
> http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/MarkupWriter.html
>
> On Monday, 19 March 2012, Beat Durrer wrote:
>> Hi all,
>>
>
Hi all,
I have a "RootLayout" component which loads a CSS file, and some
SubLayout components add an other CSS.
I'm using T5.3.2 and simply applied the @Import(stylesheet={...}) to
the Layout classes.
At the moment, the CSS from RootLayout is loaded after the SubLayouts
and therefore overrides th
Hi guys,
Bypassing Tapestry sounds uncool...
Why not create a page with as many onActivate methods as you need for
your parameters
and then use Jackson JSON or a similar Java-to-JSON parser and return
it as StreamResponse of your onActivate?
There is a Jumpstart example for Webservices, but it c
essHandler(successHandler);
filter.afterPropertiesSet();
HttpServletRequestFilterWrapper wrapper = new
HttpServletRequestFilterWrapper(filter);
configuration.override("springSecurityAuthenticationProcessingFilter",
wrapper);
}
2012/3/16 Beat Durrer :
> H
he
service is not started?
The HttpServletRequestFilter with ID "AuthenticationProcessingFilter"
depends on this service and is 'real'.
I'm really lost here, is there anyone who was able to override this
service successfully?
Cheers
Beat
2012/3/15 Beat Durrer :
>
estry can you please point me to
> how\where to add these custom effects.
>
> -Original Message-
> From: Beat Durrer [mailto:bdur...@gmail.com]
> Sent: Friday, March 16, 2012 12:12 AM
> To: Tapestry users
> Subject: Re: FormFragment issue with radiobutton
>
>
Hi all,
Have you tried using a custom show/hide effect, which is faster?
I'm using this one:
Tapestry.ElementEffect = {
fastfade: function(element){
Effect.Fade(element, { duration: 0.1 });
},
fastshow: function(element){
Effect.Appear(element, { duration: 0.5 });
Hi guys
I'm using T5.3.2 with tapestry-spring-security 3.0.3
I want to do some custom redirecting when a user logs in, so I tried
several ways to override the UsernamePasswordAuthenticationFilter of
tapestry-spring-security, but all failed.
The build Method looks like this:
public RoleBasedAuth
Hi guys
I'm using a RadioGroup which is linked to 3 FormFragments using the
TriggerFragment mixin.
When you select a radio, one of the 3 FormFragments is shown. To not
loose the selection on Validation errors, I added a
@Persist(PersistenceConstants.FLASH) onto the variable which holds the
radio-v
if it's not null, then my guess is probably
> right.
>
> This link may prove helpful:
> http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/whatiscalledandwhen
>
>
> On Mon, Mar 5, 2012 at 1:00 PM, Beat Durrer wrote:
>
>> Hi Giulio,
>>
Hi Giulio,
No, they are not. The form is really straight forward as in the example:
Next
2012/3/5 Giulio Micali :
> Are your selects in a loop ?
>
>
>
> 2012/3/5 Beat D
Hey there
For my project I need two chained select boxes.
I followed the example shown in the API
(http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Select.html),
but used my own SelectModel for my custom value type.
It all looks nice, but when I submit the form,
47 -0200, Beat Durrer wrote:
>
> Hey guys
>>
>
> Hi!
>
>
> I just spent a whole day on a issue, where a service call in a page class
>> ended in a "java.lang.LinkageError: loader constraint violation the class
>> loader {...} of the current class, MyPa
Hey guys
I just spent a whole day on a issue, where a service call in a page class
ended in a "java.lang.LinkageError: loader constraint violation the class
loader {...} of the current class, MyPage, and the class loader {...} for
resolved class, MyService, have different Class objects for the typ
The Maven plugin in Eclipse helped me :)
The original tss module seems to be quite inactive, but several guys
continued to work on github (lobbin, llyk, anttalk).
I saw your work anttalk, thanks for continuing the work.
However, I used the one that my maven offered me:
https://github.com/lltyk/tap
bj != null) ? usrnameObj.toString() : null;
}
}
Cheers
Beat
2012/2/2 Beat Durrer
> Hi there,
>
> I added tapestry-spring-security 3.0.3 to the T5.3 archetype, following
> the sample app under
> http://www.localhost.nu/java/tapestry-spring-security/conf.html
> Everythi
Hi there,
I added tapestry-spring-security 3.0.3 to the T5.3 archetype, following the
sample app under
http://www.localhost.nu/java/tapestry-spring-security/conf.html
Everything works fine.
How can I retrieve the username when a user fails to log in (to put it into
the input field again)?
The tap
35 matches
Mail list logo