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

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

2007-04-16 Thread Henk
) 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

Re: [Rife-users] Rife DB vs Hibernate or iBatis

2007-04-10 Thread Henk
go ahead and use your prefered ORM tool. good luck Henk On 09 Apr 2007, at 21:50, Jeremy Cowgar wrote: I am wondering, why should I use the RIFE db abstraction instead of say Hibernate or iBatis? Jeremy ___ Rife-users mailing list Rife-users

Re: [Rife-users] users password not retrievable

2007-04-09 Thread Henk
I can see the password in the tables. It is even unencrypted. Also authenticating works. Strange. Henk On 06 Apr 2007, at 09:43, Geert Bevin wrote: When I try this code, it just works. Are you sure you actually stored a password for the users in the database? Can you check

[Rife-users] users password not retrievable

2007-03-28 Thread Henk
(users.getLogin (user_id)).getPassword()); } This always returns pass: null. Setting the password however works fine. Is there another way (apart from using my own sql statement) ? Thanks Henk Henk [EMAIL PROTECTED] ___ Rife-users mailing list

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Henk
Hi, you probably checked this, but are you sure the MySQL jdbc driver is in the classpath ? cheers Henk On 22 Mar 2007, at 21:11, Mork0075 wrote: Hi, i try to add some basic database functionality to my rife app, but got some errors. First of all, adding this line to my auth.xml

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Henk
Actually, rife jumpstart does support MySQL, but does not include the driver. Moreover, it depends on your mysql version which jdbc driver you should use. Check out http://www.mysql.com/products/connector/ j/ for more information. good luck Henk On 22 Mar 2007, at 21:23, Mork0075 wrote

Re: [Rife-users] Problem adding database support to rife

2007-03-22 Thread Henk
, the database should exist together with a working user. cheers Henk On 22 Mar 2007, at 21:51, Mork0075 wrote: Ok, thanks a lot, this was my mistake. But the other problem remains: The property 'datasource' of element 'auth/loginBoxElement.xml' was expected to have the type

[Rife-users] java.util.Date in named output bean

2007-01-11 Thread Henk
. The dates are null. What can this be ? I'm using the 1.6 snapshot dated 20070110 thanks Henk This is my bean : public class FilterBean { private Date startdate=null; private Date enddate=null; private String test=null; private Integer bandID=null; private boolean confirmed

Re: [Rife-users] Merry Christmas Everyone!

2006-12-28 Thread Henk
Too late for christmas, but have a happy new year ! Steve Holmes wrote: Happy Holidays everyone whatever you're celebrating this season and Happy New Year! ___ Rife-users mailing list Rife-users@uwyn.com

Re: [Rife-users] exit after form submission

2006-11-07 Thread Henk
Hi Geert, it turned out I needed to use get*NAMED*InputBean instead of getInputBean. Not sure when I can use the named or the plain one though. Thanks Henk Geert Bevin wrote: Hi Henk, can you also provide the implementation of the bean? A minimal standalone testcase that I can run would

Re: [Rife-users] exit after form submission

2006-11-02 Thread Henk
)getInputBean(TrackSubmissionBean.class,trackformbean); System.out.println(bean.getBand_id()); } the bean is emtpy. I will try a standalone testcase. thanks Henk Emmanuel Okyere wrote: How do you know the outputbean is not being set? How does your site structure look like? Do you have

[Rife-users] rife on tomcat 4.1 and java 1.4

2006-10-30 Thread Henk
Hi, I'm trying to use rife with my hosting firm who uses (unfortunately) java 1.4 and tomcat 4.1. I'm pretty sure the rife app in itself works ok, but I can not get it deployed. Anything special related to this combination that I need to know ? Thanks Henk

Re: [Rife-users] rife on tomcat 4.1 and java 1.4

2006-10-30 Thread Henk
hmm, nevermind. I think I will still have some 1.5 compiled classes around. cya Henk Henk wrote: Hi, I'm trying to use rife with my hosting firm who uses (unfortunately) java 1.4 and tomcat 4.1. I'm pretty sure the rife app in itself works ok, but I can not get it deployed. Anything

Re: [Rife-users] list of inputs in a form

2006-10-27 Thread Henk
works great ! Thanks Emmanuel. Henk Emmanuel Okyere wrote: Henk, I think you can give them the same name, and probably have a different id for each of them. Then use the getParameterValues() (or any of the speicialized ones: getParametertypeValues) call to retrieve them in the order

[Rife-users] list of inputs in a form

2006-10-26 Thread Henk
easily ? I know in php, one can use an array notation (like comment[]), is there some trick available in Rife too ? Thanks a lot, Henk ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

Re: [Rife-users] the mysql connection timeout problem

2006-09-29 Thread Henk
Great, thanks ! I'll take a look. Henk Steven Grimm wrote: FYI, I just checked something into the RIFE trunk to address this. The next nightly snapshot should have it, or you can pull it down from Subversion if you're really anxious. You can put this scheduler job in place: task

