Hi there,
the t5components release 0.5.3 is out now.
project page with demo click here http://213.160.23.119:8080/t5components/
-
best regards
Sven
--
View this message in context:
http://www.nabble.com/-ANN--t5components---release-0.5.3-tp14966843p14966843.html
Sent from the Tapestry
But how do you make inject works? Do you have a template with every
component? I don't care if a i must inject every component, but i don't
wanna create a usefull template with every component too... How do you do
that?
Because if a try to inject a component that doesn't exist on template that
doe
This is bordering on a way around the "static structure, dynamic
content" vision! Not that we need to weasel around that vision to
make great applications, but this is a way to have the best of both
worlds--the performance of semi-cached templates/classes with the
flexibility of live structure edi
This is precisely the stuff I've been working on for the past few weeks.
I too am successful with pulling templates from a DB and so far, so
good.
I'll need to dive back into the code to see if there's a way to do a
template parse and be able to catch an exception if there's an error.
in
dangerous ideas
This could be an interesting way of running an application straight
from a DB backend, where the DB can act as a versioning system if
needed. A new updated class or template is uploaded to the DB, and
the flushCache() causes the CTS service to pick up the newest template
versio
Obviously, we can't predict every possible use case ahead of time.
On Jan 16, 2008 2:56 PM, David Kendall <[EMAIL PROTECTED]> wrote:
> I would like to have a way to force tapestry to flush/reload its caches
> and I am wondering how best to get such functionality incorporated into
> the Tapestry
tacos 4.1.1 works with all of them...
If you're using maven, exclude tapestry4.1.2 when depending on tacos
On Jan 18, 2008 9:18 PM, DR_GLoPeL_BouCa <[EMAIL PROTECTED]> wrote:
>
>
> Hi, is tacos 4.1.1 work on tapestry 4.1.3, a demo with tacos 4.1.0 and
> Tapestry 4.1.2 work fine but when change to
Seems like it's back to the static structure, dynamic content (the
mantra of Tapestry). So yes, one way people are using is to have all
the possible components injected in the parent (page/component) and
then the desired component is chosen later using logic you code.
I have one page that returns
Thanks, that should be usefull, but doesn't help on the issue that to get an
instance of a component it must be injected somewhere, and that somewhere's
template must have every component that eventually you will use (because I
can't inject a component in a class whose template doesn't have it), s
How about an onPrepare() event handler method to reset the _user field
to a new User instance?
On Jan 18, 2008 8:44 AM, Hugo Palma <[EMAIL PROTECTED]> wrote:
> Imagine the following use case:
>
> A page to register a new user. I have a User class so i'm all set.
> The page class looks something li
Hi, is tacos 4.1.1 work on tapestry 4.1.3, a demo with tacos 4.1.0 and
Tapestry 4.1.2 work fine but when change to another version a exception
throws.
-> org.apache.hivemind.ApplicationRuntimeException
-> Could not parse specification null.
what's wrong, i check dependencies on Tacos site,
this part of my code
thanks for your time
nirvdrum wrote:
>
> Is customerTable a Tapestry component or is it an ID you just attached to
> some element?
>
> --
> Kevin
>
>
> On 1/17/08 10:12 AM, in article [EMAIL PROTECT
Imagine the following use case:
A page to register a new user. I have a User class so i'm all set.
The page class looks something like:
@Meta("tapestry.persistence-strategy=flash") // because of the
validation tracker thing
public class Register {
@Persist
private User _user = new User();
public
On Jan 18, 2008 4:15 PM, Mahen Perera <[EMAIL PROTECTED]> wrote:
> Does anyone know the contents of the Tapestry 5 book. Does it include T5
> Ajax related stuff as well? ,,
>
> What T5 features does it explain..
A simple search through the mailing lists archive would have revealed
the publisher s
But you can always put in a normal Webapp Filter ahead of Tapestry that
would munge the url as you see fit (and capture the information into a
Request.attribute).. I do this myself in a different way.. (clip off
the leading directory in the url). But here is some pseudo-code:
project/999/bl
I don't think it will, since we don't even have form support under
zones yet. If there is anything, it would be the autocomplete
component.
On Jan 18, 2008 10:15 AM, Mahen Perera <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> Does anyone know the contents of the Tapestry 5 book. Does it include T5
Howard Lewis Ship wrote:
>
> Long experience has shown that these objects tend to be singletons.
> It's generally things like the user's identity or account information
> or shopping basket.
>
Yes, that is mostly true.
Howard Lewis Ship wrote:
>
> Earlier versions of Tapestry uses a mechani
Hi,
Utf8Filter (http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding)
does not work properly when uploading file.
MultipartServletRequestFilter is executed before Utf8Filter,
so request.getCharacterEncoding() returns null in MultipartDecoderImpl
and default character encoding is used to decode
Hi all,
Does anyone know the contents of the Tapestry 5 book. Does it include T5
Ajax related stuff as well? ,,
What T5 features does it explain..
Thanks
The information contained in this email is strictly confidential and for the
use of the addressee only, unless otherwise indicated.
I still use this workaround.
To have it work with T4.1.3, I think you just need to set the event on a
form component (I use the submit button).
dojo.byId('submit').ajaxEvent=function(json) {};
then :
@EventListener(targets = "submit", events = "ajaxEvent")
public void onAjaxEvent(IRequestCycle c
Is customerTable a Tapestry component or is it an ID you just attached to
some element?
--
Kevin
On 1/17/08 10:12 AM, in article [EMAIL PROTECTED],
"DR_GLoPeL_BouCa" <[EMAIL PROTECTED]> wrote:
>
> Hello people, I've the similar problem, the browser not display the response
> of ajax submit, I
On 18.01.2008, at 13:51, Pai911 wrote:
Why do you open the link in new window?
The scenario should be:
1. You click on a link
2. The link invoke a listener (Asynchrounously) and update some
attribute of
the Page class
3. Some part of the page is re-rendered asynchronously with the new
dat
Hi!
I have a custom service that downloads images/files from a DB:
public void service(IRequestCycle cycle) throws IOException
{
// extract node-ref
String nodeUID = cycle.getParameter("node");
NodeRef nodeRef = new NodeRef(NODE_REF_PREFIX + nodeUID);
try {
// login to
Kalle Korhonen-2 wrote:
>
> If you read my sample, you'd see I was using an HTML entity reference.
>
Take a look at your sample--I think you forgot to escape an ampersand.
--
View this message in context:
http://www.nabble.com/-T4--escaping-text-for-Javascript-tp14826733p14949398.html
Sent f
Hmm, i must have been very tired when i tested this yesterday.
It doesnt work. The ComponentActionRequestFilter is handled after the
persistent fields are gathered. So my activation context variable that
I need when gathering persistent fields is not set before I gather the
fields.
I have tried to
Why do you open the link in new window?
The scenario should be:
1. You click on a link
2. The link invoke a listener (Asynchrounously) and update some attribute of
the Page class
3. Some part of the page is re-rendered asynchronously with the new data.
Did you try the code sample I wrote??
If y
You should be able to do something like this:
@InjectObject("engine-service:page")
public abstract IEngineService getPageService();
and then construct your link like
String pageName = "SomePage";
ILink pageLink = getPageService().getLink(false, pageName);
Uli
Andy Pahne schrieb:
Hello,
I h
You can throw new PageRedircetException("PageName"); or you can use the page
service:
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/PageService.html
To inject the page service, do following:
@InjectObject("engine-service:page")
public abstract IEngineService getPageSer
I think I'm doing something wrong here
Following Howard post, I tried :
@Inject
private BindingSource _source;
public void setupRender () {
Binding b = _source.newBinding("Parameter Disabled",
_componentSources
.getEmbdededComponent("myComponentId").getComponentResources(),
"prop", "disab
Hello,
I have a listener method with the return type of ILink. It needs to
return ILink, because in some cases the user will be forwarded to
external pages and I created those links with
new StaticLink(url)
In some other cases the listener method should return an ILink to an
internal tap
Thiago H de Paula Figueiredo-2 wrote:
>
> On Jan 17, 2008 12:12 PM, DR_GLoPeL_BouCa <[EMAIL PROTECTED]> wrote:
>
>>
>> Hello people, I've the similar problem, the browser not display the
>> response
>> of ajax submit, I've form with submit async="true" and
>> updateComponents="ognl:customerTab
TIA & Best regards!
On 12.01.2008, at 02:47, Kaspar Fischer wrote:
How would I do this?
value="4" />
Or do I have to use something like "InfrastructureOverrides"? The
latter is used to
override the exception settings, see
http://tapestry.apache.org/tapestry4.1/developmentguide/
exceptionpages.html
33 matches
Mail list logo