Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.

2011-10-28 Thread Leon Derks
fine. When I use this component, I get the error only after I have cleared my web history (cache, cookie etc) and I guess also when my session has expired. Does somebody now understand what might be the cause and how I can fix this? regards, Leon On Oct 28, 2011, at 10:36 AM, Steve Eynon

Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.

2011-10-28 Thread Leon Derks
Hello Joakim, That would be great!! regards, Leon On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: Hi, Being the author of the breadcrumb component, I can confirm that I have seen that from time to time as well. I can try to find out if there is something that I can do about

Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.

2011-10-28 Thread Leon Derks
Thanks guys! But what is now the final conclusion? Is this now a Tapestry issue, because the decodePageRenderRequest doesn't like the ; ? regards, Leon On Oct 28, 2011, at 12:43 PM, Joakim Olsson wrote: Aaah...Sounds like an easy fix. Care to send a pull request at Github? Since you

Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.

2011-10-28 Thread Leon Derks
... We use Jetty so it isn't a Tomcat issue per se. /david -Original Message- From: Leon Derks [mailto:leon.de...@aurumeurope.com] Sent: 28. oktober 2011 12:29 To: Tapestry users Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid

Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.

2011-10-27 Thread Leon Derks
Hello I see this error message a lot. Almost always after my first login attempt... What is causing this error? Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid. regards, Leon

jsessionid in URL results in RequestExceptionHandler

2011-10-22 Thread Leon Derks
Hello Every once in a while I get the error below after logging in. The jsessionid is then visible in my url. I don't understand why this happens and why this occurs sometimes. Does somebody of you know what is going wrong and what I can do to solve this? regards, Leon ERROR

Re: Showing Hiding Blocks based on Select

2011-10-12 Thread Leon Derks
the change event? Because I want to be free in using zones or not. In my case the zone div breaks my page layout... On entering the page, the activeBlock is working fine. Now I only need to handle the change event from the select. Do you know how I can do this? regards, Leon On Oct 12, 2011

NumberFormatter

2011-10-12 Thread Leon Derks
give me an example how I can format my double value into a decimal value with 4 decimals? regards, Leon - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: NumberFormatter

2011-10-12 Thread Leon Derks
Hello Chris, Thank you. Yes I have already seen that page, but I couldn't find an example with a FieldTranslator. Does anyone have an example how to do this? regards, Leon On Oct 12, 2011, at 11:57 AM, derkoe wrote: Leon Derks wrote: I have a TextField that shows a double value

Re: NumberFormatter

2011-10-12 Thread Leon Derks
://jumpstart.doublenegative.com.au/jumpstart/examples/input/translators1 http://jumpstart.doublenegative.com.au/jumpstart/examples/input/creatingtranslators1 Then love tapestry even more :) Good luck. On Wed, Oct 12, 2011 at 12:04 PM, Leon Derks leon.de...@aurumeurope.comwrote: Hello Chris, Thank

Showing Hiding Blocks based on Select

2011-10-11 Thread Leon Derks
/hide tr elements based on the value I have selected? regards, Leon tr class=even thType/th td select t:type=select t:id=typeSelect value=type/ /td /tr t:block id=blockHighLow tr class=odd thHigh/th td

Re: How to implement nested components?

2011-03-30 Thread leon
++] = resources.getEmbeddedComponent(stepId); } } I am really confused, what's wrong with my second implementing? Any suggestion? Thanks! On Wed, Mar 23, 2011 at 8:17 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 22 Mar 2011 22:56:28 -0300, leon mail@gmail.com wrote: Sorry, My

Re: How to implement nested components?

2011-03-22 Thread leon
:41 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Sun, 20 Mar 2011 22:50:20 -0300, leon mail@gmail.com wrote: Thanks a lot, I will try it, I looks Tapestry's component's relationship is build by component class rather than component template. Wrong. It's defined

Re: How to implement nested components?

2011-03-20 Thread leon
Thanks a lot, I will try it, I looks Tapestry's component's relationship is build by component class rather than component template. So, are there some dos about this? On Sat, Mar 19, 2011 at 9:37 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Sat, 19 Mar 2011 01:16:21 -0300,

How to implement nested components?

2011-03-18 Thread leon
Hi all, I have a requirement to implement nested components, it like this: t:comA t:comB/ t:comB/ t:comB/ /t:comA I have created components, but I can't access embedded components in comA: public class comA { @Inject private ComponentResources resources; void setupRender() {

How to inject Spring Bean by name?

2011-03-16 Thread leon
Hi all, We need to inject more than one implementings of service interface, so how to do that? Thanks! -- Best Regards Li Guoqiang

Re: How to inject Spring Bean by name?

