Re: get component according to ID

2010-01-13 Thread LiborGMC
Thanks for the reply. Sorry but I still don't understand. I think my problem is not to obtain id of Zone but get Zone as an object according to this ID. A can obtain from actionLink only zoneID not the Zone as instance, right? I have handler for handle action when user click "Refresh table" link

Re: Changing the DropDownDatePicker style

2010-01-13 Thread Andreas Andreou
Inspect with firebug the dom that the widget generates and the classnames it assigns to nodes and provide a more specific css rule that will override the default ones provided by dojo On Thu, Jan 14, 2010 at 06:43, Chitraleka Appalanaidu wrote: > Hi all, > > I use Tapestry 4.1. I currently have a

Changing the DropDownDatePicker style

2010-01-13 Thread Chitraleka Appalanaidu
Hi all, I use Tapestry 4.1. I currently have a Dojo DropdownDatePicker widget on my page. I am getting the following bug: 1. User clicks on a 'Submit' button 2. Graphs get generated (scroll bar appears to allow users to scroll down to see all graphs) 3. User then click on the DropdownDatePicker wi

Re: SEO and duplicate content due to language prefix

2010-01-13 Thread Stephan Schwab
Howard Lewis Ship wrote: > > Seems like a bug to me that if you turn ENCODE_LOCALE_INTO_PATH off, > it doesn't then substitute some other approach (like a cookie from > 5.0, or a query parameter). > I'm trying to add that other approach. So far I've added a link creation listener via the LinkC

Re: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Kalle Korhonen
Yes, that was my understanding. But nevertheless, if you run into this issue, it's not that huge of an expense to make a minor modification compared to researching possible solutions on your own or having to wait for a new version of Tapestry. Fortunately, I'm still ok, memory is cheap :) Kalle

RE: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Robin D. Wilson
FYI, that 'configuration switch' isn't available on the DeltaManager that comes with Tomcat... We had to modify the DeltaManager and created this setting for our own use. If there is a significant enough demand, I would be willing to post our changes - so that others can benefit from them, but yo

Re: How to obtain current page in component's code

2010-01-13 Thread Michael Gentry
How timely. I just needed to figure out how to do this and the answer was in my inbox. You get a double thank you today! Thanks! mrg On Wed, Jan 13, 2010 at 7:45 AM, Jun Tsai wrote: > @Inject > private ComponentResources resources; > > resources.getPageName(); > > 2010/1/13 LiborGMC > >> >>

