Re: Rendering cache

2012-07-30 Thread dh ning
Hi, one of my simple implementation, hope it helps. public abstract class StaticCacheComponent { private final static int CACHE_EXPIRED = 60; @Inject private ComponentResources componentResources; @Inject private CacheService cacheService; @Inject private

Re: Howto render a block and put it into a JSON reply?

2012-02-16 Thread dh ning
Hi, To render block as html markup, I did like this: public String renderMarkup(RenderCommand renderCommand) { MarkupWriter markupWriter = new MarkupWriterImpl(); // validation track ValidationDecorator decorator = new DefaultValidationDecorator(environment,

Re: T5.1 locale switch back to default english after navigate to other page

2011-11-17 Thread dh ning
Hi, If you switch locale by PersistentLocale service, I think the locale will be persisted. Thanks, DH 2011/11/18 wesleywj2 wesley...@yahoo.co.uk hi there, i successfully switch the locale between english and chinese zh_CN within a page, but encountered a problem where once i switch

Re: [ANNOUNCE] Apache Tapestry preview 5.3-rc-1

2011-11-01 Thread dh ning
Me too where tml contains Chinese words. Should be caused by the html5 doc type changes? Caused by: java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8 sequence. at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) at

Re: [ANNOUNCE] Apache Tapestry preview 5.3-rc-1

2011-11-01 Thread dh ning
A pleasure! Done. https://issues.apache.org/jira/browse/TAP5-1741 Thanks, DH 2011/11/1 Howard Lewis Ship hls...@gmail.com It is possible, can you open up a JIRA issue and attach your template? On Tue, Nov 1, 2011 at 3:01 AM, dh ning ningd...@gmail.com wrote: Me too where tml contains

回复: Re: Deadlock issue in 5.3-beta-5 ?

2011-09-23 Thread DH
I think it is not fixed yet. https://issues.apache.org/jira/browse/TAP5-1650 2011-09-23 DH 发件人: Chris Poulsen mailingl...@nesluop.dk 发送时间: 2011-09-23 17:08 主 题: Re: Deadlock issue in 5.3-beta-5 ? 收件人: Tapestry users users@tapestry.apache.org There have been some work related

Re: Directory listing error

2010-03-18 Thread DH
Please have a look at your jetty log, there must be some error message when deploying your t5 application. DH - Original Message - From: Mite mitemeis...@gmail.com To: users@tapestry.apache.org Sent: Friday, March 19, 2010 9:38 AM Subject: Directory listing error I have created

Re: Error in tapestry.js in IE 8

2010-03-15 Thread DH
Prototype 1.6.0 in T5.1 has such issue on IE8. You can upgrade prototype.js to 1.6.1 or use tapx lib. DH - Original Message - From: LiborGMC l.pre...@gmc.net To: users@tapestry.apache.org Sent: Monday, March 15, 2010 3:51 PM Subject: Re: Error in tapestry.js in IE 8 Hi, I'm

Re: message catalog and generated labels from property name

2010-01-26 Thread DH
If it is boolean, better way is to define the label in properties. propertyname.true=Yes propertyname.false=No DH - Original Message - From: Thiago H. de Paula Figueiredo thiag...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, January 26, 2010 11:07 PM Subject

Re: page generic problem

2010-01-12 Thread DH
I think T5 doens't support generic well in page class, I got some unexpected exceptions too. DH - Original Message - From: Jun Tsai jun.t...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Monday, January 11, 2010 11:44 AM Subject: page generic problem hi,all I had

Re: Best practice for initializing page to default context

2009-12-08 Thread DH
typeCoercer) { configuration.add(PageActivationUnit, new PageActivationUnitWorker(typeCoercer), before:OnEvent); } That's all. One disadvantage is that you can't use primitive type for param field, so use Integer instead of int. DH http://www.gaonline.com.cn - Original Message - From

Re: zone id as property expression ?

2009-12-07 Thread DH
t:zone t:id=static name id=${zoneName} t:update=show Finally id in the Dom would be the one 'id'. DH http://www.gaonline.com.cn - Original Message - From: Gunnar Eketrapp To: Tapestry users users@tapestry.apache.org Sent: Monday, December 07, 2009 4:43 PM Subject: zone id as property

Re: t5 Environment property