2011-03-16 Thread leon
/questions/2684171/tapestry-5-and-spring-beans-with-same-interface I haven't tried it myself, but it is a way around the current limitation of Spring bean injection in Tapestry. On Wed, Mar 16, 2011 at 9:22 PM, leon mail@gmail.com wrote: Hi all, We need to inject more than one

Re: How to inject Spring Bean by name?

2011-03-16 Thread leon
Thanks ,got it. On Thu, Mar 17, 2011 at 11:38 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 17 Mar 2011 00:37:19 -0300, Jonathan Barker jonathan.theit...@gmail.com wrote: This is only the case when 5.0 compatibility mode has been enabled. This is something that

Re: How to pass parameters from a Page to another Page in java code?

2011-02-21 Thread leon
It works! Thanks a lot! On Mon, Feb 21, 2011 at 3:18 PM, Taha Hafeez tawus.tapes...@gmail.comwrote: On Mon, Feb 21, 2011 at 9:50 AM, leon mail@gmail.com wrote: Hi All, Hi I know that we can pass a parameter through context attribute of tag in template, but how to achieve

How to pass parameters from a Page to another Page in java code?

2011-02-20 Thread leon
Hi All, I know that we can pass a parameter through context attribute of tag in template, but how to achieve it in java code? like this: public class Edit { @Property @Autowired private Employee employee; @InjectPage private View view; @Log Object onSuccess() {

Re: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Leon Derks
can solve this? greetz, Leon Martijn Brinkers wrote: I guess the URL is generated outside of Tapestry? because if you passivate or create a link from Tapestry the parameters are encoded with the Tapestry 'special' encoding. You can probably use the default encoder implementation if you want

Re: What's the easiest way to implement two dependent select lists ?

2008-12-10 Thread Leon Derks
=productSelect model=productList labelField=name, idField=id value=selectedProduct / I get the feeling that sometimes tapestry 5 is doing things to complicated. Leon Hugo Palma wrote: Everything i used in the example is built into Tapestry except the OnEvent mixin that is provided by the library t5

[T5] 5.0.17 URLEncoderImpl.decode error

2008-12-10 Thread Leon Derks
find a change that would cause this error. Any ideas? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Include multiple css in @IncludeStylesheet

2008-09-25 Thread Leon Derks
Hello How can I add multiple stylesheets to the @includeSysheet annotation? In the documentation I read that one or more paths can be injected. But how can I do that? For example I want something like this: @IncludeStylesheet(context:css/page.css, context:css/tapestry-custom.css)

T4.0 PropertySelection + onChange

2008-09-03 Thread Leon Derks
Hello Is it possible to catch an onchange Event for the PropertySelection component? I don't want the form te be submitted, but want to update a section in my page. I use tapestry 4.0.2 with Java 1.4 Leon

T5: url localization

2008-08-19 Thread Leon Derks
I know that localization support is well integrated into Tapestry 5, but is it also possible to get localized urls? Example: english: http://www.someserver.com/cars/15 german: http://www.someserver.com/autos/15 If so, how can I do that?

T5: tapestry-test tutorial, sceencast?

2008-07-29 Thread Leon Derks
I want to use the tapestry-test module, but can't find much information about how to get started. Is there some kind of screencast or tutorial planned for how to use the tapestry-test module with all kind of examples? - To

Setup render for authentication check?

2008-05-22 Thread Leon Derks
Hello Is the SetupRender method the correct place to check if the user has the priviliges to view the page? For example something like this: @SetupRender boolean setupRender() { if(user has priviliges) { return true; } return false; } Leon

show page title in layout component

2008-05-21 Thread Leon Derks
Hello I use a layout component for all my pages, like below. But for some reason, the page title is not passed to the layout component. What am I doing wrong? Leon Page.tml html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; t:type=layout title=${message:page-title

T5: get name of Start page

2008-05-21 Thread Leon Derks
Hello Is it possible to get the name of the (default) start page? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Exception Handling

2008-05-20 Thread Leon Derks
(); } return result; } }; } Filip S. Adamsen wrote: Hi Leon, How to override server error pages depends on what server you're using. As far as I'm aware it's unfortunately not possible to use Tapestry pages as server error pages - if I'm wrong here

Re: T5: Exception Handling

2008-05-19 Thread Leon Derks
Hi Filip, Thanks for your answer. I understand now. But one final question. How does your redirectService looks like? Leon Filip S. Adamsen wrote: Hi Leon, How to override server error pages depends on what server you're using. As far as I'm aware it's unfortunately not possible to use

T5: Exception Handling

2008-05-16 Thread Leon Derks
exceptions? Object onException(Throwable cause) { return new Error(); } Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Exception Handling

2008-05-16 Thread Leon Derks
to do this? Leon Peter Stavrinides wrote: Hi Leon I posted a number of questions to the list about this topic, but got only a few perls. One of them was this post, particularly Filip's answer: http://www.mail-archive.com/users@tapestry.apache.org/msg21914.html Also see this page, for how

