Re: How to use Jquery with Tapestry

2013-08-13 Thread William Lopes
Hi, Links for help you: http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/jquery http://tapestry5-jquery.com/ Hugs. 2013/8/4 newbie newbie > Hi, > I am using jquery/datatable. I want to highlight selected row in the > datatable. There is sample jQuery code that implements t

Re: Fwd: Get label input submit

2012-10-17 Thread William Lopes
Hey guys, after all this discussion, someone have idea of how I can get the label of the submit button? 2012/10/17 William Lopes > Man, I tested this today and not works in the practice. > > 2012/10/16 Thiago H de Paula Figueiredo > >> On Tue, 16 Oct 2012 22:25:48 -0

Re: Fwd: Get label input submit

2012-10-16 Thread William Lopes
Man, I tested this today and not works in the practice. 2012/10/16 Thiago H de Paula Figueiredo > On Tue, 16 Oct 2012 22:25:48 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > So, we go to say that I have 3 atributes in my form: title(stringGeneric), >> a

Fwd: Get label input submit

2012-10-16 Thread William Lopes
d will be "year", if I add another field, like description(stringLargeGeneric), the return to click in submit button will be "description". This happens because the context is loaded just after click in the submit. 2012/10/16 Thiago H de Paula Figueiredo > ** > On Tue

Re: Get label input submit

2012-10-16 Thread William Lopes
). I > have no idea what this id you're passing as a context. Anyway, it should be > currentAtributoGeneric itself (if it's an entity class) or some property of > it that you can use to retrieve the original object in the event handler > method. > > > > > On Tue, 16 O

Re: Get label input submit

2012-10-16 Thread William Lopes
.java http://pastebin.com/PPuJjkSm .tml http://pastebin.com/Fz4yWzNX Like I said in previous mails, the context of the submit button is changed for the currentAtributoGeneric of last input field of the form. 2012/10/16 Thiago H de Paula Figueiredo > On Tue, 16 Oct 2012 17:06:57 -0300, Will

Re: Get label input submit

2012-10-16 Thread William Lopes
http://pastebin.com/PPuJjkSm 2012/10/16 Thiago H de Paula Figueiredo > On Tue, 16 Oct 2012 15:49:12 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > That's what I think too, but in the practice this not works. >> > > Code please. ;) >

Re: Get label input submit

2012-10-16 Thread William Lopes
That's what I think too, but in the practice this not works. 2012/10/16 Thiago H de Paula Figueiredo > On Tue, 16 Oct 2012 15:13:09 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > Yes, but my currentAtributoGeneric is just one variable and your value

Re: Get label input submit

2012-10-16 Thread William Lopes
Yes, but my currentAtributoGeneric is just one variable and your value is changed the each iteration. I have that to find another way, something that make reference too. If I use the currentAtributoGeneric like you said, I'll to catch just the last currentAtributoGeneric, independently of which I c

Re: Get label input submit

2012-10-16 Thread William Lopes
But is this way that I use. How my form is dynamic, everything is dynamic, until the id. Because of this I would enjoy to know how get the label of the clicked submit. 2012/10/16 Lance Java > Use the event onSelectedFromX() where X is the t:id of the t:submit. > > > > > -- > View this message i

Re: autocomplete mixin - li.selected event?

2012-08-23 Thread William Lopes
You would can put an onchange event in text input, don't? 2012/8/23 Vladimir Bauer > Good day everybody! > > Does autocomplete mixin fires a server side event after an option was > selected from a popup list? > If not any idea how to fire an event when option was selected? > > Regards, > Vladim

Re: GridDataSource has been transformed and may not be directly instantiated

2012-08-22 Thread William Lopes
Ok, thank you again. You already saved me twice today. 2012/8/22 Christian Riedel > That's up to your personal taste ;-) > > Am 23.08.2012 um 02:18 schrieb William Lopes: > > > Thank you so much again, it is solved. > > > > I put in util package, is a good pr

Re: GridDataSource has been transformed and may not be directly instantiated

2012-08-22 Thread William Lopes
Thank you so much again, it is solved. I put in util package, is a good practice? 2012/8/22 Christian Riedel > move br.cnt.aas.material.components.MaterialGridDataSource into another > package since it's obviously not a component class! > > Am 23.08.2012 um 02:03 schr

Re: GridDataSource has been transformed and may not be directly instantiated

2012-08-22 Thread William Lopes
doing MAGIC a.k.a. convention over configuration ;) > > > > Am 23.08.2012 um 01:36 schrieb William Lopes: > > > Hello again! > > > > So, I'm updating my app for the last version of tapestry and by that > seems, > > this is the last thing to be done. >

Re: Trouble with update of the tapestry(5.1.0.5 => 5.3.4)

2012-08-22 Thread William Lopes
> org.hibernate > hibernate-c3p0 > 3.6.8.Final > > > The transitive dependency should load c3p0 0.9.1. > > Am 22.08.2012 um 05:15 schrieb Thiago H de Paula Figueiredo: > > >

Re: Trouble with update of the tapestry(5.1.0.5 => 5.3.4)

2012-08-21 Thread William Lopes
Can you to say me which is the version of yours Tapestry, Hibernate and C3P0? 2012/8/21 Thiago H de Paula Figueiredo > Hi! > > > On Tue, 21 Aug 2012 15:35:21 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > Could not instantiate connection provide

Re: Trouble with update of the tapestry(5.1.0.5 => 5.3.4)

2012-08-21 Thread William Lopes
ncy version between T5.1 and T5.3. In my experience, at > least with T5.2.x, tapestry-hibernate will work fine with the version of > hibernate supplied used with 5.1, but later hibernate versions may not play > well with your app. > > Robert > > On Aug 21, 2012, at 8/211:35 PM , Wi