[Rife-users] the mysql connection timeout problem

2006-09-28 Thread henk
some cheap sql call every hour or so, will this be sufficient to keep the thing alive ? Thanks Henk -- \ / -marsman contact me : henk[remove] at marsman-it dot be ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman

[Rife-users] last hurdle : setting resourcebundle to login template

2006-09-06 Thread henk
lately, sorry, Henk public class WebserviceAuthenticated extends PurgingDatabaseAuthenticated{ private static final Log logger = LogFactory.getLog(WebserviceAuthenticated.class); @Override protected void initializeAuthentication

Re: [Rife-users] last hurdle : setting resourcebundle to login template

2006-09-06 Thread henk
Thanks ! My multilanguage setup works ! Henk Geert Bevin wrote: Hi Henk, you can use the standard resourcebundles configuration parameters: http://rifers.org/wiki/display/RIFE/Type+specific+default+resource+bundles Another possibility is to override this method: protected void entrance

[Rife-users] setting my own credentialsmanager : is this the way ?

2006-09-05 Thread henk
Hi, I want to use my own credentialsmanager and I solved by creating a subclass of PurgingDatabaseAuthenticated and set the credentialsmanager in the initializeAuthentication() method. I was wondering if this is best way to achieve this. Thanks Henk The class : public class

[Rife-users] DateFormat and generateForm : same problem

2006-09-04 Thread henk
(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.uwyn.rife.engine.ElementContext.processContext(ElementContext.java:450) ... 20 more What can this be ? Henk -- ___ Rife-users mailing list Rife-users@uwyn.com

Re: [Rife-users] DateFormat and generateForm : same problem

2006-09-04 Thread henk
yep, it works. thanks a lot Henk Geert Bevin wrote: Get the latest snapshot, it should work. On 04 Sep 2006, at 12:55, henk wrote: Hi, A few weeks ago someone had this problem with the validation of a form with a date field. I am now experiencing the same problem. My Setup : - class

[Rife-users] a little bit offtopic : derby db - db files

2006-08-31 Thread henk
to store the database files somewhere else in the file system ? I read the pages in the Rife wiki where this solution is described, but are there other possibilities ? Thanks Henk -- \ / -marsman contact me : henk[remove] at marsman-it dot

[Rife-users] continuations : persist ?

2006-08-23 Thread henk
if this is a stupid idea. Only just starting to understand this continuations thing. Thanks Henk -- \ / -marsman contact me : henk[remove] at marsman-it dot be ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

Re: [Rife-users] packaging up : crud templates not ok

2006-08-09 Thread henk
Thanks Geert, as a matter of fact, I am using some customized templates. Forgot about that. Is it sufficient to put them in somewhere in the classpath ? Thanks Henk Geert Bevin wrote: On 08 Aug 2006, at 22:00, Henk wrote: Well, I have the rife-crud-1.3-templates.jar in my .war file

Re: [Rife-users] packaging up : crud templates not ok

2006-08-08 Thread Henk
Well, I have the rife-crud-1.3-templates.jar in my .war file. cid:part1.02090009.05060004@marsman-it.be That one contains the html source templates, no ? Henk Geert Bevin wrote: Hi Henk, you have to include the CRUD replacement templates in the source form, you can't precompile them

[Rife-users] dbquerymanager : where clause

2006-08-03 Thread Henk
mytable WHERE id in '(10,10) You notice the ' ? Can someone help ? Thanks Henk ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

Re: [Rife-users] Announcement on theserverside.com

2006-08-01 Thread henk
hopla, first comment posted. cya Henk Geert Bevin wrote: Hi everyone, RIFE has been announced on The ServerSide: http://www.theserverside.com/news/thread.tss?thread_id=41574 They specifically ask: What are your thoughts on RIFE? You've heard about it at TSSJS and JavaOne - what are your

Re: [Rife-users] Can't get flexible authentication to work

2006-07-25 Thread henk
Hi, I too am very new to Rife, but do you have a call to 'child()' in your code in order to propagate the request to the child ? Henk Gill Huibert wrote: Hi , Since last week I've been evaluating Rife for use in my next project. So far I'm very exited about the features Rife offers. I have

Re: [Rife-users] array in a form bean

2006-07-19 Thread henk
); templ.setValue(data,valid + StringUtils.join(data.getTextArray(),,)); templ.appendBlock(answer,answer); print(templ); } Any ideas ? Thanks Henk henk wrote: Geert Bevin wrote: I added code that should fully support this. It will automatically populate a bean

Re: [Rife-users] array in a form bean

2006-07-19 Thread henk
Ok, thanks. The FORM:INPUT:textArray:0 syntax would be great. kind regards Henk Geert Bevin wrote: Hi Henk, I'm afraid you will not be able to use the form generation for this since as far as RIFE is concerned there is only one value: 'FORM:INPUT:textArray', it just is present in several