2009-12-07 Thread DH
http://tapestry.apache.org/tapestry5.1/guide/env.html DH http://www.gaonline.com.cn - Original Message - From: kamiseq To: users@tapestry.apache.org Sent: Tuesday, December 08, 2009 7:54 AM Subject: t5 Environment property hi, I really cant find any proper explanation of Environment

Re: t5 handling events by components, event handling sequence

2009-12-07 Thread DH
activation context. DH http://www.gaonline.com.cn - Original Message - From: kamiseq To: users@tapestry.apache.org Sent: Tuesday, December 08, 2009 7:38 AM Subject: t5 handling events by components, event handling sequence hi, I ve wrote simple component that renders link and handles

Re: Access the Tapestry IoC from another servlet

2009-12-06 Thread DH
ServletContext context = FilterConfig.getServletContext(); context.getAttribute(TapestryFilter.REGISTRY_CONTEXT_NAME); See TapestryFilter, hope that helps. DH http://www.gaonline.com.cn - Original Message - From: Mike Leonardo To: users@tapestry.apache.org Sent: Monday, December 07

Re: missing key for localized resources on Linux

2009-11-23 Thread DH
Please check whether the properties file name is the same as the filter name in web.xml (case sensitive) . I made such mistake before. DH http://www.gaonline.com.cn - Original Message - From: Ilya Obshadko To: Tapestry users users@tapestry.apache.org Sent: Monday, November 23, 2009 6

Re: Pass params to pager of grid component

2009-11-10 Thread DH
It seems that Grid doesn't support 'context' parameter. But why don't you add the keyword to the page's activation context? DH http://www.gaonline.com.cn - Original Message - From: Xuan Tran Le To: Tapestry users users@tapestry.apache.org Sent: Wednesday, November 11, 2009 12:45 PM

Re: beaneditform question

2009-11-09 Thread DH
I never had this issue before. I just test and everything works right, can you share the whole stack trace? DH http://www.gaonline.com.cn - Original Message - From: Jonhy Pear To: Tapestry users users@tapestry.apache.org Sent: Tuesday, November 10, 2009 3:27 AM Subject: Re

Re: beaneditform question

2009-11-08 Thread DH
)); service.save(user); return successpage or other; } DH http://www.gaonline.com.cn - Original Message - From: Jonhy Pear To: users@tapestry.apache.org Sent: Monday, November 09, 2009 9:21 AM Subject: Re: beaneditform question Sorry, I mean beaneditform, not beaneditform

Re: T5 Random Issue

2009-11-02 Thread DH
I got this issue with gzip enabled and tomcat6, tomcat5 has no problem. So I had to disable gzip in tapestry. DH http://www.gaonline.com.cn - Original Message - From: Norman Franke To: Tapestry users users@tapestry.apache.org Sent: Tuesday, November 03, 2009 12:31 AM Subject: T5

Re: Problem with ActionLinks inside Zone

2009-11-02 Thread DH
Never got this issue. Since the action link is linked to the zone, in the ajax response, the action link will be linked to the zone again (script in the response will be executed), so the next time it is still an ajax request. Maybe post some code that we can help you. DH http

Re: how can i construct external url with querystring???

2009-10-28 Thread DH
Don't understand your problem well. Doesn't [a href=${fwdLink}login/a] fit your need? DH http://www.gaonline.com.cn - Original Message - From: sameerkhare To: users@tapestry.apache.org Sent: Wednesday, October 28, 2009 12:47 PM Subject: how can i construct external url

Re: how can i construct external url with querystring???

2009-10-28 Thread DH
?userId=%spass=%s, userId, ab); // you can use any way you like } In tml, a href=${fwdLink}login/a. DH http://www.gaonline.com.cn - Original Message - From: sameerkhare To: users@tapestry.apache.org Sent: Wednesday, October 28, 2009 2:08 PM Subject: Re: how can i construct external

Re: how can i construct external url with querystring???

2009-10-28 Thread DH
But what you want is external link, createPageRender() is to create internal link, you need provide your app internal page name. DH http://www.gaonline.com.cn - Original Message - From: sameerkhare To: users@tapestry.apache.org Sent: Wednesday, October 28, 2009 5:29 PM Subject: Re: how

Re: Login page - passing context between pages

