Joel Halbert wrote:
Hi,
Is it possible to have named page context parameters? (along the
lines of Wicket PageParameters).
I would like to be able to have bookmarkable URLs but rather than
indexing page context parameters (in onActivate) by ordinal in a list
I would rather key them by name.
Hello.
I'm not sure to quite understand your problem, but in case your
concern is to retrieve the values of the checkboxes, please take a
look at a previous thread at
Hi Ivan,
I'm trying out your extension, thanks, one question though:
The following class seems to be missing from the zip you linked to below
(http://wfrag.org/files/tapext.zip):
ru.nsc.ict.catalogue.annotations.QueryParameter
can i get it anywhere?
Thx
Joel
Ivan Dubrov wrote:
Joel
Anybody know what the cause/solution for this error is (see exception
below).
I am trying to integrate tapestry-sping-acegi and this exception occurs.
I have already assured all methods in AppModule are static, but that
hasn't helped.
Any ideas?
Thanks,
Joachim
ERROR
Hi Stephane,
ComponentResources.triggerEvent may be what you search for.
- Tobias
Stephane Decleire schrieb:
Hi,
I would like to be able to fire an event from one of my component to
tell its parent that a cache should be invalidated.
What is the way to do this in the Tapestry spirit ?
Hi Julien,
may I ask where the problem was and how you solved it?
- Tobias
Julien schrieb:
Hi,
Thanks for your reply, and sorry for my bad english (i'm french) ;)
Using the app.properties file isn't really a good solution for me,
since I replaced the default MessagesSource to used a
Hi,
Is it possible to register your own url encoding strategy for T5 ?
i..e I would like to be able to encode T5 URL's (say in links) to a
particular format, and then decode these on the way back in to T5 format.
Much appreciated,
Joel
--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
London
Is this method an action handler in your page class? Then return the Page
which you'd like to reload.
2008/10/8 mike [EMAIL PROTECTED]
in my action listener. how to i use cycle to get current browser url ? i
need
this url so that i can reload the same page again
ex. url :
Thanks for clarifying that hugo ... all is working well now
2008/10/9 Hugo Palma [EMAIL PROTECTED]
The event listener method has to return the component or block that you
want to render inside the block. If the method returns nothing like your
example than the whole contents of the zone will
Hi,
I think I found a simple way of passing named context parameters between
pages and this is to create a custom ValueEncoder for map objects. I
created a MapValueEncoder, and my intention was for it to do the following :
Encode a Map of String/Object pairs to a string of the following
Em Thu, 09 Oct 2008 08:06:09 -0300, Joel Halbert [EMAIL PROTECTED]
escreveu:
Encode a Map of String/Object pairs to a string of the following form:
key1/value1/key2/value2 etc...
(and of course decode said string back to a map that can be passed to
the context)
Instead of encoding to a
Hi Thiago,
How would that work? The ValueEncoder.toClient method must return a
String...something like this:
import org.apache.tapestry5.ValueEncoder;
public class MapValueEncoder implements ValueEncoder {
private static final String DELIM = /;
@Override
public String
Em Thu, 09 Oct 2008 10:57:31 -0300, Joel Halbert [EMAIL PROTECTED]
escreveu:
Hi Thiago,
Hi, Joel!
How would that work? The ValueEncoder.toClient method must return a
String...something like this:
Oops, of course it wouldn't wok with a ValueEncoder. I'm sorry. :(
Instead of using a
I figured it out:
public static void
contributeValueEncoderSource(MappedConfigurationClass,
ValueEncoderFactory configuration) {
configuration.add(Map.class, new
GenericValueEncoderFactoryMap(new MapValueEncoder()));
}
thx
Joel Halbert wrote:
Hi,
I would like to
Hi,
I would like to be able to fire an event from one of my component to
tell its parent that a cache should be invalidated.
What is the way to do this in the Tapestry spirit ?
Thanks in advance.
Stephane
Your success event handler should return a block of HTML by returning a
Block or a Tapestry Component.
If you don't return anything, nothing is shown ...
Stephane
Toby Hobson a écrit :
Can anyone see anything wrong with my code?
t:zone t:id=formzone
h3
The event listener method has to return the component or block that you
want to render inside the block. If the method returns nothing like your
example than the whole contents of the zone will be empty, like you say.
That's just how the zone works, it renders the returned component/block
and
Hi,
I’ve put an updated version of ZIP, with missing QueryParameter annotation.
Note that you need to add TapExtModule as a submodule of your
application module (use @SubModule( { TapExtModule.class } annotation)
or simply copy its contents into your module.
Joel Halbert wrote:
Hi Ivan,
I'm
Hi,
I would like to register my own custom ValueEncoder (to be used by the
ContextValueEncoder) for specific types.
Are there any examples of registering a custom ValueEncoder with
ValueEncoderSource?
Thanks,
Joel
--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
London
Tel: +44 20 8960 2634
Exactly what i was looking for !
Thanks Tobias ;-)
Tobias Wehrum a écrit :
Hi Stephane,
ComponentResources.triggerEvent may be what you search for.
- Tobias
Stephane Decleire schrieb:
Hi,
I would like to be able to fire an event from one of my component to
tell its parent that a cache
Hi,
When I have an action link in a sub component I notice that the query
string ?t:ac=some/context/stuff/from/the/page is appended to the link
target. I'd like to manipulate that very context in my component and so
far I have been passing its elements down through a nest of components.
Is there
Em Wed, 08 Oct 2008 16:26:30 -0300, Keith Bottner [EMAIL PROTECTED]
escreveu:
Do you have an example of this working. I have been going around and
around and have not been able to get this to work, so I was hoping there
was some code you wouldn't mind sharing that demonstrates this
I'm decorating one of my services in order to store the result of a method call as an ASO. I
therefore inject the ApplicationStatemanager service into my decorator implementation and call
applicationStateManager.set(UserDetails.class, (UserDetails) o);, but I always get the
NullPointerException
Hi everyone,
I'm having a problem with an array out of bounds exception after a user
selects entries from a list drop down and then presses submit and I'm not
sure what the cause is...
The drop down list is populated by entries in a database which can be
changing at any time. This means once
Ok, I think I know what's going on. I think the service I'm decorating is being called before the
terminator of the HttpServletRequestHandler pipeline makes the Request available. In a mail from
december 2007 Peter Stavrinides seems to have stumbled over the same issue:
I don't quite understand why you need two arrays. Anyways, try to just use a List as your model for
the select component.
Uli
ViceGripX schrieb:
Hi everyone,
I'm having a problem with an array out of bounds exception after a user
selects entries from a list drop down and then presses submit
I am looking for a SlidingPanel (Accordion) component. I found one on:
http://code.google.com/p/tapestry5-component
but unfortunately it is only useful for pure text inside of the SlidingPanel.
I am looking for one that uses CSS class names instead so that you can also put
other components...
27 matches
Mail list logo