;
>> I just check the string for ; and set previousPage to null if is true. I've
>> only experienced it to be true after the login page which is never part of
>> the breadcrumb.
>> Not the prettiest workaround but it works...
>> We use Jetty so it isn't a
and set previousPage to null if is true. I've
>> only experienced it to be true after the login page which is never part of
>> the breadcrumb.
>> Not the prettiest workaround but it works...
>> We use Jetty so it isn't a Tomcat issue per se.
>>
>> /
do about it or if it has it's roots
> deeper into the Tapestry code.
>
> Regards,
> Joakim
>
>
> On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks
> wrote:
>> Hello
>>
>> Thank you all for your great support!
>>
>> I am using Tapestry 5.2
t;> happily ignore it - which (after a quick check on my sites) it does
>>> for T5.1 and T5.3 so I'm not sure where your error is coming from.
>>>
>>> Steve.
>>>
>>>
>>>
>>> On 28 October 2011 04:43, Muhammad Gelbana wrote:
&g
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
--
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 org.apache.tapest
.blogspot.com/2008/09/tapestry-5-ioc-introducing-service.html
> http://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
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 th
I have a TextField that shows a double value.
But I want to format the value in the Textfield as a decimal with 4 decimals
(i.e. 0.1234)
In Tapestry there is a NumericFormatter and a BigDecimalNumericFormatter. But I
can't find any documentation on how to use these on a TextField.
Can someone g
Paula Figueiredo wrote:
> On Tue, 11 Oct 2011 15:15:28 -0300, Leon Derks
> wrote:
>
>> Hello
>
> Hi!
>
>> In my page I have a form with a select. (see below) Based on this select I
>> want to show/hide different Blocks with elements.
>>
>> W
Hello
In my page I have a form with a select. (see below) Based on this select I want
to show/hide different Blocks with elements.
What is the best way to do this? I tried to use a zone, but the zone div is
automatically moved to the top of the page and I don't want that.
How can I show/hide
ion if you want to
encode from outside of Tapestry:
org.apache.tapestry5.internal.services.URLEncoderImpl
Martijn Brinkers
On Wed, 2008-12-10 at 23:43 +0100, Leon Derks wrote:
Hi Martijn,
Thanks!
Yes, http://localhost:8090/tapestry/test/user/user$0040company.com
works, when I change the @ i
kers wrote:
The URL encoder has been changed.
@ for example is now encoded as $0040
See https://issues.apache.org/jira/browse/TAP5-302
Search the archive for what and why things have changed
http://tapestry.markmail.org
Martijn Brinkers
On Wed, 2008-12-10 at 23:19 +0100, Leon Derks wrote:
Hello
This evening I tried tapestry 5.0.17
When I type in the following url in my application:
http://localhost:8090/tapestry/test/user/[EMAIL PROTECTED]
I do get an java.lang.IllegalArgumentException
It says: "Input string '[EMAIL PROTECTED]' is not valid; the character
'@' at position 5 is no
Indeed I agree with Hugo.
I had this use case a couple of times and solved it in the same way as
Hugo did.
I also hoped there is an easier way to implement dependable selects,
using zones...
Also filling selects with objects is not really easy. I need to
implement a selection model and a va
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")
-
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
-
To unsubscribe
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?
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
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
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]
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
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
t:type="layout" title="${message:page-title}">
.
Laout.tml
different things depending on the type of exception
thrown, but haven't had the time nor need to do so yet.
http://tapestry.apache.org/tapestry5/tapestry-ioc/strategy.html
Anyhow, hope this helps - if not, you know where to ask. :)
-Filip
On 2008-05-16 17:37, Leon Derks wrote:
Thanks Pete
Hello
I did get the error :Error serializing component action for component
Gears:loop:
When I add "implements Serializable" to my Gear class everything works fine.
But I have also other objects that I looped throught with a
t:type="loop" but these objects didn't need an "implements Serializ
ibute a strategy filter before this one
allowing to do different things depending on the type of exception
thrown, but haven't had the time nor need to do so yet.
http://tapestry.apache.org/tapestry5/tapestry-ioc/strategy.html
Anyhow, hope this helps - if not, you know where to ask. :)
-F
are
incredibly powerful and easy to use.
Hope this helps,
Peter
- Original Message -
From: "Leon Derks" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Friday, 16 May, 2008 1:35:19 PM GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: T5: Exception Handlin
Hello
What is the best way to handle exceptions in Tapestry 5?
I want to show some kind of general error page, when an exception occurs.
At the moment I have a onException method in my BasePage class. But for
some reason the Error page is not returned.
What is the way in T5 to handle exceptio
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 w
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 get
.
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(); or the
Lewis wrote:
Try:
for (var i 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"
an't get the value.
Is there a way to get the key names 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 J
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
--
is set
to "undefined"
Leon
Lance Java wrote:
JSONArray options = new JSONArray();
for(Group group : List groups) {
JSONObject obj = new JSONObject();
obj.put(group.getId, group.getName());
options.put(obj);
}
Cheers,
Lance.
2008/5/14 Leon Derks <[EMAIL PROTECTED]>:
I have an object which contains a collection with a maximum of 3
descriptions.
I want to be able to edit the descriptions on the same page.
At the moment I loop through the collection and print the descriptions
in its own textfield on the screen.
But I also want to be able to edit the textfi
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
Sent: Wednesday, 14 May, 2008 4:33:58 PM
Subject: T5: select + enum
Hello,
Is it
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 PROTECTE
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
Hello
I found this example:
new JSONArray("[['a', 'value a'], ['b', 'value b'], ['c', 'value c'],
['d', 'value d']]"));
The JSONArray contains information for my select box, with a value -
label pair.
But in my case, I want to make a new JSONArray filled with properties
from my List of Gr
). This exact use case was discussed recently - see:
http://markmail.org/search/?q=ajax-based+data+retrieval+list%3Aorg.apache.tapestry.users#query:ajax-based%20data%20retrieval%20list%3Aorg.apache.tapestry.users+page:1+mid:5srufbsi5jsrdmu2+state:results
chris
Leon Derks wrote:
I want to update a selec
r-side you want to access from
DWR? If you will answer this question
then you can just start a DWR servlet in your web application and try to get
the objects of interest.
Renat
2008/5/13 Leon Derks <[EMAIL PROTECTED]>:
How easy is it to integrate T5 with DWR?
Are there examples of how
I want to update a select, based on a value from another select.
I have tried the OnEvent mixin from the t5components, but only the first
selected value is printed to the screen.
When I select another value after that, it always prints the first
selected value.
How can I do this with Tapestry
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]
Hi Marcus,
I couldn't find the jira issue. Do you have it? I will vote!
I found this example on
:http://www.packtpub.com/article/tapestry-5-advanced-component
t:format="%d/%m/%y"/>
But this seems to be outdated, because it doesn't work.
Leon
Marcus wrote:
Leon,
No, you can't, :) it's on
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/Tapestry5OutputLocaleNu
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:
${person.birthday}
Leon
---
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 comman
In my page I have a the following function that is executed when I click
on the search button in my page.
@Persist("flash")
private List importRequests = new ArrayList();
@OnEvent(component = "searchForm", value = "submit")
public void doSearch() {
importRequests = importDAO.findImpor
ield that
the autocomplete is populating. Something like:
$('mytextfield').observe('change', function(theEvent) { /* update
other fields */});
Hope that helps,
Josh
On Tue, Apr 29, 2008 at 4:47 AM, Leon Derks <[EMAIL PROTECTED]>
wrote:
Does the autocomplete mixin fire so
Hello
I want to render different parts in my page, based on an action in my
previous page.
For example I have an "edit" section and an "add" section.
Based on the button I clicked in the previous page (edit or add button)
I want to render the page with the corresponding section.
What is th
Hello
Is it possible to add an extra context parameter to the
providecompletions method?
For example like this:
List onProvideCompletionsFromAccountName(Long categoryId, String
partial) {
List matches = productDAO.findByPartialNameInCategory(partial,
categoryId);
...
}
How
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, e-
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]
I have added an JPA entity manager to my AppModule, in the same way this
is done for an HibernateSessionManager/Session in the tapestry-hibernate
project.
See the code below for some details.
I inject this entity manager with the @Inject into my DAO object.
@Inject
private EntityManager entityM
Hello
Is it possible to catch the onChange event from a select component in
the java page?
I would expect something like: onChangeFromSelect(long id) {}
Because I want to update information on my page, based on the value that
is selected.
How can I do that?
Leon
---
vate method will not be called more than once in normal
circumastances,
but overriding onActivate from a base class I belive can cause this ...
some code would be useful.
Davor Hrg
On Mon, Apr 21, 2008 at 12:41 PM, Leon Derks <[EMAIL PROTECTED]> wrote:
Hi,
I noticed that my onActi
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
--
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: users@tapes
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:
CategoryA
| 1
CategoryB | 70
CategoryC | 110
Every categoryId is 1. (an
59 matches
Mail list logo