Re: chenille kit and T5.3

2012-05-14 Thread antalk
The issue has been reported before: http://jira.codehaus.org/browse/CHEN-53 -- View this message in context: http://tapestry.1045711.n5.nabble.com/chenille-kit-and-T5-3-tp5709112p5709817.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: chenille kit and T5.3

2012-05-14 Thread Massimo Lusetti
On Mon, May 14, 2012 at 7:41 PM, Norman Franke wrote: > I don't think the OnEvent mixin is compatible, at lest it wasn't for me. It could. Please file an issue in the jira (the chenillekit one not tapestry one) with a test case, thanks Cheers -- Massimo http://meridio.blogspot.com ---

Re: T4: an official 4.1.7 build?

2012-05-14 Thread Patrick Moore
Hi there -- We are using 4.1.7-SNAPSHOT because it has some fixes from the last official build 4.1.6. Using the snapshots have been fine for a while. Unfortunately the last few months have new 4.1.7-SNAPSHOT builds being deployed with no changes. It looks like some sort of automated build process

Re: mixin with t:datefield bug?

2012-05-14 Thread Steve Eynon
Rather writing out your own disabled attribute, try having your Mixin bind to the disabled parameter: @BindParameter private boolean disabled; then set this to false and have the input component disable itself: void beginRender() { disabled = true; } -- Steve Eynon -

Re: tapestry-push - proof of concept

2012-05-14 Thread xieweiguo
Yes,I believe if we use the tapestry's existing event processing chain,we will get the rendered html we want. The question is:in the back of tapestry's existing event processing chain,tapestry use PageRenderQueue(or something else) and RenderCommand to render blocks/zones/components. So , why don't

Re: referencing a form from JS

2012-05-14 Thread Arno Haase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, that's a great idea - thanks! Am 14.05.2012 18:04, schrieb Norman Franke: > I generally give the object I want to find a unique CSS class, and > find it via prototype: $$('form.fooBar')[0] > > Norman Franke Answering Service for Directors, Inc.

Re: mixin with t:datefield bug?

2012-05-14 Thread Emmanuel DEMEY
Hi Alexander I think the problem come from the fact that the input element of the datefield is closed (writer.end()) in the beginRender phase. So when your mixin is executed, it is too late. You should maybe test if the field using the mixin is a Datefield, and if this the case, get the Input Ele

Re: chenille kit and T5.3

2012-05-14 Thread Norman Franke
I don't think the OnEvent mixin is compatible, at lest it wasn't for me. Norman Franke Answering Service for Directors, Inc. www.myasd.com On May 14, 2012, at 11:58 AM, Massimo Lusetti wrote: > On Mon, May 14, 2012 at 4:47 PM, Nicolas Barrera wrote: > >> Hi all..., >> >> does somebody knows

Re: referencing a form from JS

2012-05-14 Thread Norman Franke
I generally give the object I want to find a unique CSS class, and find it via prototype: $$('form.fooBar')[0] Norman Franke Answering Service for Directors, Inc. www.myasd.com On May 12, 2012, at 3:46 PM, Bryan Lewis wrote: > We dealt with this issue by writing a javascript function to find

Re: chenille kit and T5.3

2012-05-14 Thread Massimo Lusetti
On Mon, May 14, 2012 at 4:47 PM, Nicolas Barrera wrote: > Hi all..., > > does somebody knows if chenille kit project is compatible with T 5.3? > > I was thinking to add this library to a T5.3  project and I wondered if > this was possible. > > cheers and thanks in advance. I released 1.3.3 which

chenille kit and T5.3

2012-05-14 Thread Nicolas Barrera
Hi all..., does somebody knows if chenille kit project is compatible with T 5.3? I was thinking to add this library to a T5.3 project and I wondered if this was possible. cheers and thanks in advance. Nicolás.-

Re: tapestry-push - proof of concept

2012-05-14 Thread Lance Java
Another option is call ComponentRequestHandler instead of HttpServletRequestHandler which might be easier to pass an event context. You will need to store a fake request and response in the RequestGlobals if you want to use the ComponentRequestHandler but the request URL will not be important. htt

Re: tapestry-push - proof of concept

2012-05-14 Thread Lance Java
Unfortunately I think howard's right in that you will need a fake request and response. It's perfectly legal for a component to @Inject Request or @Inject Response so you will need these. It's probably easiest to take a very simple ajax zone update and try to fake it from a non-web thread. As an

