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
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
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
...
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
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
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
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
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
://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
/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
++] = 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
: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
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,
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() {
Hi all,
We need to inject more than one implementings of service interface, so how
to do that?
Thanks!
--
Best Regards
Li Guoqiang
/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
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
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
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() {
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
=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
find a change that would cause
this error.
Any ideas?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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]
();
}
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
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
exceptions?
Object onException(Throwable cause) {
return new Error();
}
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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]
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
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
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
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
.
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
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
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
-label pair
to the JSONArray?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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]
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
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
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
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
.
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]
= 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
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
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,
);
...
}
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]
is the best way to do this?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
(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
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]
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
: + 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
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:
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
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
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
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
67 matches
Mail list logo