Re: getting the visible domain name

2012-09-07 Thread Muhammad Gelbana
Try tapestry's *Request* methods.. @Inject > private Request request; On Sat, Sep 8, 2012 at 3:35 AM, sommeralex wrote: > Hello! > > How can i get the domain name as shown in the browser? > > Several domains are linking to the same IP, but sometimes it is useful to > get to know on which domai

getting the visible domain name

2012-09-07 Thread sommeralex
Hello! How can i get the domain name as shown in the browser? Several domains are linking to the same IP, but sometimes it is useful to get to know on which domain the user is. thx -- View this message in context: http://tapestry.1045711.n5.nabble.com/getting-the-visible-domain-name-tp57161

AjaxFormLoop

2012-09-07 Thread arterzatij
Hi all, Now I'm getting some particular issue, when I submit the form from an ajaxformloop I loose the information on the server side, all information I provide turns to null values... I have next: Java file: @Property @Persist private List expenses; @OnEvent(value

Re: datefiled and null value 2

2012-09-07 Thread arterzatij
thanks my bad... -- View this message in context: http://tapestry.1045711.n5.nabble.com/datefiled-and-null-value-2-tp5716109p5716129.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-ma

Re: Binding an array and accessing elements of that array in a template

2012-09-07 Thread RJB III
You guys were right...[of course]... Thanks a million. Here's my abbreviated final solution: JAVA: @Property private Integer index= 0; @Persist @Property Integer year; @Property private Integer[] funDays = new Integer[13]; public Integer getFunDay() {

[ANN] tapestry-profiler

2012-09-07 Thread Ben Dotte
Something we (at Widen) have found extremely useful is the ability to do some quick-and-dirty profiling of our production Tapestry applications when performance problems are actually happening. We wanted to make this tool available to multiple internal applications and decided to open-source it as

Re: Strange behavior when TextArea ID is "content"

2012-09-07 Thread Muhammad Gelbana
I remember when I faced a similar case I debugged and reached that method * org.apache.tapestry5.corelib.components.Form.preallocateNames(IdAllocator)* which looks like it's still pre-allocating IDs and have the JIRA issue's link commented on it. And I can see the pre-allocating logic in v5.3.5 O

Overriding ValidationDecorator

2012-09-07 Thread Mike Leonardo
Hey all, So I have this requirement to add a * after absolutely any field that is marked required. I have an old solution based on http://tapestry.1045711.n5.nabble.com/Example-of-overriding-the-default-ValidationDecorator-td2419072.html where I contributed a markupRenderer which replaced

Re: Strange behavior when TextArea ID is "content"

2012-09-07 Thread Howard Lewis Ship
This is, I believe, fixed in later versions of Tapestry 5.3. On Fri, Sep 7, 2012 at 12:05 PM, Muhammad Gelbana wrote: > Check this old thread > http://tapestry.1045711.n5.nabble.com/t5-3-1-Heads-up-for-special-form-field-names-similar-to-InternalSymbols-PRE-SELECTED-FORM-NAMES-td5101482.html > >

Re: Strange behavior when TextArea ID is "content"

2012-09-07 Thread Muhammad Gelbana
Check this old thread http://tapestry.1045711.n5.nabble.com/t5-3-1-Heads-up-for-special-form-field-names-similar-to-InternalSymbols-PRE-SELECTED-FORM-NAMES-td5101482.html I understand you are saying that when the TextField id is changed, everything else works, including the ajax part. Well althou

Strange behavior when TextArea ID is "content"

2012-09-07 Thread René Bernhardsgrütter
Hi there, I have a strange behavior of T5.3 here. Situation: * A normal Page that contains a Form with a TextArea and a Component. * The Component has: o An Actionlink for a Zone o A Zone that includes an AjaxUplaod-Component (form here: http://tawus.wordpress.com/2011/06/25/a

Re: No 404 error is raised

2012-09-07 Thread Alejandro Scandroli
Alex, as a workaround for almost the same issue I wrote this module: https://gist.github.com/3360101 It accomplishes three things: *) The default PageRenderDispatcher will skip Index pages. *) There is a new Dispatcher that will deal with the Index pages but it's configured after all the other dis

Re: datefiled and null value 2

2012-09-07 Thread Muhammad Gelbana
It's "expense*?*.date" *not* "expense.date*?*" DateField already handles formatting null values // org.apache.tapestry5.corelib.components.DateField.formatCurrentValue() private String formatCurrentValue() > { > if (value == null) > return ""; > return format.format(value); > }