Re: How to render component(zone,block) widthout request and response

2012-05-14 Thread xieweiguo
Thank you for your encouragement.I will post my code when i finished . ^_^ -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-render-component-zone-block-widthout-request-and-response-tp5708658p5708920.html Sent from the Tapestry - User mailing list archive at Nabble.co

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
Okay... Thank you so much for your patience and worthy replies... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Value-not-a-token-or-quoted-value-tp5682745p5708915.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread Lance Java
I think it might be a problem with "Ids=10025033/10025032" Take a look http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html here for "org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR" and "org.apache.catalina.STRICT_SERVLET_COMPLIANCE" Any further questions, I think yo

Re: tapestry-push - proof of concept

2012-05-14 Thread xieweiguo
How about just render a block(or zone,component,etc) in a non-web-thead ? Think about this:no event on the component will be execute,the non-web-thread just prepare PageRenderQueue (or something else,I'm not sure),RenderCommand and render the html of the block.and then,the non-web-thread push the

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
I just copied and pasted it from firebox browser show cookies section where it displays name, value etc., The following is taken from request headers using firebug isUserLogin=True; userId=2058; smsAvail=30; position=2; Ids=10025033/10025032 -- View this message in context: http://tapestry.10457

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread Lance Java
> and the other cookies are > Cfp 1 > JEB2 4FB0E5C76E651 > i00 75474fb0eb0ee Cookies should be of the form "key2=value1; key2=value2". How are you writing these cookies? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Value-not-a-token-or-quoted-val

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
> Have you given me the entire cookie value? This does not include the "isUserLogin" value you were initially talking about "isUserLogin" is get written in cookies, when user logged in, I have given you the another module cookie value and the other cookies are Cfp 1 JEB2 4FB0E5C76E651 i00 75474f

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread Lance Java
> Thank you for your reply... No problem > This is what I have in my request headers (Taken using firebug) > Cookie BigIP_Colcms=271399690.0. Have you given me the entire cookie value? This does not include the "isUserLogin" value you were initially talking about. > Is there any way to avoid

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
Thank you for your reply... This is what I have in my request headers (Taken using firebug) Cookie BigIP_Colcms=271399690.0. Is there any way to avoid this log being written in the log file? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Va

Re: T5.3.1 How to expand all the tree nodes?

2012-05-14 Thread wesleywj2
Hi Lance, Thanks for the pointer, works great, thank you very much -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-1-How-to-expand-all-the-tree-nodes-tp5702736p5708795.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: How to render component(zone,block) widthout request and response

2012-05-14 Thread Lance Java
> Thank you ! That's a way to solve my problem... No problem, if you could share your code I would be interested to see your solution since I'm doing something similar myself > By the way,where are you from? I'm australian but live in London, UK > I am from china, and it's difficult to communicat

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread Lance Java
This error is being logged by Tomcat, not Tapestry (http://www.docjar.com/html/api/org/apache/tomcat/util/http/Cookies.java.html). Can you inspect the HTTP headers (using firebug etc) and see what the value of the entire cookie is? -- View this message in context: http://tapestry.1045711.n5.nabbl

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
Anyone? Is this needs any server side settings changes or any tapestry changes? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Value-not-a-token-or-quoted-value-tp5682745p5708759.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: How to render component(zone,block) widthout request and response

2012-05-14 Thread xieweiguo
Thank you ! That's a way to solve my problem... By the way,where are you from ?I am from china,and it's difficult to communicate width each other for my poor English. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-render-component-zone-block-widthout-request-and-res

Re: T5.3.1 How to expand all the tree nodes?

2012-05-14 Thread Lance Java
public void onExpandAll() { TreeExpansionModel expansionModel = tree.getExpansionModel(); List roots = getTreeModel().getRootnodes(); for (TreeNode root : roots) { expandAll(root); } } private void expandAll(TreeNode node) { if (node.getHasChildren()) { expansionModel.ma

Re: How to render component(zone,block) widthout request and response

2012-05-14 Thread Lance Java
I just recently asked the same question on the list http://tapestry.1045711.n5.nabble.com/tapestry-push-proof-of-concept-td5697644.html here The steps to do it are: 1. In the intital tapestry page request, use ComponentResources to generate a Link to a component event (most likely without the co