Re: [T5.1-Hib] Hibernate 3.5-Final release with Envers

2010-04-05 Thread Michał Minicki
Unless the dependency specifies a version range that your lib is
outside of. But as Kalle said - start with supplying your own
dependency with desired version which should satisfy your libs'
requirements. If it does not then it's time to exclude. But be aware
that you will be overriding author's decision on what library version
his software works.

http://www.sonatype.com/books/mvnex-book/reference/optimizing-sect-dependency-plugin.html

And this one is a must if you lack basic knowledge of what transitive
dependencies are all about:
http://www.sonatype.com/books/mvnex-book/reference/simple-project-sect-dep-management.html

Regards,
Michał

On Mon, Apr 5, 2010 at 20:46, Kalle Korhonen  wrote:
> No need to exclude anything. The nearest resolution wins; if you
> specify a different version for the same library in your pom, that's
> version you are going to get.
>
> Kalle
>
>
> On Mon, Apr 5, 2010 at 11:40 AM, Thiago H. de Paula Figueiredo
>  wrote:
>> On Mon, 05 Apr 2010 15:18:18 -0300, Everton Agner
>>  wrote:
>>
>>> Well, has anyone upgraded the [tapestry-hibernate-5.1.0.5.jar] lib to a
>>> newer Hibernate version via Maven?
>>
>> Use the exclusion tag and provide you own Hibernate dependency. It's
>> documented here:
>> http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
>> instructor
>> Owner, software architect and developer, Ars Machina Tecnologia da
>> Informação Ltda.
>> http://www.arsmachina.com.br
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
> ---------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Michał Minicki
mar...@post.pl

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



@EventListener on contrib:MultiplePropertySelection (Tapestry 4.1)

2010-03-18 Thread Michał Minicki
Hi. Is it possible to add @EventListener to a
contrib:MultiplePropertySelection in Tapestry 4.1 (dojo) and listen to
onclick on its checkboxes? I would like to redraw the component
everytime I click on a checkbox (as I'm toggling disabled and checked
properties on the rest of them then).

I would like to achieve this (Java):

@EventListener(events = "onclick", targets = "selectPackages")
public void packagesSelected(IRequestCycle cycle) {
log.info("> packagesSelected");
cycle.getResponseBuilder().updateComponent("selectPackages");
}

HTML:



Of course I would like to listen to onClick on all member checkbox
elements generated by this component, e.g.: selectPackages.0,
selectPackages.1, selectPackages.2, etc...

Or is there any other way to achieve the same effect with another set
of components?

-- 
Michał Minicki
mar...@post.pl

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org