Hi,
no it was not in the root.base package. I didn't know about that one.
Probably explains it, will try later tonight. I guess Tapestrys
definition of POJO is a bit different from mine :-)
Cheers,
Johan
On 9/19/07, Josh Canfield <[EMAIL PROTECTED]> wrote:
> Hey Johan,
>
> I haven't had a need to
I just looked at some code and it's exciting.
Is this how we can override the MarkupWriter and the Documents used???
But i wonder, I didn't see right way who puts the PageRenderSupport
object in. :)
Nick Westgate wrote:
> I haven't really used it, but look at Environmental:
> http://tapestry.ap
Wow. That's cool. I'll go look at the code to see what else uses
Environment service.
Nick Westgate wrote:
> I haven't really used it, but look at Environmental:
> http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/services/Environment.html
>
>
> Look at some example
I haven't really used it, but look at Environmental:
http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/services/Environment.html
Look at some example uses like in Form:
http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/src-html/org/apache/tapestry/corelib/com
That's the same issue, and as Howard says it has been fixed.
To use the fix you have to build T5 or wait for a snapshot.
Cheers,
Nick.
Marcelo Lotif wrote:
Righ Howard, but some people wrote this on a recent thread regarding a
Loop+expansions problem:
On 9/17/07, Michael Gottschalk <[EMAIL P
Hi Jon,
Maybe you can give a short sample of ajax with T5 just to get started? or
just some ideas? thanks.
A.C.
jglanz wrote:
>
> unfortunately I don't own the code that 'm working on right
> nowthat being said when this project ends; I can definitely toss
> some of it together and nee
and that is exactly what I am going to do!
thanks!
2007/9/19, Josh Canfield <[EMAIL PROTECTED]>:
> I had a similar problem. What I ended up doing was returning Object from the
> beginRender method and either returning the block parameter or using the
> writer and returning null.
>
> To simulate lo
I had a similar problem. What I ended up doing was returning Object from the
beginRender method and either returning the block parameter or using the
writer and returning null.
To simulate looping you can store your tokenizer in a page variable and
return st.hasMoreTokens from afterRender, if it's
Im looking for something similar to T4
IComponent.renderBody(IMarkupWriter writer, IRequestCycle cycle)
2007/9/18, Ted Steen <[EMAIL PROTECTED]>:
> I would like to do this,
>
> @BeginRender
> final void begin(MarkupWriter writer)
> {
> StringTokenizer st = new StringTokenizer(
You need to inject the asset on a public abstract method named getMyImage()
with a return type of IAsset.
--
Kevin
On 9/18/07 7:20 PM, in article
[EMAIL PROTECTED], "David Yu"
<[EMAIL PROTECTED]> wrote:
> Hi,
> I would like to get image to display and it is not working if I try to get
> asset
Hey Johan,
I haven't had a need to define a custom constructor in my page classes, or
their base classes, I'm just use the default constructor.
You mentioned that your base class was in "another package", but is it in
the special "base" package next to your "pages" package?
http://tapestry.apache
Hi,
I would like to get image to display and it is not working if I try to get
asset from ognl.
Where getMyImage is a method to return a String "fish"
public String getMyImage(){
return "fish";
}
Thanks
I would like to do this,
@BeginRender
final void begin(MarkupWriter writer)
{
StringTokenizer st = new StringTokenizer(template, " ");
while(st.hasMoreTokens())
{
String token = st.nextToken();
if("TEST".equals(token))
Hi. I want to write a "SingletonRender" mixin. That will let a
component be rendered only once during the request... (even if there are
multiple instances of a component, etc )
1) what is the best way to store state, only during the duration of the
render cycle? I would say Request.setAttribute
weird.
AFAIK there is no required parameter in @Any component. Are you sure
your Any component hasn't been overwritten? Or did I get the error
message wrong?
2007/9/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Thanks very much for your response. I tried that and got the following
> error:
>
>
Thanks very much for your response. I tried that and got the following
error:
[9/18/07 13:54:27:503 PDT] 37a21fc3 AbstractEngin I
org.apache.tapestry.engine.AbstractEngine TRAS0014I: The following
exception was logged org.apache.tapestry.ApplicationRuntimeException:
Required parameter element of
I was wondering if the public no-args constructor requirement on page
classes also extends to their parent classes.
This is my Start.html
---
[Index]
---
My Index.html contains only static text.
My Start.java is an empty POJO.
My Index.java looks like this (removed package):
---
publ
Take a look at LabeledPropertySelectionModel of T4...
It can decorate every other Model - it simply adds an entry with a
configurable label on top.
Robin Helgelin wrote:
On 9/18/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote:
Now I would like to have the same drop down list, only with an
That was my solution, but then someone complained that it wasn't really a valid
part of the list.
Mark J. Stang
Software Engineer
office: +1 303.468.2900
Ping Identity
-Original Message-
From: Robin Helgelin [mailto:[EMAIL PROTECTED]
Sent: Tue 9/18/2007 2:44 PM
To: Tapestry users
Subje
On 9/18/07, Christoph Jaeger <[EMAIL PROTECTED]> wrote:
> Now I would like to have the same drop down list, only with an "- empty
> -" entry as first entry (meaning: no color was selected,
> preferredColor==null). Is there an easy way to define this (something like
>
> t:empty="- empty -"/>
>
> wo
Using the select component with an Enum is very convenient:
...
...
to display a html drop down list showing all
entries defined by the Enum Color.
Now I would like to have the same drop down list, only with an "- empty
-" entry as first entry (meaning: no color was selected,
preferredColor==n
On 9/18/07, Johan Maasing <[EMAIL PROTECTED]> wrote:
> Is there a human readable list somewhere which dependencies I need in
> my web-inf/lib for running tapestry 5.0.5?
> I tried with: tapestry-core-5.0.5.jar, tapestry-ioc-5.0.5.jar,
> javassist-3.0.jar, commons-logging-1.0.4.jar
> But then I run
Is there a human readable list somewhere which dependencies I need in
my web-inf/lib for running tapestry 5.0.5?
I tried with: tapestry-core-5.0.5.jar, tapestry-ioc-5.0.5.jar,
javassist-3.0.jar, commons-logging-1.0.4.jar
But then I run into problems so I ran the maven archetype and package
of the t
Thanks Paulo, now everything works great.
I think you must run maven with the option : -cpu or -U to install the
plugins.
Daniel Meza escreveu:
After run "mvn install" get :
"[ERROR] BUILD ERROR
[INFO]
[INFO]
try using @Any instead of @Insert
2007/9/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi,
> I am new to Tapestry.
>
> I have a requirement that I submit a form with parameters (userid and
> password) to Oracle CoreId which is an authentication system.
> The submit needs to have userid and passwo
Hi,
I am new to Tapestry.
I have a requirement that I submit a form with parameters (userid and
password) to Oracle CoreId which is an authentication system.
The submit needs to have userid and password in the form.
My code below will submit the form, but it does not pass the userid and
passwor
Righ Howard, but some people wrote this on a recent thread regarding a
Loop+expansions problem:
> On 9/17/07, Michael Gottschalk <[EMAIL PROTECTED]> wrote:
> > On Monday 17 September 2007 08:42:46 Davor Hrg wrote:
> > > I had no problem using expansions in a loop, (T5.0.5)
> > >
> > >
> > >
This is a known bug, and fixed. When using the ${...} syntax, Tapestry was
being over-agressive about caching the result.
https://issues.apache.org/jira/browse/TAPESTRY-1667
On 9/15/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I use following code to output a html text, but it works fi
I think you must run maven with the option : -cpu or -U to install the
plugins.
Daniel Meza escreveu:
After run "mvn install" get :
"[ERROR] BUILD ERROR
[INFO]
[INFO] The plugin 'org.apache.maven.plugins:maven-plugin
After run "mvn install" get :
"[ERROR] BUILD ERROR
[INFO]
[INFO] The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist
or no valid version could be found
[INFO] --
So maybe the real question is when we can get some Tap5 Ajax samples written
for the TWiki. Obviously the best possible case would be to more or less
transition many of the Ajax components the Tap4 crew have put together,
since they work so well and help snap together applications quickly.
I know
unfortunately I don't own the code that 'm working on right
nowthat being said when this project ends; I can definitely toss
some of it together and needly package it.it all just takes time
-Jon
On Sep 18, 2007, at 5:20 AM, Paul Cooley wrote:
Does this mean you're going to be contri
Hello again.
While debugging some hibernate exceptions, i've noticed the
HibernateSessionManager commits the current transaction even when an
exception occurs in the current request.
Seems like it should be rolling back instead. Am i missing something?
The HibernateSessionManager registers with
Hello all.
Back in June (23rd), Bill Holloway solved an 'illegal attempt to
associate a collection with two open sessions' hibernate exception by
using merge() after reattaching a detached object:
Re: T5 Creating new hibernate persistent entity via beaneditform
http://mail-archives.apache.org/mod_
Besides the home side (http://tapestry.apache.org/tapestry5/), the link to
Howard's tutorials (http://tapestry.apache.org/tapestry5/tutorial1/) and
screencasts (http://tapestry.apache.org/tapestry5/screencast.html), the
maven archetype that creates an example project (
http://tapestry.apache.org/ta
- Add a JIRA for namespace in ExternalLink
AFAICT, it is missing - i can add it soon enough.
- Add another one for enhancing the InjectPage annotation to accept a
boolean
parameter, something like useCurrentNamespace - this too can be done
pretty quickly
- InjectPageLink and InjectExternallLi
Renat Zubairov wrote:
>
> Your assumptions are completely correct, you can address anything you want
> from the library (e.g. pages) inside the library namespace via
> namespace:BlahBlah format.
>
Renat, thanks for the reply.
Unfortunately I thought namespace handling would be a bit more seam
On 9/18/07, Paul Cooley <[EMAIL PROTECTED]> wrote:
> Does this mean you're going to be contributing some Ajax components? ;)
I would like to note that AJAX is already possible with T5 and it is
also enough easy to be used thanks to the granular approach T5 preach.
I think T5 will have AJAX supp
Dear friends
im new in T5, and i want to create a simple page layout for my project
pages.
any simple source or example ???/
thanks all
--
sincerely yours
M. H. Shamsi
Does this mean you're going to be contributing some Ajax components? ;)
On 9/17/07, Jonathan Glanz <[EMAIL PROTECTED]> wrote:
>
> I've been using t5 religously on several projects for some massive
> conglomerites with great success...as howard stated there are a few pieces
> he's trying to comple
On 2007-09-18, at 11:17, Ognen Ivanovski wrote:
Just a quick one...
How can I refer to a class object in OGNL, if I know the class name
itself. In Java I would do 'com.foo.example.ExampleClass.class'.
How is this done in OGNL?
Found it. The syntax is: @[EMAIL PROTECTED]
-
Just a quick one...
How can I refer to a class object in OGNL, if I know the class name
itself. In Java I would do 'com.foo.example.ExampleClass.class'. How
is this done in OGNL?
I'm using a component that accepts a Class as a parameter, I need to
pass in a specific class.
Maybe this i
Hi,
I do a simple component (only this java class, no specification file):
abstract public class UserTextField extends TextField
{
}
And when i use it in a template (@UserTextField), i have this stacktrace:
org.apache.tapestry.form.TranslatedFieldSupportImpl.format(TranslatedFieldSuppor
I ecountered the same problem .
I add
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
UTF-8
forceEncoding
true
encodingFilter
*.html
> After packaging new package, but occur NullPointer Exception:
> because request.getCharacterEncoding() == null
You also have to add the UTF-8 filter described in
http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding
--
Chris
45 matches
Mail list logo