efortlessly via AppModule.bind
I havent got much time to write you more ...
but try it out a bit, it works like a charm
Davor Hrg
On 9/9/07, Angelo Chen [EMAIL PROTECTED] wrote:
Hi,
I searched the list to find a simple tutorial for Tapestry-hibernate, but
couldn't find any, some quite simple
://wiki.apache.org/tapestry/Tapestry5HowTos
Davor Hrg
On 9/9/07, Marcus Schmidke [EMAIL PROTECTED] wrote:
I accidentally found this thread and also tried to get Hibernate
integration running.
Basically, it runs, but I still know too few about Tapestry basics.
@Inject works fine for page components
Select component doesn't support multiple values at the moment.
it handles form submission by calling _request.getParameter(elementName);
which returns only first value.
Davor Hrg
On 9/5/07, Sean McCarthy [EMAIL PROTECTED] wrote:
Does anyone have a simple example on how to get the selected
PropertyAccess service into your
page
to supply it to this SelectModel implementation which is from my point of
view more than user should know about tapestry for doing such a simple task
(of course if example @inject is provided in the doc for the model ... thna
it's ok I guess...)
Davor Hrg
On 9/5/07
http://handyedit.com/handytapestry.html
On 9/5/07, #Cyrille37# [EMAIL PROTECTED] wrote:
Alexei Orishchenko a écrit :
The Flash demos are available:
- create component with HandyTapestry (create and edit its class and
template)
- HandyTapestry configuration
The plugin update includes
later on in development
Davor Hrg
On 9/5/07, Marcelo lotif [EMAIL PROTECTED] wrote:
ok! thanks! works fine, i will update the wiki
2007/8/31, Davor Hrg [EMAIL PROTECTED]:
If you like digging into tapestry I suggest you start
by removing beanutils dependancy and adding:
@Inject
oh,
I see you've already changed wiki and linked the pages,
we could discuss this issue further... and write up an enhancement request
ticket.
Davor Hrg
On 9/5/07, Davor Hrg [EMAIL PROTECTED] wrote:
I've created a simpler version, this is as simple as I could make it
without requiring
request).
However, in this case I suggest you increment and record version for your
css,
then modify your code to include version number in the css url. This way
you'll
have both caching and immediate refresh of your css.
Davor Hrg
On 8/29/07, Daniel Jue [EMAIL PROTECTED] wrote:
[Background: I
;
}
}
---
On 8/29/07, Marcelo lotif [EMAIL PROTECTED] wrote:
Hi Davor,
Can you send it to me?
2007/8/29, Davor Hrg [EMAIL PROTECTED]:
thnx,
very nice example,
I've liked it and modified it to use Tapestry builtin service:
PropertyAccess
instead
thnx,
very nice example,
I've liked it and modified it to use Tapestry builtin service:
PropertyAccess
instead of beanutils. If you like I can update the wiki..
Davor Hrg
On 8/28/07, Marcelo lotif [EMAIL PROTECTED] wrote:
http://wiki.apache.org/tapestry/Tapestry5SelectObject
you can use subversion to get the 4.0 source
4x versions are under:
https://svn.apache.org/repos/asf/tapestry/tapestry4/branches
the version you ask for
https://svn.apache.org/repos/asf/tapestry/tapestry4/branches/4.0
you can use any svn client ...
On 8/20/07, bhomass [EMAIL PROTECTED] wrote:
do you want your service loaded for each thread,
and for each thread a new instance created ?
why do you need this ?
consider avoiding this ?
who creates the threads ?
Davor Hrg
On 8/19/07, Jun Tsai [EMAIL PROTECTED] wrote:
2007/8/19, Ben Tomasini [EMAIL PROTECTED]:
It seems to me
EagerLoad and PerThread just don't fit together,
you should move the code that needs to be eager loaded to another service.
and use it from your threaded service.
provide some more insight into your use case so we can assist you
concretely.
Davor Hrg
On 8/19/07, Ben Tomasini [EMAIL PROTECTED
please elaborate your use case a bit more,
maybe an alternative will be sufficient.
Davor Hrg
On 8/11/07, Thomas Beckmann [EMAIL PROTECTED] wrote:
Hi,
I'm looking for a way to access a component variable the same way as a
page
variable.
So for example when using a loop component I want
=product
a class=small_pic img src=${product.image} //a
/t:ProductLoop
One solution is to implement a setProduct() and getProduct() in every page
but
I'm looking for a solution that is independent of the page.
Thomas
Am Samstag, 11. August 2007 22:34 schrieb Davor Hrg:
please elaborate your
then..
you could for example submit the data to your page,
then pass data to desired page and let that page render instead.
I haven't used tapestry 4 for a while, so someone else could give
you more details about form handling or check the docs...
Davor Hrg
On 7/23/07, Nick Westgate [EMAIL
it may be usefull,
please check that you havent put your ASO class in components package
or pages package (those classes get enhanced and can cause class cast
exceptions)
Davor Hrg
On 7/16/07, bmg125 [EMAIL PROTECTED] wrote:
Otho did you ever find a solution to the the Class Cast Exception
Jun Tsai asked for a way to define array/list values directly in the
template.
this is not yet possible, but it seemed as simple task, so I wrote an
example
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix
Davor Hrg
or via
@Component annotation
the example on the docs shows it:
@Component(parameters={param=someValue, . . . }) @Mixin(Autocomplete)
private TextField _userId;
Davor Hrg
On 7/13/07, Dan Adams [EMAIL PROTECTED] wrote:
Yeah, my mixin has a required parameter but when I use it like this in
my
to massive applications consisting of hundreds of individual
pages, developed by large, diverse teams. Tapestry easily integrates with
any kind of backend, including JEE, HiveMind, Spring and Hibernate.
Davor Hrg
On 7/13/07, Fernando Bellas Permuy [EMAIL PROTECTED] wrote:
Hi,
I have been evaluating
handcoded the parameter into it.
if you look at that way, you'll realize that sometimes parameter names
will overlap. in that case prefix the parameter name with mixin name.
Davor Hrg
On 7/13/07, Tae Lerch [EMAIL PROTECTED] wrote:
There seems to be some confusion here? (The confusion could also
Davor Hrg
On 7/13/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
I think the behavior is correct and the documentation may be wrong.
If you don't have a body to render, I don't see when or why Tapestry
should fire the before/after render body phase events.
On 7/13/07, Dan Adams [EMAIL
Why wouldn't you want that ?
is it mixins what you realy need,
this is getting too abstract, could you
give a more precise example of what is it you are trying to acheive ?
Davor Hrg
On 7/13/07, Dan Adams [EMAIL PROTECTED] wrote:
Hmm. I didn't know that instance mixins behaved that way. What
I belive you can declare parameters in you mixin just as you would in a
component,
I haven't tried it yet, but if you hadn't, please read this page from
tapestry site:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html
Davor Hrg
On 7/12/07, Dan Adams [EMAIL PROTECTED] wrote
:28:28.390 INFO [SocketListener0-1] services.ServiceImpl.execute(
ServiceImpl.java:14) 54 -- Inside Service method --
11:28:28.390 INFO [SocketListener0-1] services.Interceptor.run(
Interceptor.java:26) 52 After delegate
Davor Hrg
On 7/11/07, Joshua Jackson [EMAIL PROTECTED] wrote:
I tried
:
param-nametapestry.app-package/param-name
param-valueorg.czarlylab.javashop/param-value
Davor Hrg
On 7/11/07, Sebastian Heyden [EMAIL PROTECTED] wrote:
additionaly i want to give you my hibernate.cfg.xml and the following
exception
hibernate-configuration
session-factory
property
the usage of LogingInterceptor you must
look at the source to see how it works)
example provided here is a simple interceptor without proxies or Javassist
Davor Hrg
Please give some more detail on what you are trying to acheive.
Ajax infrastructure is not yet defined(I thin so at least) for T5,
however, T5 already can do varios tasks very well, so do tell what are you
trying to acheive.
Davor Hrg
On 7/6/07, Matt Coatney [EMAIL PROTECTED] wrote:
Hello
I belive this is true for all autowiring while contributing TypeCoercer,
you must say explicitely what to inject since alias service is not yet
initialized,
and depends on TypeCoercer
Davor Hrg
On 7/9/07, Robert Binna [EMAIL PROTECTED] wrote:
Hi
I just changed between version T 5.0.4
I've put such example on Tapestry5HowtosPage
http://wiki.apache.org/tapestry/Tapestry5HowToCreatePieChartsInAPage
Davor Hrg
On 7/9/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
You don't make a link to a service, what you can do is create a link
to a component (including a pgae).
Here's
/Tapestry5HowToCreateASimpleGraphComponent
hope it helps someone :)
Davor Hrg
I've got little time so I did not try this,
I think this could work:
start with source from
org.apache.tapestry.corelib.components.ActionLink
change renderBody:
from
Link link = _resources.createActionLink(ACTION_EVENT, false,
contextArray);
writer.element(a, href, link, id,
guide to get to know the IOC part of the
framework,
and to get more familiar with creating services and dependancy injection.
Davor Hrg
On 6/13/07, Ben Tomasini [EMAIL PROTECTED] wrote:
I have a simple requirement to tranlsate a list of type A to a list of
type
B
I have a simple service
Why not use EagerLoad
it was in Hivemind, and it exists in T5 as well...
http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html
look for eager load
Davor Hrg
On 6/11/07, Otho [EMAIL PROTECTED] wrote:
Hi all!
I have the same problem [T5] of initializing the database at startup
you missed it just sligtly,
anotating your Impl works if you use bind
here, because you are constructing th Impl tapestry is not
checking out annotations on it.
you have to annotate you build Method
extract from doc:
---
Eager Loading Services
Services are normally
HibernateSessionManager being internal means you shouldn't be
managing it your self.
it's ok to :
@Inject private HibernateSessionManager _sessionmanager;
but creating it manualy is not a good solution,
keep just the inject and tapestry ioc will provide it for you,
Davor Hrg
On 6/6/07
first,
so it is expected that the property is reses because it is
a completely different request.
@Persist(flash) fits jus right here, since it persists data only
for request.
Davor Hrg
On 6/7/07, Martin Dietze [EMAIL PROTECTED] wrote:
Hi,
I want to load a page which displays a particular entry
,
ApplicationGlobals globals)
{
configuration.add(globals.getApplicationRootPackage() +
.entities);
}
Davor Hrg
On 6/7/07, Daniel Jue [EMAIL PROTECTED] wrote:
Thanks Davor,
I got it working, although it seems to require a
myentity.hbm.xml, specified via
I found it easier to download trunk and build it,
I also disabled tests while mvn install to make it faster.
On 6/4/07, Daniel Jue [EMAIL PROTECTED] wrote:
Search the list for a thread called Shipwreck downloading 5.0.5.
Towards the end there are helpful comments. You may have to tweak the
anything but may be worth
trying.
Davor Hrg
On 6/1/07, Joshua Jackson [EMAIL PROTECTED] wrote:
I had a problem building it:
[INFO]
[ERROR] BUILD ERROR
[INFO
i belive howard is planning for a tighter integration of hibernate module
...
don't know is this doable easier since this approach requires a lot code,
I could make sth to handle all entities but here's something so you can play
and see the easynes of tapestry-ioc.
code is not perfect but worked
Optiongroup is a SELECT tag feature,
http://www.htmlhelp.com/reference/html40/forms/optgroup.html
Davor Hrg
On 5/29/07, Daniel Jue [EMAIL PROTECTED] wrote:
Great Howard! Extending the abstract worked fine, and the last
explanation helped me grasp the usage.
I've never dealt with option
to get started, you could use tapestry quickstart first,
and then try to build a small app using tapestry-ioc and tapestry-hibernate
only
Davor Hrg
On 5/28/07, Joshua Jackson [EMAIL PROTECTED] wrote:
Davor and Howard,
Thanks for the reply. I have went over through the tapestry-ioc docs
supported directly):
declare:
@Inject
private final RequestGlobals requestGlobals;
then before returning the Stream response
requestGlobals.getHTTPServletResponse().addHeader(Content-Disposition,attachment;
filename=+fileName);
Davor Hrg
On 5/27/07, xVik [EMAIL PROTECTED] wrote:
i
it shouldn't be too hard to do it just from docs...
start with these two sections in tapestry ioc:
http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html
http://tapestry.apache.org/tapestry5/tapestry-ioc/run.html
go throuh the rest of the doc after that
Hrg
On 5/26/07, Joshua
I tried it but had trouble with getting 5.0.5-SNAPSHOT in my pom...
what is correct url for repository with tapestry snapshots now ?
Hrg
On 5/24/07, Nick Westgate [EMAIL PROTECTED] wrote:
Hi Chris.
Refer to this HowTo I just threw on the wiki:
.
Question for Howard:
With the current expirience with reloading page classes,
what is a possibility for any of the commiters to implement
a similar feature back to T4 ?
is it: Hard, possible or impossible to implement ?
Davor Hrg
On 5/15/07, Inge Solvoll [EMAIL PROTECTED] wrote:
Thanks anyway, Matt
back to
T4 ?
is it: Hard, possible or impossible to implement ?
Davor Hrg
On 5/15/07, Inge Solvoll [EMAIL PROTECTED] wrote:
Thanks anyway, Matt!
I've done some experimenting, what actually works (most of the time)
is to recompile a class without structural changes. If you change a
method name
I may be way off track, but adding recursive component support to print out
a menu or a tree
seems like a big overkill.
I have some hazy idea how this should be implemented:
in both cases we have a model with all the data we need,
a way to reuse single component (ActionLink) which would
great stuff,
thnx :)
On 4/30/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:
A couple new things have been added, which people may/may not be aware of.
-) Josh Long contributed a new maven2 archetype to help get people up and
running with typical configurations like Spring / Jetty / etc in a
that's a nice and clean approach for simple services,
less code...
but builder methods should have access to auto-wiring also,
...
Davor Hrg
On 4/13/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
Yep, I'm in the middle of changes where you'll be able to specify a
class as a service and T5 IoC
)
the problem lies in the fact that if I add another dependancy:
- create field
- create setter
this was enough in hivemind, but in tapestry-ioc
I have to change the build method:
- add an extra parameter
- call the setter
any thoughts on this ?
any plans ?
Davor Hrg
none of those options worked for me in T5,
nor template text nor text from database
(text from database displays correctly in the console)
Davor Hrg
On 3/19/07, Istvan Szucs [EMAIL PROTECTED] wrote:
Deploy mavenized project:
1. pom.xml: packagingwar/packaging
2. command prompt: mvn deploy
3
they are removed and replaced by conventions,
most of the code will work if you just remove the lines...
contribute method must be named:
contributeClassNameWithoutPackage
that's af far as I can tell you, others have more insight in this change
cheers.
Davor Hrg
On 3/18/07, sun58224
just
fine
Davor Hrg
On 3/14/07, Kovács István [EMAIL PROTECTED] wrote:
Hi,
I've tried the hilo example given in the Tapestry5 tutorial (which
is also the first time I used Maven). The build failed:
mvn.bat archetype:create
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
, TypeCoercer,
URLEncoder, UpdateListenerHub, ValidationConstraintGenerator,
ValidationMessagesSource.
is SNAPSHOT currently in a phase where I should wait a bit to try these
things ?
or it should be working and I'm doing sth wrong (if so I'll send more
details).
Davor Hrg
change is work in progressso waiting for it to
be finished ...
Davor Hrg
On 3/10/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
So ... you got some test failures. There may be a few lurking bugs
related to either locale (a smattering of tests assume a en_US locale)
or line terminators
I simply removed the lines with those two annd hilo test app seems to work
just fine...
maybe some insight on how will these configurations work without @Contribute
annotations?
Davor Hrg
On 3/11/07, Davor Hrg [EMAIL PROTECTED] wrote:
I did many thins meanwhile,
reinstalled java
removed
/11/07, Davor Hrg [EMAIL PROTECTED] wrote:
I simply removed the lines with those two annd hilo test app seems to
work
just fine...
maybe some insight on how will these configurations work without
@Contribute
annotations?
Davor Hrg
On 3/11/07, Davor Hrg [EMAIL PROTECTED] wrote:
I did
in a real project time and effort needed to do different stuff.
Anyhow, the real question is:
I'd like to use snapshot versions to be up2date with development of the
framework.
do I:
1. get source from repository,
2. setup my pom somehow to get latest snapshots
?
Davor Hrg
i tried it with:
maven 2.0.4 nad 2.0.5
the same rror happens when running the mnv install from tapestry-project
:(
Davor Hrg
On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:
suiteXmlFiles is declared in the parent pom (tapestry-project/pom.xml), so
this error is reasonable because tapestry
.jar now with version 5.0.3-SNAPHOT. Make your
project
use this version and you will be using the latest code from svn.
On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
hi,
I have a small project I'd like to use to test t5,
the project is being written in php, but I'd like to develop it in
paralel
here is what it outputs with testng added to tapestry-component-report,
tapestry-core, tapestry-project
adding testng dependency may be cause of the last error if it counts no
tests present as fail
On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
when I add testng dependancy to all failng
\pom.xml to
C:\Documents and Settings\Davor
Hrg\.m2\repository\org\apache\tapestry\tapestry-pr
oject\5.0.3-SNAPSHOT\tapestry-project-5.0.3-SNAPSHOT.pom
[INFO]
[INFO] Building Tapestry Test Utilities
[INFO]task-segment
Spring integration exists already, so you can use spring for parts that you
mean to cluster.
we are curently playing with DSO in our hivemind based server.
hivemind is not affected because we cluster only the work queue.
Davor Hrg
On 1/3/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:
Sure
try
body onbeforeunload= ...
instead
On 1/3/07, sunilmanu [EMAIL PROTECTED] wrote:
Hi everyone,
In my tapestry application I am opening a Child window from parent window
and on closing the child window I need to set some hidden values on Parent
page and refresh the parent page.
I have this
.
I come from php background when speaking of webapps (low price of web
hosting for php/mysql)
so there are definitely collisions with my patterns from the past exp ...
On 10/19/06, James Carman [EMAIL PROTECTED] wrote:
Why didn't a URL mapping of /* hide everything?
On 10/18/06, Davor Hrg
it is really so impossible to use the T5 approach to reloading pages
classes
(if not automatically, at least through RestartService).
Davor Hrg
-class-packages/param-name
param-valuehr.hrg.ponpon/param-value
/init-param
but no effect
Davor Hrg
value=hr.hrg.ponpon
/
meta key=org.apache.tapestry.component-class-packages value=
hr.hrg.ponpon/
/application
On 10/18/06, Dennis Sinelnikov [EMAIL PROTECTED] wrote:
Try '.' instead of '/'
meta key=org.apache.tapestry.page-class-packagesvalue=hr.hrg.ponpon/
Dennis
Davor Hrg wrote
be
trimming the string first), but that might be your problem.
-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 8:55 AM
To: Tapestry users
Subject: Re: T4.1 problem
nope,
I must be doing something very wrong,
just tried it in T4.0 and it also doesn't
at the end of your page-class-packages setting
in
your .application file? I don't know if that matters (Tapestry may be
trimming the string first), but that might be your problem.
-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 8:55 AM
meta
key=org.apache.tapestry.component-class-packageshr.hrg.ponpon/meta
/application
Denis
-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 18 de outubro de 2006 10:55
To: Tapestry users
Subject: Re: T4.1 problem
nope,
I must be doing something very wrong
sorry for spamming the list ...
I used in home .java
@InjectMeta(org.apache.tapestry.page-class-packages)
public abstract String getTest();
then I put in the template
|span jwcid=@Insert value=ognl:test/|
and got out:
|hr.hrg.ponpon|
On 10/18/06, Davor Hrg [EMAIL PROTECTED] wrote:
I
inside your
context directory right alongside the WEB-INF directory.
Unfortunately, in Tapestry, you can't configure the directory where you
place your .html files (at least not in an easy way).
Denis
-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 18 de
the source of it can be downloaded via url
Davor Hrg
On 10/18/06, James Carman [EMAIL PROTECTED] wrote:
I don't think that makes a difference. Here's my .application file (with
package names changed to protect the innocent):
!DOCTYPE application PUBLIC
-//Apache Software Foundation
if Home.html is in WEB-INF, tapestry doesn't connect with the class,
if Home.html is in context, tapestry connects it with the class, but .html
source
is downloadable by entering http://localhost:8000/ponpon/Home.html
:(:(:(
Davor Hrg
?xml version=1.0?
web-app xmlns=http://java.sun.com/xml
this is not a tapestry issue,
you cann not access via javascript frames that are not from same domain,
try it with a static html page and same error will occur
Davor Hrg
On 9/18/06, Marcus Irven [EMAIL PROTECTED] wrote:
I'm trying to update to tapestry 4.1 but am running into a problem
when
301 - 378 of 378 matches
Mail list logo