On 8/20/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> That's close to my opinion.
>
> I appreciate how people would like to create a new component on the
> fly, and I understand the use cases involving that.
>
> However, it goes against the grain of Tapestry. I've finally
> documented this,
Humm alway in my way
So I try to enhance T5 to support some Ajax Features.
1 - I've Aliased the ComponentActionRequestHandler to use my own.
2 - Now if my ComponentAction is and ajax action ex :
http://mySite/myPage.myComponent:ajax/99 I want try to instanciate my
targeted component.
So I
Yes but in an Ajax point of view I think you can't use this approach in my
humble point of view.
In an Ajax way for me the good approach is to have a component call like
ComponentSubstitution who encapsulate
and permit to generate an Ajax return whit html node substitution.
With T5 it's very easy
Hum I not sure.
My component is not define in class and is not define in the template =>
It's a really a NEW component.
So as I can see there is a possibility with
PageElementFactory.newComponentElement() that I can inject in my page.
But there is too many parameters. I hope Tapestry give me
Hi,
I'm very disappointed. After some investigation it seem it's not possible to
instantiate a component in a page on the fly in T5.
I have a page and his template, my component is not defined on the template
but on a specific event, I want to create and instantiate this component.
I need someth
I post the same question without response ;)
But I share my investigation with you.
1 - After first quick investigation I found a class responsible of this
instantiation : ComponentClassTransformer but with more investigation the
call to instanciate a component is
Component target = componentCla
Hi,
I play with T5 and want to explore Ajax capacity.
I need to know which service is responsible on the instantiation of a
component.
Is it possible to have a resume (classes implied) of how Tapestry process
component instantiation.
Thanks for any input ;)
Yes thank you Nick.
I've create my own Any component from T5 5.0.3 sources ;)
Regards
Yes, after investigation you're right.
So I think I need to re-implement an Any component ;)
Thank you for your input.
Hi,
The Any component is gone and now
...
is now just:
...
but is it possible since it's gone to add a mixin to and element like
My layout
When I try this case tapestry throw me this error :
You may not specify mixins for element because it does not
represent a component (which requires ei
lock into head
With the Element and RenderSupport solutions I imagine the the
plumbing exists to do this. I'll have to dig deeper into the how's to
figure it out.
Thanks again.
On 7/17/07, David Avenante <[EMAIL PROTECTED]> wrote:
> I think something like that work :
&
I think something like that work :
@Environmental
private PageRenderSupport renderSupport;
@Inject
@Path("myScript.js")
private Asset myScript;
renderSupport.addScriptLink(myScript);
-
To unsubscribe, e-mail: [EMA
Hi,
The Any component is gone and now
...
is now just:
...
but is it possible since it's gone to add a mixin to and element like
My layout
When I try this case tapestry throw me this error :
You may not specify mixins for element because it does not
represent a component (which requires e
Thank you Kristian,
Yes I've try your solution and I've also explore the injection of
ComponentDefaultProvider
@Inject
private ComponentDefaultProvider _defaultProvider;
but the value are stored in a Binding class that is not accessible
(I've not found for the moment).
BTW I'm agree with you,
Hi,
I try to add a mixin on an ActionLink like this :
@Component
@Mixins("MyMixin")
private ActionLink link1;
Is it possible to access in MyMixin the property private List
_context; available in the ActionLink ?
Thanks.
-
To
Forget this stupid question, all work fine now after the add of a Border ;)
On 7/11/07, David Avenante <[EMAIL PROTECTED]> wrote:
Hi,
Why PageTester don't render script added to my pages ?
Maybe I'm on the wrong way and test the javascript inclusion must not
be make with th
Yep it's work fine.
Ok so I presume there is a configuration somewhere to use core by default ;)
Thanks for your help
On 7/11/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote:
try:
@Mixins({"me/MyMixin"})
private ActionLink link1;
g,
kris
"David Avenante"
Hi,
Why PageTester don't render script added to my pages ?
Maybe I'm on the wrong way and test the javascript inclusion must not
be make with the PageTester but the Tapestry-test utility ?
Regards
-
To unsubscribe, e-mail: [EM
Hi,
I try to create my own Mixin.
If I use this approach it's ok :
@Component
@MixinClasses(MyMixin.class)
private ActionLink link1;
but if I use this approach it's fail :
@Mixins("MyMixin")
private ActionLink link1;
With this exception !!!
Caused by: java.lang.IllegalArgumentException: Unabl
Hummm after debug time I found that impossible to me to add in ordered
list the same Id (see class Orderer code).
So if it's impossible I need to override the component
PageRenderInitializer and all the associated configuration.
So I continue my investigation with aliasOveridesService.
Ok,
I continue my investigation.
So I think I don't need to override my service but only override my
service configuration.
So my service is :
PageRenderInitializer
and my service configuration is :
contributePageRenderInitializer( ...
As write in the documentation :
"The extensibility comes fr
Thank you Hugo, I'll explore this way.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes there is always workaround but what I liked in the definition of
tapestry is :
Tapestry is organized around four key principles:
* Simplicity
* Consistency
* Efficiency
* Feedback
And I like the first term ;) I like to have SIMPLE file, easy
readable and understandable.
-
Yes I can understand but this approach is a big constraint, with big
implication for my web designer who need to play in templates and need
to have a good understanding of my templates hierarchy
For me it's an issue with lot of limitation. A simple exemple :
I want to create a component who can
Hi,
I try to create sub compponent in T5 (5.0.5).
My template is :
Content
In myComponent2 class when i try to access to the Container :
@Inject
private ComponentResources componentResources;
componentResources.getContainer(), tapestry return to me my page and
no
Hi,
I read the documentation and the source code to find a way for a
parent component to discover his embedded components.
I saw the best place for that will be the componentResources class.
Why tapestry don't get the possibility to acces to the child tree dependency.
With more investigation it
et pour chacun connaitre
leur Id.
Merci pour ton aide ;)
On 6/28/07, Francois Armand <[EMAIL PROTECTED]> wrote:
David Avenante wrote:
> Hi,
>
> I try to create a component with embedded sub component.
>
> How can I access in my root component to the informations about my s
Hi,
I try to create a component with embedded sub component.
How can I access in my root component to the informations about my sub
components ?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Ok i'm a stupid guys ... i need to Read The Fucking Documentation
before ask question ;)
So a simple configuration for hibernate is :
public static void
contributeHibernateSessionSource(Configuration configuration)
{
configuration.add("com.my.domain");
}
public SessionFactory
buil
Hi,
The Hibernate module configuration seem to be out of date !
The @Contribute annotation seems to be depecated (removed !).
I try to configure my IoC container for integrate Hibernate support
with session-per-request strategy with the help of module.
So i try this approach :
public static vo
PROTECTED]> wrote:
You should be getting an error there, ApplicationDefault's
configuration is a Map.
You override built-in services by contributing to the Alias service
(or the AliasOverrides service).
On 6/18/07, David Avenante <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've tw
Hi,
I've two questions about the configuration of my ioc container.
First i would be able to override the default configuration to use my
own DocumentScriptBuilder i've wrote some code in my appModule to try
to overide
the default config but without succes !!!
public static void
contributeAppli
Hi,
Is it possible to access, in a component or in a page, at the html
element properties ?
For exemple, the html element
how acces in my component at the "button" value of my type properties.
Thank's
-
To unsubscribe, e-mail
-SNAPSHOT.
On 6/14/07, David Avenante <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've read the documentation of expension.
>
> I try to render something like :
>
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> ${title}
>
ructor
required: java.lang.reflect.Constructor
Regards
On 6/14/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
You're caught between releases; using expansions inside ATTRIBUTES is
a new feature available in 5.0.5-SNAPSHOT.
On 6/14/07, David Avenante <[EMAIL PROTECTED]> wrote:
> Hi,
Hi,
I've read the documentation of expension.
I try to render something like :
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
${title}
it's work fine for title but don't work for my id
I've miss something ?
Thank's
--
Hi ;)
I need to expose some services with webservices (beurkkk).
The probleme is the that the servlet for the web services is not processed
by my tapestry filter.
tapestry.app-package
com.me.indexer
app
org.apache.tapestry.TapestryFilter
app
Hi,
I try to initialize and start a service when my webapp start.
My service is a simple Quartz scheduler with a job. But i've some trouble to
start the service.
As i can see Tapestry IOC use lazy initialization so my service is build
only when used.
My code in my Appodule.java is like :
//
I'm aggree with you Norbert,
It's not the same framework.
Actually I play with T5 and everyday
I need to remove all mails from others versions, it's pain ;)
Regards.
On 3/12/07, Norbert Sándor <[EMAIL PROTECTED]> wrote:
Wouldn't it be good to separate the t4 and t5 lists somehow? Like
differ
o
http://svn.apache.org/repos/asf/tapestry/tapestry5/tapestry-project/trunk/
tapestry-project
cd tapestry-core
mvn install
David Avenante wrote:
> Hello,
>
> I would try Tapestry 5 to play with it.
> How can i found the sources for build it.
> I've tried to reach the svn reposito
Hello,
I would try Tapestry 5 to play with it.
How can i found the sources for build it.
I've tried to reach the svn repository for URL proposed on the site but it's
seems to be only for browser view.
I'de liked to download the sources files, build it and try it (i've already
work 5 months with
41 matches
Mail list logo