Trouble with update of the tapestry(5.1.0.5 => 5.3.4)

2012-08-21 Thread William Lopes
Hi guys. So, I already have a app done and working fine, even it be in the version of the tapestry 5.1.0.5. Yesterday, talking with my supervisor, we decide to update tapestry for last version. I applied the update and worked, but can't connect with db. Returning for me this error at to log (thi

Re: Autocomplete with two parameters

2012-08-14 Thread William Lopes
parameter. > Then in your "onProvideCompletions" method, you can grab the parameter from > an injected Request object. > > Robert > > On Aug 13, 2012, at 8/136:13 PM , William Lopes wrote: > > > If someone to have some other idea that can to solve, I'm ready t

Re: Autocomplete with two parameters

2012-08-13 Thread William Lopes
If someone to have some other idea that can to solve, I'm ready to listen. Thanks. 2012/8/13 William Lopes > Hi guys. > > I'm already for done my project, but now the things are too ugly. > > So, I need make an autocomplete, the default I already did, but don't

Re: Grid columns sort

2012-08-10 Thread William Lopes
Hi guys, so, I achieved do it! Thanks the both, I'm so happy to have achieved. I really had of implement a MaterialGridDataSource replete of little things. I go leave the source code for somebody that can to need in the future. > @SuppressWarnings("all") > public class MaterialGridDataSource i

Re: Grid columns sort

2012-08-10 Thread William Lopes
Hi guys again. hehe So, I did create a class MaterialGridDataSource that implements GridDataSource and I put as my source in the Grid. But, for I to do my comparisons, I need to know the label of the column that was "clicked". How I do it? Thank you! 2012/8/10 William Lopes > @P

Re: Grid columns sort

2012-08-10 Thread William Lopes
@Pavel Thanks, I think that now I did understand. I go create a prepare method for my class Material, and it I will implement the comparable (following the same default), ok? @Thiago I want implement a ordination (normal, common like the existing) of the rows by column (additional). 2012/8/10 Pa

Re: Grid columns sort

2012-08-10 Thread William Lopes
way of sort for it. I still very newbie with tapestry, cause this I would like of example more explicit. Can you undestand me? 2012/8/9 Thiago H de Paula Figueiredo > On Thu, 09 Aug 2012 19:59:45 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > Yes, I want do

Re: Grid columns sort

2012-08-09 Thread William Lopes
; write a wrapper that implements GridDataSource, delegates to an existing > CollectionGridDataSource for all operations, then does additional sorting > itself in #prepare. > > - P > > On Thu, Aug 9, 2012 at 3:59 PM, William Lopes >wrote: > > > Thanks for answer. > >

Re: Grid columns sort

2012-08-09 Thread William Lopes
Thanks for answer. Yes, I want do sort by myself, could you give a example of GridDataSource implementing a Grid? 2012/8/9 Thiago H de Paula Figueiredo > On Thu, 09 Aug 2012 19:06:48 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > Hi guys. >> >

Re: t:parameter name dynamic

2012-08-02 Thread William Lopes
Please, you would give me a example? How to use? 2012/8/2 Thiago H de Paula Figueiredo > (or also the syntax) are *not* dynamic because > they're not components, they're part of the structure of Tapestry > templates, and Tapestry templates have static structure. Instead, you > should provide c

Re: Tapestry with unit since the begin

2012-07-12 Thread William Lopes
TML, CSS e SQL too. 2012/7/11 Thiago H de Paula Figueiredo > On Wed, 11 Jul 2012 16:36:09 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > Ok ok, but exists this lists for that people can to help and be helped. >> > > Yes, but help about Tapestry and

Re: Tapestry with unit since the begin

2012-07-11 Thread William Lopes
2012/7/11 Howard Lewis Ship > Here's the situation. > > This list exists to help people with problems specific to Tapestry. > It's pretty active, and people are very willing to help ... with > Tapestry specific problems. It is not a resource for people to learn > everything about Java, or testing

Re: Tapestry with unit since the begin

2012-07-11 Thread William Lopes
Ok ok, but exists this lists for that people can to help and be helped. If you won't help me, I ask that ignore my e-mails. 2012/7/11 Thiago H de Paula Figueiredo > On Wed, 11 Jul 2012 15:54:03 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > I disagree w

Re: Tapestry with unit since the begin

2012-07-11 Thread William Lopes
I disagree where you talk that "all this is outside the scope of this mailing list", until because, this mailing list isn't so active. But, anyway, thank you. If more someone can help, I would be very happy. 2012/7/11 Thiago H de Paula Figueiredo > On Wed, 11 Jul 2012 15:32

Re: Tapestry with unit since the begin

2012-07-11 Thread William Lopes
4:49:53 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > Hi, I'm with a project where I have that to do unit tests, but as I never >> have that to do before it, I don't make idea of how make. >> > > Hi! > > Take a look at http://tapestr

Tapestry with unit since the begin

2012-07-11 Thread William Lopes
Hi, I'm with a project where I have that to do unit tests, but as I never have that to do before it, I don't make idea of how make. I already see some pages about this, but nothing that make me to learn myself. I don't make idea if I have that execute in mode java application or server applicatio

Re: HashMap with Grid (or Loop)

2012-06-24 Thread William Lopes
/6/23 Thiago H de Paula Figueiredo > Bão? :) > > On Sat, 23 Jun 2012 18:00:09 -0300, William Lopes < > williamlopes@gmail.com> wrote: > > @Persist > private Object object; > > > >${object.value} > > > This (object.value) won't work becau