Voited:
https://issues.apache.org/jira/browse/TAP5-1611
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
I know of its existence but didn't really use it. I can do it with a visitor,
but
all of these approaches are clunky. It should be implemented in Tapestry
itself.
I really don't understand why Bootstrap people didn't make horizontal form the
default.
I guess because it's harder to get right :
On Mon, 14 Oct 2013 23:17:14 -0300, Chris Mylonas
wrote:
Hi Thiago & Tapestry Users,
Today is my first day of exploring Tapestry (& Security) in many months.
Hello, Chris! Nice to see you here in the mailing list again. :)
It was a delight to see the announcement of Thiago's project - goo
On Mon, 14 Oct 2013 22:29:57 -0300, Lenny Primak
wrote:
I have tried to implement this using a mixin, but it gets too
complicated for my taste.
The problem is that the each label and component has to be surrounded
with (for example)
which requires really digging around elements with Mar
Hi Thiago & Tapestry Users,
Today is my first day of exploring Tapestry (& Security) in many months.
It was a delight to see the announcement of Thiago's project - good
leadership man!
Anyway, I downloaded the zip from githug and ran mvn package
[INFO]
---
I have tried to implement this using a mixin, but it gets too complicated for
my taste.
The problem is that the each label and component has to be surrounded with (for example)
which requires really digging around elements with MarkupWriter (error prone)
I think BeanEditor should be able to sup
Yes it does, however I was looking for a method I could use in the
component that would get called on ajax request rather than having to deal
with getting the data from the page.
On Mon, Oct 14, 2013 at 1:44 PM, Lenny Primak wrote:
> OnActivate gets called from Ajax requests. Does this not work
Just a word of caution that Dmitry's sample code uses an internal
class (LinkImpl)
subject to change.
On Mon, Oct 14, 2013 at 2:54 PM, Dmitry Gusev wrote:
> Here is a code snippet I use in my projects to generate links in "offline":
>
> https://gist.github.com/dmitrygusev/6980210
>
> these prope
I don't think you can solve this problem with static online documentation.
Something as simple as what are the type coercers is not something you can
document online since it's possible to add the dynamically. They only way
to solve this is generate the documentation for the running system. This
al
On Mon, 14 Oct 2013 17:43:02 -0300, Muhammad Gelbana
wrote:
I see your point Bob, It could be better the way it is.
My point is if we different version of documentations for different
versions of tapestry. Then we won't bother with broken source code links
since each documentation version wi
I see your point Bob, It could be better the way it is.
My point is if we different version of documentations for different
versions of tapestry. Then we won't bother with broken source code links
since each documentation version will statically refer to it's relevant
source code.
Anyway, if the
Muhammad: I'd much rather have one good version of the documentation, with
notes about the differences, than dozens of mostly redundant versions.
Also, I don't see how having separate documentation for each version makes
it easier to implement new documentation ideas. Quite the opposite, since
you
@Barry, there are usually tests being carried out killing the server will
leave the database in an inconsistent state. So a graceful shutdown is
needed
@Lance, you are correct, this is a good approach to solve this.
I still think having this around (Checking if a service is built) is an
addition
I am currently rewriting the PageTester to fit a more general overall
experience by for example adding Page objects and bundle request and
response together and using a new request every
time. Also I use threads to render the response and being able to simply
issue several
requests at a time for pr
Why not create your own hub which your db services register with when they
are realized / constructed. You then have a single shutdown listener which
loops the list in order before finally shutting down the db connection.
On 14 Oct 2013 17:38, "Muhammad Gelbana" wrote:
> This cannot guarantee th
Here is a code snippet I use in my projects to generate links in "offline":
https://gist.github.com/dmitrygusev/6980210
these properties should be declared in your app symbols (of course with
your own values):
tapestry.hostname=localhost
tapestry.hostport=8080
tapestry.hostport-secure=8443
ta
As Barry has said, this might be easier to do inside a real request fired
by Hudson. If you want to go down the 'fake' request route then I'll give
my tapestry-offline project a plug
:)
https://github.com/uklance/tapestry-offline
I would say if you are really relying on an orderly shutdown you might want
to rethink your design. In general you are far more likely to have a crash
than an orderly shutdown. Personally I stop my web servers with
killall -9 java
On Mon, Oct 14, 2013 at 11:37 AM, Muhammad Gelbana wrote:
> This
Well thats one way but I thought about doing it the same way issuing a
render command omitting the need of a component. I will give it a try.
2013/10/14 Lance Java
> I've never used it myself but I assume it'd be something like:
>
> Java
> -
> public class MyDynamicPage {
>@Inject
>
OnActivate gets called from Ajax requests. Does this not work for you?
> On Oct 14, 2013, at 1:22 PM, George Christman wrote:
>
> Helo all, I'm wondering if there is a tap method that will fire every time
> in a component similar to onActivate or onPrepare when an ajax request
> occurs. I'm t
Why fake one when it's just as easy to have a real one. As I've said on the
list before create a webpage and call it from Hudson. If you really what to
use a periodic executor then just use url.getContent() in the executor.
On Mon, Oct 14, 2013 at 12:25 PM, Dimitris Zenios wrote:
> Hello ever
nvm, I just returned a SelectModel method rather than setting it in
setupRender.
On Mon, Oct 14, 2013 at 1:22 PM, George Christman
wrote:
> Helo all, I'm wondering if there is a tap method that will fire every time
> in a component similar to onActivate or onPrepare when an ajax request
> occurs
Hello everyone
I am trying to create some links to a tapestry page inside a periodic
executor runnable.I am using pageRenderLinkSource to create the urls but it
throws an exception when trying to construct the url since Request is
null.I know where the problem is (Request is null since periodic ex
Helo all, I'm wondering if there is a tap method that will fire every time
in a component similar to onActivate or onPrepare when an ajax request
occurs. I'm trying to build my selectModel which triggers an ajax zone. I
just don't want to persist the selectModel. Thanks.
--
George Christman
www.
I think the Android documentation is a great example for this
http://developer.android.com/reference/android/app/Activity.html
As you see in the link, you can click the (view source) link beside each
class name to view the related source code.
On Mon, Oct 14, 2013 at 6:17 PM, Bob Harner wrote:
This cannot guarantee the order of the shutdown procedure. I need this
executed after all services are shutdown. However, I can inject another
service instead of *RegistryShutdownHub*, this way I can guarantee the
order.
To explain, I'll inject a service which will hold a set of database
connectio
May be within topics discussing internal Tapestry logic that is usually a
mystique for new users and for me included like injection, request
handling, how mixins work.
Anywhere possible should be helpful though.
And about the documentation in general. Is it possible to have separate
documentation
Od you can use tapestry-exceptionpage. It's great at handling things such as
this:
http://docs.codehaus.org/display/TYNAMO/tapestry-exceptionpage+guide
On Oct 14, 2013, at 3:06 AM, Dmitry Gusev wrote:
> Probably this can help with exceptions handling?
>
> http://tapestry.apache.org/component
Thanks man, exactly what I needed.
On Mon, Oct 14, 2013 at 3:06 AM, Dmitry Gusev wrote:
> Probably this can help with exceptions handling?
>
>
> http://tapestry.apache.org/component-events.html#ComponentEvents-InterceptingEventExceptions
>
>
> On Mon, Oct 14, 2013 at 10:48 AM, George Christman
>
Why not add the following to your database services:
@PostInjection
public void addShutdownListener(RegistryShutdownHub shutdownHub) {
shutdownHub.addRegistryShutdownListener(new Runnable() { … });
}
The shutdown listener will only fire if the service has been realized
(constructed)
My core module shuts down 2 database services but I recently deployed a new
application that uses only one schema so when the
*RegisteryShutdownHub *service
calls the shutdown procedure, the idle database connection service is asked
to shutdown by calling *.close()* and this attempts to instantiate
Perhaps the unit tests will help?
https://github.com/apache/tapestry-5/tree/master/tapestry-func/src/test/java/org/apache/tapestry5/func
The Scoreboard is a ServiceActivityTracker. I've never needed to do it
myself but I'm sure you can register your own custom tracker.
On 14 Oct 2013 13:17, "Martin Kersten" wrote:
> Sometimes it is very important. I for myself need this in some tests to
> recognize some specials in tear down and s
I've never used it myself but I assume it'd be something like:
Java
-
public class MyDynamicPage {
@Inject
private DynamicTemplateParser parser;
@Property
private DynamicTemplate template;
public void onActivate(EventContext context) {
// TODO: implement this
Resour
Sometimes it is very important. I for myself need this in some tests to
recognize some specials in tear down and set up. And thanks Lance for the
hint. I used another way but this Scoreboard is way more cooler. Wasnt
aware of this.
2013/10/14 Thiago H de Paula Figueiredo
> On Sun, 13 Oct 2013 1
On Sun, 13 Oct 2013 12:14:46 -0300, Muhammad Gelbana
wrote:
Will many agree with me if I asked for a way to safely check if a service
has been initialized or built ?
Why do you need that? If you invoke a service method, the service will be
initialized and ready to use, even if Tapestry-Io
Take a look at the built in ServiceStatus page. You can @Inject
ServiceActivityScoreboard and check ServiceActivity.getStatus()
A good idea, although there is some added risk of broken links as source
code gets moved around with new releases. Do you have any specific places
in the documentation where you think a link to Tapestry's source code would
be helpful?
On Mon, Oct 14, 2013 at 7:09 AM, Muhammad Gelbana wrote:
> Op
Opps ! Just hist a mysterious keyboard shortcut to send emails from GMail !!
Anyway, so the documentation page will discuss the subject thoroughly while
advanced users and source code explorers will have a better experience and
less time finding the relevant source code for the subject being discu
How about including references (links or embedded) to relative tapestry
source code within a documentation page ?
This could be even more informative than the documentation itself since it
has every detail, while the documentation only explains
*-*
*Muhammad Gelbana*
http://ww
Probably this can help with exceptions handling?
http://tapestry.apache.org/component-events.html#ComponentEvents-InterceptingEventExceptions
On Mon, Oct 14, 2013 at 10:48 AM, George Christman
wrote:
> Thanks Taha this resolved my issue, however I now seem to have no way to
> handle illegalArgu
41 matches
Mail list logo