for tapestry services just define "Logger logger" as constructor parameter..
Davor Hrg
On Jan 8, 2008 9:22 AM, Steph <[EMAIL PROTECTED]> wrote:
> How do you get your logger in your code ?
> The injection
> @Inject
> private Logger log;
> is only useabl
5.0.8-SNAPSHOT has new var: binding prefix
but it is only for simple values, without expression evaluation.
for example to display loop index.
Davor Hrg
On Jan 10, 2008 2:52 PM, <[EMAIL PROTECTED]> wrote:
>
> Things are kind of slow here at the office, so I'm taking advan
HibernateSessionManager
On Jan 11, 2008 11:51 AM, Massimo Lusetti <[EMAIL PROTECTED]> wrote:
> On Jan 11, 2008 10:00 AM, osamuo <[EMAIL PROTECTED]> wrote:
>
> >
> > Hi,
> >
> > I have noticed that the tapestry-hibernate commits the current transaction
> > even after an exception occurs.
> >
> > I
just reverse where you write the ","
instead of checking if last and putting comma behind
check if first and put comma in front
Davor Hrg
On Jan 12, 2008 11:04 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> So this ticket has been implemented in svn:
> https://issues.
Is there to set date format globaly ?
or at least for BeanEditor ?
Davor Hrg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
setId(T id);
to ISimpleDesc interface to have setter available.
or persist the id separately and not try to modify the id.
Davor Hrg
On Jan 15, 2008 8:59 AM, Foror <[EMAIL PROTECTED]> wrote:
> In the project there is a following:
>
> public interface ISimpDesc {
>public g
Very nice :)
user_id: created_by, modified_by can also be added this way :)
Davor Hrg
On Jan 19, 2008 8:09 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Hello all.
>
> I'm writing to share a link to a wiki I just posted about getting some
> auto-magic behavior for entities
Actualy it's no problem replacing tapestry-hibernate if
The session is your only concern.
You may depend also on HibernateSessionManager and
have contributions for extra entity packages.
Davor Hrg
On Jan 21, 2008 1:26 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Regarding hibe
configuration that needs reload create your own services to provide it.
Tapestry is about static structure and dynamic behaviour, so if you can
keep the static structure ... no need for reload.
these are just some ideas...
Davor Hrg
On Jan 21, 2008 7:13 PM, Franz Amador <[EMAIL PROTECTED]>
have you tried using a hibernate interceptor ?
On Jan 21, 2008 8:26 PM, Franz Amador <[EMAIL PROTECTED]> wrote:
> Are there any plans for a way to inject services into domain objects, i.e.
> entities created by Hibernate? For example, my domain objects have some
> fairly complex business logic
Class cast exceptions happen
if you have non component classes inside components or pages packages...
post some code and say what packages are those classes in...
Davor Hrg
On Jan 23, 2008 10:12 AM, riccaruf
<[EMAIL PROTECTED]> wrote:
>
> Hi Dave thank you very mutch for your reply!
oader... and problems like
this can happen pretty easily...
Davor Hrg
On Jan 23, 2008 1:33 PM, riccaruf <[EMAIL PROTECTED]> wrote:
>
> Hi Davor,
> we are developing an application with our own component,
> and we are trying to validate a textfield like embedded component of our
&
sure that you call ThreadCleanupHub after thread finishes it's work
so tapestry can free the resources.
Davor Hrg
On Jan 24, 2008 10:45 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a service which does some file download that takes quite long, I'd
&g
hm.. I'm not following you ...
you say you download sth ...
does your service download sth from some server to yourown
or is browser downloading from your server ...
could you say more about your case ... some ceode mybe ...
Davor Hrg
On Jan 25, 2008 11:08 AM, Angelo Chen <[EMAIL P
();
}
after this you have to bind this task to the your ASO
so you can access it and display progress on the page ...
these are just pointers ... the rest is on you :):)
Davor Hrg
On Jan 26, 2008 1:01 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi Davor,
>
> getAll is not async,
are you sure
fileService.getAll();
is async and returns immediately ?
Davor Hrg
On Jan 25, 2008 4:36 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi Davor,
>
> the service downloads files from remote server which takes quite long time,
> the code is:
>
>
stom forms...
Davor Hrg
On Jan 25, 2008 7:07 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I know this has been talked about here and there but I still haven't
> seen a clear example or explanation of how to implement it. In general,
> my question is how can I proc
http://wiki.apache.org/tapestry/Tapestry5HowTos
On Jan 28, 2008 12:59 PM, yodla <[EMAIL PROTECTED]> wrote:
>
> hi all
> i wish to make a form to put data from it into database. let's say i have
> two classes:
> Student(with property:private String studentName)
> School(private String schoolName).
: "edit/3" and have validation errors ,and go to another page,
then return to "edit/3" validation errors are stil there, and last
submited data,
if you go to edit/4 errors are reset and new data from db loaded...
not that this suits everybody else, but is fine for me..
Davor Hrg
an however use @Meta annotation to change the persistence
strategy for the form.
Davor Hrg
On Jan 28, 2008 6:09 PM, Kalle Korhonen <[EMAIL PROTECTED]> wrote:
> Really important work Geoff, thanks. Which version are you using? I hope you
> go through the extra work to keep up with the
any threaded resources
from tapestry,
otherwise expect strange behavior and memory leaks.
Davor Hrg
On Jan 29, 2008 11:20 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> found solution, session.flush() at end of the thread, not needed if not in a
> thread, don't know why.
>
oh,
generics support is added in T5.0.10
and is a limited first impl...
(as generics are pretty hard to handle at runtime)
Davor Hrg
On Jan 29, 2008 3:15 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> cleanupRender is not a fix for flash persistence, it's more like
> replacemen
to convert string to "idClass" before calling session.get()
resets the form if cancel button is pressed or entityId changes
Davor Hrg
On Jan 29, 2008 2:48 PM, Geoff Callender
<[EMAIL PROTECTED]> wrote:
> Thanks for all the comments. They've been invaluable. Below is the
&g
right instance.
at the end of the new Thread's work, call cleanup()... and tapestry
will clear the resources
generaly speaking: make sure you dont share DB entities between those
threads since
the new thread will have a completely new hibernate session.
Davor Hrg
On Jan 30, 2008 2:16 AM, A
executes tasks in background,
the worker can use a single thread and call cleanup() after every task finishes.
You can then spawn more workers... etc...
Davor Hrg
On Jan 30, 2008 10:21 AM, Massimo Lusetti <[EMAIL PROTECTED]> wrote:
> On Jan 30, 2008 9:18 AM, Davor Hrg <[EMAIL PROTE
UserEdit extends GenericEdit
tapestry currently only handles the third case, and only for getters,
when for example:
class GenericEdit{
public T getEntity(){...}
}
Davor Hrg
On Jan 30, 2008 11:38 AM, Geoff Callender
<[EMAIL PROTECTED]> wrote:
> Good point, Davor. The way I'
it is most likely composed of png images,
all browsers but IE support semi transparent png's
but for ie backgound image filters must be used to make it work
Davor Hrg
On Jan 31, 2008 6:49 AM, Dapeng <[EMAIL PROTECTED]> wrote:
> the new bubble looks very cool
>
> but ...
if you already distinct Firefox and IE
than you can easily use png for IE too...
and for css backgrounds just replace
url(test.png)
with
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='test.png',
sizingMethod='scale')
Davor Hrg
On Jan 31, 2008 5:13 P
You could split the string
and do sth like this:
${part1}
${part2}
Inject ComponentResources
..
to get a message do this:
_resources.getMessages().get("key")
then split the string and implement
public String getPart1(){...}
public String getPart2(){...}
Davor Hrg
On Feb 1, 20
There are many frameworks...
you should use which one suits your need the best...
tapestry has a good community, and an active mailing list...
I'm not worried ...
Davor Hrg
On Feb 1, 2008 11:05 AM, Joachim Van der Auwera <[EMAIL PROTECTED]> wrote:
> Tapestyr users have so much
I've created a patch for submit component
https://issues.apache.org/jira/browse/TAPESTRY-2109
ior you can try this component (iti is a modified copy of original Submit)
public final class Submit2 extends AbstractField
{
static final String SELECTED_EVENT = "selected";
static final String
se I could restart a webapp inside tomcat
with an ant script,
now I use jetty launcher and it can bi done with JMX (I havent tried it yet)
If I get annoyed enough with hibernate startup again I'll do it for T5,
If you make it work pelase put it on the wiki :)
Davor Hrg
On Feb 4, 2008 9:2
HibernateSessionManager handles session for a request,
and does commit at the end.
if you want to have more than one commit you should not call it
directly on the injected session since it will confuse HibernateSessionManager.
Same goes for rollback.
Davor Hrg
On Feb 4, 2008 3:52 PM, Angelo
Actions target component so the id used.
when your component is rendered multiple times,
clientId changes and can be used as identifier.
if you want clientId in the action link, send is as context parameter.
Davor Hrg
On 2/4/08, Alexander Lamb <[EMAIL PROTECTED]> wrote:
> Well, gett
maybe it must be inside a form...
Davor Hrg
On Feb 4, 2008 2:36 PM, Alexander Lamb <[EMAIL PROTECTED]> wrote:
> No, it extends nothing. Actually, the TextField was put in the loop
> only to check I was not going crazy... to see the loop was indeed
> statefull, but not for my c
http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly
http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate
Davor Hrg
On Feb 5, 2008 11:00 PM, Hilco Wijbenga <[EMAIL PROTECTED]> wrote:
> I was wondering about using T5's IOC separately, i.e. in a non-T5 app
> (in fact, n
It's getting better and better :)
looking forward to the tutorial on how to do it for own components :)
Davor Hrg
On Feb 6, 2008 7:35 AM, Adam Ayres <[EMAIL PROTECTED]> wrote:
> I think the component reference guide is great! In the past I would use
> the component referen
ewis Ship <[EMAIL PROTECTED]> wrote:
> On my list, I think I even added an Issue that outlines the need for a
> full guide to creating your own components.
>
>
> On Feb 5, 2008 11:17 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> > It's getting better and better :)
&
Hi,
I've created a new example on the wiki
http://wiki.apache.org/tapestry/Tapestry5HibernateGridDatasource2
hope you'll like it :)
it is similar to
http://wiki.apache.org/tapestry/Tapestry5HibernateGridDatasource
any feedback is welcome :)
I dont know definitely on what the standard is (specialy because
browsers choose to implement them how ever they want)
but using same name for multiple inputs usualy means array
.. php recognizes this if input name edns with "[]"
Davor Hrg
On Feb 6, 2008 12:27 PM, Richard Hoberm
module methods can be both static and instance methods,
you choose ...
http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html
Davor Hrg
On 2/6/08, Hilco Wijbenga <[EMAIL PROTECTED]> wrote:
> On Feb 5, 2008 11:19 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> > h
your code looks ok,
is it possible that any of the alements is actualy null,
how does your java code look like
currentProduct
and getCurrentProduct ans setCurrentProduct
...
Davor Hrg
On Feb 6, 2008 5:43 PM, T. Papke <[EMAIL PROTECTED]> wrote:
> Hello,
>
> i want just to get th
No need to concern yourself too much about it...
use static or instace as you see fit.
speed difference is neglible...
Davor Hrg
On Feb 6, 2008 9:40 PM, Hilco Wijbenga <[EMAIL PROTECTED]> wrote:
> On Feb 6, 2008 11:32 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > ex
session.beginTransaction();
or manager will throws errors in the log
look at the source of the HibernateSessionManager,
things will be clearer then ...
> In this case session is taken from the manager, the latter is just acting
> like Hibernate's transaction, ri
you should call ThreadCleanupHub.cleanup() at the
each thread you spawn for your self, or tapestry threaded
resources will not get cleaned, and youl make a mem leak.
tapestry uses ThreadLocal to store threaded services like Session,
for example if any part of the code references session(calls a m
just added :
http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread
haven't tested it though :)
Davor Hrg
On Feb 7, 2008 11:51 AM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> you should call ThreadCleanupHub.cleanup() at the
> each thread you spawn for your self, or
Hi,
Ive made an example on how to run a task in a thread.
It is simple, I haven't even tested it :D yet
http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread
anyhow this is how I think i should be properly done
any comments are welcom :)
Davo
I'm debuggin an example like yours,
and although I called ThreadCleanupHub.cleanup()
the list of listeners is empty... and HibernateSessionManager is not in it
something is very wrong
Davor Hrg
On Feb 7, 2008 9:35 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> you did'nt say if
nager is a listener for that and calls commit then.
so your changes are writen to the database at the end,
not every time you modify something
or, am I missing sth ?
Davor Hrg
On Feb 7, 2008 4:42 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi Davor,
>
> Thanks for your Thre
this seems to be a JVM bug
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230
I tried it in Java 6 and code works just fine
I'll look into it,
an post a jira... also still trying to make a workarround for it
Davor Hrg
On Feb 8, 2008 1:29 AM, Angelo Chen <[EMAIL PROTECTED
uh,
oh,
it seems I've found a small workarround,
not a definitive fix, but the TreadSource works with it..
the wiki is updated
http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread
Davor Hrg
On Feb 8, 2008 12:45 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> this seems t
You have to be aware:
@Inject is intended for pages, components...
and if your option model is a service
then you have to inject services by declaring it in the constructor.
Davor Hrg
On 2/10/08, Olivier Jacquet <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> I'm trying to b
TROLL !!
On Feb 11, 2008 4:24 PM, Emmanuel Sowah <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Is it me, or you too have noticed an active participation of Howard in the
> answering of questions here on the list in recent
> times?
> In the past when Tapestry was popular his ego and pompous attitude ma
TROLL !!
On Feb 11, 2008 4:41 PM, Udora <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Is it me, or you too have noticed an active participation of Howard in the
> answering of questions here on the list in recent
> times?
> In the past when Tapestry was popular his ego and pompous attitude made him
>
In case anyone is using ThreadCleanupHub,
it is removed in favor of PerthreadManager
this was done while fixing problems that bug in java's
ThreadLocal caused.
Davor Hrg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
this is now fixed for T5.0.11
I've updated wiki to reflect the change.
Davor Hrg
On Feb 8, 2008 2:55 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> uh,
> oh,
>
> it seems I've found a small workarround,
> not a definitive fix, but the TreadSource works with it..
&
the 5.09 version. the
> strange thing about this bug is, sometimes it works even without that work
> around, but just to be sure, I use the work around all the time, will try
> that 5.0.11 when it is released. thanks.
>
>
>
> Davor Hrg wrote:
> >
> > this is now fixe
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2
On Thu, Feb 14, 2008 at 6:32 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Here is what I use to check if a user has logged in :
>
> @ApplicationState
> private SessionData _user;
> private boolean _userExists;
>
> pub
> if (!_userExists) {
> // do something...
> }
>
>
> service:
> if (!asm.exists(SessionData.class)) {
> // do something...
>
> }
>
>
> Davor Hrg wrote:
> >
> > http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatc
template only then component type is read from
tag name or t:type.
tapestry probably should go back to template def if declared type is abstract,
or throw a more understandable error :)
Davor Hrg
On Thu, Feb 14, 2008 at 9:37 PM, Joachim Van der Auwera
<[EMAIL PROTECTED]> wrote:
> An
it is a text field after all,
and proposals are only to help reenter existing text.
Davor Hrg
On Fri, Feb 15, 2008 at 3:27 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Autocomplete returns a list of values that user can select, if I'd let the
> user type
"from Call").list();
return new ArrayList();
}
if you use grid,
I have something for it:
http://wiki.apache.org/tapestry/Tapestry5HibernateGridDatasource2
Davor Hrg
On Fri, Feb 15, 2008 at 8:47 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have se
I'm not following you here
autocomplete works as expected... at least by me :)
Davor Hrg
On Fri, Feb 15, 2008 at 8:44 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> yes, i just notice that i can enter text as long as that dropdown not yet
> display, this confuses us
bj);
after that you can inspect formObj from firebug console
and see what is it ...
Davor Hrg
On Fri, Feb 15, 2008 at 9:31 AM, Dapeng <[EMAIL PROTECTED]> wrote:
> so now i am using TinyMCE rich text editor
>
> there is a 'SAVE" plugin for TinyMCE
>
>
>
>
no problem
you have three classes:
id
t-first
t-last
you can target it:
.id.t-first.t-last
or to target both cases:
.id-header, .id.t-first.t-last { width:700px; background:lightgreen}
there is a comprehensive resource
http://www.w3.org/TR/REC-CSS2/selector.html
Davor Hrg
On Fri, Feb 15
bmit() != false)
formObj.submit();//form will be submitted directly so we
tested onsubmit manualy
Davor Hrg
On Fri, Feb 15, 2008 at 9:55 AM, Dapeng <[EMAIL PROTECTED]> wrote:
> juz use firebug debugger to stop at the
>
> formObj.submit()
>
> i found out that the f
yes,
datefield is changed to apache license compatible one,
it has no functions for date formatting,
you should use the source from old tapestry to create your own datefield
using the previous calendar js
Davor Hrg
On Fri, Feb 15, 2008 at 11:02 AM, Dapeng <[EMAIL PROTECTED]>
nal , than just adding the old
> DateField class?
> Thanks in advance for any replies..
>
>
>
> -Original Message-
> From: Davor Hrg [mailto:[EMAIL PROTECTED]
> Sent: 15 February 2008 10:31
> To: Tapestry users
> Subject: Re: T5.0.10 DateField comp
it's exactly that
On Feb 17, 2008 11:20 AM, Chris Poulsen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Could this be related to the introduction of production mode ?
>
> I had to add:
>
>
>
> tapestry.production-mode
>
you can add it as JVM parameter,
-Dtapestry.production-mode=false
On Feb 17, 2008 12:07 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Got the same issue, not using jetty, but tomcat, where could I add that
> production mode setting? thanks,
> a.c.
>
> Chris Poulsen wrote:
> >
> > Hi,
> >
it is a resolution of these issues
https://issues.apache.org/jira/browse/TAPESTRY-2053
https://issues.apache.org/jira/browse/TAPESTRY-1518
you have samples there
On Feb 17, 2008 12:55 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm looking at 5.0.10 new features, following are some t
on-mode=true?
>
>
> On 17/02/2008, at 10:47 PM, Geoff Callender wrote:
>
> > I like it - I think it's the right default. Just need to make sure
> > everyone's aware of it.
> >
> > Geoff
> >
> > On 17/02/2008, at 9:58 PM, Davor Hrg wrote:
> &
<[EMAIL PROTECTED]> wrote:
>
> Hi Davor,
>
> Looks good although I have no idea yet how to use this feature, thanks.
>
> A.C.
>
> Davor Hrg wrote:
> >
> > it is a resolution of these issues
> >
> > https://issues.apache.org/jira/browse/TAPESTRY-2053
&
yes :)
either that,
or pass the value to your ExceptionReporter
and have customized page for both dev and production :)
Davor Hrg
On Feb 17, 2008 2:49 PM, Geoff Callender
<[EMAIL PROTECTED]> wrote:
> So you're suggesting that I test the value of the system property
> tapestry.p
:)
of course...
but still this way it is implemented in base class,
and later with generics improvements, can be replaced with more elegant one :)
Davor Hrg
On Feb 17, 2008 10:05 PM, Thiago HP <[EMAIL PROTECTED]> wrote:
> On 2/17/08, Davor Hrg <[EMAIL PROTECTED]> wrote:
> >
...
there will definitely have to be a chapter on generics on the doc's
because some nice usage patterns can be acheived, but not without
being aware of the traps.
Davor Hrg
On Feb 17, 2008 9:35 PM, Thiago HP <[EMAIL PROTECTED]> wrote:
> Hi, everybody!
>
> This generics support in
the event type is intact,
but the source changes
onSubmitFromA
onSubmitFromB
onActionFromA
onActionFromB
On Feb 18, 2008 10:26 AM, Steph <[EMAIL PROTECTED]> wrote:
> Thanks Howard,
> But if my event from A is seen as "FromB" in component C, all events
> from components B are melted and one can'
please say more about your use case,
maybe a different approach can help :)
Davor Hrg
On Feb 18, 2008 10:47 AM, Steph <[EMAIL PROTECTED]> wrote:
> Thanks Davor for the explanation.
> I understand the event type is intact but can you confirm me that i
> can't make a distinc
date field format parameter is working for 5.0.9
however, changing to a apache license compatible calendar
made that parameter temporarily unavailable in 5.0.10
browse mailing list archives for format examples
On Feb 18, 2008 10:53 AM, Steph <[EMAIL PROTECTED]> wrote:
> How do we set the format o
> org.apache.tapestry.ioc.internal.RegistryImpl.(RegistryImpl.java:
> 174)
>
> Geoff
>
>
> On 18/02/2008, at 2:00 AM, Davor Hrg wrote:
>
> > yes :)
> >
> > either that,
> > or pass the value to your ExceptionReporter
> > and have customized page
maybe this :
DIV.t-beandisplay-row {
text-align: center;
color: black;
font-family: arial
}
On Feb 18, 2008 1:10 PM, LakshithaS <[EMAIL PROTECTED]> wrote:
>
> Dear All,
> Currently I'm developing a web application using tapestry 5 and wanna know
> some technical stuff about components.
automaticaly apply to the written code... but you can try out css
using firebug, and copy/paste final result back to your code.
Davor Hrg
On Feb 18, 2008 12:29 PM, <[EMAIL PROTECTED]> wrote:
> I have just had the idea of combining Firefox plugins with Eclipse plugins in
> order to increase
ionHandler
> is matched by 2 services: MyRequestExceptionHandler,
> RequestExceptionHandler. Automatic dependency resolution requires
> that exactly one service implement the interface.
>
>
>
>
> On 18/02/2008, at 9:51 PM, Davor Hrg wrote:
>
> > binder.bind(RequestExceptionHa
Alias,
http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html
or
decorate
http://wiki.apache.org/tapestry/Tapestry5HowToDecorateService
http://tapestry.apache.org/tapestry5/tapestry-ioc/decorator.html
Davor hrg
On Feb 18, 2008 2:34 PM, Geoff Callender
<[EMAIL PROTECTED]>
how much javascript is there for it to work?
could you print it raw directly into template ?
I'm very much interested in getting eclipse jump to error I click
on tapestry error page...
Davor Hrg
On Feb 18, 2008 2:43 PM, Andreas Andreou <[EMAIL PROTECTED]> wrote:
> I have this for
,components,base,mixins
you'll get the hang of it while using tapestry
Davor Hrg
On Feb 18, 2008 9:35 PM, ryanskow <[EMAIL PROTECTED]> wrote:
>
> Ok, this apparently is not the right way to do things...
>
> ryanskow wrote:
> >
> > @ApplictionState
> > priv
you can get it as symbol
contributeAliasOverrides(
@InjectService("MyRequestExceptionHandler")
RequestExceptionHandler myHandler,
@Inject @Symbol(TapestryConstants.PRODUCTION_MODE_SYMBOL) boolean
productionMode,
Configuration configuration) {
then pass it to the service
to get you started I can give you a hint, ... no time to try it out my self :)
make your own simple component to wrap value
look at org.apache.tapestry.corelib.base.AbstractField
it uses
@Environmental
private PageRenderSupport _pageRenderSupport;
to generate unique id
final void se
it will,
but it doesn't hurt to try it out, so you'll be convinced beyond any doubt :)
Davor Hrg
On Feb 19, 2008 11:42 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In a page i started a threaded service which will take a long time to
> finish(appen
more details please,
what version of tapestry are you using ? T4 ? T5 ?
you can not combine link and form submit trivially...
Davor Hrg
On Feb 19, 2008 11:26 AM, Joachim Van der Auwera <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am writing some stuff to edit data, and this includes
n der Auwera <[EMAIL PROTECTED]> wrote:
> Davor Hrg wrote:
> > more details please,
> > what version of tapestry are you using ? T4 ? T5 ?
> >
> > you can not combine link and form submit trivially...
> >
> Oops, latest version of t5.
> I already had th
_pageCache = pageCache;
> _renderer = renderer;
> _logger = logger;
> _productionMode = productionMode;
> }
>
> ...and the rest just works.
>
> Cheers,
>
> Geoff
>
>
> On 19/02/2008, at 10:06 PM, Davor Hrg w
quick guess
are you returning any null values in onPassivate ?
Davor Hrg
On Feb 19, 2008 8:35 PM, jeffrey ai <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I am experiencing a error of using "ComponentResources.createActionLink"
> after upgrade from 5.0.6 to 5.
generic info from the field...
some code for that can be found here:
https://issues.apache.org/jira/browse/TAPESTRY-2053
...
or just skip resolving idFieldAdapter because you don't actualy need
it when list is empty
Davor Hrg
On Feb 19, 2008 8:16 PM, Marcelo Lotif <[EMAIL PROTECTED]> wrot
use
http://www.wireshark.org/
to get accurate result for whole request
Davor Hrg
On Feb 20, 2008 4:41 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> It's just the time to render the page; a very rough guideline. Use
> Firebug if you want even close to accurate information
SelectionModelWorker(PropertyAccess propertyAccess)
_propertyAccess = propertyAccess;
}
transformation.injectField(accessActualName, _propertyAccess);
Davor Hrg
On Feb 20, 2008 1:30 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> Yeah, i know about that
>
> What i tried to do
also,
don't persist hibernate entities, persist keys only
On Feb 20, 2008 3:01 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> What is the proper way of using hibernate in T5? is following list correct?
>
> 1. Don't commit, let Tapestry-Hibernate take care of that.
> 2. Commit only if yo
hibernate's second level cache
and not try to hold on to loaded objects for speed.
I tried all those wrong ways of working with hibernate ... and belive me
it is no fun at all :D
Davor Hrg
On Feb 20, 2008 9:14 AM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> This is a great list
rs request,
and any hibernate session will be the same for onActionFromLink1
and for onLink2
Davor Hrg
On Feb 20, 2008 6:40 PM, jeffrey ai <[EMAIL PROTECTED]> wrote:
>
> Sorry, I don't quite get how is that related.
> In this case, I am not using onActivate and onPassivate at all
plese post a JIRA issue
On Feb 20, 2008 10:04 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> this looks like a bug...
>
> to go arround it you can call:
> private void onActionFromLink1()
> {
> // Some Business logic
>
1 - 100 of 409 matches
Mail list logo