Re: domain forwarding

2012-09-06 Thread sommeralex
i will updated soon! promise. -- View this message in context: http://tapestry.1045711.n5.nabble.com/domain-forwarding-tp5716105p5716115.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe,

Re: domain forwarding

2012-09-06 Thread sommeralex
i was changing it yesterday so i guess this is the reason why for you everything looked fine. but THX for checking. -- View this message in context: http://tapestry.1045711.n5.nabble.com/domain-forwarding-tp5716105p5716114.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: domain forwarding

2012-09-06 Thread sommeralex
thx, i could solve it by setting the @ 188.40.34.137 in the zone file editor. -- View this message in context: http://tapestry.1045711.n5.nabble.com/domain-forwarding-tp5716105p5716113.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: domain forwarding

2012-09-06 Thread derkoe
sommeralex wrote > > I have several domains for my project, which runs at 188.40.34.137. one > domain is airwriting.de, the other domain is airwriting.com .com is on > godaddy, de on another domain provider. > > both domains are forwarding to 188.40.34.137. BUT if i move my mouse over > the lin

Re: datefiled and null value 2

2012-09-06 Thread ICE Ernesto Arteaga Zavala
Hi Muhammad, thanks for quick ans but I try it before but I got the next exp... Exception assembling root component of page expenses/Expenses: Could not convert 'expense.date?' into a component parameter binding: Error parsing property expression 'expense.date?': Unable to parse input at characte

Re: datefiled and null value 2

2012-09-06 Thread Muhammad Gelbana
Check this page: http://tapestry.apache.org/property-expressions.html Search for: Property Chain On Fri, Sep 7, 2012 at 1:15 AM, arterzatij wrote: > Hi all, > >There is a way to display an empty datefiled avoiding the NPE, I have > the > next code on my tml file > > > > > but if the dat

datefiled and null value 2

2012-09-06 Thread arterzatij
Hi all, There is a way to display an empty datefiled avoiding the NPE, I have the next code on my tml file but if the date is null, tapestry rise the NPE... Failure reading parameter 'value' of component expenses/Expenses:date: Property 'expense' (within property expression 'expense.date

Re: datefiled and null value

2012-09-06 Thread arterzatij
Seems like gmail remove raw tag... -- View this message in context: http://tapestry.1045711.n5.nabble.com/datefiled-and-null-value-tp5716107p5716108.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

datefiled and null value

2012-09-06 Thread arterzatij
Hi all, There is a way to display a datefiled avoiding the NPE, I have the next code on my tml file but if the date is null, tapestry rise the NPE... So, if the value is null I want to display an empty field, How can I reach that? Thanks in advance! -- View this message in contex

Re: Update other zones on zonerefresh event

2012-09-06 Thread Muhammad Gelbana
@bogdan, were you successful with updating other\multiple zones using AjaxResponseRenderer ? I'm having trouble with it. I can see my zone update response but I have no idea why isn't it taking effect ! { "content" : "100<\/progress>", "inits" : [ { "evalScript" : [ "alert('Done');" ] } ], "zones"

domain forwarding

2012-09-06 Thread sommeralex
Hello! I have several domains for my project, which runs at 188.40.34.137. one domain is airwriting.de, the other domain is airwriting.com .com is on godaddy, de on another domain provider. both domains are forwarding to 188.40.34.137. BUT if i move my mouse over the links at www.airwriting.com,

Re: messages.get always use default localization on "onValidate" and "onSuccess" ?

2012-09-06 Thread Yohan Yudanara
Hi.. Thank a lot for your reply. Tapestry is great and powerful framework.. I've resolved my problem. The weird behavior caused by my mistake to set ThreadLocale instead of PersistentLocale, when I set locale programatically. I also incorrectly override LocalizationSetter service, which cause wei

Re: hide primary key on call to edit form

2012-09-06 Thread Chris Cureau
You guessed right...I removed the onPassivate() method and all is well. Thanks! On Thu, Sep 6, 2012 at 10:36 AM, Lance Java wrote: > Firstly, I would avoid session usage unless it is definitely required. > Passing the primary key in the URL is a good way of avoiding session usage. > > Secondly, t

Re: hide primary key on call to edit form

2012-09-06 Thread Lance Java
Firstly, I would avoid session usage unless it is definitely required. Passing the primary key in the URL is a good way of avoiding session usage. Secondly, tapestry is most likely adding the primary key to the URL because: a) The EditEvent page has an onPassivate() method. b) The EditEvent page

Re: messages.get always use default localization on "onValidate" and "onSuccess" ?

2012-09-06 Thread Howard Lewis Ship
I suspect your issue is not what you expect. The same Messages instance is used in all cases, regardless of what method it is invoked from. I'm sure it's an issue of what keys you are accessing, and what .properties file contains each key/value pair. People often seem to get confused, thinking th

messages.get always use default localization on "onValidate" and "onSuccess" ?

2012-09-06 Thread Yohan Yudanara
Hi.. I'm using T 5.3.4, @Inject private Messages messages; messages.get("key") return string from correct local properties file when called from "setupRender" and "afterRender". But, why messages.get("key") always return string from default local properties when called from "onValidate" and "onS

Re: Using tapestry-spring-security with Tapestry 5.3.5 problem

