[Rife-users] catch Servlet Exception

2006-07-14 Thread Lars Grupe
Hi Geert, when an database error occurs during initializing rife an exception like the following will be displayed in the browser: javax.servlet.ServletException javax.servlet.ServletException at com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:168) at

[Rife-users] Link from subsite to another subsite

2006-06-29 Thread Lars Grupe
Hi, I have the following main site file (login.xml) site ... globalvar name=termId/ ... globalexit name=termView destid=TERMVIEW/ arrival destid=HOME/ element id=HOME file=elements/login/home.xml url=/home inherits=AUTH_ADMIN flowlink srcexit=dashboard

[Rife-users] ClassCastException in ElementResultStateSession

2006-06-12 Thread Lars Grupe
to locate the problem and send you the sources. Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Grupe Sent: 19 May 2006 16:24 To: RIFE users list : questions, bug reports and suggestions. Subject: RE: [Rife-users] RIFE 1.5 Milestone 1

RE: [Rife-users] ClassCastException in ElementResultStateSession

2006-06-12 Thread Lars Grupe
an idea what the reason could be? If not I try to find time to locate the problem and send you the sources. Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Grupe Sent: 19 May 2006 16:24 To: RIFE users list

RE: [Rife-users] ClassCastException in ElementResultStateSession

2006-06-12 Thread Lars Grupe
. Subject: Re: [Rife-users] ClassCastException in ElementResultStateSession Hi Lars, what was the problem again? On 12 Jun 2006, at 10:59, Lars Grupe wrote: Hi Geert, I'm sorry, you asked me to extract my problem with the Milestone 1, but I was little bit to busy. Now I have

RE: [Rife-users] Disabling Rife EngineClassLoader

2006-05-23 Thread Lars Grupe
Hi Mustafa, in the web.xml file, you have to add an init-param: init-param param-nameengineclassloader.enabled/param-name param-valuefalse/param-value /init-param Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mustafa sener Sent: 23 May

RE: [Rife-users] RIFE 1.5 Milestone 1 available

2006-05-19 Thread Lars Grupe
Hi Geert, I replaced the 1.4 rife.jar with the milestone1 (1.5) rife.jar (JDK 1.5). Now I have a problem on at least one page. Every submission that I call yields me to my login page. If I does nothing else than replacing the rife.jar with the older version (1.4), the page is working fine. Any

[Rife-users] authentication session timeout recognition

2006-05-08 Thread Lars Grupe
Hi, When the authentication session has timed out and the user make a reload or click on a link the login page is shown. So far so good. But after login the page of the reload is called. I have many pages that needs data in the session to display correctly. I would like to show the main menu page

RE: [Rife-users] encoding problem

2006-03-31 Thread Lars Grupe
to non-unicode. Btw, which servlet container are you running? On 31-mrt-06, at 11:58, Lars Grupe wrote: Hi Geert, When I understand you correctly you asked if I have set an encoding in my browser? I didn't change anything like that in my browser. I tried Internet Explorer

RE: [Rife-users] localized login template

2006-03-30 Thread Lars Grupe
, at 10:53, Lars Grupe wrote: Hi Geert, Is this old problem from November now resolved too? Where can I find information about how L10N should be implemented now? Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert

RE: [Rife-users] localized login template

2006-03-30 Thread Lars Grupe
reports and suggestions. Subject: Re: [Rife-users] localized login template Yes, you can tailor to priority of embedded elements now: http://rifers.org/blogs/gbevin/2006/3/2/ rife_1_4_released#1_4_highlight04 On 30-mrt-06, at 10:53, Lars Grupe wrote: Hi Geert, Is this old

[Rife-users] encoding problem

2006-03-30 Thread Lars Grupe
Hi, My sites have the following header wit charset=utf-8 ( with iso-8859-1 I have the same problem) head titleacrocheck#8482; Term Design/title link rel=stylesheet href=/css/dashboard.css type=text/css media=screen, projection title=Basic Style / link rel=shortcut icon

[Rife-users] Bug in nightly build

2006-03-10 Thread Lars Grupe
-mrt-06, at 12:18, Lars Grupe wrote: Hi, I broke something in my site structure. And now I get only a NullPointerException. Has someone seen the same problem. What is the best way to find the bug? Btw, I use rife-1.4-snapshot-jdk15-20060213.jar, but I think there is something

[Rife-users] Show progress

2006-03-08 Thread Lars Grupe
Hi, I would like to show a status of a series of function calls. Has anybody done this before? Is there some support in RIFE? Cheers, Lars ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users

RE: [Rife-users] Show progress

2006-03-08 Thread Lars Grupe
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 08 March 2006 17:05 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] Show progress What do you mean by that? On 8-mrt-06, at 16:59, Lars Grupe

[Rife-users] Implementation design

2006-03-01 Thread Lars Grupe
Hi, I have an element that shows a list of terms in pages. The user can filter the terms, change the order of the terms and scroll through the pages. So these element has 5 inputs and 5 outputs to remember 2 ids, the order, a search string and an offset. The user can also select several links

