Re: UnsupportedOperationException

2007-12-17 Thread Antonio Petrelli
2007/12/17, Diane J [EMAIL PROTECTED]: Diane Jewett wrote: How do I get around an UnsupportedOperationException from shale? java.lang.UnsupportedOperationException at org.apache.shale.test.mock.MockExternalContext.getRequestHeaderValuesMap (MockExternalContext.java:257)

[ANN] Invitation to Javaday Roma, saturday 1st December (second edition)

2007-11-21 Thread Antonio Petrelli
Rome - saturday, 1st December 2007, the second edition of Javaday in Rome will be taken. It is an event promoted by Jug Roma, Javaportal community and JIA. The Javaday Roma (http://roma.javaday.it/) is an event with a lot of technical discussions, tailored for both expert and junior programmers.

Re: [clay] reloading tiles on subsequent requests

2007-11-02 Thread Antonio Petrelli
2007/11/1, Tomasz Pasierb [EMAIL PROTECTED]: I've noticed that when a tile changes and I hit 'refresh' in the browser the new content is not reflected in the browser. I have to restart the webapp in order to see the new content. A Tiles users had a similar problem, that he solved. See if it

Re: shale 1.0.4 and tiles

2007-10-04 Thread Antonio Petrelli
2007/10/4, Pavel Savara [EMAIL PROTECTED]: Hi , I am trying to build it with newer tiles version but i am getting error. That class was moved to another package. Nightly shale is using same old tiles as release 1.0.4. Shale 1.0.4 does not support the latest version of Tiles, you HAVE to

Re: SV: Tiles integration

2007-09-13 Thread Antonio Petrelli
Gregg, why don't you post your work as a patch in JIRA? If you cannot find the right issue, open a new one. Anyway good candidates are: https://issues.apache.org/struts/browse/SHALE/component/21281 Antonio 2007/9/13, Gregg Leichtman [EMAIL PROTECTED]: I was not successful in getting the webapp

Re: Open problems

2007-06-07 Thread Antonio Petrelli
2007/6/7, [EMAIL PROTECTED] [EMAIL PROTECTED]: Do you think to spend you time (thanks thanks...) to resolve these problems or you are already planned to do others? Mario, My suggestions are: 1) if a patch is not there, write a patch and post it as a JIRA issue. 2) if the patch is present

Re: Open problems

2007-06-07 Thread Antonio Petrelli
2007/6/7, [EMAIL PROTECTED] [EMAIL PROTECTED]: But are you a shale developer? No, I am a Struts and Tiles committer and I know the process. You cannot force anyone to apply patches, we (intended as Apache developers) all have our reasons, and we are all volunteers. Currently, using your

Re: Open problems

2007-06-07 Thread Antonio Petrelli
2007/6/7, [EMAIL PROTECTED] [EMAIL PROTECTED]: Please, I didn't want force anyone and if you understood this is just because my English is very bad. Probably mine is worse :-) What I'm trying to know if I have to plan to deploy the application with my version of sources of someone have

Re: SHALE-409 fix

2007-05-22 Thread Antonio Petrelli
2007/5/22, [EMAIL PROTECTED] [EMAIL PROTECTED]: Antonio, can i? Looking to http://issues.apache.org/struts/browse/SHALE-409 seems to be present the solution. What can I do to write the patch? With write I meant modify your local version, export a diff file and post the newly created patch.

Re: Need to wrap image in a div tag but it is failing

2007-05-18 Thread Antonio Petrelli
2007/5/18, AM101 [EMAIL PROTECTED]: I am sorry I am not sure what do you mean, can you please explain? you wrote : value=/div This is not XML compliant, since the and characters are used to delimit tags. Instead you have to use the corresponding XML entities. In other words change your

Re: Tiles integration - TilesContainer not initialized

2007-05-14 Thread Antonio Petrelli
2007/5/14, Lionel Port [EMAIL PROTECTED]: Thanks Antonio. Where can I find the dtd that I can use with 1.0.4? Inside the tiles-core-xxx.jar itself, in org/apache/tiles/resources directory. Antonio

Re: Tiles integration - TilesContainer not initialized

2007-05-11 Thread Antonio Petrelli
2007/5/11, Lionel Port [EMAIL PROTECTED]: tiles-def.xml looks like this: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apache.org/dtds/tiles-config_2_0.dtd; The problem is that you use the

Re: Tiles Failure in GlassFish: org.apache.tiles.NoSuchDefinitionException

2006-10-11 Thread Antonio Petrelli
Gregg Leichtman ha scritto: I suppose that I could create a different definition like: definition name=/mainLayout path=/tiles/layouts/siteLayout.jsp put name=htmlHeader type=template value=/ put name=header type=template value=/tiles/headerTile.jsp/ put

Re: Tiles Failure in GlassFish: org.apache.tiles.NoSuchDefinitionException

2006-10-11 Thread Antonio Petrelli
Gregg Leichtman ha scritto: Sorry, I'm still confused as to how my original approach is different from Mr. Starr's. As far as I can see, he seems to be inserting tiles in his /tiles/layouts/classicLayout _directly_ from the puts for title and body, not from an extended definition wrapped