Well if the MAT result is normal or not I cannot say. While developing I get
PermGenSpace errors daily but a restart is so fast that it does not affect
me.
In production/test we have not had any issue as we rarely redeploy and if to
typically replace the entire war and thus restart the servlet c
It's realy helpful, I'll look into it, thank you :)
How can I link js tree's internal envent (onSelect(itemIdList)
onDblClick(itemId)) with t5 xtree's component when I use createEventLink?
Or write js code to encapsulate the original js tree events?
Does tapestry5 has some internal mechanisms
It works, Thnx you
--
http://www.dwiardiirawan.com
"cos everyone could be extraordinary...lighten up !"
Use ComponentResources.createEventLink to get the url of relevant events.
If you put the xtree component in login page,in your xtree component,
componentResources.createEventLink("click", {11,22}) would produce like
http://localhost/login.xtree:click/11/22.
First to understand url of tapestry: ht
I created https://issues.apache.org/jira/browse/TAP5-584 and added a
patch that fixes the problem. If approved I'd love to see it included.
Cheers,
Joost
On Sat, Mar 14, 2009 at 3:09 PM, Howard Lewis Ship wrote:
> Seems like a reasonable patch.
>
> On Fri, Mar 13, 2009 at 8:35 PM, Joost Schouten
Thanks, yes that would be the way to replace scriptaculous with a patched
version.
How could one replace or complement the autocomplete.js that is part of
tapestry-core? Is creating my own component or tapestry-core.jar the only
way? I want as little code for this in my project, I would expect s
Hi all , I got the problem when redeploy the application , then I use
MAT to analyse the problem
Below is the result of MAT
The class "java.io.ObjectStreamClass$Caches", loaded by "", occupies 14,673,024 (30.88%) bytes. The memory is
accumulated in classloader/component
"org.apache.tapestry5.in
I still confused with how to fire javascript object event on t5's
components way. so the code maybe not resonable :(
Is there any document on it?
How do you fire the 'click' event in your xtree component?
This 'click' is not the one 'click' in html dom.
Thanks,
DH
- Original Message --
Oh, That's just what I trying. Write a tree component is my evaluating t5
's way.
And I still confused with how to fire a js tree's envents such as
"onCheckNode(itemId) onExpandNode(itemId)" on t5's way.
Is there any document on this subject?
How do you fire the 'click' event in your x
How do you fire the 'click' event in your xtree component?
This 'click' is not the one 'click' in html dom.
Thanks,
DH
- Original Message -
From: "Ding Zenberg"
To:
Sent: Monday, March 16, 2009 10:11 AM
Subject: "OnEvent" no response
> Hi all,
>
> Here is the case, I put one compon
Em Sun, 15 Mar 2009 23:11:02 -0300, Ding Zenberg
escreveu:
@OnEvent(value="click", component="xtree")
void onTreeClick() {
System.out.println("tree clicked ...");
}
but there is no output expected. I want to know where's pro
Hi all,
Here is the case, I put one component named "xtree" on start page,
then I wrote on method to receive events from this component.
@OnEvent(value="click", component="xtree")
void onTreeClick() {
System.out.println("tree clicked
See http://tapestry.apache.org/tapestry5/guide/event.html
onException caches exceptions throwed by event handlers.
Angelo Chen wrote:
>
> Hi,
>
> I'm trying to use onException to catch exceptions, when I throw an
> exception from onActivate, onException can catch it, but if it is thrown
> from
Hi Peter,
You can have a look at this page:
http://tapestry.apache.org/tapestry5/guide/conf.html
Near the bottom there's a configuration option:
tapestry.scriptaculous
The path to the embedded copy of script.aculo.us packaged with
Tapestry. This value may be overridden to use a different ve
Thanks for all the suggestions. I'll try these out Monday morning.
-Luther
On Sat, Mar 14, 2009 at 7:29 PM, Angelo Chen wrote:
>
> Hi,
>
> I have similar problem in 8.0, but when I upgraded to 8.1, it went away, my
> config is very simple, just add a Maven configuration, add jetty:run,
> that's
Though I agree that String<->Date by default is a no-go. I think
tapestry could have a Long<->Date coercion. :)
Howard Lewis Ship wrote:
Converting between strings and dates is too finicky for Tapestry to
handle automatically (without screwing it up for some people).
Instead of including the
Please start a new thread for this new topic.
On 16/03/2009, at 4:01 AM, Zenberg Ding wrote:
Hi all,
Here is the case, I put one component named "xtree" on start page,
then I wrote on method to receive events from this component.
@On
Converting between strings and dates is too finicky for Tapestry to
handle automatically (without screwing it up for some people).
Instead of including the Dates as event context values,, try
converting them to long values (seconds since "the epoch") and then
convert them back to usable Dates insi
thnx u for the information^_^v
thnx u. it works now
--
http://www.dwiardiirawan.com
"cos everyone could be extraordinary...lighten up !"
hi, could anyone help me
here's my code
@Persist("flash")
@Property
private Date twawal, twakhir;
.
public Link getDailyChart(){
System.out.println(twawal); // OK
System.out.println(twakhir); // OK
return _resources.createEventLink("chart", new Object[]{"400"
Hi all,
Here is the case, I put one component named "xtree" on start page, then
I wrote on method to receive events from this component.
@OnEvent(value="click", component="xtree")
void onTreeClick() {
System.out
Another way is to check if the application is getting reloaded while you are
running - hopefully easily observable in the log. Each reload will cause
more things to get generated and eat up perm gen space. There is some
configuration you can also use to either increase your jvm permgens space or
l
Hi,
I have a nice web-app that was a pleasure to write in T5; but am running
into problems that I need some help with. The autocomplete mixin works just
fine in FF3 etc but there is a issue that seriously affects its usability in
IE (I have only tested 7) and end-users are complaining. When typing
Hi,
The process is in a separate thread, wrapped in a service, and Session is
injected into the service, the process takes quite a long time, I have to
restart tomcat service almost everyday.
Now, instead of injecting Session, I injected the HibernateSessionSource,
then I can control the session
Hi Angelo,
I think the point of sticking the session to the request is to keep it
open until the request is processed, to avoid
LazyInitializationExceptions during view rendering. So you might have
to do your session management without the HibernateSessionManager.
Then again, I wonder if it reall
Hi Dan,
I think the usual approach would be to expose a remote interface to
your application not through tapestry (or any other web framework),
but by use of some remoting framework. Depending on your requirements
(binary or text, one client platform or many, client architecture,
security and tran
Hi Borut,
right, Base 64 encoding is no good for URLs. See
"http://en.wikipedia.org/wiki/Base64#URL_applications";.
> What is the cleanest solution? Is there a known url safe
> encoder/decoder which I can use or do I have to write one myself?
I know there is one implementation included in the bo
Hi,
I'm trying to use onException to catch exceptions, when I throw an exception
from onActivate, onException can catch it, but if it is thrown from
getEntries which is a property accessed from the .tml, onException can't
catch it, t5's ExceptionReport got it, any idea why I can't catch this
exce
thx for the reply, i'll get a try on the MAT ... thx ..
CG
On Sat, Mar 14, 2009 at 10:13 PM, Geoffrey Wiseman
wrote:
> On Sat, Mar 14, 2009 at 5:14 AM, CG wrote:
>
>> Hi all, I have used T5 to write an application , it works fine ,
>> however, after using for a while , it will run into proble
multiple checkbox is something I'd like to have.
luna_guo wrote:
>
> Tapestry's form related components is not very handy in some case.for
> example:
> select:
> render out a list of options from database is complex,and what shall we do
> when the options are rendered by javascript?More complex
Tapestry's form related components is not very handy in some case.for
example:
select:
render out a list of options from database is complex,and what shall we do
when the options are rendered by javascript?More complex,eh?
checkbox can only used for a single boolean value.Multiple check is often
32 matches
Mail list logo