2009-10-15 Thread DH
In that case, the context is only useful for Login page, but not the following page, so only returning logic name of source page would not carry the context. Try PageRenderLinkSource#createPageRenderLinkWithContext(String pageName, Object... context) and return that link. DH http

Re: calling action link from a javascript

2009-10-11 Thread DH
updateItem()? I think should be ${updateItem()}. DH http://www.gaonline.com.cn - Original Message - From: Angelo Chen angelochen...@yahoo.com.hk To: users@tapestry.apache.org Sent: Monday, October 12, 2009 9:40 AM Subject: t5: calling action link from a javascript Hi, I'm

Re: eclipse / mvn / run-jetty-run

2009-09-29 Thread DH
reloaded, but for adding new method, I still need restart mvnDebug. DH http://www.gaonline.com.cn - Original Message - From: Gunnar Eketrapp To: Tapestry users users@tapestry.apache.org Sent: Tuesday, September 29, 2009 6:22 PM Subject: eclipse / mvn / run-jetty-run Hi! A newbie

Re: How to display Blob byte array image?

2009-09-20 Thread DH
Maybe this is feasible: Create an event link and get the url, put the url to the img src and return the stream response in the event handler. DH http://www.gaonline.com.cn - Original Message - From: Jun Tsai To: Tapestry users users@tapestry.apache.org Sent: Monday, September 21, 2009

Re: T5:can we nest a bean's property value in message resource?

2009-09-17 Thread DH
Currently no such solution, but you can create new binding prefix for your requirement. But maybe a bit complicated. Another simpler way is using Messages#get in your page class. DH http://www.gaonline.com.cn - Original Message - From: cleverpig To: Tapestry users users

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread DH
${var:rowIndex} /p:rowNumber /table Note: It begins from 0. And I haven't test it at all but should almost work. DH http://www.gaonline.com.cn - Original Message - From: cleverpig greatclever...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, September 17

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread DH
Hey, do it yourself^_^ It was introduced in T5.1. html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_1_0.xsd; xmlns:p=tapestry:parameter /html DH http://www.gaonline.com.cn - Original Message - From: cleverpig To: Tapestry users users@tapestry.apache.org Sent: Thursday

Re: T5:how to use rowIndex in Grid component?

2009-09-16 Thread DH
yes. I am sorry that I gave the wrong example. p:rowNumber should be p:rowNumberCell. Append the 'Cell' and will work. DH http://www.gaonline.com.cn - Original Message - From: cleverpig greatclever...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Thursday, September 17

Re: How to .tml template access a class's static variable

2009-09-10 Thread DH
One question is how you expect to access the variable/method in the template and why you prefer to show/access so many static variable in the template? DH http://www.gaonline.com.cn - Original Message - From: Xuan Tran Le To: Tapestry users users@tapestry.apache.org Sent: Friday

Re: New Tapestry tutorial to replace the quickstart tutorial

2009-09-09 Thread DH
I can help on Chinese. DH http://www.gaonline.com.cn - Original Message - From: Komiwes Robin robin.komi...@atosorigin.com To: Tapestry users users@tapestry.apache.org Sent: Wednesday, September 09, 2009 5:28 PM Subject: RE: New Tapestry tutorial to replace the quickstart tutorial I

Re: How to .tml template access a class's static variable

2009-09-07 Thread DH
I think we can't and should delegate in B class DH http://www.gaonline.com.cn - Original Message - From: Xuan Tran Le To: Tapestry users users@tapestry.apache.org Sent: Tuesday, September 08, 2009 11:17 AM Subject: How to .tml template access a class's static variable I want to from

Re: Marker for required fields on bean editor

2009-09-03 Thread DH
PropertyEditBlocks.java and PropertyEditBlocks.tml, then just put the mixin 'FieldDecorator' there. DH http://www.gaonline.com.cn - Original Message - From: Juan E. Maya maya.j...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Friday, September 04, 2009 1:56 AM Subject: Re

Re: Create actionlinks in components with page context

2009-08-25 Thread DH
Sure, there must be a passivate method. Action link in tmeplate is fairly simple: a href=# t:type=actionlink t:id=englishEnglish/a. DH http://www.gaonline.com.cn - Original Message - From: Erik Putrycz To: users@tapestry.apache.org Sent: Wednesday, August 26, 2009 4:44 AM Subject: Re

