OK,
it does work with the @Delegator component but you must have all
possible components somewhere in your page (hidden inside a @Block
component to prevent rendering).
The @Delegator component can then call a method in your class to get
the component (by name) that should appear at that
Found this
http://examples.mjhenderson.com/DynamicBlockT4/app
That's what I was looking for
M.
Am 02.11.2006 um 10:03 schrieb Moritz Gmelin:
OK,
it does work with the @Delegator component but you must have all
possible components somewhere in your page (hidden inside a @Block
Patrick Casey wrote:
I'd warn against using persistent ID objects as keys for edit forms.
The problem is that Tapestry persists properties on a page/session key. So
for any given session, page foo has a set of persistent properties.
Lets say though that you have a page
Karthik.Nar,
I made the change below to Result.java. It seems to work, but is this
optimal? Is there a way for the component to automatically find out it's
parent page to bind the value without using a double bucket brigade
and/or without using component injection. I'm new to Tapestry still, so
glad it worked.
i think one of the powers of tapestry is the ability to be able to tap into
lifecycle methods, as also register listeners (like pageBeginRender)
i don't have exact answers to your question but is this optimal? - it
depends on what you want to do. if you want your component to
You're switching to using Spring instead of HiveMind?
On 11/2/06, Jesper Zedlitz [EMAIL PROTECTED] wrote:
Jesper Zedlitz wrote:
When I try to access a secured page it works fine and I get to the login
page. After submitting the login form I will be redirected
to /j_acegi_security_check
But
You're switching to using Spring instead of HiveMind?
The web application does not start if I do not create a Spring bean:
Bean context must contain at least one bean of type
org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
Jesper
--
Jesper Zedlitz E-Mail : [EMAIL PROTECTED]
Thanks for your answer, but I checked the problem again and I don't have
2 different forms.
As far as I have understood the main Problem is that in the render
method of AbstractComponent
the _clientId is erased in the finally block.
To solve my problem I am doing the following workaround:
Hi! I am using an custom exception page. When this page is called by Tapestry
it is encoded using iso-8859-15.
But I need this page to be encoded in UTF-8. The strange thing is that I have
set up the output-encoding meta
in the app spec to utf-8.
Has anyone an answer to that
Mit lieben
Hi!
I got a small problem with a Tapestry application regarding components
in a for-loop. Inside this loop reside a couple of TextFields and
PropertySelection which i need to validate after all the data is written
to the beans. Problem now is that i need to address the components to
show the user
Then you're not really using tapestry-acegi. You don't need Spring at
all to use tapestry-acegi.
On 11/2/06, Jesper Zedlitz [EMAIL PROTECTED] wrote:
You're switching to using Spring instead of HiveMind?
The web application does not start if I do not create a Spring bean:
Bean context must
Hi!
Normaly getClientId() would give you the unique id (at least the id that
denotes the correspondig html element). But see my last post, about
troubles with it.
Eventough it would output the correct value, you have do handle the id
inside the loop for generating you custom validation code,
Try com.albourne.web.PortfoliosInterface as the service id. It's
fully qualified by using the module id followed by '.' and then the
service id.
On 11/2/06, Peter Stavrinides [EMAIL PROTECTED] wrote:
Hi
I am busy upgrading a working 4.02 application to Tapestry 4.1. but I
would also like to
Hi James,
Thanks for the response, I tried it and it throws an exception:
/Schema and extension point ids should be simple names with no
punctuation./
Is this what you meant?
module id=com.albourne.web version=1.0.0 package=com.albourne.web
service-point
Hi!
Normaly getClientId() would give you the unique id (at least the id
that denotes the correspondig html element). But see my last post,
about troubles with it.
Eventough it would output the correct value, you have do handle the id
inside the loop for generating you custom validation code,
Karthik, i'll try the methods below too.
I guess what i'm trying to understand is the equivalent of a JSP
RequestScope. To me, the component should just remember it's value between
pages (and not session scope), but i'm still unclear.
Also in my app below, i don't think the component is really
Howard Lewis Ship wrote:
Thanks for this big contribution! Any chance of doing a screencast of
the
plugin in action?
Got trouble finding a decent screencast recorder for linux.
Anyone got any suggestions?
On 10/30/06, andyhot [EMAIL PROTECTED] wrote:
Just released the first version of
See, it's two different instances of the same component. What you are
looking for is something almost akin to a static field.
The request scope variable is tempting in this specific use case, but
troubling in most others. It brings with it all the ugliness of naming
coincidences and such from
SOLVED:
created a bean but not using the property-attribute of the bean tag...
instead i make use of getBeans().getBean(beanname)... SURELY not the most
intuitiv way... an lot of casting around but it seems to work!!
Skorpien126 wrote:
I have found several posts here where this
Hello!
I want to use something that I supose tapestry already made for me.
I'll try to explain because probably some of you have, or have had this
question, and probably the answer to my question is that this is not
possible or shouldn't be done, but I'm not sure.
I want to use the tapestry
2006/11/2, andyhot [EMAIL PROTECTED]:
Howard Lewis Ship wrote:
Thanks for this big contribution! Any chance of doing a screencast of
the
plugin in action?
Got trouble finding a decent screencast recorder for linux.
Anyone got any suggestions?
Wink does the job fairly well. One of these
IComponent.getClientId() or IComponent.getId()
getClientId() is only relevant in context...ie calling it inside a For
loop would be good.
On 11/2/06, Roberto Ramírez Vique [EMAIL PROTECTED] wrote:
Hello!
I want to use something that I supose tapestry already made for me.
I'll try to explain
Generally speaking you really ~don't~ want to store persistent fields in a
component if you can help it. Make everything a parameter.
On 11/2/06, Skorpien126 [EMAIL PROTECTED] wrote:
SOLVED:
created a bean but not using the property-attribute of the bean
tag...
instead i make use of
Is there a way to change the location where tapestry looks for html
templates? I've got a component library project with a standard maven2
file structure. I'm writing specless components. I've created a
/src/main/webapp directory containing a basic *.application and web.xml
file and I use
Package them as Tapestry Libraries.
Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity
-Original Message-
From: Steve Shucker [mailto:[EMAIL PROTECTED]
Sent: Thu 11/2/2006 4:59 PM
To: Tapestry users
Subject: Changing template locations
Tomi NA wrote:
2006/11/2, andyhot [EMAIL PROTECTED]:
Howard Lewis Ship wrote:
Thanks for this big contribution! Any chance of doing a screencast of
the
plugin in action?
Got trouble finding a decent screencast recorder for linux.
Anyone got any suggestions?
Wink does the job fairly
Hi,
I would like to do some initialization in a custom component that I'm
writing up.
I observe that I can do it in two ways:
1. Implement the PageBeginRenderListener and use pageBeginRender
2. Override prepareForRender
My question is: Which one should I use?
Thanks, Karthik
However see :
http://issues.apache.org/jira/browse/TAPESTRY-1131
use clientId does not always generate a unique Id on a page level
basis. If another component tried to access the first component's
clientId, the result returned would be the first id not the correct
uniquified value.
-Pat
On
28 matches
Mail list logo