Re: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Kalle Korhonen
On Wed, Jan 13, 2010 at 12:38 PM, Robin D. Wilson wrote: > In the interim, we've opted for a different solution. We've modified the > DeltaManager for Tomcat (clustering manager) to not create > sessions that are of short durations (we created a configuration switch for > "sessionReplicationDura

RE: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Robin D. Wilson
Thanks. I've been swamped trying to work on our next release. In the interim, we've opted for a different solution. We've modified the DeltaManager for Tomcat (clustering manager) to not create sessions that are of short durations (we created a configuration switch for "sessionReplicationDuratio

Re: I'd like to have a page with no session for unauthenticated users, and with a session when the user is authenticated

2010-01-13 Thread Kalle Korhonen
I'm also quite keen on having a better solution for this - it didn't seem Robin had created an issue for this, so I did: https://issues.apache.org/jira/browse/TAP5-985. Please vote if the issue is important to you. Kalle On Mon, Jan 11, 2010 at 2:28 PM, Howard Lewis Ship wrote: > True; perhaps

Re: Does anyone deploy on Tomca6 (ubuntu)

2010-01-13 Thread Jonathan Barker
I hit the same problem on Debian with Tomcat 5.5. I eventually gave up trying to grant permissions, and turned off the security manager. If that's OK with you, edit your startup file in /etc/init.d (presumably tomcat6). You should find a line saying whether or not to use the Java security manage

Re: currentLocale vs persistentLocale

2010-01-13 Thread Daniel Kleine-Albers
Dear Gunnar, did you by chance find a solution to this problem? I seem to have the same problem with a very similar implementation of the PPGK. As soon as I remove the PPGK the locale is switched correctly. If I leave it in, the locale is always en_US even if this is not in the SUPPORTED_LOCALE

Re: JavaScript inside .tml breaks ZoneUpdate for IE

2010-01-13 Thread Moritz Gmelin
Thanks, We solved it that way but I'd say that probably many people might stumble upon this and its hard to track it down. Could this problem be related to http://issues.apache.org/jira/browse/TAP5-714 And thus fixed in 5.1.0.7? M. Am 12.01.2010 um 20:25 schrieb Kalle Korhonen: > Or simply

Re: Loop, RadioGroup and Coercion

2010-01-13 Thread antb59
Hi again, In fact, I have a correct behavior for the display of the forms when I used formState="NONE" in the loop inside form. But the problem is on the parameter "action" of the form that contains the loop on suggestions. Here is the HTML code generated when I fix the surveyId value on the fi

Re: get component according to ID

2010-01-13 Thread Jun Tsai
2010/1/13 LiborGMC > > > > You can use prop prefix to get your zone id. > > > > zone="prop:zoneId">refresh data > > > > > In page class: > public String getZoneId(){ > return "zone_"+entity.getId(); > } > > -- > regards, > Jun Tsai > > Thank you for quick reply. I'm not sure if I understan

Re: Bug Fix Release

2010-01-13 Thread Ulrich Stärk
The release is currently being voted upon over at the dev list. Uli On 13.01.2010 16:26 schrieb p.stavrini...@albourne.com: Hi, I have noticed through jira that the intended release date for the next stable version of tapestry 5.1 was Jan 10th (version 5.1.0.7). Is this is still pending... I

Bug Fix Release

2010-01-13 Thread P . Stavrinides
Hi, I have noticed through jira that the intended release date for the next stable version of tapestry 5.1 was Jan 10th (version 5.1.0.7). Is this is still pending... I haven't found the jars in the main repo, or will it be pushed back? Thanks, Peter ---

Re: OT: windows mobile

2010-01-13 Thread Ivano Luberti
Thanks Robin: let say that your link helped me understanding IE Mobile doesn't support much of Javascript. Fortunately we are developing ofr an intranet and we can force users to use Opera Mobile. Robin Komiwes ha scritto: > Hi! > > Maybe you cold have a look at : http://www.quirksmode.org/m/tabl

Re: get component according to ID

2010-01-13 Thread LiborGMC
> You can use prop prefix to get your zone id. refresh data In page class: public String getZoneId(){ return "zone_"+entity.getId(); } -- regards, Jun Tsai Thank you for quick reply. I'm not sure if I understand properly your code. I have used prop prefix as you have mentioned. And I

Re: How to obtain current page in component's code

2010-01-13 Thread LiborGMC
Thank you very much! -- View this message in context: http://old.nabble.com/How-to-obtain-current-page-in-component%27s-code-tp27144292p27144805.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsub

Re: get component according to ID

2010-01-13 Thread Jun Tsai
2010/1/13 LiborGMC > > Hi, > I'm trying develop component which is basically Grid which is quite dynamic > (count of columns, different types of displayed objects). This table is in > Zone to ensure that if user wants refresh just grid then page is not > reloaded. I would like to have more these

Re: How to obtain current page in component's code

2010-01-13 Thread Jun Tsai
@Inject private ComponentResources resources; resources.getPageName(); 2010/1/13 LiborGMC > > Hi, > can I obtain page in the code of component? I would like to get Zone > component by calling > "componentSource.getComponent("pageName:componentName.zone");" but I'm not > sure how can I find out

Maybe jdk or T5 bug about generic service interface.

2010-01-13 Thread Jun Tsai
hi, I have a base interface for my service. public interface BaseInterface { public List find(T parent); public List findAll(); } //- ServiceA public interface ServiceAInterface extends BaseInterface { @Cacheable(clazz=Member.class,cacheKey="xxx") public List find(

How to obtain current page in component's code

2010-01-13 Thread LiborGMC
Hi, can I obtain page in the code of component? I would like to get Zone component by calling "componentSource.getComponent("pageName:componentName.zone");" but I'm not sure how can I find out pageName. Thanks in advance -- View this message in context: http://old.nabble.com/How-to-obtain-curren

get component according to ID

2010-01-13 Thread LiborGMC
Hi, I'm trying develop component which is basically Grid which is quite dynamic (count of columns, different types of displayed objects). This table is in Zone to ensure that if user wants refresh just grid then page is not reloaded. I would like to have more these components on single page. I hav

Re: page generic problem

2010-01-13 Thread Jun Tsai
2010/1/13 Thiago H. de Paula Figueiredo > On Wed, 13 Jan 2010 10:14:00 -0200, Jun Tsai wrote: > > Two levels works fine.but three levels doesn't work. >> > > This looks like a bug or improvement. What about a JIRA about it? > > > https://issues.apache.org/jira/browse/TAP5-982 > -- > Thiago H.

Re: page generic problem

2010-01-13 Thread Thiago H. de Paula Figueiredo
On Wed, 13 Jan 2010 10:14:00 -0200, Jun Tsai wrote: Two levels works fine.but three levels doesn't work. This looks like a bug or improvement. What about a JIRA about it? -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructo

Re: page generic problem

2010-01-13 Thread Jun Tsai
2010/1/13 Thiago H. de Paula Figueiredo > On Wed, 13 Jan 2010 01:13:29 -0200, DH wrote: > > I think T5 doens't support generic well in page class, I got some >> unexpected exceptions too. >> > > I use generic superclasses a lot without problems. In this case, a generic > interface is used. Mayb

Re: page generic problem

2010-01-13 Thread Thiago H. de Paula Figueiredo
On Wed, 13 Jan 2010 01:13:29 -0200, DH wrote: I think T5 doens't support generic well in page class, I got some unexpected exceptions too. I use generic superclasses a lot without problems. In this case, a generic interface is used. Maybe that's the source of the problem. Another one is