Removing data source support? It's ok for me... I took a piece of code
from Struts DataSource support for this project:
http://sdsmanager.sourceforge.net/
Obviously with all the needed disclaimers :-P
It works as a plugin for Struts. I made that library because I think a
better DataSource support i
> ... my hunch is that there are very few people who have actually written
code that depends on the implementation details of Tiles besides writing
Controllers ...
Err... Include me in the list please:
http://mutidimensions.sf.net/
Dimensions is based on DefinitionsFactory, FactorySet and various
Cedric Dumoulin wrote:
> But be care, there is some not so often used API that are used by some
companies. I hope these APIs will remain. I think of :
> ...
> - the i18n mechanism to load alternative definition files
Yeah right. Dimensions uses that mechanism to show different pages for
diffe
Joe Germuska wrote:
> Thanks for speaking up! That said, the code we're talking about is in a
different package (org.apache.tiles rather than org.apache.struts.tiles)
so your project could maintain its dependency on the original Struts Tiles
code and make a reasoned decision about how and when to
Hi list!
As I promised here is my suggestion...
In Dimensions I had to use a workaround for a missing feature. In order to
resolve inheritances and overriding definitions between multiple
definition files, i need to follow these steps:
1) Find the "leaf" definition file;
2) build the path from this
Whooops a missing step!
>
>1) Find the "leaf" definition file;
>2) If it is already loaded, finish.
>3) Create an empty definitions set;
>4) put all missing definitions loaded into the definitions set;
>5) find the parent definition file;
>6) if it is already loaded, put all missing definitions (b
Greg Reddin wrote:
> If I understand you correctly Standalone Tiles may be doing that now by
default. I'll have to take another look at it (maybe add another test
case).
>
What do you mean with "by default"? As you can see in XmlDefinitionsSet
and FactorySet's JavaDoc it says (at the method "ex
[EMAIL PROTECTED] wrote:
>
>... But suppose that, one day, there will be some dynamic Tiles
>definitions (i.e. think about customizable home pages with preferred
>sections such as MyYahoo). Do I have to reload all definitions files from
>root for all the users?...
Uh wrong example, you know this
Greg Reddin wrote:
>
> Ok, I may have misunderstood. I thought you were saying that the
following setup doesn't work:
> ... (omissis)
>
> I thought you were saying "child" would not be able to extend
> "parent" because they exist in different files. I *think* this feature
> exists, but I'd have
I noticed that TilesRequestProcessor and TilesPlugin have disappeared from
Tiles standalone.
I know that TilesPlugin absence could be replaced with TilesServlet (I
think it only initializes the definitions factory, correct me if I am
wrong) but TilesRequestProcessor is useful for Struts users.
I wa
Whoops I have to correct myself.
I use:
mapping.findForward("success");
while in struts-config.xml I put this:
But the question is the same
;-)
[EMAIL PROTECTED] wrote:
>I noticed that TilesRequestProcessor and TilesPlugin have disappeared
from
>Tiles standalone.
>I know that TilesPlugin absenc
Hello (again) :-)
I am in the process of porting a product based upon (Struts) Tiles called
"Dimensions". It makes intensive use of "FactorySet" class.
I am trying to port a simple example to Tiles Standalone, but I'm having a
growing headache! :-P
So let's start:
1) First of all I noticed that yo
Joe Germuska wrote:
>
> I would think that if you were using the TilesServlet mapped to handle
requests for "*.tiles" then
>
>>
>
>
> would just become
>
>>
>
>
> or something similar depending on how the TilesServlet maps paths to
definitions.
>
> I haven't tried this, but it seems to make sens
I was wondering where I might hack the code when I saw this in
TilesUtilImpl:
if (definition == null) {
if (!factory.isLocaleProcessed(request.getLocale())) {
// FIXME This will modify the factory as well as the
definitions
// bu
Greg Reddin wrote:
>
> Yes, I understand, and I still have your messages from about a month
ago in my inbox and have not forgotten your requests, though I'm not sure
I fully understand what you are trying to do.
The typical scenario is:
1) take the HttpServletRequest, in particular a bean (in se
15 matches
Mail list logo