I think that's all just the classloader at work :). Howard may have
done some double-secret coolness, but the ability to load a class on the fly
(even a class which didn't exist at JVM start) is a standard classloader
behavior (I've got a library somewhere or other that generates beans on
I think that, in any case, Tapestry could return a list of the pages
that are currently pooled, since it appears to use some clever file
and reflection routines to call not-instanced pages. I've created new
classes in the middle of a session and seen TP call them without
needing a restart.
On 9/2/
What is the expected replacement for Form.addEventHandler. I know it has to do
with FormComponentContributor and FormComponentContributorContext, but how does
one use them?
I'll try to find the thread information.
What concerns me about the original poster's idea is the thought of
"removing" the component. Rendering or not rendering the component is
fine; that's "dynamic behavior". Adding or removing components at
runtime violates the idea of "static structure".
The
Robert,
I am interested in reading this HLS thread. I did a
search but did not find it. Could you possibly point me
to the thread (dates, keywords to search etc)
I would appreciate it.
The approach I took was to create a component (based on
the Conditional component) called RequiresRole.
Ben,
If you need a client side solution it is doable in
javascript. If you don't want to use the names that
tapestry gives you you can always give the checkboxes and
id tag that suits your purposes.
Believe me I have to deal with complex rules with 2 and 3
dimensional arrays of checkboxes
On 9/3/05, Ben Wong <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
>
>
> I am now trying do build a form with a list of checkboxes where you can
> select one or more. Very basic. However, I want to make sure that at least
> one item is checked (selected) before the form is submitted. This is
>
Simply call the 'name' column in your second table to be something else,
e.g. 'name2'. So for the second table you would have
That would avoid the conflict.
Phil Ulrich wrote:
I have a number of different objects that serve as models in my app.
Each of them has a variety of differ
Ok, first thing right off. You do not need to subclass BaseEngine. The
steps are :
1. Your class implements org.apache.tapestry.services.DataSqueezer.
2. Setup your class as a service in hivemodule.xml:
3. Then contribute to the tapestry.data.SqueezeAdaptors configuration
point, put somethi
Is there a way to get a list of all the pages in the current
application? Preferably one that can be accessed statically so I can get the
list outside of the response cycle?
--- Pat
Hi,
I just tried to define a component with Annotation instead of a dedicated
.jwc file. While this seems to work (at least the compiler does not
complain), i have no idea on how to registrer this Component (class) in the
library specification.
I tried to replace my definition from
to
Hi everyone,
I am now trying do build a form with a list of checkboxes where you can
select one or more. Very basic. However, I want to make sure that at least
one item is checked (selected) before the form is submitted. This is doable
in Javascript if all the checkboxes have the same HTML n
I have a number of different objects that serve as models in my app.
Each of them has a variety of different elements but there are two
elements each has in common: name (getName()/setName()) and ID
(getID()/setID()).
On a single page of my app, there need to be multiple Table elements
(from the c
It's rather a question as I'm yet not quite at home with Tapestry insides,
but...
Is not it possible to use some kind of custom renderer that will be doing
all those security checks? It would have been the first thing I'd have
started digging into.
I had considered this approach and appreciate the feedback.
At this point I'm trying to evaulate whether it's worth the effort to modify
what Tapestry code I need to behave as I've described, or to simply wrap all
the secure elements in conditionals or a component (as you have suggested).
The
To be honest, personally, I don't think that approach is really going to
mix well with tapestry. As was mentioned by HLS in a recent thread, you
should consider pages at runtime as immutable. Removing elements will
prove problematic, I think.
An approach I used was to create a sort of "inRole" co
I'm wondering if anyone has impemented a security model that requires
dynamic (render-time) removal of certain HTML elements? And if so, how hefty
was the work? I need to remove elements at render time based upon roles and
rights and *do not* want to wrap all of the secure elements in conditiona
Craig Hamilton celeres.ca> writes:
> I have figured out how to have a listener on the page which gets
> notified when a new query is performed...but I haven't figured out how
> to get the selected object back to the page, and then on to the other
> components.
How does the user select an object?
Anjali Abraham aztec.soft.net> writes:
>
> Hi All,
> How to create session objects in tapestry4.0v, i.e. What code
> need to be added into .page and .java file for the same?
You may download http://www.agileskills2.org/EWDT/chapters1-4.pdf
and go to page 94 for a detailed example.
Radim Burget wrote:
Hi,
I am just reading book Enjoy Web Development With Tapestry where is
example of textField component:
Could anyone help me where it is documented property "translator"?
Actually, it's missing from
http://jakarta.apache.org/tapestry/tapestry/Component
Andrei Stroescu ime.ro> writes:
>
> Ok!
> I made what are you tell me to do but I don't realy know how to
> implement this.
> My java class extends BasePage already and implements PageRenderListener
> I saw an example (VLIB) from tapestry 4 package but I didn't undersand
> how it works.
>
> I
Andriy,
You might want to also try this in uPortal 2.5 (plus the latest
patches from uPortal's CVS). 2.5 portlet support was updated and what
you may have seen is bugs in 2.4.2.
Mark
On 9/2/05, Andriy <[EMAIL PROTECTED]> wrote:
> Ryan Wynn us.ibm.com> writes:
>
> >
> > Andriy,
> >
> > I'm using
Hi,
I am just reading book Enjoy Web Development With Tapestry where is
example of textField component:
Could anyone help me where it is documented property "translator"?
Thanks.
Radim
-
To unsubscribe, e-m
Hi, All
Could somebody help me how can I call an external site with POST data
created from my beans (like: http://link.org?name1=value1&name2=value2)?
It seems as if that the Externallink could do something similar, but I
don't understand it's usage...
Thanks:
Bence
---
Hi,
I've written a SqueezeAdaptor for use with my Hibernate entities and
it works well in T3.
My HibernateSqueezeAdaptor unsqueezes the string by decoding a entity
type code along with the id, then it accesses my Spring appService
bean and asks it to retrieve my entity.
I'm attempting t
Thanks a ton Alexandr
-Original Message-
From: Alexandr Kundirenko [mailto:[EMAIL PROTECTED]
Sent: 2. september 2005 16:19
To: Tapestry users
Subject: Re: Foreach and errorRenderers problem
Hello Jim,
Your page has not "err" property. Just add it.
JM> Hi, I am trying to hack together
Hello Jim,
Your page has not "err" property. Just add it.
JM> Hi, I am trying to hack together an error componenet to display all the
JM> errors as opposed to just the first one. I have a jwc that looks like:
JM>
JM>
JM> value="ognl:delegate.errorRenderers.size">Error
JM> Count
JM>
JM>
Hi, I am trying to hack together an error componenet to display all the
errors as opposed to just the first one. I have a jwc that looks like:
Error
Count
Error Message
This worked fine when I was just displaying the first error, so I know the
delegate
If I access the object by spring directly,all works fine.
Only when I use T4-B5 to inject the spring object proxyed with
Spring-AOP,IllegalArgumentException was thrown.
If I use T4-B5 to inject the spring object without spring-AOP.all works
fine.
why?
Thanks.
Jun Tsai
On 9/2/05, jocsch <[EMAIL
Thanks Geoff - just the ticket.
-Original Message-
From: Geoff Longman [mailto:[EMAIL PROTECTED]
Sent: 31 August 2005 17:56
To: Tapestry users
Subject: Re: Creating an IAsset in code from a context image
public IAsset createAsset(ServletContext context, String path) {
return new Conte
Geoff Longman wrote:
Jetty and JettyLauncher (http:jettylauncher.sf.net) (along with tap
cache disabling and the reset service) for me on the desktop makes
debugging a snap. We deploy into Tomcat in all other environments.
That's also the configuration i ended up with.
Jetty's startup time i
Ryan Wynn us.ibm.com> writes:
>
> Andriy,
>
> I'm using Websphere Portal. You might want to try a plain old JSR-168
> Hello World portlet without Tapestry. This might be helpful in isolating
> the problem.
>
> Ryan
>
Ryan,
I've already done this :) I mean simple JSR-168 portelt. It wo
Jetty and JettyLauncher (http:jettylauncher.sf.net) (along with tap
cache disabling and the reset service) for me on the desktop makes
debugging a snap. We deploy into Tomcat in all other environments.
Geoff
On 9/2/05, Inge Solvoll <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm running tomcat 5 separat
Hi Serge,
The best tutorial I have found for a Tapestry beginner is Kent Tong's book,
Enjoy Web Development with Tapestry (go to http://www.agileskills2.org). I
have not found the tutorial from the Tapestry web site very useful. The
book, Tapestry in Action, is also very good but Kent's book is
Andriy,
I'm using Websphere Portal. You might want to try a plain old JSR-168
Hello World portlet without Tapestry. This might be helpful in isolating
the problem.
Ryan
Andriy <[EMAIL PROTECTED]>
Sent by: news <[EMAIL PROTECTED]>
09/02/2005 06:03 AM
Please respond to
"Tapestry users"
T
Where to get any information and documentation about Tree component?
In component reference on tapestry web-site there is nothing at all. :/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
Hi All,
I am new to Tapestry and have been trying to get the tutorial code (downloaded
from Tapestry/Quick Start page) to work without success. I am running under
Windows. The WAR file builds fine and I can deploy it under Resin Open (latest
version) but then resin display all sorts of errors.
Ralph Johnston wrote:
We're trying to prevent redirecting to a page that we don't want the user to go to.
Granted, they might learn after they get the exception page a couple of times and
stop doing multiple submissions, that just isn't a very user friendly way of handling
this issue.
What
Ryan Wynn us.ibm.com> writes:
>
> Andriy,
>
> I was successful making links and forms work inside a portlet. What
> portlet container are you using and what are the exceptions?
>
> Ryan
>
> Andriy gmail.com>
> Sent by: news sea.gmane.org>
> 09/01/2005 10:53 AM
> Please respond to
> "Tape
Just a thought:
Did you try to extract an interface out of the class and make a proxy on
the interface? Then cglib should be omitted and a jdk dynamic proxy (or
something like that) would be created.
Don't know if it works but I remember I had a similar issue with proxied
classes once in spring tes
Anjali Abraham wrote:
Hi All,
How to create session objects in tapestry4.0v, i.e. What code
need to be added into .page and .java file for the same?
Thanks in Advance,
Regards,
Anjali
I use Tapestry 3.0.3. With "Session object", I assume you mean a
HttpSession object.
Tapest
Krutyakov Roman wrote:
В Птн, 02/09/2005 в 14:01 +0800, Jun Tsai пишет:
Hmm, I'm using the @InjectObject to inject spring
beans not proxyed with spring-aop and it's working great. but if use
@InjectObject to inject spring beans proxyed with Spring-AOP ,It throws
a java.lang.IllegalArgumentExc
Patrick Casey wrote:
Maybe it's Hivemind that's doing the enhancing, not Spring?
Alternately it might be the annotation library or some other agency. I've
had a lot of weirdness with CGLIC enhanced classes in the past (like they
screw up potentially simple things like using the == operato
В Птн, 02/09/2005 в 14:01 +0800, Jun Tsai пишет:
> Hmm, I'm using the @InjectObject to inject spring
> beans not proxyed with spring-aop and it's working great. but if use
> @InjectObject to inject spring beans proxyed with Spring-AOP ,It throws
> a java.lang.IllegalArgumentException:
> arg
Hi All,
How to create session objects in tapestry4.0v, i.e. What code
need to be added into .page and .java file for the same?
Thanks in Advance,
Regards,
Anjali
Maybe it's Hivemind that's doing the enhancing, not Spring?
Alternately it might be the annotation library or some other agency. I've
had a lot of weirdness with CGLIC enhanced classes in the past (like they
screw up potentially simple things like using the == operator to test for
object i
Patrick Casey wrote:
CGLIB is an enhancement library that a lot of open source packages
use to create dynamic proxies of your classes (usually to bolt on their
specific accessors and proxy code to your POJOs). It's used by both spring
and hibernate pretty extensively, and it looks like yo
Hi
I'm running tomcat 5 separately from jboss, and hot deploy of tapestry
java code from eclipse works just fine for me. Maybe a change to
tomcat/jboss, instead of just jboss, could work for you?
I also use MyEclipse with tomcat and jboss running integrated with
debugging in eclipse.
Inge
Patrick Casey wrote:
One (possible serious voodoo) things that often help:
Make all the methods of your testService public (not package scope,
*public*).
My TestService is:
public class TestService{
public void test(){
System.out.println("okay");
49 matches
Mail list logo