2012-09-06 Thread antalk
Hi, You can use this one: https://github.com/antalk/Tapestry-Spring-Security I'm using it on a 5.3.5 site without problems. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-tapestry-spring-security-with-Tapestry-5-3-5-problem-tp5716078p5716094.html Sent from the

Re: activation context method

2012-09-06 Thread Lance Java
1. It's a very bad idea to have 2 onActivate methods with the same parameter count. If I hit the URL "/yourpage/true/somePage", how does tapestry know which one to call? 2. I have NEVER needed multiple onActivate methods. If I need to handle multiple cases, I have a single onActivate(EventContext)

Re: How to split up components in a tapestry page

2012-09-06 Thread karthi
Many thanks @Lance Java... I have tried & created two components header, footer & integrated in my Index.tml page!! It works cool!!! This example http://jumpstart.doublenegative.com.au/jumpstart/examples/component/creatingcomponents is very helpful... Thanks again!!! -- View this message in c

activation context method

2012-09-06 Thread Athneria, Mahendra
Hi, I am facing a weird problem related to the activation method of page. I have three pages named as, Page1, Page2 & Page3. In Page1, I have two activation methods. @OnEvent(value = EventConstants.ACTIVATE) public void activateFromDetails(String contractNumber, String pageName) {

Re: How to split up components in a tapestry page

2012-09-06 Thread Stephan Windmüller
On 06.09.2012 11:14, wrote karthi: > Here exactly what do you mean by: > Create components for Header, TopItems, (Can you point > me an example & Can you please explain a bit more?) At first, create a layout component as described here: https://tapestry.apache.org/layout-comp

Re: How to split up components in a tapestry page

2012-09-06 Thread Lance Java
A component is a java class and and an optional tml file that MUST be in the foo.bar.components package (where foo.bar is your base package). Documentation here: http://tapestry.apache.org/component-classes.html Examples here: http://jumpstart.doublenegative.com.au/jumpstart/examples/component/cre

Re: How to split up components in a tapestry page

2012-09-06 Thread karthi
Thanks again!!! & Sorry, I could not understand. My mistake! Here exactly what do you mean by: Create components for Header, TopItems, (Can you point me an example & Can you please explain a bit more?) -- View this message in context: http://tapestry.1045711.n5.nabble.com/H

Re: How to split up components in a tapestry page

2012-09-06 Thread Lance Java
Yes, that's exactly what tapestry is great at!! 1. Create components for Header, TopItems, Categories and Footer 2. You could then use the components directly in a page 3. Or, you could create a Layout which contains the 4 components and then re-use this Layout across all of your pages. -- View

Re: How to split up components in a tapestry page

2012-09-06 Thread karthi
@Lance Java thanks for your reply... Let us forget the terminologies, components & layouts.. All I want is to create a four separate tml pages: i) Header (Contains styles, codes to display header alone) ii) Top-items videos list (Contains codes to display top videos list) iii) Categories vi

RE: How to split up components in a tapestry page

2012-09-06 Thread karthi
@Mahendra thanks for your reply. That's not my requirement, I need to create 4 layout components separately -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-split-up-components-in-a-tapestry-page-tp5716079p5716085.html Sent from the Tapestry - User mailing list ar

Re: How to split up components in a tapestry page

2012-09-06 Thread Lance Java
It sounds like you are either confusing terminology or actual functionality. Let's clear one thing up. 1. You can have many components on a page 2. You can only have one Layout component per page (a Layout is a special component) 3. Layout components can contain normal components Most application

RE: How to split up components in a tapestry page

2012-09-06 Thread Athneria, Mahendra
Do one thing. Create only one layout and that layout contain those four components. Now that layout you can use in the pages. Is it clear to you? Regards, Mahendra -Original Message- From: karthi [mailto:rathinasamy@snovabits.net] Sent: Thursday, September 06, 2012 1:06 PM To: use

Re: periodic zone updater

2012-09-06 Thread sommeralex
GREAT. yes, a serverside push suits my needs. thx! 2012/9/6 Lance Java [via Tapestry] < ml-node+s1045711n5716080...@n5.nabble.com> > Hi Alex, > > What's your use case for needing a periodic refresh? Does a serverside > push better suit your needs? If so, you might find tapestry-cometd [1] a > bet

Re: periodic zone updater

2012-09-06 Thread Lance Java
Hi Alex, What's your use case for needing a periodic refresh? Does a serverside push better suit your needs? If so, you might find tapestry-cometd [1] a better fit. https://github.com/uklance/tapestry-cometd -- View this message in context: http://tapestry.1045711.n5.nabble.com/periodic-zone-

How to split up components in a tapestry page

2012-09-06 Thread karthi
Hi everyone, What I've done is: I am designing a page in tapestry, In that page now showing four components Header Topitems (Contains list of videos) Categories (Contains list of videos but specific to categories) Footer What I've done is just design the four components in a single page itse

Using tapestry-spring-security with Tapestry 5.3.5 problem

2012-09-06 Thread Borko Djurovic
I followed the guide from http://www.localhost.nu/java/tapestry-spring-security/conf.html http://www.localhost.nu/java/tapestry-spring-security/conf.html site. The main problem is AliasContribution. In version 5.2.5 of Tapestry this is depercated and in version 5.3.5 we can't use that anymore. N