RE: [Rife-users] store String in session

2006-02-13 Thread Lars Grupe
To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] store String in session Hi Lars, yesterday, I fixed a bug related to classloading. You might want to try out the latest snapshot. Best regards, Geert On 10-feb-06, at 14:55, Lars Grupe wrote

[Rife-users] store String in session

2006-02-10 Thread Lars Grupe
Hi, What is the right implementation for the following scenario: I have an element with several submissions. And I would like to have a long string that is only stored in the session. Everytime a submission is called I want read the long string change it and store it again. Thanks for your help

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
. Subject: Re: [Rife-users] store String in session Hi Lars, does this have to timeout after a while (just as a traditional session does) or not? Best regards, Geert On 10-feb-06, at 13:08, Lars Grupe wrote: Hi, What is the right implementation for the following scenario

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
Hi Geert, Thanks for the answer. Because of the special glue webserver I couln't use continuations. I forgot to tell you that the rife.jar 1.3.1 does have the same 'java.lang.LinkageError' as the older version before. Cheers, Lars -Original Message- From: [EMAIL PROTECTED]

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
Hi Geert, From time to time I will test a new snapshot. And I will tell you if the state is changed. Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 10 February 2006 14:49 To: RIFE users list : questions, bug reports

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
Hi Geert, I have a question to the sample code in http://rifers.org/paste/show/88. Where is the 'output name=longstring' and the flowlink for the datalink? If I have a flowlink it is bound to an exit. Will the output from 'longstring' go to the input 'longstring' too, when the submission is

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
, at 15:03, Lars Grupe wrote: Hi Geert, I have a question to the sample code in http://rifers.org/paste/ show/88. Where is the 'output name=longstring' and the flowlink for the datalink? If I have a flowlink it is bound to an exit. Will the output from 'longstring' go to the input

RE: [Rife-users] store String in session

2006-02-10 Thread Lars Grupe
, Geert On 10-feb-06, at 15:23, Lars Grupe wrote: Hi Geert, Sorry, I didn't know how to inline an element definition in the site-structure. Did you mean that there is only one element in the site? I got every time an error message, that the ouptput definition is missing

[Rife-users] How to upload a file with rife?

2006-01-23 Thread Lars Grupe
Hi, I would like to upload files. I defined the following form in the template: form name=uploadFile enctype=multipart/form-data action=[!V 'SUBMISSION:FORM:uploadFile'/] method=post !--V 'SUBMISSION:PARAMS:uploadFile'/-- input name=file type=file size=50 maxlength=10

RE: [Rife-users] How to upload a file with rife?

2006-01-23 Thread Lars Grupe
to upload a file with rife? Hi Lars, On Mon, Jan 23, 2006 at 11:16:45AM +0100, Lars Grupe wrote: form name=uploadFile enctype=multipart/form-data action=[!V 'SUBMISSION:FORM:uploadFile'/] method=post !--V 'SUBMISSION:PARAMS:uploadFile'/-- input name=file type=file size=50

[Rife-users] Localization in radio button labels

2006-01-11 Thread Lars Grupe
Hi, A L10N value inside of an FORM:LABEL block will not be replaced. Is there something wrong in my code or is there a reason why it does not work? Example: !--V 'FORM:RADIO:ruleGeneration'/-- !--B 'FORM:LABEL:ruleGeneration:termbased'--!--V 'L10N:TERM_BASED'/--!--/B-- !--B

RE: [Rife-users] Localization in radio button labels

2006-01-11 Thread Lars Grupe
When do you add the resourcebundles to your template? Lars Grupe wrote: Hi Geert, the main parts of the Bean are the following: private String fileName = null; private String termbankId = null; private String ruleGeneration = null; public ImportDataBean

RE: [Rife-users] Localization in radio button labels

2006-01-11 Thread Lars Grupe
Lars Grupe wrote: Hi Geert, There could be the problem. I do it like the following: public void processElement() { Template template = Generic.getTemplate(this, templateName); ResourceBundle resourceBundle = Generic.getResourceBundle

RE: [Rife-users] output and input with beans

2006-01-10 Thread Lars Grupe
and 1.3.1 release, I forgot to update the javadocs on the site. I'll do it asap. Best regards, Geert On 9-jan-06, at 22:17, Lars Grupe wrote: Hi, I want to write a fexible wizard. I have one element that controls which element has to be the next one. I don't want

[Rife-users] output and input with beans

2006-01-09 Thread Lars Grupe
Hi, I want to write a fexible wizard. I have one element that controls which element has to be the next one. I don't want to have too many input and output values, because the controller element must distribute them too. I would like to have a bean that I can define as an input or output. I

RE: [Rife-users] run java code directly after starting the web server

2005-12-20 Thread Lars Grupe
)); } } private Logger logger = Logger.getLogger(Deployer.class.getPackage().getName()); } On 12/19/05, Lars Grupe [EMAIL PROTECTED] wrote: Hi, I would like to know

RE: [Rife-users] run java code directly after starting the web server