Re: Create actionlinks in components with page context

2009-08-24 Thread DH
onActionFromEnglish() { persistentLocale.set(Locale.ENGLISH); } DH http://www.gaonline.com.cn - Original Message - From: Erik Putrycz e...@apption.com To: users@tapestry.apache.org Sent: Tuesday, August 25, 2009 5:21 AM Subject: Create actionlinks in components with page context

Re: Create actionlinks in components with page context

2009-08-24 Thread DH
Since my action handler returns Void, so in my case T5 will return current page(with context) and redirects, here T5 will carry the context again without any work of mine. What about your action handler? DH http://www.gaonline.com.cn - Original Message - From: Erik Putrycz e

Re: Log remote IP address with MDC class?

2009-07-15 Thread DH
Hi, Have a try with public RequestFilter buildRequestLoggingFilter(RequestGlobals requestGlobals){ } , requestGlobals has the HttpServletRequest. DH http://www.gaonline.com.cn - Original Message - From: learningtapestry satish...@yahoo.com To: users@tapestry.apache.org Sent: Thursday

Re: locales supported

2009-07-05 Thread DH
Hi, They are en,it,es,zh_CN,pt_PT,de,ru,hr,fi_FI,sv_SE,fr_FR,da,pt_BR,ja,el. DH http://www.gaonline.com.cn - Original Message - From: Angelo Chen angelochen...@yahoo.com.hk To: users@tapestry.apache.org Sent: Monday, July 06, 2009 6:54 AM Subject: t5: locales supported Hi, What

Re: Accessing parameter of container from mixin

2009-07-02 Thread DH
)componentResources.getContainerResources(); String zone= (String)containerResources.getBinding(zone).get(); return zone; } DH http://www.gaonline.com.cn - Original Message - From: Alfie Kirkpatrick To: Tapestry users users@tapestry.apache.org Sent: Thursday, July 02, 2009 4:08 PM Subject: Accessing

Re: T5 Grid Error

2009-07-01 Thread DH
Is the data source 'displayedCompanies' volatile? Error comes out in ajax request? DH http://www.gaonline.com.cn - Original Message - From: haipeng du haipen...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Wednesday, July 01, 2009 11:54 AM Subject: T5 Grid Error I

Re: Problem with form inside div

2009-07-01 Thread DH
Hi, Don't ever have such issue, I always put form inside div too. What about the generated html source code? Is it right? DH http://www.gaonline.com.cn - Original Message - From: Andrew Nguyen To: users@tapestry.apache.org Sent: Thursday, July 02, 2009 10:16 AM Subject: Problem

Re: RenderSupport in pages?

2009-06-19 Thread DH
sure, you can use directly in page. @Environmental private RenderSupport renderSupport; Why to extend page from component, page itself is the top root component. DH http://www.gaonline.com.cn - Original Message - From: Piero Sartini To: Tapestry users users@tapestry.apache.org Sent

Re: RenderSupport in pages?

2009-06-19 Thread DH
I am sure that exception comes out in ajax request, right? RenderSupport is not available in ajax request. DH http://www.gaonline.com.cn - Original Message - From: Piero Sartini To: Tapestry users users@tapestry.apache.org Sent: Friday, June 19, 2009 7:03 PM Subject: Re: RenderSupport

Re: @AfterRender in AJAX requests

2009-06-18 Thread DH
Hi, Thiago Not sure about how special your case is, but I can confirm that @AfterRender is invoked in my ajax request. Maybe share more about the code and let us help you kind man. DH http://www.gaonline.com.cn - Original Message - From: Thiago H. de Paula Figueiredo thiag

Re: How to render a page as JSON-formatted AJAX response?

2009-06-17 Thread DH
Isn't the Zone/MultiZoneUpdate/Block way suitable for your case? It is very simple enough to deal with most ajax cases. DH - Original Message - From: Renger Wilde To: users@tapestry.apache.org Sent: Thursday, June 18, 2009 4:42 AM Subject: How to render a page as JSON-formatted AJAX

Re: best book for T5

2009-06-15 Thread DH
Waiting for it too. DH - Original Message - From: Peter Stavrinides Sent: Monday, June 15, 2009 2:59 PM Subject: Re: best book for T5 Yes of course I am interested. Peter -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do

