RE: [5.3] JSONArray Error while submitting forms

2012-06-13 Thread Poder, Jacob
Hi Bob, Thanks for commenting. I already tried this, please see earlier correspondence. (http://tapestry.1045711.n5.nabble.com/5-3-JSONArray-Error-while-submitting-forms-td5713753.html) Best regards, Jacob -Original Message- From: Bob Harner [mailto:bobhar...@gmail.com] Sent: Thur

RE: Grid with split rows

2012-06-13 Thread Poder, Jacob
Continuing the "pragmatic" approach but still requiring valid HTML... // Component Java (no tml) // Ends current row and starts a new one @SupportsInformalParameters public class AddGridRow { void beginRender(MarkupWriter writer) { writer.writeRaw(""); } } // Usage

Re: Grid with split rows

2012-06-13 Thread Lance Java
I don't think that is valid HTML (tr inside tr). I find that a lightbox can be a nice way of doing crud for a grid. When you click on a read only row, you show a bean editor in a lightbox http://www.opensourcehunter.com/2010/06/25/40-javascript-lightbox-scriptsincluded-jquery-and-mootools/ But c

[ANNOUNCEMENT] tapestry-security 0.4.6 released!

2012-06-13 Thread Kalle Korhonen
More people using tapestry-security means more improvements, feature requests. We are still staying on top of it and keeping our backlog clean with the following issues fixed in 0.4.6, the best ever tapestry-security release yet: Bug [TYNAMO-155] - Authorization cache is not cleared at logout

Re: Grid with split rows

2012-06-13 Thread Bryan Lewis
Thanks. But me being a "pragmatic" programmer (aka lazy), I solved it by inelegantly stuffing the extra row tags into the last grid cell, like: Last cell's contents On Wed, Jun 13, 2012 at 4:05 PM, Lance Java wrote: > You could write a mixin which manipulates

Re: Problem injecting a Logger

2012-06-13 Thread Howard Lewis Ship
I'm not seeing anything here. How about you put your source into a Gist ( gist.github.com) and paste the URL here? On Wed, Jun 13, 2012 at 3:12 PM, Muhammad Gelbana wrote: > That's all the source for My.java. Tapestry version is 5.3 > I intend to upgrade to the latest version very soon anyway. >

Re: Howto include custum meta tags?

2012-06-13 Thread Howard Lewis Ship
Tapestry 4 ...that's vaguely familiar. One of the changes in 5 was to get away from the necessity of the Shell component, which limits your ability to directly add tags to the element. However, there's a parameter on Shell to allow you to set arbitrary meta tags. On Wed, Jun 13, 2012 at 4:01 PM,

Re: [5.3] JSONArray Error while submitting forms

2012-06-13 Thread Bob Harner
A shot in the dark... another thing to try would be to increment the value of the SymbolConstants.APPLICATION_VERSION symbol in your app module class (normally AppModule.java) On Wed, Jun 13, 2012 at 10:14 AM, Muhammad Gelbana wrote: > This is crazy ! > Please send me your eclipse project with th

Re: Howto include custum meta tags?

2012-06-13 Thread jamess_jack
Thanks for the reply. but I am newbie and I don't have understanding about the layout. I am using Tapestry 4. so, there is one html file and one related java class. I think I can do something in PageBeginRender( PageEvent event) method right ? if so how can I get the head tag and append the

Re: Problem injecting a Logger

2012-06-13 Thread Muhammad Gelbana
That's all the source for My.java. Tapestry version is 5.3 I intend to upgrade to the latest version very soon anyway. On Wed, Jun 13, 2012 at 11:17 PM, Howard Lewis Ship wrote: > What version of Tapestry is this? Can we see more source for > com.skycomm.charts.My? > > > > > On Wed, Jun 13, 2012

Re: Problem injecting a Logger

2012-06-13 Thread Howard Lewis Ship
What version of Tapestry is this? Can we see more source for com.skycomm.charts.My? On Wed, Jun 13, 2012 at 11:41 AM, Muhammad Gelbana wrote: > The exception shows that I'm importing "org.apache.log4j.Logger" which is a > mistake but the same happens if I fix the import to become > "org.slf4j

Re: Grid with split rows

2012-06-13 Thread Lance Java
You could write a mixin which manipulates the table's DOM after the grid has rendered. For each grid row you could create an extra row and move selected cells into the second row. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Grid-with-split-rows-tp5713853p5713857.html

T5 STICKER

2012-06-13 Thread Dmitry Gusev
I'd like to get one :) 600023, Russia, Vladimir City, ul. Sudogodskoe shosse, 1-84 Project: AnjLab Ping Service Simple web service that checks availability of web resource and notify user by email when resource is going down or restored. The service allows user to define set of resources to chec

Re: Problem injecting a Logger

2012-06-13 Thread Muhammad Gelbana
The exception shows that I'm importing "org.apache.log4j.Logger" which is a mistake but the same happens if I fix the import to become "org.slf4j.Logger" The long exception stack trace again: 13-06-12 20:39:21 ERROR (OperationTrackerImpl.java:127)-[main] No service implements the interface *org.sl

Grid with split rows

2012-06-13 Thread Bryan Lewis
I've been asked to add a number of columns to a Grid. It'll end up with 13 columns, a few of them rather wide , so the whole thing won't fint in a page width. We used to handle this by doing the editing in a separate page, but our users are asking if it's possible to do all the editing in-place.

Tapestry 5 Laptop Stickers

2012-06-13 Thread Howard Lewis Ship
Do you use Tapestry? Do you want to proclaim your support loud and clear? How about a Tapestry 5 Sticker for your laptop? They're free! [image: Inline image 1] All I ask is that you consider allowing me to publish a sentence or two about your project. And you can say no and still get the sticke

Re: Problem injecting a Logger

2012-06-13 Thread Howard Lewis Ship
On Wed, Jun 13, 2012 at 7:12 AM, Muhammad Gelbana wrote: > I faced the same problem and I'm using the constructor's injection instead. > But why wouldn't the deprecated @InjectResource nor the @Inject annotation > work ? I'm using tapestry5.3.1 Without seeing the code, there's no way to answer.

Re: non blocking code in T5?

2012-06-13 Thread Cezary Biernacki
However, it is worth to mention that Tapestry-IOC provides ParallelExecutor service that encapsulates Java's ThreadPoolExecutor. Cezary On Wed, Jun 13, 2012 at 5:53 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 13 Jun 2012 12:13:52 -0300, Angelo C. > wrote: > > that

Re: non blocking code in T5?

2012-06-13 Thread Thiago H de Paula Figueiredo
On Wed, 13 Jun 2012 12:13:52 -0300, Angelo C. wrote: that should work, any sample code applicable to t5? As Lance said before, this is completely independent of Tapestry, any sample code you'll find is applicable. This shouldn't have even be posted in this mailing list, as it's complete

Re: non blocking code in T5?

2012-06-13 Thread Andreas Fink
If you do not want to go down the JEE route, try Hazelcast. I have had good experiences with it in the past. Apart from shared maps, it also provides topics and queues like JMS. The most basic setup can look like this: public HazelcastInstance buildHazelcastInstance() { final Config cfg = ne

Re: non blocking code in T5?

2012-06-13 Thread Angelo C.
that should work, any sample code applicable to t5? Muhammad Gelbana wrote > > I've been using Java's executor service lately and it's very neat. > http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html > > > It's just that I don't think it can guarantee a new th

Re: non blocking code in T5?

2012-06-13 Thread Muhammad Gelbana
I've been using Java's executor service lately and it's very neat. http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html It's just that I don't think it can guarantee a new thread for each request in case you are using per-thread scope services. On Wed, Jun 13, 20

Re: non blocking code in T5?

2012-06-13 Thread Dmitry Gusev
You need Java EE if you want to use Java Message Service, or you can use Apache TomEE which implements JMS (http://tomee.apache.org/tomcat-jms.html) -- I haven't used TomEE though. Or you can implement your own queue (based on ArrayBlockingQueue, for instance) with consumer thread(s) which you sho

Re: [5.3] JSONArray Error while submitting forms

2012-06-13 Thread Muhammad Gelbana
This is crazy ! Please send me your eclipse project with tha sample page causing the error. On Wed, Jun 13, 2012 at 3:39 PM, Poder, Jacob wrote: > Okay, I created an eclipse maven project and added my simple test page to > that. > The problem still occurs! > > Testing with various Tapestry versio

Re: Problem injecting a Logger

2012-06-13 Thread Muhammad Gelbana
I faced the same problem and I'm using the constructor's injection instead. But why wouldn't the deprecated @InjectResource nor the @Inject annotation work ? I'm using tapestry5.3.1 On Wed, Dec 29, 2010 at 1:33 AM, Howard Lewis Ship wrote: > You're seeing the evolution of the framework. > > Orig

Re: non blocking code in T5?

2012-06-13 Thread Angelo C.
no, i don't need the response from the method, MS/JMS is new to me, can it be used even I 'm not using Java EE? Dmitry Gusev wrote > > Do you plan to consume method's response in the same request? > > If not, some sort of MQ/JMS may be an option--just put your message there > and return. > The

RE: [5.3] JSONArray Error while submitting forms

2012-06-13 Thread Poder, Jacob
Okay, I created an eclipse maven project and added my simple test page to that. The problem still occurs! Testing with various Tapestry versions (changing the version in the pom) gives this: T5.3.3 - Error T5.3.2 - Error T5.2.6 - Success It seems that nobody has yet actually tried following my d

Re: non blocking code in T5?

2012-06-13 Thread Dmitry Gusev
Do you plan to consume method's response in the same request? If not, some sort of MQ/JMS may be an option--just put your message there and return. The message itself will be processed in separate thread with MQ handler (Message-Driven Bean in case of Java EE). On Wed, Jun 13, 2012 at 4:56 PM, An

Re: non blocking code in T5?

2012-06-13 Thread Lance Java
This is not a tapestry question but is a general java concurrency question 1. If you do not use synchronized (or one of the java.util.concurrent.* classes) then multiple threads can enter the method simultaneously. 2. If your method only reads from "shared" immutable fields, you do not need to wo

non blocking code in T5?

2012-06-13 Thread Angelo C.
hi, Got this situation, for every request, I need to call a function of a service, if I understand it, this is a 'blocking' code, the flow will continue only when the function returns, solution that I can think of is, create a thread, and let it run, but considering so many requests can happen in

Re: BreadCrumbsModule error

2012-06-13 Thread sommeralex
ok, i will check this and send you the log asap. thanks 2012/6/13 Thiago H de Paula Figueiredo [via Tapestry] < ml-node+s1045711n5713833...@n5.nabble.com> > On Wed, 13 Jun 2012 04:13:16 -0300, sommeralex > <[hidden email] > > wrote: > > > Hi T

Re: Autocomplete mixin in a beaneditor

2012-06-13 Thread bdm
OK ... I get it working but not completely! Here is the solution working for me: But, in the previous piece of code I can not have my entity field (named 'model') working because of this error: It seems there is a confusion between the field 'model' from the BeanEditForm and mine ... How could

Re: BreadCrumbsModule error

2012-06-13 Thread Thiago H de Paula Figueiredo
On Wed, 13 Jun 2012 04:13:16 -0300, sommeralex wrote: Hi Thiago! Hi! How can i get the log/console if my project is already deployed on the remote server? Check the documentation of the servlet container (Tomcat, Jetty, JBoss, etc) to know where the log is. -- Thiago H. de Paula Fig

Re: Lightweight TapestryTools update site

2012-06-13 Thread Gavin Lei
Yeah, i got a mail notice, thanks 2012/6/12 Dragan Sahpaski : > Hi, > Here's the issue: http://code.google.com/p/tapestrytools/issues/detail?id=31 > > Cheers, > Dragan Sahpaski > > > On Tue, Jun 12, 2012 at 9:52 AM, Gavin Lei wrote: >> Hi Dragan, >> >> If you like, you can add a issue here >> htt

Re: BreadCrumbsModule error

2012-06-13 Thread sommeralex
Hi Thiago! How can i get the log/console if my project is already deployed on the remote server? thx alex 2012/6/12 Thiago H de Paula Figueiredo [via Tapestry] < ml-node+s1045711n5713827...@n5.nabble.com> > On Tue, 12 Jun 2012 18:12:25 -0300, sommeralex > <[hidden email]