Thank you both very much for replying. It solved my problem.
Bogdan.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/HttpSessionListener-interface-implementation-by-Tapestry5-component-tp5572413p5572656.html
Sent from the Tapestry - User mailing list archive at Nabble.co
Are you sure you're using the instance that Tapestry created? If you
registered your HttpSessionListener via your web.xml then Tomcat is
creating the instance.
In this case you want to grab the instance of Registry stored in the
ServletContext.
http://tapestry.1045711.n5.nabble.com/Hello-Can-anyo
On Fri, Mar 16, 2012 at 1:28 PM, bogdan_cm wrote:
> When a user logs out I want to remove it from my online_table. This can
> happen in two ways:
> Is there a way for me to force Tap to inject my service? Any other work
> around idea is welcomed. I have even went so far as to putting a finalize
>
Hi everyone,
When a user logs out I want to remove it from my online_table. This can
happen in two ways:
1. The user clicks LOGOUT link and I remove him from the online_table and
invalidate his session.
2. The users simply closes the browser, in which case I am unaware that he
left and the sess
I think the documentation you're looking for is at
http://tapestry.apache.org/forms-and-validation.html -- especially the
"Storing data between requests" section.
Bob Harner
On Mar 16, 2012 2:16 PM, "George Christman" wrote:
> Hello everyone, I'm trying to create a work around for my post relat
Hello everyone, I'm trying to create a work around for my post related to
server side validation with form loop.
So my questions is whether or not tapestry persist any of the form data
before returning a validation error or is tapestry relying on the browser
cache to store the values?
I logged
Thanks a lot, man! That helped.
I did:
glassfish@Ubuntu-1110-oneiric-64-minimal:~$ bin/asadmin --secure
create-jvm-options -- -Dfile.encoding=utf-8
and stop-domain, start-domain.
I just thought that previous comment was referring to some system jvm
option.
--
View this message in context:
http:
On Fri, 16 Mar 2012 14:02:40 -0300, bigcache1
wrote:
This is only in case when russian letters are in .tml file.
When they are returned values, or from .properties files - everything is
ok.
File encodings:
.tml - utf-8
.properties ISO-8859-1
Not ok. For Tapestry, .properties files should
No. You need to add this into JVM options tab in glassfish and make sure it's
on the command line when you do a ps.
On Mar 16, 2012, at 1:15 PM, bigcache1 wrote:
> I added this option to maven.
> mvn install -Dfile.encoding=utf-8
> Am I right?
>
> --
> View this message in context:
> http:
I added this option to maven.
mvn install -Dfile.encoding=utf-8
Am I right?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-encoding-issues-tp2427143p5571968.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Did you try adding -Dfile.encoding=utf-8 to the jvm command line?
On Fri, Mar 16, 2012 at 10:02 AM, bigcache1 wrote:
> BUMP!!
>
> I've recently updated my app to the Tapestry 5.3
> Everything works great, thanks to all developers.
> Just have a little problem with encoding of russian symbols in
BUMP!!
I've recently updated my app to the Tapestry 5.3
Everything works great, thanks to all developers.
Just have a little problem with encoding of russian symbols in tml files.
Instead of russian or just wrong "chinese" symbols, I get this ? ???
? ?.
This is only in case when russian
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
InitializationPriority.IMMEDIATE does not execute inside a
Tapestry.onDomReady() callback ... that's probably what you're looking
for.
On Fri, Mar 16, 2012 at 8:19 AM, Christian Riedel
wrote:
> ...maybe not the 100% sure thing but you could add a last init script like
> this:
>
> javaScriptSuppo
...maybe not the 100% sure thing but you could add a last init script like this:
javaScriptSupport.addInitializerCall(InitializationPriority.LATE, "lastInit",
parameters);
Wouldn't be after the init() but at least after all the other inits...
Cheers
Christian
Am 16.03.2012 um 10:34 schrieb P
As a temporary fix, I was looking at doing something like this.
private PurcahaseRequest pr;
@Persist
private PurchaseRequest prPersist;
Class onActivate(PurchaseRequest pr) {
this.pr = pr;
}
void onActivate() {
if (this.pr == null) {
this.pr = new PurchaseRequest();
For the records: I solved my issue.
It's not the way I would like it to be, but at least it works: I
simply contribute an Override to the ServletRequestHandler.
public static void contributeHttpServletRequestHandler(
OrderedConfiguration configuration,
@InjectService( "
On Fri, 16 Mar 2012 08:05:17 -0300, Lance Java
wrote:
Incorrect!!!
You need to tell tapestry to ignore the URL so that it lets the servlet
container handle the URL instead of tapestry.
Have you configured some sort of spring servlet or spring filter in
web.xml? If you want spring to handle
Thanks a lot!
Le 15 mars 2012 à 12:19, Dragan Sahpaski a écrit :
> Hi,
> On Thu, Mar 15, 2012 at 9:20 AM, Guillaume Bodet wrote:
>
>> Hi,
>>
>> I'm looking for a way to perform some initialization processing at
>> application startup.
>> Is there any hook to trigger such processing?
>>
> Sur
FYI I think you will need something like the following in your web.xml. I
am surprised that the jsonrpc4j docs don't mention this
org.springframework.web.context.ContextLoaderListener
contextConfigLocation
/WEB-INF/my-application-contex
Incorrect!!!
You need to tell tapestry to ignore the URL so that it lets the servlet
container handle the URL instead of tapestry.
Have you configured some sort of spring servlet or spring filter in
web.xml? If you want spring to handle URL's then you will need to do this.
This is now NOT a tape
Hey there,
I started over today and removed all my stuff, so it starts up as
normally. Then I added a decorator method, which is never called.
After logging in I checked the servicestatus and saw that the service
with id "RealAuthenticationProcessingFilter" is always in state
"defined".
Even afte
Thanks for your advice,
It seems to be a chicken/egg problem:
if I dont ignore the url: tapestry sends the Index-page, obviously not
recognizing that /json/UserService.json is addressed to the Sring-Service.
If I ignore /json/.* I get the 404, becouse tapestry does not feel
responsible and there
What is the best way to execute some javascript as soon as tapestry is
finished all of its Tapestry.init() calls on initial page render?
Note, browsers that don't support DOMContentLoaded (ie6,7,8...) can fire
any window.load listener before Tapestry.onDOMLoaded.
-
Your welcome :)
For the records: It's the show and hide parameter of the FormFragment
and I think the javascript method name should be all lowercase.
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/FormFragment.html
2012/3/16 Anuj Mittal :
> Thanks a lot Beat
> I added "/UserService.json" to the ignorList, but just got 404 as a
response
You definitely have something wrong with your jsonrpc4j config. Get this
working first before thinking about integrating jsonrpc4j with the tapestry
filter.
FYI, instead of having a ignore filter for "/UserService.json
Thanks a lot Beat issue is fixed at my end :)
-Original Message-
From: Anuj Mittal [mailto:anmit...@adobe.com]
Sent: Friday, March 16, 2012 11:04 AM
To: Tapestry users
Subject: RE: FormFragment issue with radiobutton
Thanks Beat for your reply. I am new to tapestry can you please point
Thanks again for your replies,
I added "/UserService.json" to the ignorList, but just got 404 as a
response,
so I thought either my spring service is configured wrong (or not running at
all),
or I need to teach tapestry to work with jsonrpc4j, (on top instead of
beside).
Either way is ok, if it w
28 matches
Mail list logo