Re: more actionlink's context values in *.tml directly

2009-06-15 Thread DH
If 5.1, like context=[param1,param2] If 5.0, refer to list binding of t5component project. DH - Original Message - From: Radek Terber To: Tapestry users users@tapestry.apache.org Sent: Monday, June 15, 2009 3:49 PM Subject: more actionlink's context values in *.tml directly Hi all

Re: File upload and AJAXized forms

2009-06-07 Thread DH
I remembered it seems that file uploading is not supported by XHR. DH - Original Message - From: Hugo Palma Sent: Monday, June 08, 2009 2:46 AM Subject: Re: File upload and AJAXized forms I've created an issue for this ( https://issues.apache.org/jira/browse/TAP5-638) You can

Re: [T 5.1] Problem with: Block parameters are only allowed directly within component elements

2009-06-04 Thread DH
Refer https://issues.apache.org/jira/browse/TAP5-571. I've put my comment on this fixing too. I think the fixing is not so perfect. DH - Original Message - From: Stefan Esterer Sent: Thursday, June 04, 2009 4:04 PM Subject: [T 5.1] Problem with: Block parameters are only allowed

Re: overriding dateeditor

2009-06-03 Thread DH
BeanBlockSourceImpl call BeanBlockOverrideSource first to find the display/edit block, so contribute to BeanBlockOverrideSource give you the chance to overwrite the default. DH - Original Message - From: Moritz Gmelin Sent: Thursday, June 04, 2009 4:01 AM Subject: Re: overriding

Re: T5: Very strange issue getting unreadable code on Tomca

2009-05-19 Thread DH
Forget to mention that T5's gzip is enabled. If gzip is disabled, tomcat6 is ok too. Summary: If tomat 5.x, everything is ok whether gzip is enabled or not. If tomcat6.x (we have tested on 6.0.18 too), gzip disabled, OK; Gzip enabled, all failed. DH - Original Message - From: Borut

Re: t5: use image for submit

2009-05-08 Thread DH
Another option: input type=image src= / DH - Original Message - From: Ulrich Stärk u...@spielviel.de To: Tapestry users users@tapestry.apache.org Sent: Thursday, May 07, 2009 6:01 PM Subject: Re: t5: use image for submit Am 07.05.2009 11:57 schrieb Angelo Chen: Hi

Re: [T5] How to listen/trigger event in componentA from component B ?

2009-05-04 Thread DH
In my understanding, there should be no way. Events can only be listened in itself or its parents. DH - Original Message - From: CG learn@gmail.com To: users@tapestry.apache.org Sent: Monday, May 04, 2009 11:57 PM Subject: Re: [T5] How to listen/trigger event in componentA from

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-29 Thread DH
Hi, Zack I just tried your example, but nothing wrong. Mine is 5.1.0.3. DH - Original Message - From: zack1403 zack.mann...@gmail.com To: users@tapestry.apache.org Sent: Wednesday, April 29, 2009 2:56 PM Subject: Re: AjaxFormLoop Exception on 5.1.0.2 upgrade Alright

Re: Getting a zone id when inside another zone

2009-04-27 Thread DH
What about giving the static id to the innerZone, like following: div t:type=zone t:id=innerZone id=innerZone /div DH - Original Message - From: Hugo Palma To: Tapestry users users@tapestry.apache.org Sent: Monday, April 27, 2009 11:38 PM Subject: Getting a zone id when inside another

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread DH
1. If your return is Block or Zone, just put script.../script inside the block or zone. 2. If return is JSONObject, can do like this: JSONObject response = new JSONObject(); response.put(script, alert('ff');); return response; Thanks, DH - Original Message - From

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread DH
I remember @Inject RenderSupport is not available in ajax action request even though in latest snapshot, I just tried several days ago and got error. Thanks DH - Original Message - From: Fernando Padilla To: Tapestry users users@tapestry.apache.org Sent: Wednesday, April 15, 2009

Re: T5 how to execute javascript after zone update?

