Could you check your system date (01.01.1970). Its bad getting new mails
for a thread at the very bottom of a maildir.
Thanks and Regards,
Chris
Here goes a response to your question...
Pedro Salgado
- PREVIOUS MESSAGE (on this mailing list)
Hi Robert..
I guess you could
I have a problem with my battery that makes the system date reset to
1970!!! So if you continue see my mails on the bottom of the maildir it
means that... my hardware vendor hasn't solved my problem :)
Pedro Salgado
On 12/01/2004 08:37, Christian Schlaefcke [EMAIL PROTECTED]
wrote:
Could
I'm wondering if Tiles provides support for choosing a Tile dynamically,
i.e., programatically at runtime.
Our business users have the capability to not only modify include files, but
to create new include file directories based on client defined data. We're
looking for a way to support this in
Here goes a response to your question...
Pedro Salgado
- PREVIOUS MESSAGE (on this mailing list)
Hi Robert..
I guess you could achieve the same using the controllerClass attribute and
building your class.. For instance, I have this definition in the
tiles-defs.xml file:
---
Here goes a response to your question...
Pedro Salgado
- PREVIOUS MESSAGE (on this mailing list)
Hi Robert..
I guess you could achieve the same using the controllerClass attribute and
building your class.. For instance, I have this definition in the
tiles-defs.xml file:
---
I definitively agree with that answer :P
--- Pedro Salgado [EMAIL PROTECTED] escribió:
Here goes a response to your question...
Pedro Salgado
- PREVIOUS MESSAGE (on this mailing list)
Hi Robert..
I guess you could achieve the same using the controllerClass attribute
Thanks very much! I'll need to spend a little time digesting this, but it certainly
looks like what I want.
Thanks again.
jim
-Original Message-
From: Pedro Salgado [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 4:04 PM
To: Struts Users Mailing List
Subject: Re: Dynamic
:D... Fortunately I flag the best/most usefull answers I read... This way
I can also help someonelse...
It was also a big help for me :) ...
Pedro Salgado
On 08/01/2004 21:17, Domingo A. Rodriguez S. [EMAIL PROTECTED]
wrote:
I definitively agree with that answer :P
--- Pedro Salgado
Yes, it is possible. You can access the definition factory, and modify
definitions yourself. This require a well understanding of the
structure, because a lot of object are shared, especially when their is
some inheritance.
Also, you can write your own definition factory implementing the
I've just started to use Tiles and Struts together.
I have a question regarding the xml definitions loaded into memory.
My question is would it be possible to parse / modify the definition file at
runtime To say switch the template ?
Mark
Jim Crossley wrote:
Thanks, Cedric. I got this to work in the perform method of my Action
class:
ComponentDefinition definition =
DefinitionsUtil.getDefinition(mapping.findForward(success).getPath(),
request,
One more question...
ComponentDefinition definition =
DefinitionsUtil.getDefinition(mapping.findForward(success).getPath(),
request,
getServlet().getServletContext());
definition.putAttribute( title, Overloaded
If the actionForward contains a definition name, the definition is retrieved,
and missing attributes are added to your definition. Otherwise, ActionForward has
no effect, and I think you should be able to return null.
Jim Crossley wrote:
One more question...
ComponentDefinition
I've just started using Tiles, and I really like it.
I want to be able to overload my attributes in my struts actions prior
to forwarding to the tiles definitions, but I'm having some trouble.
I found this message in the archives:
First, check that you use tilesForStruts1.0.jar, as you are using Struts1.0.1.
Second, check if your tiles/struts1.0.1 installation works :
* install tiles-doc.jar or struts-tiles.jar
* replace WEB-INF/lib/struts.jar with struts.jar from 1.0.1
* replace tiles.jar with
I don't mean to be a bondhead, but all I did was copy the
tiles-doc.jar to Tomcat's webapps directory. Wouldn't it be bundled
with the correct struts version?
The page, /test/testStrutsAction.jsp, *does* run correctly, but
/test/testAction.do does not. It's the latter that seems to be what I
tiles-doc.jar is shipped with Struts1.1 previous than 15 jan, and is ready to run. So
you can try the mentioned url test directly on it, and it should run. If not, let me
know.
However, you have mentioned that you try to use Tiles with Struts1.0.1. If true, you
need to use
Cedric Dumoulin [EMAIL PROTECTED] writes:
tiles-doc.jar is shipped with Struts1.1 previous than 15 jan, and is
ready to run. So you can try the mentioned url test directly on it,
and it should run. If not, let me know.
This runs:
http://localhost:8080/tiles-doc/test/testStrutsAction.jsp
Ok, after looking at testStrutsAction.jsp, I realized that
testAction.do is not doing exactly what I thought it was, and invoking
it standalone was never going to work anyway.
I'm now beginning to think that what I really need is a Controller, so
I'm going to focus my efforts there for now. The
So your install seem to work perfectly. Sorry for the wrong response before, it
is what happen when you do to much things in the same time.
It is normal that the componentContext is not found if you access directly the
action (with *.do). The context is set when the tile is inserted, or
Jim Crossley wrote:
I'm now beginning to think that what I really need is a Controller, so
I'm going to focus my efforts there for now. The docs mention that a
Controller could be implemented as a Struts action. Does that require
the Action to implement the Controller interface or is
Thanks, Cedric. I got this to work in the perform method of my Action
class:
ComponentDefinition definition =
DefinitionsUtil.getDefinition(mapping.findForward(success).getPath(),
request,
Hi,
There is several way to have dynamic definition.
The first one is to write your own definitions factory implementing
'ComponentDefinitionsFactory'. The getDefinition() method is called each time you
insert
a definition. So you can implement your own to serve your dynamic definition.
23 matches
Mail list logo