This is for T3, but you might find it relevant:
http://www.tapestrycomponents.org/Tassel/app?service=direct/1/Search/viewComponent&sp=SrobertzInclude
Cheers,
Nick.
Mike Grundvig wrote:
Doh! That's the second time someone has suggested RenderBlock to me, but
apparently I'm dense because I reall
I am still working with my Ajax issues, and made some progress.
I am using the upateComponents attribute, but nothing happens.
Well, let me explain how is organized the page that uses ajax.
I have a page with a form to search and a submit button. When I submit the
search a resultgrid is display
I'm trying to improve the client:page scope and prevent it from adding
state to PageLinks that lead to other pages. I figured this should work if
I examine the ServiceEncoding parameters in shouldEncodeState. But almost
all encoding parameters are null... Have I completely misunderstood how
Yes, sorry for this. I haven't formalized a plan yet for telling people how
to write javascript back in responses as I'm unsure of the API still.
(though that will change in the next couple of weeks as I start adding a
crapload of new components)
The @Script template can be used to handle ajax re
Does anybody have an example of how to execute javascript from an
EventListener in Tapestry 4.1? I'd like to implement the Dialog from
tacos in T4.1 and also implement some of the tacos effects before
updating a component.
For instance, In tacos, in order to hide the dialog, a listener would
cal
Hi,
I have searching for the same thing in the past and
found this one:
DynamicBlock - Choosing Tapestry Components at
Runtime
http://www.behindthesite.com/blog/C1931765677/E1630021481/
I haven't tested it yet ...
--- Mike Grundvig <[EMAIL PROTECTED]> wrote:
> Yes Robert; that is EXACTLY wha
Yes Robert; that is EXACTLY what I'm looking for. I'm willing to write the
meta component myself but I don't know how to ensure Tapestry loads the
component dynamically. I'm sure there is a service somewhere and I simply
use the path to the component or some such. Sadly; this is something I
ass
But if RenderBlock is used the Block that should be rendered must be
somewhere defined, or do I get it totaly wrong?
Is something like this possible (I think that's what Mike wants to do):
[informal parameters.] />
Robert
Jesse Kuhnert schrieb:
The page I referenced gives you an example
You are absolutely correct Martin; I can simple read the ad HTML from the
file system and have a low-level component inject the ad data into the
output. This is a last resort though because as soon as I do this, I lose
all the niceties of Tapestry. The intent is for the "ads" (loose term here)
The page I referenced gives you an example of what you asked for.
http://tapestry.apache.org/tapestry4.1/components/RenderBlock.html
On 9/24/06, Mike Grundvig <[EMAIL PROTECTED]> wrote:
Doh! That's the second time someone has suggested RenderBlock to me, but
apparently I'm dense because I real
Doh! That's the second time someone has suggested RenderBlock to me, but
apparently I'm dense because I really can't see how that does what I need.
If I make my original example JSP more sophisticated, how could render block
do this?
<%
String pageToInclude = "blah_" + request.getParameter
Ads are often static rather than dynamic. Perhaps you can just use Insert
and output raw HTML instead of making each ad a component?
Martin
On Sun, 24 Sep 2006 16:31:12 +0200, Mike Grundvig <[EMAIL PROTECTED]>
wrote:
But how can you dynamically define the component name? I have 20-30
cus
Ah, then you definitely want to use RenderBlock.
http://tapestry.apache.org/tapestry4.1/components/RenderBlock.html
On 9/24/06, Mike Grundvig <[EMAIL PROTECTED]> wrote:
But how can you dynamically define the component name? I have 20-30 custom
components (each one is an ad) and one template fo
But how can you dynamically define the component name? I have 20-30 custom
components (each one is an ad) and one template for the whole site with
spots for 6 components. The site has an external tool to manage which page
has which of the 20-30 components in what location. I want to know how to
I usually do something like:
On 9/24/06, Mike Grundvig <[EMAIL PROTECTED]> wrote:
How do you do the little snippet below in Tapestry?
<%
// This could be any code needed, but it results in a specific page
String pageToInclude = "blah.html";
%>
Thanks!
Michael Grundvig
Electrotank
How do you do the little snippet below in Tapestry?
<%
// This could be any code needed, but it results in a specific page
String pageToInclude = "blah.html";
%>
Thanks!
Michael Grundvig
Electrotank, Inc
http://www.electrotank.com
Set inherit-informal-parameters=true on the DirectLink. Yyou'll need to do
this in your component spec, there's no way to set it on implicit
components.
On Sun, 24 Sep 2006 13:58:27 +0200, Dobrin Ivanov
<[EMAIL PROTECTED]> wrote:
Hi,
So I have a simple component with template usging
@Di
Define the DirectLink in the spec and then read
http://tapestry.apache.org/tapestry4/UsersGuide/spec.html#spec.component
Dobrin Ivanov wrote:
> Hi,
>
> So I have a simple component with template usging
> @DirectLink and @Rollover inside :
>
> --
Hi,
So I have a simple component with template usging
@DirectLink and @Rollover inside :
--
--
The specification is:
--
19 matches
Mail list logo