2009-04-14 Thread DH
Not yet, thanks for remind, I will try soon. If so, cool. Thanks, DH - Original Message - From: Fernando Padilla f...@alum.mit.edu To: Tapestry users users@tapestry.apache.org Sent: Wednesday, April 15, 2009 11:19 AM Subject: Re: T5 how to execute javascript after zone update? did

Re: usability: javascript focus on input fields

2009-04-13 Thread DH
Try to set autofocus=false to your form component. Thanks, DH - Original Message - From: Sergey Didenko To: Tapestry users users@tapestry.apache.org Sent: Monday, April 13, 2009 5:32 PM Subject: usability: javascript focus on input fields Hi, I'm going through examples (jumpstart

Re: Index page URL generation

2009-04-07 Thread DH
I don't have this issue, 5.1.0.3-snapshot. Thanks, DH - Original Message - From: Blower, Andy To: 'Tapestry users' users@tapestry.apache.org Sent: Tuesday, April 07, 2009 5:33 PM Subject: Index page URL generation I'm still working through the migration from 5.0.18 to 5.1.0.2

Re: Inherited properties

2009-04-07 Thread DH
It is possible, just think displayMessage is a property of B like in java world, and can use ${displayMessage} and others to reference it. Thanks, DH - Original Message - From: Peter Stavrinides To: Tapestry Mailing List users@tapestry.apache.org Sent: Tuesday, April 07, 2009 3:55 PM

Re: multiple parameters in PageLink's context?

2009-03-30 Thread DH
In 5.1, use like context=[param1,param2] Thanks DH - Original Message - From: Angelo Chen Sent: Monday, March 30, 2009 2:25 PM Subject: t5: multiple parameters in PageLink's context? Hi, Is there a way to specify multiple parameters in the PageLink's context, example

Re: Tapestry-Spring-Security and Tapestry 5.1.0.x

2009-03-25 Thread DH
. Thanks, DH - Original Message - From: Thiago H. de Paula Figueiredo To: Tapestry users users@tapestry.apache.org Sent: Wednesday, March 25, 2009 10:23 AM Subject: Tapestry-Spring-Security and Tapestry 5.1.0.x Hi! Is it just me or Tapestry-Spring-Security doesn't work with Tapestry

Re: component specific action event

2009-03-25 Thread DH
. Thanks DH - Original Message - From: Reinhold Gruber Sent: Thursday, March 26, 2009 5:36 AM Subject: RE: component specific action event Ok, I see. The method must be named onActionFromTest. Thanks for that. But does that mean, that in the following structure: Page |_ Border

Re: Template Inheritance and Overriding - How to Do It?

2009-03-23 Thread DH
Here: http://tapestry.formos.com/nightly/tapestry5/guide/templates.html Template Inheritance Thanks DH - Original Message - From: Dragan Djuric To: users@tapestry.apache.org Sent: Monday, March 23, 2009 3:44 PM Subject: Template Inheritance and Overriding - How to Do It? Howard

Re: OnEvent no response

2009-03-16 Thread DH
I would suggest you to look at the source of onevent mixin (not onevent annotation) in t5commons project. Thanks, DH - Original Message - From: Zenberg Ding To: Tapestry users users@tapestry.apache.org Sent: Monday, March 16, 2009 2:00 PM Subject: Re: OnEvent no response It's

Re: ActionLink button called twice when onclick.

2009-03-16 Thread DH
Hi, I am not sure whether it is produced by button nested in a. What about replacing buttonConvert/button with 'Convert' and have a try? Thanks, DH - Original Message - From: Tan cyb...@n quesoft.cyber...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Monday, March 16

Re: OnEvent no response

2009-03-15 Thread DH
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: users@tapestry.apache.org Sent: Monday, March 16, 2009 10:11 AM Subject: OnEvent no response Hi all, Here

Re: T5ï¼s getting new Hibernate session in a lengthy thread

2009-03-11 Thread DH
Sorry, my fault. If code don't call any method of HibernateSessionManager, it won't create a session. Thanks, DH - Original Message - From: Angelo Chen To: users@tapestry.apache.org Sent: Wednesday, March 11, 2009 1:55 PM Subject: Re: T5ï¼s getting new Hibernate session in a lengthy

Re: T5ï¼s getting new Hibernate session in a lengthy thread