Re: [Rife-users] array in a form bean

2006-07-19 Thread henk
euh Geert, could you give me an account on JIRA ? thanks Henk Geert Bevin wrote: Hi Henk, I'm afraid you will not be able to use the form generation for this since as far as RIFE is concerned there is only one value: 'FORM:INPUT:textArray', it just is present in several locations. I might

Re: [Rife-users] array in a form bean

2006-07-19 Thread henk
= (Validated)data; if (!validData.validate()) { valid = not valid ; } else { valid= valid ; } I always get a 'not valid' even when I enter a valid mail address. It works when I don't use an array field. Any ideas ? Thanks Henk Geert Bevin wrote: Hi Henk, I'm afraid you

[Rife-users] using rife 1.5 and dwr : stacktrace

2006-07-18 Thread Henk
in Rife ? Thanks Henk SEVERE: java.lang.IllegalAccessError: tried to access class org.apache.xerces.parsers.ObjectFactory from class org.apache.xerces.parsers.DOMParser at org.apache.xerces.parsers.DOMParser.init(Unknown Source) at org.apache.xerces.parsers.DOMParser.init(Unknown Source

Re: [Rife-users] different languages in Rife

2006-07-17 Thread henk
Hi Geert, Geert Bevin wrote: Hi Henk, I am trying to make a (small) site bilingual (dutch/french) and along the way I encountered some problems. This is what I have now 3) in fact, my elements all inherit the authentication element which inherits from LANG_COMPONENT. *Problem* : I cannot

Re: [Rife-users] array in a form bean

2006-07-17 Thread henk
constraints for the different properties. In my form itself, I use !-- V'FORM:INPUT:date' / to display the date entry. Henk ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

Re: [Rife-users] different languages in Rife

2006-07-17 Thread henk
then override the initializeAuthentication() method and call the setTemplateName(String name) method with the name that you want. Hope this solves it for you. Yep ! Solved ! I had already made my own customized authentication module, so it was very easy. Thanks a lot. Henk

Re: [Rife-users] array in a form bean

2006-07-17 Thread Henk
Wow, thanks a lot Geert ! Henk Geert Bevin wrote: I added code that should fully support this. It will automatically populate a bean with for example Date[] as a property time, validate the validity of every single one of the values that have been submitted. You just have to provide

[Rife-users] array in a form bean

2006-07-16 Thread Henk
Hi, I read somewhere in the mailinglist that it should be possible to use an array as a property in a formbean. How do I proceed to use these in a template and to validate them ? Thanks Henk ___ Rife-users mailing list Rife-users@uwyn.com http

Re: [Rife-users] crud custom elements

2006-05-19 Thread henk
. It would also be nice to see in the Musician overview, in which Bands he/she plays. Fairly simple, and I can code this from scratch. But if I can integrate this with my other Crud editors, it would be even nicer. thanks Henk Geert Bevin wrote: Hi Henk, can you give a brief description

[Rife-users] GenericQueryManager and transactions

2006-05-02 Thread Henk
Hi, right now I'm using the inTransaction method of the DbQueryManager class in order to be able to use transactions. Is there a way to use them if I want to use the ( easier to use) GenericQueryManager ? thanks Henk ___ Rife-users mailing list

[Rife-users] manyToOne and callback confusion

2006-04-20 Thread henk
that gets filled with the contents of a db table. Is the only way to accomplish this, adding an inList constraint with the ids and next add a resourcebundle ? I confess this is not that big a deal, but since Rife is about simplicity, maybe I am missing something here. thanks a lot Henk BTW

[Rife-users] use object field member in template

2006-04-18 Thread henk
. thanks Henk ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

[Rife-users] Rife and hibernate : experiences

2006-04-18 Thread henk
Hi, has anybody tried to use hibernate together with rife ? Are there any showstoppers or things to watch out for ? Thanks Henk ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

Re: [Rife-users] add a parameter to flowlink

2006-04-13 Thread henk
Ah ok ! Bare with me. For some reason I did not think about changing the name of the input and output variable. Thanks for the great support ! Henk Tyler Pitchford wrote: Henk, Using the new flowlink specific syntax in RIFE 1.4 this is easy and clean: flowlink srcexit=calnext

[Rife-users] add a parameter to flowlink

2006-04-12 Thread Henk
Henk ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

[Rife-users] best way to modularize a page

2006-04-10 Thread henk
method in each one of them That way the template gets filled. Now I'm wondering if this is the way to do it. It's not difficult or something, but Rife has such a rich feature set that maybe there is another way. Thanks Henk ___ Rife-users mailing list

Re: [Rife-users] best way to modularize a page

2006-04-10 Thread henk
Hi Geert, thanks for your ultra-fast response (I guess we are in the same timezone ;-) )! I knew there must be a better way. Henk Geert Bevin wrote: Hi Henk, you're not supposed to instantiate elements yourself, nor call processElement yourself. You should fully rely on the web engine