Just a correction, the matching statement example is:

AntPathMatcher.match("core/*","core/exceptionreport")

_______________________
Everton Agner Ramos


2010/9/16 Everton Agner <ton.ag...@gmail.com>

> I liked your module! Even though i wanna do some different things than
> yours, it's really nice.
>
> Btw, for the URL Pattern Matching "Ant-like", I've found that Spring has
> it's implementation, and the code can be find here:
>
>
>
> http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/util/AntPathMatcher.html
>
> http://kickjava.com/src/org/springframework/util/AntPathMatcher.java.htm
>
>
> http://grepcode.com/file/repo1.maven.org/maven2/org.springframework/spring-core/3.0.2.RELEASE/org/springframework/util/StringUtils.java#StringUtils.tokenizeToStringArray%28java.lang.String%2Cjava.lang.String%29
>
>
> Calling AntPathMatcher.match("core/**","core/exceptionreport") (for
> example) will do the trick for the IgnoredPathsPatterns service :)
>
>
> And it'll help me a lot later in my security module...
>
> Thanks!
>
> _______________________
> Everton Agner Ramos
>
>
> 2010/9/14 Everton Agner <ton.ag...@gmail.com>
>
> Thanks a lot!! I'll checkout later at home and have a look at it :)
>>
>> _______________________
>> Everton Agner Ramos
>>
>>
>> 2010/9/14 Alessio Gambi <agamb...@gmail.com>
>>
>> Hi Everton,
>>>
>>> sorry for the delay.
>>>
>>> You can take the code by adding these entries in you pom.xml
>>>
>>> <dependency>
>>>        <groupId>com.gambi.tapestry.menu</groupId>
>>>        <artifactId>tapestry-menu-module</artifactId>
>>>        <version>0.0.1-SNAPSHOT</version>
>>> </dependency>
>>>
>>> <repository>
>>>        <id>gambi-maven-repository</id>
>>>        <url>http://www.inf.usi.ch/phd/gambi/dev/maven/</url>
>>>        <name>Gambi Maven Repository</name>
>>> </repository>
>>>
>>> Or directly download the jar from:
>>>
>>> www.inf.usi.ch/phd/gambi/dev/maven/com/gambi/tapestry/menu/tapestry-menu-module/0.0.1-SNAPSHOT/tapestry-menu-module-0.0.1-SNAPSHOT.jar
>>>
>>> In any case, the jar file contains also the source files.
>>>
>>> If you want to test it, you can download the test application and deploy
>>> it (I just tried only with Tomcat 6) from
>>>
>>> http://www.inf.usi.ch/phd/gambi/dev/apps/testapp.war
>>>
>>> -- Alessio
>>>
>>>
>>>
>>> On Sep 13, 2010, at 4:16 PM, Everton Agner wrote:
>>>
>>>  Oh, cool, I found the blog entry here :
>>>>
>>>> http://blog.tapestry5.de/index.php/2010/01/19/tapestry-ioc-modularization-of-web-applications-without-osgi/
>>>>
>>>> Basically, it is same the problem I'm facing right now. But I don't
>>>> wanna
>>>> make the module so intrusive, and I guess Distributed Configuration is
>>>> nice
>>>> for that purpose. And it fits with what I wanna do later in my Security
>>>> Module.
>>>>
>>>> Btw, can you share some code for the URL Matching w/ wildcards? :)
>>>>
>>>> Thanks!
>>>>
>>>> _______________________
>>>> Everton Agner Ramos
>>>>
>>>>
>>>> 2010/9/13 Alessio Gambi <agamb...@gmail.com>
>>>>
>>>>  Hi,
>>>>> There is an interesting blog entry that talks right about the component
>>>>> you
>>>>> are trying to develop. Just google for Tapestry vs OSGi and you will
>>>>> find
>>>>> it.
>>>>> BTW I did it something like that few time ago and I used regexp.
>>>>>
>>>>>
>>>>> On 13-set-2010, at 15:20, Everton Agner <ton.ag...@gmail.com> wrote:
>>>>>
>>>>>  Yes, probably I'll use it if I have to implement it from scratch. I
>>>>>> just
>>>>>> wanted to know if there was something like that already implemented
>>>>>>
>>>>>> I'll google it for options, maybe there is some API somewhere. If
>>>>>> anyone
>>>>>> knows, please tell me.
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> _______________________
>>>>>> Everton Agner Ramos
>>>>>>
>>>>>>
>>>>>> 2010/9/13 Thiago H. de Paula Figueiredo <thiag...@gmail.com>
>>>>>>
>>>>>>  On Mon, 13 Sep 2010 09:19:18 -0300, Everton Agner <
>>>>>>> ton.ag...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> I'm developing an auto menu builder, which retrives all the pages
>>>>>>> from
>>>>>>>
>>>>>> the
>>>>>
>>>>>>  ComponentSource service. But since core pages are included on it
>>>>>>>> (like
>>>>>>>> /core/servicestatus or something like that), I've created another
>>>>>>>>
>>>>>>> service
>>>>>
>>>>>>  for IgnoredPaths, and I wanna configure paths as Patterns, like
>>>>>>>>
>>>>>>> "core/*".
>>>>>
>>>>>>  I should be OK if i had something like what Ant does for paths and
>>>>>>>> wildcard,that could match patterns like "core/*" and some improved
>>>>>>>>
>>>>>>> paths
>>>>>
>>>>>>  like
>>>>>>>> "**/users/*".
>>>>>>>>
>>>>>>>>
>>>>>>> Tapestry has nothing like that. Have you thought about using regular
>>>>>>> expressions?
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thiago H. de Paula Figueiredo
>>>>>>> Independent Java, Apache Tapestry 5 and Hibernate consultant,
>>>>>>> developer,
>>>>>>> and instructor
>>>>>>> Owner, 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
>>>>>
>>>>>
>>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>

Reply via email to