Re: [Rife-users] rife-crud jars with nightly rife 1.6 build

2007-05-15 Thread Geert Bevin
Sorry for the delay, this is fixed now, and RIFE/Crud in SVN works  
correctly with the new manyToOne code.


On 17 Apr 2007, at 06:14, Geert Bevin wrote:


Hi Henk,

thanks for reporting this. The manyToOne support is evolving atm,  
so that's why this isn't working. I'll look into it.


Take care,

Geert

On 16 Apr 2007, at 21:46, Henk wrote:


Hi,

I'm trying out Rife 1.6 nightly build 20070413.  When starting my  
app, this gives a problem with some Rife-CRUD participants :


SEVERE: java.lang.NullPointerException
	at com.uwyn.rife.crud.CrudSiteProcessor.buildAdminSubsite 
(CrudSiteProcessor.java:154)
	at com.uwyn.rife.crud.CrudSiteProcessor.processSite 
(CrudSiteProcessor.java:99)

at com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:247)
	at com.uwyn.rife.engine.SiteBuilder.setupSubsites 
(SiteBuilder.java:995)

at com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java:1616)
at com.uwyn.rife.engine.SiteBuilder.finish(SiteBuilder.java:260)
at com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:251)
	at com.uwyn.rife.engine.SiteBuilder.setupSubsites 
(SiteBuilder.java:995)

at com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java:1616)
at com.uwyn.rife.engine.SiteBuilder.finish(SiteBuilder.java:260)
at com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:251)
at com.uwyn.rife.engine.SiteBuilder.getSite(SiteBuilder.java:177)
	at com.uwyn.rife.rep.participants.ParticipantSite.initialize 
(ParticipantSite.java:36)
	at com.uwyn.rife.rep.BlockingParticipant.run 
(BlockingParticipant.java:230)

at java.lang.Thread.run(Thread.java:613)

So I was wondering if somewhere I can find a nightly build of Rife- 
CRUD that goes with this Rife build.


Thanks

Henk



Henk
[EMAIL PROTECTED]



___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users



--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn Use what you need - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users



--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn Use what you need - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] Database Relations

2007-05-15 Thread Geert Bevin

Hi Jeremy,

sorry, this email moved too far down in my inbox. Is your question  
how to do manyToOne relationships with RIFE's database layer and  
MetaData?


The upcoming 1.6 has been a lot improved in that regard and you can  
download a nightly build. Looking at the examples in the testsuite  
should help you to get started, I still need to write the docs for this:


https://svn.rifers.org/rife/trunk/src/unittests/com/uwyn/rife/ 
database/querymanagers/generic/TestGenericQueryManagerManyToOne.java

https://svn.rifers.org/rife/trunk/src/unittests/com/uwyn/rifetestmodels/

Hope this helps,

Geert

On 16 Apr 2007, at 22:37, Jeremy Cowgar wrote:

How do I setup my POJOs to take advantage of my MetaData that has  
manyToOne style relationships? Do I simply add non-persisted  
attributes of the values I want to attach and then on the Select  
query do joinInner's?


--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn Use what you need - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


[Rife-users] RIFE Localization on included blocks

2007-05-15 Thread Eskil Lauritsen

We are using the resourcebundle method for localization in our webapp
and we are having problems with translating template blocks that are
included in other templates but have no implementation file of their
own.

They are however included (r:i) in templates which do have
associated implementations, but adding the translation variables to
the .properties-file for the template they are included in does not
work either.

Sincerely
Eskil Lauritsen
___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] rife-crud jars with nightly rife 1.6 build

2007-05-15 Thread Henk

thanks !

I'll try it.

Henk

On 15 May 2007, at 09:05, Geert Bevin wrote:

Sorry for the delay, this is fixed now, and RIFE/Crud in SVN works  
correctly with the new manyToOne code.


On 17 Apr 2007, at 06:14, Geert Bevin wrote:


Hi Henk,

thanks for reporting this. The manyToOne support is evolving atm,  
so that's why this isn't working. I'll look into it.


Take care,

Geert

On 16 Apr 2007, at 21:46, Henk wrote:


Hi,

I'm trying out Rife 1.6 nightly build 20070413.  When starting my  
app, this gives a problem with some Rife-CRUD participants :


SEVERE: java.lang.NullPointerException
	at com.uwyn.rife.crud.CrudSiteProcessor.buildAdminSubsite 
(CrudSiteProcessor.java:154)
	at com.uwyn.rife.crud.CrudSiteProcessor.processSite 
(CrudSiteProcessor.java:99)

at com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:247)
	at com.uwyn.rife.engine.SiteBuilder.setupSubsites 
(SiteBuilder.java:995)
	at com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java: 
1616)

at com.uwyn.rife.engine.SiteBuilder.finish(SiteBuilder.java:260)
at com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:251)
	at com.uwyn.rife.engine.SiteBuilder.setupSubsites 
(SiteBuilder.java:995)
	at com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java: 
1616)

at com.uwyn.rife.engine.SiteBuilder.finish(SiteBuilder.java:260)
at com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:251)
at com.uwyn.rife.engine.SiteBuilder.getSite(SiteBuilder.java:177)
	at com.uwyn.rife.rep.participants.ParticipantSite.initialize 
(ParticipantSite.java:36)
	at com.uwyn.rife.rep.BlockingParticipant.run 
(BlockingParticipant.java:230)

at java.lang.Thread.run(Thread.java:613)

So I was wondering if somewhere I can find a nightly build of  
Rife-CRUD that goes with this Rife build.


Thanks

Henk



Henk
[EMAIL PROTECTED]



___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users



--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn Use what you need - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users



--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn Use what you need - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Henk
[EMAIL PROTECTED]



___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users