;
>> 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
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
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
works 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
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 val
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
.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
meone 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: us
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, at 12:29 AM, Thiago H. de
/hide elements based on the value I have selected?
regards,
Leon
Type
High
++] = 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 wrote:
n, Mar 21, 2011 at 8:41 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Sun, 20 Mar 2011 22:50:20 -0300, leon wrote:
>
> Thanks a lot, I will try it, I looks Tapestry's component's relationship
>> is build by component class rather than compone
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:
I have created components, but I can't access embedded components in comA:
public class comA {
@Inject
private ComponentResources resources;
void setupRender() {
ComponentModel model = resources.get
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
:
>
>
> http://stackoverflow.com/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 wrote:
>
Hi all,
We need to inject more than one implementings of service interface, so how
to do that?
Thanks!
--
Best Regards
Li Guoqiang
It works! Thanks a lot!
On Mon, Feb 21, 2011 at 3:18 PM, Taha Hafeez wrote:
> On Mon, Feb 21, 2011 at 9:50 AM, leon wrote:
>
> > Hi All,
> >
>
> Hi
>
>
> > I know that we can pass a parameter through context attribute of tag in
> > template, but
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() {
ow I 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 implementat
Hi Martijn,
Thanks!
Yes, http://localhost:8090/tapestry/test/user/user$0040company.com
works, when I change the @ into $0040 manually.
But how can I automatically translate @ into $0040, because my code
still generates the '@' character in the url.
greetz,
Leon
Martijn Brin
.14.
I searched in the changes, but couldn't find a change that would cause
this error.
Any ideas?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
dField="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-components(http:/
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
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="
();
}
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
x27;t need an "implements Serializable".
So what makes it that my Gear object needs an "implements Serializable" ?
All my other objects are extending BaseEntity and the Gear is extending
Product (which again extends BaseEntity).
Leon
---
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
ode of how 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 p
exceptions?
Object onException(Throwable cause) {
return new Error();
}
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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?
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]>:
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]
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
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
index, Object value);
How can I add the group.getId and group.getName() as a value-label pair
to the JSONArray?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that always the first value is printed,
no matter what value I select.
What am I doing wrong?
Leon
Chris Lewis wrote:
Leon,
I can't tell from that code where/how you've used the OnEvent mixin. I
see the @OnEvent annotation, but that's unrelated (as you probably
realize
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 serve
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: " + v
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,
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
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
arch() {
importRequests = 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
--
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,minChar
g section.
What is the best way to do this?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
can I do this without an @Persist on my categoryId?
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
xception.
products = productDAO.findAllByCategory(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
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
;Nr of products: " + 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 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
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 w
ould not rely 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
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 mod
71 matches
Mail list logo