Without knowing exactly how you are deploying its difficult to help you, but
you should avoid modifying server.xml directly. The easiest way to deploy a war
is to use the deployer in the Host manager, if you don't want to do this, place
your context in META-INF folder, which is the preferred way
It sounds like currentPhoto.id is returning the string "images" and
"classes" rather than a Long. Might want to check the return type and value
of the getId() method of your Photo class. I'd be tempted to put a debug
breakpoint in getId() somewhere and watch the value being returned.
On Thu, May
Hi All,
I have a component Foo in a loop on my TestPage. Foo has a block on it
which Foo's template renders and which Foo's page class also picks up and
adds to a list of blocks on the TestPage's surrounding Layout component.
Layout loops over these blocks and renders them just before the
tag.
Sounds interesting. Any doco in the nightlies?
On 02/05/2008, at 5:17 AM, Howard Lewis Ship wrote:
I can't wait to see what you put together using the new method advice
support in 5.0.12; it makes doing interesting things with methods and
annotations much, much easier.
On Thu, May 1, 2008 at
Has anyone else tried replacing the DefaultHibernateConfigurer? I can
add another configurator in my app module like this:
public static void contributeHibernateSessionSource(
OrderedConfiguration config,
ClassNameLocator classNameLocator,
Does that mean we'll have T5AOP in 5.0.12 ? Is this going to be a new
module or built into core?
On Thu, May 1, 2008 at 2:17 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> I can't wait to see what you put together using the new method advice
> support in 5.0.12; it makes doing interesting thi
Sorry I was vague on that, and I was referring to the t5components
OnEvent mixin
(http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/mixins/OnEvent.html).
Here's a quick example of ajax-based data retrieval. Note that where I
use hard-coded strings, you'd be using y
I can't wait to see what you put together using the new method advice
support in 5.0.12; it makes doing interesting things with methods and
annotations much, much easier.
On Thu, May 1, 2008 at 5:01 AM, Geoff Callender
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> JumpStart 3.6 is now available. It's
One of two ways.
1) Change page="home" to: page="literal:home"
2) Change the default binding prefix for page as in:
@Parameter(defaultPrefix="literal")
private String page
Robert
On May 1, 2008, at 5/11:16 PM , Toby Hobson wrote:
Sorry ... that should read
"But tapestry is complaining becau
Sorry ... that should read
"But tapestry is complaining because it can't find a property called home on
the ViewPhoto page "
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Thursday, 1 May, 2008 7:07:22 PM
Subject: T5 custom component params
try
or declare the page paremeter in component as
@Parameter(defaultPrefix = TapestryConstants.LITERAL_BINDING_PREFIX)
private String page;
2008/5/1 Toby Hobson <[EMAIL PROTECTED]>:
> I am trying to create my first tapestry component. Basically I want to
> take a collection of keywords and fo
I am trying to create my first tapestry component. Basically I want to take a
collection of keywords and for each keyword generate a link to a tapestry page.
I'd like to use the component in page templates like
I have written the component class and template:
public class Keywords {
@Param
On Thu, May 1, 2008 at 4:25 AM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Why would you need to submit the form when a value is selected from the
> list? If you know the available DBs before hand, then you know the
> default ports. Store those as a client-side JSON object and use the
> select's
The most common case for this is that the module class defining the
service, or the module class containing the contribution to the
service, is not being loaded. Please refer to the docs on how to
ensure that modules are loaded.
On Tue, Apr 29, 2008 at 2:10 AM, Michael Gerzabek
<[EMAIL PROTECTED]
It is generally wise to have your links in the form:
${asset:context:styles/style.css}
Then the links will work even if you have parameters that change the
relative depth of the URL path.
Szemere
It seems if i change all the hrefs to /myapp/images/... or /myapp/styles/...
things work ok. Is there a tapestry version of ?
Thanks
Toby
- Original Message
From: Toby Hobson <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Thursday, 1 May, 2008 1:53:11 PM
Subject: T5 pagelink
I have a strange problem with the pagelink component. I am trying to navigate
from the start page to the ViewPhoto page but I get an exception:
[ERROR] RequestExceptionHandler Processing of request failed withuncaught
exception: Exception in
methodcom.thc.web.pages.ViewPhoto.onActivate(java.lan
Hi all,
JumpStart 3.6 is now available. It's for Tapestry 5.0.11. New in
this release:
* Wizards - 3 styles explored: with form fragments, with components,
and with separate pages.
* Conversations - implemented in the wizards to handle the Back and
Reload buttons and sessions shared b
Franz Amador wrote:
> Hi, all. I asked about this a while ago, and there was no good answer
> then, but I'm hoping that there are new options now. I have a bean
> that holds information about a database connection. I'm editing it
> with BeanEditForm. One of the fields is the database type, an
Putting an issue in JIRA would be a start.
-Filip
On 2008-05-01 05:47, Partogi, Joshua wrote:
So Howard,
Will there be any plans in the future to support validation for RadioGroup?
:)
Thanks in advance
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Wednesd
Josh,
Yeah that looks like it would do it, working much like what proposed
with pagelinks. Given a choice I would use the pagelink based way
because architecturally it works the same (news page collects the id via
context), but using pagelinks reduces the round-trips and the need to
deal with even
21 matches
Mail list logo