T5: editing textfields values from a collection

2008-05-15 Thread Leon Derks
the textfield values, when I click the save button. How can I do this? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: JSONArray + fillling

2008-05-15 Thread Leon Derks
is set to undefined Leon Lance Java wrote: JSONArray options = new JSONArray(); for(Group group : ListGroup groups) { JSONObject obj = new JSONObject(); obj.put(group.getId, group.getName()); options.put(obj); } Cheers, Lance. 2008/5/14 Leon Derks [EMAIL PROTECTED]: Can you

Re: T5 + JSON + key name

2008-05-15 Thread Leon Derks
of a JSON Object? For example something like this: | data.keys; //returns {name, occupation}| | | Leon Sven Homburg wrote: http://www.prototypejs.org/learn/json 2008/5/15 Leon Derks [EMAIL PROTECTED]: Hello I have a JSON object like this: JSONObject obj = new JSONObject(); obj.put

Re: T5 + JSON + key name

2008-05-15 Thread Leon Derks
in object) {} Where object would be your json object. Leon Derks wrote: Hi Sven, I only see that they get the value by using the key name. For example this: |var data = '{ name: Violet, occupation: character }'.evalJSON(); data.name; //prints Violet. | But in my case, I don't know the key name

T5 + JSON + key name

2008-05-15 Thread Leon Derks
Hello I have a JSON object like this: JSONObject obj = new JSONObject(); obj.put(entity.getId(), entity.getName()); But how can I get the value from my json object in javascript, if I don't know the key name? Is there a way to get the key name(s) from a json object in javascript? Leon

Re: T5 + JSON + key name

2008-05-15 Thread Leon Derks
. Do you have an explanation for this behaviour? Leon Leon Derks wrote: Thanks Chris, That worked. The only thing is that the order of groups in the select is gone. I know for sure I put them in the correct order in the java jsonObject. I think the var jsonObject = response.evalJSON

Failure writing parameter 'value' of component characteristic/Edit:nominaltextfield:

2008-05-15 Thread Leon Derks
I get this error: Failure writing parameter 'value' of component characteristic/Edit:nominaltextfield: Binding [EMAIL PROTECTED] is read-only. I have the corresponding getter / setter for the property. What am I doing wrong? Java Page: private String nominalDescription; public String

Re: Failure writing parameter 'value' of component characteristic/Edit:nominaltextfield:

2008-05-15 Thread Leon Derks
Hi Nicholas, Indeed, that was it. Thanks! Leon nicholas Krul wrote: ${X} is a one way output... it uses the prop: binding by default... remove the EL-style ${} and it should work. On Thu, May 15, 2008 at 2:24 PM, Leon Derks [EMAIL PROTECTED] wrote: I get this error: Failure writing

T5: JSONArray + fillling

2008-05-14 Thread Leon Derks
-label pair to the JSONArray? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: JSONArray + fillling

2008-05-14 Thread Leon Derks
Can you give me an example of that? Leon Lance Java wrote: You want a JSONObject not a JSONArray http://tapestry.formos.com/nightly/tapestry5/apidocs/index.html Cheers, Lance. 2008/5/14 Leon Derks [EMAIL PROTECTED]: Hello I found this example: new JSONArray([['a', 'value a'], ['b

T5: select + enum

