On Sat, Jan 29, 2005 at 02:31:32PM +0100, Andr? van Toly wrote:
OK, but what would be a good MVC framework for MMBase?
Good question :-) The only generic MVC framework that I've attempted
to use with MMBase is struts, and I wasn't impressed - there is a lot of
overlap in functionality between
At 16:31 +0100 28-01-2005, Joost Diepenmaat wrote:
How's that different from creating the builders and relations first
before writing the jsp pages to display/edit them? If you need to change
your model (move data from one table to the next, use
different relations etc) that really is much easier
Rob van Maris wrote:
Michiel M
The other thing that I would very much miss is the mm:content /
escaper
functionallity, which perhaps would be a detail, but actually quit
essential, because generally it is wrong to just put your field to the
page,
HTML-escaping a field value:
jtsp:forEach tags:
the forEach tag can be useful. but when people start using it they
will need the exact functions that are in the mmbase taglib
-know the size of the list
-know if the list is not empty
-know if this is the first / last element
This partly overlaps with Wouter's
Kees Jongenburger wrote:
I am not shure , but I did not find how to get the size of the list
and the current index so odd/even was not possible
Actually I though I did it alreayd, but turned out that I used mm:index.
mm:index id=i
...
tr class=${i mod 2 eq 0 ? 'even' : 'odd'}
...
On Fri, Jan 28, 2005 at 10:32:53AM +0100, Wouter Heijke wrote:
To me using news,posrel,images notation inside a tag is already
something that should then be done inside a controller.
I disagree - this is something that should be done by the model:
news.getImages() or something should implement
On Fri, 28 Jan 2005 12:03:54 +0100, Joost Diepenmaat [EMAIL PROTECTED] wrote:
On Fri, Jan 28, 2005 at 10:32:53AM +0100, Wouter Heijke wrote:
To me using news,posrel,images notation inside a tag is already
something that should then be done inside a controller.
I disagree - this is
At 11:30 + 28-01-2005, Kees Jongenburger wrote:
It was a while ago but V2 proposed to define the data used in view in
xml. This would free us from the posrel problem in jsp pages. I think
(like rico said) that the A current way to do this might be to have
separates jsp (or jsp parts) to define
On Fri, Jan 28, 2005 at 12:43:35PM +0100, Andr? van Toly wrote:
At 11:30 + 28-01-2005, Kees Jongenburger wrote:
[ ... ]
I dislike MVC because it's anty OO and you have to do everything
3 or more times.
This is more of a problem with certain MVC frameworks than others.
Struts makes you