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
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
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
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
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
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 :)
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 :)
&
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
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
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
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
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
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
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
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
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
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 ...
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'
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
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
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
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.
>
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
: "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
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).
();
}
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,
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
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:
>
>
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
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
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
&
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!
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
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]>
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
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
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
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]
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.
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
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
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
cluttering" your code , someone
on the list
has a solution that can add them on the fly via annotation
hope I'm making sense...
Davor Hrg
On Jan 7, 2008 8:07 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> I like the new var: prefix for temp variables, although I can't
asset is only for static assets, not for url
you can inject ComponentResources and call createLink to get link string
Davor Hrg
On Jan 7, 2008 12:07 PM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote:
> how about creating url ?
> i got error when putting this cod
AdminPage
{
}
end quote---
search mailing list for some discussions, they might be helpful
Davor Hrg
On Jan 7, 2008 8:06 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> Has anyone integrated T5 with Acegi alr
there are few ways..
one is to extend tapestryFilter and use that version in web.xml
Davor Hrg
On Jan 7, 2008 6:21 AM, Dapeng <[EMAIL PROTECTED]> wrote:
> Hi guys
>
> I have a protected folder /private under the root
>
> but inside the folder i am only going to serve
in the log somewhere
Davor Hrg
On Jan 3, 2008 10:49 AM, Donyee <[EMAIL PROTECTED]> wrote:
> I want to create a new object per request, and my code is like:
>
> @Scope(IOCConstants.PERTHREAD_SCOPE)
> public Encoder buildEncoder() {
>
while speaking of ActionLink...
is there a strong reason why action name is not parametrized ?
default value should be of course "action"
Davor Hrg
On Dec 28, 2007 8:00 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Your method is named incorrectly. It should be onSend()
5.0.7 release is currently under vote
On Dec 25, 2007 1:16 AM, Michael Lake <[EMAIL PROTECTED]> wrote:
>
> I believe 5.0.7-SNAPSHOT is available the tapestry maven repository.
>
> if you're using maven, all you need to do is add the repository and to
> your .m2/settings.xml
> or the pom of the pro
http://files.doublenegative.com.au/jumpstart/
On Dec 21, 2007 2:15 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> http://wiki.apache.org/tapestry/Tapestry5HowTos
>
> On Dec 21, 2007 2:08 PM, Yeeswara Nadapana (HCL Financial Services)
>
> <[EMAIL PROTECTED]> wrote:
> &
http://wiki.apache.org/tapestry/Tapestry5HowTos
On Dec 21, 2007 2:08 PM, Yeeswara Nadapana (HCL Financial Services)
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> Can I get any downloads of the example code on Tapestry 5? Please help
> me with some links
>
>
>
> DISCLAIMER:
> -
sound ok,
looking forward to trying it :)
Davor Hrg
On Dec 21, 2007 10:25 AM, Kristian Marinkovic
<[EMAIL PROTECTED]> wrote:
> its getting really interesting
>
> Josh+Davor: your're right "flash" should as well be part of the
> conversation c
then you should definitely checkout tapestry sorce and look at the tests there
:)
Davor Hrg
On Dec 21, 2007 10:12 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi Davor,
>
> yes, i have read the doc, i still have to try the samples. in the service
> that I'd like to
I've recently posted two examples off running tapestry-ioc on it's own
http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly
http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate
look there on how to start tapestry-ioc with only the things you need.
Davor Hrg
On Dec 21, 20
citly state @Persist("session")
Davor Hrg
On Dec 20, 2007 7:03 PM, Josh Canfield <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I think Flash persistence would also want to be in the context of the
> conversation, otherwise couldn't messages show up in the second win
these are just my thoughts on the subject, I haven't really looked deeper into
persistence strategies...
Davor Hrg
On Dec 20, 2007 9:20 AM, Kristian Marinkovic
<[EMAIL PROTECTED]> wrote:
> hi filip,
>
> @Meta("tapestry.persistence-strategy=conversation") only wor
look for keyword SELECT on
http://wiki.apache.org/tapestry/Tapestry5HowTos
On Dec 19, 2007 8:55 AM, Francois Armand <[EMAIL PROTECTED]> wrote:
> Yeeswara Nadapana (HCL Financial Services) wrote:
> > Hi,
> >
> Hello Yeeswara,
> > Can anyone
> > please explain me the procedure to add a box to my f
you could add you own binding prefix
${date:lastLoginDate}
or
${date:lastLoginDate}
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix
Davor Hrg
On Dec 13, 2007 7:17 AM, Liu Dapeng <[EMAIL PROTECTED]> wrote:
> hi guys
>
> i am using expansion to output a D
There are two more articles now available
on
http://wiki.apache.org/tapestry/Tapestry5HowTos
both are about using tapestry-ioc without the web part
http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly
http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate
Davor Hrg
the sample app,
tapestry-ioc only console app is ready
http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly
I'll make a version that also uses tapestry-hibernate when I catch some more
time for it.
Davor Hrg
On Dec 10, 2007 12:22 AM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> i
it's 00:20 here...
I'll make a simple app in the morning
Davor Hrg
On Dec 10, 2007 12:16 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi Davor,
>
> That's even better, my #3 is asking for a sample project, now let's say,
> just a very simple one
y the user, that will be a great help to understand this
>
> non-web T5 app.
>
> Thanks,
>
> A.C.
>
>
> Davor Hrg wrote:
> >
> > Hi,
> >
> > if you don't need tapestry web part,
> > or in other words if you just want tapestry-ioc
> >
the registry ready...
you can call
registry.getService(YourService.class)
te get any servise you need
hope this helps...
Davor Hrg
On Dec 8, 2007 3:51 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Tapestry-hibernate works very well in my t5 app, now I have need
where's your start.tml located ?
Davor Hrg
On Dec 7, 2007 5:07 AM, Dapeng <[EMAIL PROTECTED]> wrote:
> Hi
>
> First time try T5
>
> i followed the link
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
>
>
>
>
>
> http:
There are definitely frustrations around maven,
... I just keep hoping it will get better before we give up on it :)
Davor Hrg
On Dec 4, 2007 5:46 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> The nightly docs are now fixed.
>
> My hatred of Maven is growing quickly.
ke it better is welcom :)
no matter what lib you use for web services, the easiest integration is to
put it in the same context, and share reference via servletContext...
Davor Hrg
On Dec 5, 2007 9:48 AM, Peter Stavrinides < [EMAIL PROTECTED]>
wrote:
> Hi all,
>
> Is there
that should be displayed.
model when asked for items should return only those that are visible,
this way your View component can handle paging without being aware
of the filter applied to the data.
Davor Hrg
On Dec 4, 2007 6:42 PM, Britske <[EMAIL PROTECTED]> wrote:
>
> I quickly solved it
_delegate.init(filterConfig);
}
}
modify the doFilter method to skip problematic paths
Davor Hrg
On Dec 4, 2007 12:44 PM, Ritesh.S <[EMAIL PROTECTED]> wrote:
>
>
> Hello Davor,
> Thanks for your reply. I am giving stack trace below and problematic url.
>
> Foll
where possible
this way both implementations can live side by side.
Davor Hrg
On Aug 17, 2007 7:53 PM, Doug Hauge <[EMAIL PROTECTED]> wrote:
> Is there some reason Tapestry chose to use 'java.util.Formatter' style
> formatting as opposed to 'java.text.MessageFormat
could you post stack trace,
and problematic url ?
Davor Hrg
On Dec 4, 2007 11:18 AM, Ritesh.S <[EMAIL PROTECTED]> wrote:
>
> Hello everybody,
>
> I am new to tapestry and I am using Tapestry core 5.0.5.
> I integrated Tapestry 5 with spring and hibernate.
>
> I
you shold also call
registry.performRegistryStartup();
after
Registry registry = builder.build();
in the end just call :
registry.shutdown();
Davor Hrg
On Jun 14, 2007 4:01 PM, Dan Adams <[EMAIL PROTECTED]> wrote:
> So I have some test cases in which I actually need
please post some more code,
I'm also unable to comprehend what the problem is ?
Davor Hrg
On Dec 2, 2007 5:08 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> no, the getCountryList is a service that I put a log, the log displays
> that
> the method was called only onc
full stack trace ?
On Nov 21, 2007 10:17 PM, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:
> Is there anyone that can help with this problem? Thanks
>
> > -Original Message-
> > From: Jean-Philippe Steinmetz [mailto:[EMAIL PROTECTED]
> > Sent: Friday, November 16, 2007 1:36 PM
> > T
aying with it I was more satisfied with OGNL,
and MVEL crashed on some simple examples when
byte code optimizer was turned on for it.
Davor Hrg
On Nov 16, 2007 10:06 PM, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> You can know the type in advance by calling
> OgnlContext.getCurrentT
of course, youll need the dependancy in your pom:
ognl
ognl
2.6.9
On Nov 16, 2007 8:42 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> ognl can be easily added as a binding prefix,
> however expect some features to not work
> because tapestry in
ognl can be easily added as a binding prefix,
however expect some features to not work
because tapestry in some occasions needs to
know in advance type that the expression will return
(and this is statically, when bindings are prepared)
I think I saw that ognl has methods that calculate
return typ
you must move any class that is not page or componenta from
base, components, pages packages
they get enhanced and those exceptions occur
http://wiki.apache.org/tapestry/Tapestry5HowToNotMakeCustomComponent
Davor Hrg
On Nov 16, 2007 5:57 PM, César Lesc <[EMAIL PROTECTED]> wrote:
>
in of command:
http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/command.html
so people can read that page for details.
Davor Hrg
On Nov 9, 2007 7:52 PM, Ben Acker < [EMAIL PROTECTED]> wrote:
> Looks good, but having it split into linkable sections would be useful if
> fol
session is just interface,
the instance you get is a proxy,
which redirects each method call to
the instance in current thread.
Davor Hrg
On 10/29/07, Chris Lewis <[EMAIL PROTECTED]> wrote:
>
> Sorry, this just sounds to magical. My DAO explicitly takes a Session -
> org.hibernat
yes, that's right,
that proxy will handle PER_THREAD scope
Hrg Davor
On 10/29/07, Chris Lewis <[EMAIL PROTECTED]> wrote:
>
> Kris,
>
> My DAOs are ignorant of Tapestry - I have no @Inject annotations in
> them. Instead they receive the Session object in the constructor, so
> technically they do
no need to change your pom,
just remove the import statement,
and import the Inject annottation from tapestry ioc
Eclipse: CTRL+SHIFT+O
Davor Hrg
On 10/28/07, James Lin <[EMAIL PROTECTED]> wrote:
>
> dear all:
>
> I have read one sample from Tapestry website
> http://wik
Thats, just it:)
make a component, not a function ...
you'll copy pasete your function arround and iject component resources in
each page that uses it,
look at the ActionLink source and create an ExternalLink from it :)
Davor Hrg
On 10/26/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
&g
Thanks, now when there is only one parameter in the constructor, it
> works:
> >>
> >> public MyServicesImp(ApplicationGlobals globals) {
> >> this.globals = globals;
> >> }
> >>
> >> but if I have this:
> >>
> >>
f the components you call your service
how would tapestry know for which of the dozen components you need the
ComponentResources ?
that's what I can tell you for now...
Davor Hrg
On 10/26/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> hi davor,
>
> correction, the pro
service do not get enhanced like pages do,
services get dependacies through constructor...
http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html
Davor Hrg
On 10/26/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I injected ComponentResources in a servic
just ad it to your pom.xml
org.apache.tapestry
tapestry-upload
${tapestry-release-version}
Hrg davor
On 10/21/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> where can I find tapestry-upload jar files? any sample code how to use it
> it? Thanks.
> A.C.
> --
>
ing it out
is waiting on first parts AJAX support to enter tapestry to maybe add
some value from it.
Davor Hrg
On 10/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello !
>
> > I was wondering what kind of components people are looking for that
> > are not ye
ning in the
log)
Davor Hrg
On 10/18/07, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> wrote:
>
> Em Sun, 14 Oct 2007 12:40:38 -0300, Howard Lewis Ship <[EMAIL PROTECTED]>
> escreveu:
>
> > This is heading a bit backwards from my initial goals, of naming
>
yes,
it should be
@Inject private PropertyAccess _access;
I've corrected the wiki ...
Hrg
On 10/18/07, lasitha <[EMAIL PROTECTED]> wrote:
>
> Christian, i haven't tested this, but i did notice the line at the top
> of the wiki page seems incorrect:
> @Inject PropertyAccess _access;
>
> AFAIK,
ut the row= tells the grid where you want to store the current value
which is where grid writes data.
I'm not explaining this very well, but "binding" is a basic tapestry
concept.
Davor Hrg
On 10/17/07, Heck, Bob <[EMAIL PROTECTED]> wrote:
>
> I have a .page that returns
maybe you missed the point here,
never mind the reason I use the _ prefix ..
the problem was with hibernate, not with tapestry
Davor Hrg
On 10/15/07, Christian Gruber <[EMAIL PROTECTED]> wrote:
>
> Tapestry doesn't require _ prefixes, mind you. That's a Howa
and gives your DAO
to who requires it. So yes ... use IOC
why would you code more plumbing code when IOC can do it for
you, and it does it very well.
I hope I'm making sense ... :)
Davor Hrg
On 10/13/07, MavenMan <[EMAIL PROTECTED]> wrote:
>
>
> thanks . you are a cap
tter
and see it as id when "get" is stripped
!Beware. if you put annotations both on fields and getters
hibernate will loose some of them
I'll find some time and fix the code to adopt one convention
Davor Hrg
On 10/13/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
&
Davor Hrg
On 10/12/07, MavenMan <[EMAIL PROTECTED]> wrote:
>
>
>
> I have find the docmentent about hibernate .
> but I still think you are a impatient guy .
>
>
>
> lasitha wrote:
> >
> > MavenMan,
> >
> > Please do your own homework - m
you must not put your dao objects into pages or components packages...
http://wiki.apache.org/tapestry/Tapestry5HowToNotMakeCustomComponent
last section
move your DAO into another package, yourApp.entities or sth..
Davor Hrg
On 10/12/07, MavenMan <[EMAIL PROTECTED]> wrote:
>
>
&
hange the above
code to persist Cutomer.id and fetch the customer
using the session in each request...
Davor Hrg
On 10/3/07, T. Papke <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> i have tried the tapestry-hibernate package to handle my hibernate
> sessions. I have setup the pa
I think that quickstart hasn't changed since 5.0.5
maybe 5.0.5 is good enough for now ?
after that you can change pom.xml to use 5.0.6-SNAPSHOT easily
Davor Hrg
On 9/27/07, Marcus <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to create a new application u
you can avoid test casses hassle by calling:
mvn -Dmaven.test.skip install
Davor Hrg
On 9/22/07, Robert A. Decker <[EMAIL PROTECTED]> wrote:
>
> Ok, so I checked out the tapestry trunk with subversion, then cd'd
> into the directory and ran 'mvn install'. It seems
201 - 300 of 409 matches
Mail list logo