2005-12-20 Thread Lars Grupe
)); } } private Logger logger = Logger.getLogger(Deployer.class.getPackage().getName()); } On 12/19/05, Lars Grupe [EMAIL PROTECTED] wrote: Hi, I would like to know if I can run java code directly after starting the web application. I would like to install the users table

[Rife-users] logout problems

2005-12-08 Thread Lars Grupe
Hi, Could someone give me an explanation, why a link to the LOGOUT element doesn't work? I will tell the story from the beginning: I have a embedded Element 'LOGON_INFO', that show the username of the logged on user. These element has a link that should logout the user. Here are the important

RE: [Rife-users] logout problems

2005-12-08 Thread Lars Grupe
Oh, now I think I have it, the 'LOGOUT' element has no url. Sorry! Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Grupe Sent: 08 December 2005 15:08 To: RIFE users list : questions, bug reports and suggestions. Subject: [Rife

[Rife-users] Logout in embedded object

2005-12-06 Thread Lars Grupe
Hi, I have a problem to show the right template, when the logout is called from a embedded object. The embedded object shows a link that points to a submission of the embedded object. The exit of the submission points to the following 'LOGOUT' object, that does the logout and snaps back to the

[Rife-users] How to get a list of the database users?

2005-11-30 Thread Lars Grupe
Hi all, How can I get the list of the users in a database? Is the listUsers() function of DatabaseUsers the right choice? If so, how must I create an object of the ListUser interface? Cheers, Lars ___ Rife-users mailing list Rife-users@uwyn.com

RE: [Rife-users]loaderconstraintsviolatedwhenlinkingcom/uwyn/rife/site/ValidationErrorclass

2005-11-25 Thread Lars Grupe
want, you can create an issue in Jira to keep track of it and let people vote on it: http://servlet.uwyn.com/issues/browse/RIFE Best regards, Geert On 24-nov-05, at 11:55, Lars Grupe wrote: Hi Geert, Sorry, there are some things that are new for me. To deploy RIFE on Glue I

RE: [Rife-users] loader constraints violatedwhenlinkingcom/uwyn/rife/site/ValidationError class

2005-11-23 Thread Lars Grupe
and that it conflicts with RIFE. If you don't use continuations, you can add the 'engineclassloader.enabled' init-param to your web.xml to and set it to 'false'. RIFE will then not use its classloader. Best regards, Geert On 22-nov-05, at 17:14, Lars Grupe wrote: Hi Geert, sorry for the delay

RE: [Rife-users] loader constraintsviolatedwhenlinkingcom/uwyn/rife/site/ValidationError class

2005-11-23 Thread Lars Grupe
Hi Geert, Yes, I'm sure that I have only one rife-1.3-snapshot-jdk15.jar in my class path. But I figured out some new informations: The problematic file is a Bean file (I attached it). If it is in the package 'com.uwyn.rife.jumpstart.elements.model' all works fine. But if it is in

RE: [Rife-users]loaderconstraintsviolatedwhenlinkingcom/uwyn/rife/site/ValidationErrorclass

2005-11-23 Thread Lars Grupe
/init-param /filter filter-mapping filter-nameRIFE/filter-name url-pattern/*/url-pattern /filter-mapping /web-app On 23-nov-05, at 18:14, Lars Grupe wrote: Hi Geert, I'm sorry, you are right. The problem appears only when I use

RE: [Rife-users]loaderconstraintsviolatedwhenlinkingcom/uwyn/rife/site/ValidationErrorclass

2005-11-23 Thread Lars Grupe
, so it checks some things. * it needs to detect which classes are elements and detect which ones use continuations * it needs to byte-code modify the classes Does disabling the classloader remove the previous error when you use it in Glue? On 23-nov-05, at 18:35, Lars Grupe wrote

[Rife-users] loader constraints violated when linking com/uwyn/rife/site/ValidationError class

2005-11-22 Thread Lars Grupe
Hi, could someone tell me what is wrong, when I get this error: java.lang.LinkageError loader constraints violated when linking com/uwyn/rife/site/ValidationError class at com.uwyn.rife.site.Validation getConstrainedPropertyRules ( Validation.java : 174 ) at

RE: [Rife-users] loader constraints violated when linkingcom/uwyn/rife/site/ValidationError class

2005-11-22 Thread Lars Grupe
-05, at 15:34, Lars Grupe wrote: Hi, could someone tell me what is wrong, when I get this error: java.lang.LinkageError loader constraints violated when linking com/uwyn/rife/site/ValidationError class at com.uwyn.rife.site.Validation getConstrainedPropertyRules

RE: [Rife-users] loader constraints violated whenlinkingcom/uwyn/rife/site/ValidationError class

2005-11-22 Thread Lars Grupe
-hotswap some elements? On 22-nov-05, at 15:52, Lars Grupe wrote: Hi Geert, With the newer jar file I got the same error. I forgot to tell, that RIFE is running on glue now. -- Geert Bevin Uwyn bvba Use what you need Avenue de Scailmont 34