Hi,
Tapestry 5.4 (beta) built-in require js support makes it really easy to add
other javascript frameworks cleanly. I'm currently working on T5.4 projects
that integrate with angularjs and backbone/marionette js.
g,
Kris
On Sun, Jul 27, 2014 at 2:46 PM, Chung Khanh Duy
how are you running your app? i'm using run-jetty-run in Eclipse and never
experienced the problem you describe. the etag is based on the content of
the file. maybe there is another eclipse plugin changing your resources
g,
Kris
On Tue, Jun 10, 2014 at 11:12 AM, Muhammad Gelbana
Hi,
check if it is the same client. i once had the same problem. After several
hours of investigation it was a developer with a browser plugin (web
developer) which enabled converting form post requests to get requests.
hope this helps.
g,
Kris
On Mon, May 19, 2014 at 5:55 PM, George
Hi Jens,
never seen an exception like that but i'd guess a namespace is missing.
either tapestry or xml
t:layout t:id=pageLayout xmlns=http://www.w3.org/1999/xhtml;
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_3.xsd;
xmlns:p=tapestry:parameter
cheers,
Kris
On Tue, May 6, 2014 at
i use it if i need unique clientIds for certain dom elements to access it
with my javascripts.
g,
Kris
On Mon, Mar 3, 2014 at 8:18 AM, Lance Java lance.j...@googlemail.comwrote:
I've used option 2 and I've also extended any to make new components.
hi all,
going through the posts i realized there is an easier solution missing.
What i do is to contribute a HttpServletRequestHandler that checks for the
X-Forwarded-Proto header and - in case its set - wraps the
HttpServletRequest with overrides to isSecure(), getScheme() and
getServerPort().
looking at my migrated Tapestry 5.4-beta-2 app i can only see two inline
scripts. The requirejs configuration (shim, ...) and the require call
itself.
Is it possible to move those into a dynamically generated js instead,
that's included with a script tag? the requirejs config could by cached.
And
i also think it's up to the development team to decide how they want to
develop (inline-scripts vs. no inline-scripts). sometimes inline-scripts
make things easier. having a choice is good anyways.
still, do you think it is worth moving the requriejs specific
inline-scripts into a dynamically
of letting the
client cache the assets!
On Sun, Jan 19, 2014 at 1:04 AM, Kristian Marinkovic
kristian.marinko...@gmail.com wrote:
Thank you for all your responses and references.
What i want to activate is the SIMPLE_OPTIMIZATIONS level that activates
whitespace removal and renaming
Thank you for all your responses and references.
What i want to activate is the SIMPLE_OPTIMIZATIONS level that activates
whitespace removal and renaming (shortening) of variables and functions. my
webapp is getting used more by mobile clients (tablets, phonse) than
desktop clients. during
hi,
maybe this ancient article by Brian Goetz may help you:
http://www.ibm.com/developerworks/library/j-jtp09238/index.html :)
cheers,
Kris
On Sat, Jan 18, 2014 at 8:39 AM, Ilya Obshadko ilya.obsha...@gmail.comwrote:
Hello,
I have implemented persistent session management in my application
Hi all,
why are tapestry's requirejs modules nested in an anonymous javascript
function:
(function() {
define(['jquery'], function($) {
})
}).call(this);
isn't it enough to just write define(, function() {})? Is there a
reason for this additional scope?
cheers,
Kris
BTW, i just
Hi all,
how do i set additional GoogleClosureMinimizer options? The current
implementation in tapestry-webresources doesn't seem to offer any
configuration possibilities besides replacing the whole service.
cheers,
Kris
in tapestry your server side event handlers are not related to the client
side html ids. the client side html ids happen to use the server side
component id for convenience. An onValidateFromMyForm() handler will we
triggered even if the MyForm form is nested and updated in a zone.
On Tue,
it to
MyForm_123bashas
(at least it doesnt work for me :))
On Wed, Jan 1, 2014 at 9:42 PM, Kristian Marinkovic
kristian.marinko...@gmail.com wrote:
in tapestry your server side event handlers are not related to the client
side html ids. the client side html ids happen to use the server side
Yes it is possible. Usually you use a Delegate component to render a Block.
Cheers
Kris
Am 01.12.2013 23:53 schrieb Boris Horvat horvat.z.bo...@gmail.com:
Is there any way to pass a block as a parameter and then to render it?
I have checked a tree component and I have seen it renders it
Hi,
Tapestry over time added additional checks to detect whether the classes in
the Tapestry specific packages are really only relevant to Tapestry. Not
doing so can cause unexpected exceptions due to classloading issues.
in other words: only page, component and mixin classes go into the
can you post some code? the page with the annotated field and the methods
that manipulate that fields?
On Mon, Jun 17, 2013 at 10:49 AM, Nathan Quirynen
nat...@pensionarchitects.be wrote:
Hi,
I'm having some weird issues with sessions that are getting mixed up, for
example:
I open a page
hi Howard,
i am already testing and exploring the possibilities. Would you
consider fixing https://issues.apache.org/jira/browse/TAP5-2040 as a
5.4-alpha-3?
g,
Kris
On Thu, Jan 3, 2013 at 11:01 PM, Howard Lewis Ship hls...@gmail.com wrote:
I've created a new preview release, available from
, Howard Lewis Ship hls...@gmail.com wrote:
If that is true, it is an accident, possibly a bad merge.
On Thu, Dec 27, 2012 at 3:00 AM, Kristian Marinkovic
kristian.marinko...@gmail.com wrote:
Hi,
i was just testing the 5.4-alpha-1 release and realized that the
SystemPropertiesSymbolProvider
hi Howard,
created Ticket https://issues.apache.org/jira/browse/TAP5-2040
g,
Kris
On Thu, Dec 27, 2012 at 6:45 PM, Howard Lewis Ship hls...@gmail.com wrote:
Interesting; that could be a bug then.
On Thu, Dec 27, 2012 at 9:05 AM, Kristian Marinkovic
kristian.marinko...@gmail.com wrote
Hi,
first remove the id parameter from the @Component annotation; this is
only needed if the field name in the java class is different from the
t:id attribute in the template.
second because you already defined your component in the template you
don't have to declare it in your java class; so
use @SessionState in T5
g,
kris
On Fri, Nov 16, 2012 at 5:16 PM, membersound memberso...@web.de wrote:
Hi,
how can I make an @ApplicationScoped within tapestry? Is there any pendant
to share the same data within one single class across the application in T5?
Thanks
--
View this
Hi,
you can inject the session directly. please take a look at the
documentation.
G,
Kris
Am 07.11.2012 09:31 schrieb John j...@quivinco.com:
I got the JPA(with eclipselink) to work and have been using
@NamedStoredProcedureQuery annotations in entities to obtain entity classes
successully
Hi,
i need some advice on how to properly integrate backbone.js in my T5
application.
Adding backbone.js with the @Import annotation results in an console
error because it can't find the global underscore object _. The reason
for that is the mapping of underscore to the T5 namespace in
had to put in place a shim before the import of backbone, to fix this:
/**
* T5 is nice enough to use Underscore in noConflict() mode, but Backbone
expects it to be visible as window._, so we hack that.
*/
window._ = T5._;
On Mon, Nov 5, 2012 at 11:35 AM, Kristian Marinkovic
Hi,
i just implemented an ajax upload using the AjaxUpload component from
the tapestry5-jquery project. And i had to dive deeper into the
documentation and code of the JS file-uploader component used by the
AjaxUpload.
There are examples in the documentation that almost solve your needs:
Hi,
check the value of the context; if it is not set (null) only
onActionFromPlay() will be called; use the EventContext if you want to
catch this use case;
g,
Kris
On Thu, Oct 18, 2012 at 9:14 AM, dinesh707 dinesh...@gmail.com wrote:
Follofwing are some of my code parts. The system.out even
did you take a look at https://github.com/got5/tapestry5-portlet?
On Tue, Oct 16, 2012 at 4:56 PM, Lenny Primak lpri...@hope.nyc.ny.us wrote:
I heard something about Tapestry supporting the Portlet spec.
Is Tapestry going to support it out of the box or is Tapestry-Portlet ready
to use in
I think you have to answer this question yourself by checking if your
requirements are met. you can see on github that it is being actively
developed. there is even a mention of Typestry 5.4-alpha in the
readme.
On Tue, Oct 16, 2012 at 5:19 PM, Markus Feindler markus.feind...@gmx.de wrote:
Hm,
online for me as well in austria
On Mon, Oct 15, 2012 at 8:57 PM, Jon Williams
williams.jonat...@gmail.com wrote:
Negative. Working fine here in Canada.
On Mon, Oct 15, 2012 at 11:43 AM, Russell John-Baptistr
rjb...@yahoo.comwrote:
Is the tapestry.apache.org site down?
Could you post some code.
Am 15.09.2012 14:10 schrieb tompeter i...@tomkrause.com:
Hi everyone,
I have a component in a Tapestry page that is displayed via Ajax renderer
returning a block.
Displaying the conponent the second time should show different data then
the
first time. I am logging
@Inject
private Request request;
in your page or component should be able to provide you with the desired data.
g,
kris
On Tue, Aug 21, 2012 at 12:38 PM, ksrijith ksrij...@gmail.com wrote:
Hi,
My current clients want to use the facebook comments widget on their site
and have it available on
Try a mvn clean install in your console. It should download whatever it
needs
Or use an maven plugin for your IDE
Am 24.07.2012 21:38 schrieb Thiago H de Paula Figueiredo
thiag...@gmail.com:
On Tue, 24 Jul 2012 16:16:43 -0300, netdawg net.d...@yahoo.com wrote:
Problem/Question: Is there a
hi geoff,
Even Odd is extremely elegant; never thought of such a solution
g,
kris
On Thu, Jul 5, 2012 at 7:32 AM, Geoff Callender
geoff.callender.jumpst...@gmail.com wrote:
...which is why injecting EvenOdd is such a good solution. It just works,
everywhere.
it would be easier to give you an advice if you'd outline the problem
you are having a little more.
but if you ask me i'd put a delegate inside the loop and let the to
binding decide what component/block to render. i use this approach to
render a list of item (types) that may have completely
if it is only visual, and just about setting an css class: - use the
css selector mentioned by dusko; no duplication
On Wed, Jul 4, 2012 at 10:22 PM, bhorvat horvat.z.bo...@gmail.com wrote:
My problem is that I have a lot of code duplication, also this seems to me as
a simple display problem so
not allowed to use ant? many of us are still forced to use ant :)
On Thu, Jun 21, 2012 at 12:51 PM, Muhammad Gelbana m.gelb...@gmail.com wrote:
In case these policies prohibits ant as well. I guess all you need is to
create tapestry's layout manually, include tapestry's libraries in your
+1
let's switch to 1.6 as many new/modern frameworks already require it anyways.
g,
kris
On Wed, May 2, 2012 at 8:05 AM, Kalle Korhonen
kalle.o.korho...@gmail.com wrote:
When in doubt, let's ask the community: would you object to requiring
JRE 1.6 for running Tapestry 5.4? So far, T5 has run
you have to add exclusions to your tapestry-hibernate dependency
g,
kris
On Fri, Apr 27, 2012 at 10:19 AM, Chris Mylonas ch...@opencsta.org wrote:
i think tapestry-hibernate pulls in hibernate jars, so you can remove it from
your pom
doing it how you've done is how to break it
On
can you post your exception?
On Fri, Apr 27, 2012 at 10:45 AM, netdawg net.d...@yahoo.com wrote:
Neither did this work...
dependency
groupIdorg.apache.tapestry/groupId
artifactIdtapestry-hibernate/artifactId
version${tapestry-release-version}/version
open the pom.xml of your main application in the eclipse pom editor
and switch to the dependency tab. there you can see all the direct and
transitive dependencies. and do a clean install of all your modules..
or parent project.
On Fri, Apr 27, 2012 at 11:03 AM, netdawg net.d...@yahoo.com wrote:
Hi,
i have a loop in my page that renders some rows whereas each row is
a zone component. Each row represents some special data type that has
different properties when edited. Because i don't know in advance how
many data types will be supported (and i want to stay as flexible as
possible) i just
minimal NPEs, just like the above case.
regards
Taha
On Thu, Jun 9, 2011 at 10:36 AM, kristian marinkovic
kristian.marinko...@gmail.com wrote:
Constructor injection does not work on pages, components and mixins.
Works
only on services.
G,
Kris
Am 2011 6 9 01:49 schrieb ael alan-lua
Hi,
Which inject annotation are you using? Chances are that you use the javax
annotation that will be supported in 5.3
G, Kris
Am 2011 6 8 08:06 schrieb ael alan-lua...@dash.com.ph:
did you configure AuthenticationDAOHibernate as Tapestry Service (bind via
bind method or build method)?
On Wed, Jun 8, 2011 at 8:35 AM, ael alan-lua...@dash.com.ph wrote:
No, i did not use javax.
Its
import org.apache.tapestry5.ioc.annotations.Inject;
--
View this message in context:
Constructor injection does not work on pages, components and mixins. Works
only on services.
G,
Kris
Am 2011 6 9 01:49 schrieb ael alan-lua...@dash.com.ph:
I always make life complicated.
Well just inject the DAO within pages. problem solved.
But still i want to make my page class neat though.
Hi,
i'm taking a deep dive into plastic and came across a behavior i cannot explain.
If i create a ClassInstantiator from a PlasticManager that was created
with the transformers and packages in the constructor, i get the
PlasticClass in my transformer where i can e.g. assert that the class
under
Hi Peter,
we do have the same problem here.
there are two solutions we use to circumvent this problem:
1) keep your modules (projects) closed; Tapestry 5.2 will only create
proxies for services without a interface only if it can find the class
file in the local filesytem (not in jar file)
Declaring all possible values as parameters leads to high coupling. Just
imagine declaring the parameters in a hierarchy of 5 components just to
have it.
I'd use Environmental services to pass data between different component
hierarchies. You can also apply the MVC pattern: create a service
the persisted value as the environment does not contain
the
context...
What i was asking is, whether what I am doing is the way to go or there is
any other alternative.
regards
Taha
On Tue, Apr 12, 2011 at 3:47 PM, Kristian Marinkovic
kristian.marinko...@porscheinformatik.at wrote
@SessionState/@Property only works in Pages, Components and Mixins.
To access session state objects in your services you need to inject the
ApplicationStateManager
g,
kris
Von:robnangle robnan...@gmail.com
An: users@tapestry.apache.org
Datum: 15.03.2011 12:28
Betreff:Session
just declare it in your constructor and create your service with tapestry
ioc.
take a look at the tapestry ioc documentation to see how injection works
g,
kris
Von:robnangle robnan...@gmail.com
An: users@tapestry.apache.org
Datum: 15.03.2011 12:49
Betreff:Re: Session State
where is your connection (field conn) set?
Von:robnangle robnan...@gmail.com
An: users@tapestry.apache.org
Datum: 01.03.2011 13:53
Betreff:Re: org.apache.tapestry5.runtime.ComponentEventException
Yes stupidly I forgot to set the connection but the errors remain. The
override the toString() implementation of your user entity... you can use
apache-commons ToStringBuilder.
Von:robnangle robnan...@gmail.com
An: users@tapestry.apache.org
Datum: 01.03.2011 15:44
Betreff:RE: org.apache.tapestry5.runtime.ComponentEventException
Im probably
we've written an own listener (you can create a filter as well) that
starts tapestry. this listener saves the registry in the servlet context
so another serlvet listener can then access it. we use it in a
HttpSessionListener to clear lock if the user session expires.
g,
kris
Von:
@tapestry.apache.org, Kristian
Marinkovic kristian.marinko...@porscheinformatik.at
Datum: 23.02.2011 12:15
Betreff:Re: Hello,Can anyone tell how to use servlet session
Listener with tapestry IoC services ?
On Wed, 23 Feb 2011 06:18:24 -0300, Kristian Marinkovic
kristian.marinko
Pages usually don't have parameters. Components do!
g,
kris
Von:m!g gagau...@gmail.com
An: users@tapestry.apache.org
Datum: 07.02.2011 15:38
Betreff:Tapestry 5 error Caused by: java.lang.RuntimeException:
Literal values are not updateable
Hi everyone.
Here is a simple
there are two question that pop up in my mind:
1. has your Module been loaded?
2. is there another override of the ValidationMessagesSource
g,
kris
Von:Igor Drobiazko igor.drobia...@gmail.com
An: Tapestry users users@tapestry.apache.org
Datum: 02.02.2011 11:27
Betreff:Re:
read that this type of contribution is going to be deprecated on
5.3 I didn't try that way yet.
hope I was clear,
thanks as usual...
Nicolás.-
On Thu, Jan 20, 2011 at 9:01 AM, Kristian Marinkovic
kristian.marinko...@porscheinformatik.at wrote:
hi nicloas,
you could use a builder method
hi nicloas,
you could use a builder method to decouple tapestry ioc from 3rd party
libraries/constructors
public SomethingManager buildSomethinManager(Map map, ...)
{
return new SomethingManger(map, ... );
}
public void contributeSomethingManager(MappedConfiguration map)
{}
g,
kris
Use a EventLink instead and define a custom event.
@Component(parameters= {event=menu, context=menuContext}
private EventLink link;
somewhere else (a parent component):
onMenu()
{}
The t:ids within a component/page have to be unique.
g,
kris
Von:Richard Hill r...@su3analytics.com
.
Cheers
-Original Message-
From: Kristian Marinkovic kristian.marinko...@porscheinformatik.at
Reply-to: Tapestry users users@tapestry.apache.org
To: Tapestry users users@tapestry.apache.org
Subject: Re: Actionlinks with the same t:id
Date: Mon, 6 Dec 2010 12:22:38 +0100
Use a EventLink
i guess it is about the dynamically generated id of the html element ...
the component should implement the interface ClientElement.
If it does you can call the method getClientId to obtain the id that is
used in the generated html.
g,
kris
Von:Everton Agner ton.ag...@gmail.com
An:
Hi Jens,
the contribute methods are used for configuration... therefore there are
only executed once on startup (... or on lazy load)
once your dispatcher is in place only your dispatcher will be called.
please re-read the tapestry-ioc documentation.
g,
kris
Von:Jens Reufsteck
move your DisplayContentItemStyle to a package that is not within a pages,
components or mixins package. eg. services
T5 loads all classes in the before mentioned packages for enhancement with
another classloader. that's why your class (enum) cant be found.
g,
kris
Von:Christian Koller
Exception
Thank you very much.
On 11.10.2010, at 12:42, Kristian Marinkovic wrote:
move your DisplayContentItemStyle to a package that is not within a
pages,
components or mixins package. eg. services
T5 loads all classes in the before mentioned packages for enhancement
with
another
hi omar,
this is not as horrible as it sounds ... testing gets a lot easier
i have a fairly big T5 application with many modules. within this
application i have many master - detail views where the detail view
depends on the type of object within the master list and those types can
be
you can't redirect from a SessionListener as it is called by the servlet
container and does not involve any user interaction.
provide a Dispatcher that checks whether your AppModule.USER_LOGGED_IN
attribute is available from the current HttpSession; if it is not redirect
the current request
you'd have to implement a HttpServletRequestFilter or better a Dispatcher
that analyzes the http headers and redirects to other pages or sets some
global state that is used during page rendering. A Dispatcher is more
convenient as you can use all the tapestry services and don't have to use
the
hi lutz,
the use of the 'post' method for the form is hardcoded. the easiest way to
change this is to have some client-side script that rewrites the method
attribute to 'get'. an alternative you could have a heartbeat that
rewrites the generated HTML server-side (take a look at the Label
hi fanzhen,
try following instead:
input type=checkbox name=audit value=0 checked=${audit0} /aaa
this will work; and if your adit0 returns null the attribute wont get
rendered.
i'd recommend to use the T5 checkbox component nevertheless.
g,
kris
Von:Fanzhen fanzhen.m...@hotmail.com
hi,
i use a (JaxWS)HttpServletRequestFilter service to intercept WS calls to
my application. it will only intercept calls that have the url pattern of
the provided WS that can be configured. and i'm using metro too. we
switched from cxf to metro because it was easier to work with jaxb-binding
correct... create a block with multiple coponents
g,
kris
Von:matt22 s...@zoznam.sk
An: users@tapestry.apache.org
Datum: 08.07.2010 07:15
Betreff:Multiple Components in t:delegate ...
Hi,
Is it possible to render list of component in delegate?
t:delegate to=list of
tapestry does not support dynamic component creation... for good reason
please search the user list for static structure, dynamic behaviour to
get more
information on that.
g,
kris
Von:matt22 s...@zoznam.sk
An: users@tapestry.apache.org
Datum: 08.07.2010 15:39
Betreff:Re:
Hi Christian,
Advices have been introduced in 5.1 to replace decorators.
please see:
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
the 5.2-SNAPSHOT documentation does not state that decorators are
not supported anymore. the last time i was playing with 5.2 (some weeks
ago)
hi,
there was a issue that already has been fixed:
https://issues.apache.org/jira/browse/TAP5-839
g,
kris
Von:Thiago H. de Paula Figueiredo thiag...@gmail.com
An: Tapestry users users@tapestry.apache.org
Datum: 25.05.2010 15:06
Betreff:Re: [Taspetry IoC] Using Tapestry IoC
hi markus,
contribute a HibernateConfigurer to the HibernateSessionSource
that adds a (Hibernate) PostLoadEventListner. This listener then
uses a InjectorService to inject services into entities... maybe with
some
javassist magic :)
g,
kris
Von:Markus Feindler markus.feind...@gmx.de
hi thomas,
tapestry 5 follows the static structure, dynamic behaviour philoshophy.
essentially this means that you cant use a component that is not declared
anywhere. in your case i'd create a block with the component inside and
display this block if necessary.
please see the mailing list for
hi Robin,
maybe the thread http://markmail.org/message/gwnq5npogomlk6ae helps.
the common answer in this cases is to use/favour composition over
inheritance
maybe it is a bug afterall; i almost never use component inheritance in my
T5 projects
g,
kris
Von:Robin Komiwes
Hi,
T5 is a completley different technology and does not use JSP to render its
view.
You could create a JSP tag library that uses T5 to return HTML snippets
(using
a StreamResponse) but i don't see any reason to do so. why would you want
to
create JSP tags using T5 anyway?
if you have to
hi sandeep,
the reason to do so is to have prettier URLs.
When developing an application you tend to
group your pages into logical packages. lets
assume your application is able to change
Customer and Address objects. So you'll have
a bunch of pages in the respective packages.
Its very common
hi Sandeep,
you're right this solution does not work in any circumstances.
but when you learn a new framework you'll have to live with
its features :)
if i recall correctly there have been several suggestions
on the mailing list to make this feature configurable. i don't
know what the current
hi massimo,
i had a similar problem a while back.
i solved this problem by letting the long running thread
log its current state and failures into a db table (you could
also use a service and store it in memory). all the view
needs to know is the job id to query the correct state and
display
there is a external tapestry-portlet module/library that you can use
to integrate with portlets:
http://code.google.com/p/tapestry5portlet/
g,
kris
Von:mcmouli mcmbl...@gmail.com
An: users@tapestry.apache.org
Datum: 02.05.2010 19:28
Betreff:How to integrate Tapestry
great news.. thank you very much for the hard work!
g,
kris
Von:Robin Komiwes robin.komi...@gmail.com
An: Tapestry users users@tapestry.apache.org
Datum: 28.04.2010 11:54
Betreff:[Announce] Tapestry5 jQuery integration and
Tapestry5-ClientResources
Gesendet von:
it took me some time to realize you're using Tapestry 4
please add the version number next time.
there are basically two simple ways to influence the session expiration:
1) change the timeout in your web.xml
session-config
session-timeout10/session-timeout
you have to obtain your messages object from ValidationMessagesSource
g,
kris
Von:Stephan Windmüller stephan.windmuel...@cs.tu-dortmund.de
An: users@tapestry.apache.org
Datum: 16.04.2010 11:29
Betreff:Getting default validation messages from Messages service
Hello!
Since
i guess you're missing the Tapestry-Module-Classes entry in your
META-INF/manifest.mf file
see also: http://tapestry.apache.org/tapestry5/tapestry-ioc/autoload.html
g,
kris
Von:董和平 donghp1...@gmail.com
An: Tapestry users users@tapestry.apache.org
Datum: 15.04.2010 02:56
Betreff:
package return nothing!
Did anyone has such problem?
--
From: Kristian Marinkovic kristian.marinko...@porsche.co.at
Sent: Thursday, April 15, 2010 2:26 PM
To: Tapestry users users@tapestry.apache.org
Subject: Antwort: Why SubModule exported
hi pierce,
don't you have the same problem if you
put 10 eventlinks on your page. how do you
distinguish them? either you have 10 different
event links onEventFromC1() or you use the
context onEvent(String id)... or onEvent(AlmostAnyObject obj)
having a loop rendering the 10 eventlinks is
more
hi everton,
if you really can't add the RevisionListener programmatically, define a
public
static field in your listener using the service type, eg. UserInformation.
then define a eagerload service that has the UserInformation injected and
set the
public static field in your RevisionListener:
when using tapestry-hibernate you can contribute your own
HibernateConfigurer which has access to the Hibernate Configuration.
then you can add an EventListener, build by Tapestry IOC, to the
configuration.
i guess you'll have to do it akin.
or (not a clean solution) you set the tapestry ioc
:)
- Everton
De: Kristian Marinkovic kristian.marinko...@porsche.co.at
Para: Tapestry users users@tapestry.apache.org
Enviadas: Terça-feira, 6 de Abril de 2010 9:38:48
Assunto: Res: [T5.1] Can I manually use the IoC container to obtain
Objects?
when using tapestry
users users@tapestry.apache.org
Datum: 30.03.2010 17:15
Betreff:Re: LinkSubmit with Context?
On Mar 30, 2010, at 12:46 AM, Kristian Marinkovic wrote:
if you have multiple linksubmit components you can distinguish them
by adding onSelectedFromSubmit1() or onSelectedFromSubmit2
with Context?
2010/3/31 Kristian Marinkovic kristian.marinko...@porsche.co.at
hi pierce,
there was already the jira issue
https://issues.apache.org/jira/browse/TAP5-532
that was closed as duplicat of
https://issues.apache.org/jira/browse/TAP5-194
which was not correct.
maybe we should reopen
if you have multiple linksubmit components you can distinguish them
by adding onSelectedFromSubmit1() or onSelectedFromSubmit2()
action handler.
the linksubmit component does not support a context parameter out of
the box. if you really need it you have to create your own component.
all you need
hi peter,
i don't understand your problem entirely...
but have you considered using a EventLink
component instead of generating the link
manually. then you can easily attach a mixin
that renders some javascript using the
PagerRender service.
or do you mean a a attribute by saying link
- Original Message -
From: Kristian Marinkovic kristian.marinko...@porsche.co.at
To: Tapestry users users@tapestry.apache.org
Sent: Tuesday, 30 March, 2010 13:02:51 GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: Re: Generated links in a loop
hi peter,
i don't understand your
hi Robin,
imagine you have 2 overrides. which one is the correct one.
it will processed in the order the module classes are loaded.
and the order is not defined, it depends on the jvm, the os, the
file system,
i guess you get the problem :)
g,
kris
Robin Komiwes odiss...@gmail.com
1 - 100 of 483 matches
Mail list logo