Hi Angelo,
The MyCreate service creates a new record, but doesn't commit until
after MyThread is started.
The MyThread service automatically gets a different Hibernate Session,
and thus can't see the record that hasn't been committed yet by the
other session.
I'm not that familiar with MySQL, bu
Hi,
I have two services, namely MyCreate and MyThread, what they do is:
MyCreate will append a new record using Tapestry-Hibernate's session and
MyThread will look it up, MyThread is in a thread while MyCreate is not, the
problem is, the newly created record can not be located by MyThread, if
My
On Feb 6, 2008, at 10:10 PM, Will Norris wrote:
If I add the same method (changing the configuration ID slightly),
it works just fine.
err, that should be... If I add the same method to my application, it
works just fine. I only have the problem when contribution is made
exclusively fro
I'm running into a problem where I am unable to properly order
contributions based on the order in which two modules are loaded. I
am using Robin Helgelin's Tapestry5-Acegi along with my own module
Tapesty-Shib which adds my own HttpServletRequestHandler. In my
module, I have the followin
Definately a bug.
On Feb 6, 2008 8:05 PM, Josh Canfield <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I'm looking at upgrading from 5.0.6 to 5.0.9. The problem is that I'm
> getting the old version of tapestry.js every time I load the page.
>
> I tracked the problem back through the AssetDispatcher, R
Hey all,
I'm looking at upgrading from 5.0.6 to 5.0.9. The problem is that I'm
getting the old version of tapestry.js every time I load the page.
I tracked the problem back through the AssetDispatcher, ResourceCacheImpl
and finally the URLChangeTracker. It looks like requests coming in for the
cs
Hello Martin,
What isn't clear, is what is the question? If it's how to implement it I
guess the post you've already found describes it good enough.
Renat
On 06/02/2008, Martin Grotzke <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a question concerning the relation between template and page
>
The premature optimization was thinking that resolving dependencies
once, and storing them in instance variables, was going to be
appreciably faster than using static methods.
Actually, the real savings was in terms of typing those same
parameters and annotations ... and that's gone away with the
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:
> > except for bind() which i
On Feb 6, 2008 11:32 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> except for bind() which is static.
Bummer! :-)
> Just part of the strategy for deferring, or avoiding, instantiation of
> the module class.
>
> In retrospect, premature optimization. If I were starting that from
> scratch, al
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 the current id of t
Hello,
I have a question concerning the relation between template and page
class, which admittedly has already been raised sometimes :)
Especially, the thread "T5: Personalizing page and component template"
(http://www.nabble.com/T5%3A-Personalizing-page-and-component-template-td14098291.html)
se
Better, but the example on the doc for TextField doesn't actually show the
form. (Sorry; hope I'm not being a pain. I drive my coworkers nuts, but they
love me anyway.)
Franz
- Original Message
From: Howard Lewis Ship <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Wednesday, February
except for bind() which is static.
Just part of the strategy for deferring, or avoiding, instantiation of
the module class.
In retrospect, premature optimization. If I were starting that from
scratch, all the methods on a module class would be static.
What you see is that the module may be insta
On Feb 6, 2008 9:39 AM, Franz Amador <[EMAIL PROTECTED]> wrote:
> Two minor nits:
>
> - On the index page, listing every component class as its fully qualified
> name makes it hard to read. I agree with the suggestion that the package
> name be shown only once and the class names be listed witho
On Feb 6, 2008 11:08 AM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> module methods can be both static and instance methods,
> you choose ...
>
> http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html
Great! :-) That's very nice. I think the examples should use instance
methods then, shouldn't t
Hi All
I'm trying to use the "index" and "id" attributes of the "For" component
to create predictable (parseable) ids. I'm getting the following
sequence: item_0, item_0_0, item_1. I was expecting item_0, item_1,
item_2, etc.
Relevant code below. Am I doing something silly?
Richard Hober
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:
> > http://wiki.apache.org/tapestry
On Feb 5, 2008 11:19 PM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly
> http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate
Oh, nice! I had not noticed these.
Is there a reason that the Module needs to have a *static*
bind(ServiceBinder)?
Kinda liking picocontainer, but tapestry-ioc is becoming my favorite
for non-embedded circumstances.
christian.
On 6-Feb-08, at 13:26 , Hilco Wijbenga wrote:
On Feb 5, 2008 2:39 PM, Jan Vissers <[EMAIL PROTECTED]> wrote:
Indeed T5's IoC can be used without T5 core, although IMHO you're
bet
On Feb 5, 2008 2:39 PM, Jan Vissers <[EMAIL PROTECTED]> wrote:
> Indeed T5's IoC can be used without T5 core, although IMHO you're better
> of using Google Guice. If you're already familiar with T5 IoC, using Guice
> isn't that hard.
Yes, I noticed that T5 IoC and Guice are *very* similar. But Gui
Two minor nits:
- On the index page, listing every component class as its fully qualified name
makes it hard to read. I agree with the suggestion that the package name be
shown only once and the class names be listed without their package-name
prefixes.
- The doc for Form says, "Examples of t
Hi Everyone,
Is there any one who use a cool menu in Tapestry 5?
Is JSCookMenu can be used for Tapestry 5? If yes, how?
Thank you,
Anteneh
--
View this message in context:
http://www.nabble.com/-Tapestry-5--JSCookMenu-tp15307078p15307078.html
Sent from the Tapestry - User mailing list archi
On Feb 6, 2008 8:10 AM, Andreas Andreou <[EMAIL PROTECTED]> wrote:
> 2 comments:
> - How is the 'introductory text' for each component derived? I'm
> asking cause it looks like it
> doesn't have any formatting in it... see for instance
> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/re
Partly generated right off the JavaDoc, partly generated by hand.
The xdoc files contain the examples and notes and are merged into the
file generated from the JavaDoc.
For most of the examples, I have a side project that I used to write
and test the code and from which I generated the screenshot
Hello,
i want just to get the current id of the product from earch row into my
own component (carthandler). But i always got a nullpointer because
currentProduct ist null? But wuy? CurrentPorduct is not null for the
column, where they render the pagelink for productdetailpage?
(with "prop:cu
Hello,
i want just to get the current id of the product from earch row into my
own component (carthandler). But i always got a nullpointer because
currentProduct ist null? But wuy? CurrentPorduct is not null for the
column, where they render the pagelink for productdetailpage?
(with "prop:cu
+1
2008/2/6, Andreas Andreou <[EMAIL PROTECTED]>:
>
> 2 comments:
> - How is the 'introductory text' for each component derived? I'm
> asking cause it looks like it
> doesn't have any formatting in it... see for instance
>
> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache
2 comments:
- How is the 'introductory text' for each component derived? I'm
asking cause it looks like it
doesn't have any formatting in it... see for instance
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Palette.html
it's very difficult to
Great Job!
Looks very, very good.
On Feb 5, 2008 5:41 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> I've extended the component reference to allow images as part of the
> documentation ... so far, its all screen shots.
>
> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/index.html
>
> Fe
Thanks Jesse. I was looking in the HTTP Protocol and didn't think of
checking the Servlet specification.
For those who are interested, here it is in 4.1 of version 2.4 of the
Java Servlet Specification:
SRV.4.1 HTTP Protocol Parameters
Request parameters for the servlet are the strings sent b
For T4 or for T5?
You can override the default ExceptionReport page. In Tapestry 5 you
can override the RequestExceptionHandler service to handle request
exceptions however you want.
On Feb 6, 2008 7:19 AM, Mahen Perera <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> I need to get rid of the defaul
Yeah, this is covered by the servlet container implementors. public
Object[] HttpServletRequest.getParameterValues(String key) {..}
It's how radio groups / multiple select choices / checkboxes all work.
On Feb 6, 2008 10:15 AM, Davor Hrg <[EMAIL PROTECTED]> wrote:
> I dont know definitely on w
Hi all,
I need to get rid of the default error page (which displays all the
details relating to the exception/error) when doing a production
release. I like to have a custom error page with a message and the
Exception message,,, therefore, I need access to the exception inside
this custom page.
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 Hoberman
<[EMAIL PROTEC
The docs look great!
I've been helping people on IRC ( #tapestry @ freenode.net) and at
least one user found it extremely helpful when I pointed out the
integration test app
located in the following folder(to see working examples):
tapestry-core/src/test/java/org/apache/tapestry/integration/ap
Fully agree. Thumbs up!
-Filip
Geoff Callender skrev:
Wow! That was so worth doing. Nice work.
Geoff
On 06/02/2008, at 3:41 AM, Howard Lewis Ship wrote:
I've extended the component reference to allow images as part of the
documentation ... so far, its all screen shots.
http://tapestr
Wow! That was so worth doing. Nice work.
Geoff
On 06/02/2008, at 3:41 AM, Howard Lewis Ship wrote:
I've extended the component reference to allow images as part of the
documentation ... so far, its all screen shots.
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/index.ht
Thanks (again), Andreas. You are right and I have found a way that
doesn't require using these pairs. I assumed that the POST protocol
mandated unique names, but I haven't been able to turn up anything
justifying my assumption.
Best regards
Richard
Andreas Andreou wrote:
Actually, that's
Actually, that's the correct behavior... at least that's how it's been since T3!
All the For_0 hiddens values are used during rewind and they're
expected this way
I'm guessing you're trying to do some javascript that relates to those?
Do you really need to use those values? I'd prefer not to tie t
Hi All
Below is a form snippet followed by the html generated by Tapestry
4.1.5. The LI element ids are sensibly "For_0" through "For_N". The
hidden fields corresponding to these items are ALL named "For_0".
Surely the appended digit should be incremented so as to correspond with
the LI id
Andreas Andreou wrote:
One solution is this:
Use one hidden for all the values...
Then, in java
public String getOrdering() {return null}
public void getOrdering(String value) { String[] order =
value.split(','); .. }
Then have your javascript set that value correctly before submit
Tha
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 :)
Davor Hrg
-
Hello,
Indeed, the graph (my component) works fine outside of a loop when I
have several of them on a page. The data to display (in that case a
TimeSeries for a JFreeChart) is kept in the instance of the component
so when the page display, the src value refers to the correct graph
and dat
Yes,
I saw the issue :) few days ago ...
ok
The grid docs should mention following caveat:
If you have a datasource that is filtered and the size changes
with some user action like submitting a search form...
having pager set to a some page can brake the grid
if number of rows gets smaller an
46 matches
Mail list logo