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

2006-10-11 Thread Antonio Petrelli
Gregg Leichtman ha scritto: /index.jsp: The problem is that you are trying to forward to a layout page, without filling its attributes. You have to forward to a page that contains: (I guess this is what you need) where "/welcomePage" is the name of the definition. Ciao Antonio

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: and then use This is the *right* way! however, I have used the previous method for rendering the "put" described _within_

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 arou

Re: new to shale tiles

2006-11-08 Thread Antonio Petrelli
Jonathan Smith ha scritto: ok when i do this with this as the definition I get this javax.servlet.ServletException: /debug2.jsp(4,0) Attribute definition invalid for tag insert according to TLD javax.faces.webapp.FacesServlet.service(FacesServlet.java:

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: http://tiles.apache.org/dtds/tiles-config_2_0.dtd";> The problem is that you use the new DTD for your Tiles definitions file, while Shale-Tiles uses a version of Tiles where the structure is very different. I hope t

Re: Tiles integration - TilesContainer not initialized

2007-05-13 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: Need to wrap image in a div tag but it is failing

2007-05-18 Thread Antonio Petrelli
2007/5/18, AM101 <[EMAIL PROTECTED]>: SEVERE: Parse Fatal Error at line 1259 column 31: The value of attribute "value" associated with an element type "set" must not contain the '<' character. Use < and > entities. HTH Antonio

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="" 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

Re: SHALE-409 fix

2007-05-22 Thread Antonio Petrelli
2007/5/22, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Please fix the bug SHALE-409. If you want it fixed, why don't you write a patch? Antonio

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 pat

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 b

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: 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 web

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

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 i

[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. 2

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 > (MockExternalCo