2008-05-14 Thread Leon Derks
Hello, Is it possible to show a limited list of my enum values in the select box? For example, my enum contains 10 objects, is it possible to show only 5 of them in the select? Leon - To unsubscribe, e-mail: [EMAIL

Re: T5: select + enum

2008-05-14 Thread Leon Derks
Okay I will try that. Toby Hobson wrote: You might want to look at Java's EnumSet.range() method for this. Toby - Original Message From: Leon Derks [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Wednesday, 14 May, 2008 4:33:58 PM Subject: T5: select + enum

T5 + DWR integration

2008-05-13 Thread Leon Derks
How easy is it to integrate T5 with DWR? Are there examples of how to do this? How do I need to configure the dwr.xml file? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 + DWR integration

2008-05-13 Thread Leon Derks
I don't have that topic. Is it easy to integrate DWR with tapestry, without Spring? Leon Renat Zubairov wrote: Hi That's an interesting topic. Actually we had discussed it once with Igor, and it seems that it shouldn't be too hard. The question is which objects from the server-side you want

update select based on first select

2008-05-13 Thread Leon Derks
this with Tapestry 5 at the moment? Here is a part of the java page code: @OnEvent(component = productSelect, value = change) Object onProductSelectChanged(String value) { System.out.println(Value: + value); return null; } Leon

Simple date format question

2008-05-09 Thread Leon Derks
How can I format my date in a date field I want to use the format (dd/MM/). Does tapestry have some build in functionality for this? And how can I format a date printing it to the screen like this: td${person.birthday}/td Leon

Re: Simple date format question

2008-05-09 Thread Leon Derks
Okay, I use Tapestry 5. But can I use the OutputLocale component also on a DateField? Leon Marcus wrote: Hi Leon, There is a JIRA about format parameter for DateField, vote! To format a date output you can use OutputLocale component ( http://wiki.apache.org/tapestry

Re: Simple date format question

2008-05-09 Thread Leon Derks
. Leon Marcus wrote: Leon, No, you can't, :) it's only for output. Don't forget to vote on JIRA! Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

@Persist(flash) question

2008-05-08 Thread Leon Derks
= importDAO.findImportRequests(importRequestSearch); } The results are only shown on my page when I use @Persist(flash) for the importRequests. Is it possible to do this without an @Persist(flash)? Leon - To unsubscribe, e

overwrite first element in select

2008-05-08 Thread Leon Derks
Hello Is it possible to overwrite the first element in a select box? At the moment this is an empty value, but can I for example overwrite this with All Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Autocomplete mixin + select event

2008-04-29 Thread Leon Derks
Does the autocomplete mixin fire some kind of event, after I have selected an item from the autocomplete-menu? Because I want to update other fields, based on the value that I selected. How can I do this? - To unsubscribe,

Autocomplete providecompletions + extra parameter

2008-04-29 Thread Leon Derks
); ... } How can I do this without an @Persist on my categoryId? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: Page + render parts based on previous action

2008-04-29 Thread Leon Derks
is the best way to do this? Leon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Autocomplete mixin + select event

2008-04-29 Thread Leon Derks
Thanks for the tips! Leon Steven Woolley wrote: I've got it working by overriding the Autocomplete mixin and putting the following in the AfterRender (instead of using a json object). String configS = {indicator:' + loaderId + ',frequency:.5,minChars: + minChars

T5: JPA EntityManager + Tapestry Injection

2008-04-28 Thread Leon Derks
(ProductCategory.Lamps); //this is working. products = entityManager.createNamedQuery(findProductsByCategory).setParameter(productCategory, ProductCategory.Lamps).getResultList(); } What do I need to do so I can use my DAO classes? Leon AppModule.java

multiple context values

2008-04-28 Thread Leon Derks
How can I add multiple context values to an actionlink? For example a productId and a categoryId? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: onActivate() called twice

2008-04-21 Thread Leon Derks
Hi, I noticed that my onActivate() is called twice. I solved the problem by changing onActivate() into onActivate(Object[] parameters). Now it is only called once. But is this the way to do this or is there a better way? greetings, Leon

Re: T5: onActivate() called twice

2008-04-21 Thread Leon Derks
: + products.size()); } } This is the logging when I acces the page: [DEBUG] Products OnActivate [DEBUG] Products Nr of products:: 43 [DEBUG] Products OnActivate [DEBUG] Products Nr of products:: 43 Leon Davor Hrg wrote: you have to be more specific, same OnActivate method

RE: T5: onchange event from a select

2007-09-24 Thread Leon Derks
I want to be able to update a second select, based on the value in the first select box. So I want to process it on the server-side, or with AJAX. Is there a way to catch the onchange event in my java page? JP Date: Sun, 23 Sep 2007 23:37:52 -0700 From: [EMAIL PROTECTED] To:

t:type=loop problem

2007-09-16 Thread Leon Derks
I have a problem with the t:type=loop component in my Menu Component Every link that is generated gets the id of the first Category. So the html source looks like this: ul li a href=/mercado/start.layout.menu.category/1 id=categoryCategoryA | 1/a /li /ul ul li a

Integration of T5 with the domain model

2007-04-12 Thread Leon Pennings
Just wanted to share how I hooked up T5 with my domain model. I'm using jpa for persistence, so the thing I needed was injection of the EntityManager into the objects providing access to my top level domain objects. And for just that simple IoC, Spring is way too overkill. Guice on the other hand

load modules with jettylauncher without a jar

2007-04-11 Thread Leon Pennings
Ok, I'm doing something wrong here. I'm working on a T5 project where I have a T5 module. I made a manifest file which is in the META-INF folder that is in the classpath (m2 resource folder, that is added as a source folder under eclipse). I'm running jettylauncher to test the project, but the

RE: load modules with jettylauncher without a jar

2007-04-11 Thread Leon Pennings
on the manifest approach for a web application, but instead rely on how T5 loads the application module, as demonstrated in the quickstart Maven archetype. On 4/11/07, Leon Pennings [EMAIL PROTECTED] wrote: Ok, I'm doing something wrong here. I'm working on a T5 project where I have a T5 module. I made