Hi Geert,

Many thanks, that was the right hint.

FYI if I use the RIFE classloader with the glue webserver I still get
these exception:

javax.servlet.ServletException

javax.servlet.ServletException
at com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:131)
at electric.servlet.filters.ServletFilterChain.doFilter(Unknown Source)
at electric.servlet.HTTPContext.service(Unknown Source)
at electric.servlet.ServletEngine.service(Unknown Source)
at electric.webserver.WebServer.service(Unknown Source)
at electric.net.socket.SocketServer.run(Unknown Source)
at electric.net.socket.SocketRequest.run(Unknown Source)
at electric.util.thread.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595) 

Cheers,
Lars

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin
> Sent: 10 February 2006 16:44
> To: RIFE users list : questions, bug reports and suggestions.
> Subject: Re: [Rife-users] store String in session
> 
> 
> Hi Lars,
> 
> you might wanna try with a nightly snapshot, I'm not sure when this  
> feature has been added. It's not that long ago.
> 
> Best regards,
> 
> Geert
> 
> On 10-feb-06, at 16:40, Lars Grupe wrote:
> 
> > Hi Geert,
> >
> > Unfortunately I have still some problems.
> >
> > Now I use inlined definition, but I think that is not the 
> problem. My 
> > element has the name 'EDIT_TERM'. I defined an input and an 
> output of 
> > the same name (e.g. "termRule"). I have not defined a datalink.
> >
> > The first lines of processElement() are:
> >         String termRule = getInput("termRule");
> >         logger.debug("InputTermRule: " + StringHelper.quote
> > (termRule));
> >         setOutput("termRule", "a string");
> >
> > And the first lines of the Submission function are:
> >         String termRule = getInput("termRule");
> >         logger.debug("InputTermRule: " + StringHelper.quote
> > (termRule));
> >
> > When the page is entered the first time termRule is null, but when 
> > directly afterwards the submission is called, termRule is 
> still null?
> >
> > When I now add a the following datalink to the element definition:
> >     <datalink srcoutput="termRule" destid="EDIT_TERM" 
> > destinput="termRule"/>
> >
> > I get the error message: 'Impossible to create a data link from
> > element
> > 'manual:EDIT_TERM' to element 'manual:EDIT_TERM' since no 
> flow link is
> > available.'
> >
> > When I add a flowlink and an exit like the following;
> >     <exit name="change"/>
> >     <flowlink srcexit="change" destid="EDIT_TERM"/>
> >
> > the termRule input is still null after calling the submission.
> >
> > Do you know what is going wrong?
> >
> > Cheers,
> > Lars
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] 
> >> [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin
> >> Sent: 10 February 2006 15:31
> >> To: RIFE users list : questions, bug reports and suggestions.
> >> Subject: Re: [Rife-users] store String in session
> >>
> >>
> >> Hi Lars,
> >>
> >> just add the output declaration then, my notation is a 
> shortcut. An 
> >> in-lined element definition means that you don't use an 
> external file
> >> to specific the element but do it entirely in the site-structure.
> >>
> >> Best regards,
> >>
> >> 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.
> >>>
> >>> Cheers,
> >>> Lars
> >>>
> >>>> -----Original Message-----
> >>>> From: [EMAIL PROTECTED] 
> >>>> [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin
> >>>> Sent: 10 February 2006 15:09
> >>>> To: RIFE users list : questions, bug reports and suggestions.
> >>>> Subject: Re: [Rife-users] store String in session
> >>>>
> >>>>
> >>>> Hi Lars,
> >>>>
> >>>> if you inline the element definition in the site-structure, the 
> >>>> outputs area automatically created for datalinks if they
> >> don't exist.
> >>>>
> >>>> If you're inside an element and call submissions 
> repeatedly (note 
> >>>> that you never triggered an exit, and this didn't leave
> >> it). Outputs
> >>>> will automatically provide their data to inputs with the 
> same name.
> >>>>
> >>>> Best regards,
> >>>>
> >>>> Geert
> >>>>
> >>>> On 10-feb-06, 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 'longstring' too, when the
> >>>> submission is
> >>>>> called and not the exit?
> >>>>>
> >>>>> Cheers,
> >>>>> Lars
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: [EMAIL PROTECTED] 
> >>>>>> [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin
> >>>>>> Sent: 10 February 2006 14:34
> >>>>>> To: RIFE users list : questions, bug reports and suggestions.
> >>>>>> Subject: Re: [Rife-users] store String in session
> >>>>>>
> >>>>>>
> >>>>>> I would simply use continuations.
> >>>>>>
> >>>>>> If that's not an option for you, you can use session state
> >>>> storage. I
> >>>>>> whipped out a small example for you: 
> >>>>>> http://rifers.org/paste/show/88
> >>>>> http://rifers.org/paste/show/89 http://rifers.org/paste/show/90
> >>>>>
> >>>>> (note that I found a bug which makes this not work when 
> it's the 
> >>>>> arrival of a site, I'm working on it to fix it)
> >>>>>
> >>>>>> Yes, it has a series of submissions all from the same
> >>>> element. It is
> >>>>>> like a wizard, but it is not a wizard. It is a series of
> >>>> changes on a
> >>>>>> single page.
> >>>>>
> >>>>> --
> >>>>> Geert Bevin                       Uwyn bvba
> >>>>> "Use what you need"               Avenue de Scailmont 34
> >>>>> http://www.uwyn.com               7170 Manage, Belgium
> >>>>> gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03
> >>>>>
> >>>>> PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D
> >>>> 309F D6A9
> >>>>> Public PGP key  : available at servers pgp.mit.edu,
> >> wwwkeys.pgp.net
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Rife-users mailing list
> >>>>> [email protected]
> >>>> http://lists.uwyn.com/mailman/listinfo/rife> -users
> >>>>>
> >>>> _______________________________________________
> >>>>>
> >>>> Rife-users mailing list
> >>>>> [email protected]
> >>>> http://lists.uwyn.com/mailman/listinfo/rife> -users
> >>>>>
> >>>>
> >>>> --
> >>>> Geert
> >>>> Bevin                       Uwyn bvba
> >>>>
> >>>> "Use what you need"               Avenue de Scailmont 34
> >>>> http://www.uwyn.com               7170 Manage, Belgium
> >>>> gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03
> >>>>
> >>>> PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D
> >> 309F D6A9
> >>>> Public PGP key  : available at servers pgp.mit.edu, 
> wwwkeys.pgp.net
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Rife-users mailing list
> >>>> [email protected]
> >> http://lists.uwyn.com/mailman/listinfo/rife> -users
> >>>>
> >>>
> >> _______________________________________________
> >>
> >>> Rife-users mailing list
> >>> [email protected]
> >> http://lists.uwyn.com/mailman/listinfo/rife> -users
> >>>
> >>
> >> --
> >> Geert
> >> Bevin                       Uwyn bvba
> >>
> >> "Use what you need"               Avenue de Scailmont 34
> >> http://www.uwyn.com               7170 Manage, Belgium
> >> gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03
> >>
> >> PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 
> 309F D6A9 
> >> Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net
> >>
> >>
> >> _______________________________________________
> >> Rife-users mailing list
> >> [email protected] 
> http://lists.uwyn.com/mailman/listinfo/rife> -users
> >>
> > 
> _______________________________________________
> 
> > Rife-users mailing list
> > [email protected] 
> http://lists.uwyn.com/mailman/listinfo/rife> -users
> >
> 
> --
> Geert 
> Bevin                       Uwyn bvba
> 
> "Use what you need"               Avenue de Scailmont 34
> http://www.uwyn.com               7170 Manage, Belgium
> gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03
> 
> PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 
> 309F D6A9 Public PGP key  : available at servers pgp.mit.edu, 
> wwwkeys.pgp.net
> 
> 
> _______________________________________________
> Rife-users mailing list
> [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
> 
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to