2009-03-11 Thread DH
Hi, Yes, I think so. HibernateSessionSource is top of HibernateSessionManager. DH - Original Message - From: Angelo Chen To: users@tapestry.apache.org Sent: Wednesday, March 11, 2009 2:08 PM Subject: Re: T5ï¼s getting new Hibernate session in a lengthy thread Hi

Re: actionlink pass combobox value.

2009-03-10 Thread DH
Yes, that's it. I always learn from jumpstart. Thanks DH - Original Message - From: Tan cyb...@n Sent: Tuesday, March 10, 2009 8:11 PM Subject: Re: actionlink pass combobox value. http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/input/linksubmits1 On Tue, Mar 10

Re: T5ï¼s getting new Hibernate session in a lengthy t hread

2009-03-10 Thread DH
Maybe you can directly use HibernateSessionSource service instead of HibernateSessionManager. HibernateSessionSource.create() creates a new session always, and do remember to commit and close the session by yourself. Thanks, DH - Original Message - From: Angelo Chen angelochen

Re: T5ï¼s getting new Hibernate session in a lengthy thread

2009-03-10 Thread DH
fro the whole request process. If close manually, maybe 'session has closed' exception is thrown by tapestry-hibernate because at the end tapestry would try to close the session of HibernateSessionManager, but it has been closed manually. Thanks, DH - Original Message - From: Angelo

Re: [T5.1.0.0] Loop in Form problem introduced in T5.1.0.0

2009-03-09 Thread DH
exception happens. Thanks DH - Original Message - From: Joost Schouten (mailing lists) joost...@jsportal.com To: Tapestry users users@tapestry.apache.org Sent: Tuesday, March 10, 2009 11:13 AM Subject: Re: [T5.1.0.0] Loop in Form problem introduced in T5.1.0.0 Dear DH, Thanks

T5: Critial security of t:formdata

2009-03-07 Thread dh ning
programmer? Thanks, DH

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread DH
/tapestry5/guide/pagenav.html # Page Navigation Patterns Thanks DH - Original Message - From: Andy Pahne andy.pa...@googlemail.com To: Tapestry users users@tapestry.apache.org Sent: Friday, March 06, 2009 10:33 AM Subject: Re: Page navigation passed value not displayed (@InjectPage style

Why Grid component fetches data one more time in form submit

2009-02-19 Thread dh ning
. Unfortunately 'volatile' parameter is now declared as publishParameters of GridRows component. How do you handle grid component in a form? Thanks, DH

stylesheet processing in ajax response doesn't work in firefox3.0

2009-02-12 Thread dh ning
= {context:css/themes/default.css}) public class WindowPanel { } If I remove @IncludeStylesheet annotation, then it works well in firefox3.0 too. Is it a known issue of firefox3.0 or tapestry.js code issue? Any workaround for this? Thanks, DH

Re: [T5] 5.0.16 Spanish special characters

2008-12-03 Thread dh ning
That's true, native2ascii is unnecessarily any more. Try to locate the issue whether it is caused at server side or by html page encoding. What's that value in tapestry page.java level? If it is correct, then this should be the html encoding problem. 2008/12/4 Thiago H. de Paula Figueiredo [EMAIL

Re: [T5] Page naigation using submit

2008-10-17 Thread dh ning
You don't want the component rely on page, but you do (rely on outer form, right?), so if you want your component handle event independently, set the form in the component is a must. btw, onSelect's signature should only be Void type. DH 2008/10/17 Ville Virtanen [EMAIL PROTECTED] Yep

An exception at jetty starts up while using classNameLocator

2008-08-15 Thread dh ning
); other codes } } If I comment classNameLocator.locateClassNames(com.mycompany.entities), then everything works and Jetty starts up. Please help on solving the problem. It blocks me for several days. Thanks. DH

Re: Problem wuth internacionalization

2008-05-12 Thread dh ning
. Thanks! DH 2008/5/13, Igoor [EMAIL PROTECTED]: when i make files Start.properties and Start_de.properties and put them into WEB-INF, or when i make com.igor.bookStore.pages and put these files into this root my application doesen't work... But when I make files app.properties

Is it possible to prevent the render method in parent component from being invoked?

2008-04-23 Thread dh ning
the render method in parent from being invoked? And how? And what's the best practice here dealing with search funcion with Grid? Anyone please share your experience. Thanks in advance. DH