Re: [Rife-users] Problem pre-compiling templates..
David, Templates are compiled into bytecode; they should have proper Java class names... so maybe, FAQCommon or something similar :) Hope that helps. Cheers, Emmanuel On 2/9/07, David HM Spector <[EMAIL PROTECTED]> wrote: I'm trying to get my app ready for testing on a production level server, but I am getting errors when ant tries to compile my templates... The template it's complaining about is only used by inclusion into another template (its the guts of an editing form) that's used in both the initial creation, and in an editor for FAQs that are built into our app. Must be something simple I am missing -- I am using the stock build.xml from the 1.51 jumpstart package (although I am using a 1.6 snapshot JAR file) which has the "precompile" target described in http://rifers.org/wiki/display/RIFE/Preparing+applications+for+production ... Are there isssue with regard to case or special characters that I need to know about when packaging apps (I am running on OS X but HFS+ runs in mixed case mode, and I have gotten warnings when my filenames had the wrong case)? Also, why is the class not found exception referring to "com.uwyn.rife.template.enginehtml.admin.faqs.FAQ_common" ...? Or is that normal..? _David Here's the stacktrace: precompile: [echo] Precompiling html templates: [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/AddVenue.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/EditAddressBookProvider.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/EventsAdminControls.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/ExternServiceProviderStats.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/ExternalServiceProviderControls.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/NewsandFAQControls.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/UserAdminControls.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/VenueAdminControls.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/email_template.html ... done. [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/faqs/AdminFAQS.html ... done. [java] Exception in thread "main" com.uwyn.rife.template.exceptions.TemplateNotFoundException: Couldn't find template 'admin.faqs.FAQ-common'. [java] at com.uwyn.rife.template.TemplateFactory.get(TemplateFactory.java:435) [java] at com.uwyn.rife.template.TemplateFactory.get(TemplateFactory.java:381) [java] at com.uwyn.rife.template.TemplateDeployer.execute(TemplateDeployer.java:96) [java] at com.uwyn.rife.template.TemplateDeployer.main(TemplateDeployer.java:282) [java] Caused by: java.lang.ClassNotFoundException: Couldn't resolve template: 'com.uwyn.rife.template.enginehtml.admin.faqs.FAQ_common'. [java] at com.uwyn.rife.template.TemplateClassLoader.compileTemplate(TemplateClassLoader.java:174) [java] at com.uwyn.rife.template.TemplateClassLoader.loadClass(TemplateClassLoader.java:145) [java] at com.uwyn.rife.template.TemplateFactory.get(TemplateFactory.java:404) [java] ... 3 more [java] /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/resources/templates : admin/faqs/FAQ-common.html ... BUILD FAILED /Users/spector/Work/BittersweetLabs/ShannonClark/NELA/build.xml:169: Java returned: 1 --- David HM Spector spector (at) zeitgeist.com http://www.zeitgeist.com/ voice: +1 631.261.5013 fax: +1 212.656.1443 ~ ~ ~ "New and stirring things are belittled because if they are not belittled, the humiliating question arises, 'Why then are you not taking part in them?'" --H. G. Wells ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] rest support
You cannot make a POST submission from the location bar; if you have a form nothing prevents you from specifying the method for your submissions. cheers, Emmanuel On 2/7/07, Christian Vest Hansen <[EMAIL PROTECTED]> wrote: Hmm... it's lacking in some respects, if you want to go purist. Take this URL from the wiki: http://blablalist.com/createlist? submission=credentials& login=johnsmith& password=password& submission=create& name=Things+I+need+to+do+today That looks like a HTTP GET to me, in which case, it is missing on a key point of REST: the HTTP verbs. Instead, it should have been a POST to this URL (for instance): http://blablalist.com/lists/Things+I+need+to+do+today/ With this XML document in the POST payload: johnsmith password This is the kind of thing that I thought would be nice if it could be auto generated based on meta data :) Some extra info: http://www.xfront.com/REST-Web-Services.html 2007/2/7, Emmanuel Okyere <[EMAIL PROTECTED]>: > Christian, > > Have you seen blabla list? this is a link to it's REST API: > http://rifers.org/wiki/display/BLA/REST+API > > You don't have to do anything special to return XML over HTTP; just > set your templates to describe the xml structs you want to return with > value placeholders for the dynamic bits, just as you would for an > xhtml output. Download the blabla code. Should help more. > > HTH > > Cheers, > Emmanuel > > On 2/7/07, Christian Vest Hansen <[EMAIL PROTECTED]> wrote: > > Hi, > > > > There aren't any special support for REST style web services in RIFE, are there? > > At my company, they've gone web service crazy, and as a developer I'm > > finding myself in the middle of it all. > > I noticed that many of the services that I create are nothing more > > than simple crud operations - this fits rather nicely with a REST > > architecture. > > And then it hit me; if I'm not mistaken, RIFE/Crud can generate fully > > functional websites based on just the entity beans and the meta data > > classes, to support precisely that I'm coding by hand these days, the > > only difference being that I'm writing web services, and RIFE/Crud > > generates web sites with HMTL and all that. So, if I can generate > > entier web sites, then I ought to be able to generate some web > > services too, boasting the same exact functionality. > > > > If this isn't already in there, how hard do you think it would be to add? > > > > > > -- > > Venlig hilsen / Kind regards, > > Christian Vest Hansen. > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > -- > blog -- http://eokyere.blogspot.com > RIFE Framework -- http://rifers.org > RIFE Training -- http://rifers.org/training > > Mohandas Gandhi - "You must be the change you wish to see in the world." > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Venlig hilsen / Kind regards, Christian Vest Hansen. ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] rest support
Christian, Have you seen blabla list? this is a link to it's REST API: http://rifers.org/wiki/display/BLA/REST+API You don't have to do anything special to return XML over HTTP; just set your templates to describe the xml structs you want to return with value placeholders for the dynamic bits, just as you would for an xhtml output. Download the blabla code. Should help more. HTH Cheers, Emmanuel On 2/7/07, Christian Vest Hansen <[EMAIL PROTECTED]> wrote: Hi, There aren't any special support for REST style web services in RIFE, are there? At my company, they've gone web service crazy, and as a developer I'm finding myself in the middle of it all. I noticed that many of the services that I create are nothing more than simple crud operations - this fits rather nicely with a REST architecture. And then it hit me; if I'm not mistaken, RIFE/Crud can generate fully functional websites based on just the entity beans and the meta data classes, to support precisely that I'm coding by hand these days, the only difference being that I'm writing web services, and RIFE/Crud generates web sites with HMTL and all that. So, if I can generate entier web sites, then I ought to be able to generate some web services too, boasting the same exact functionality. If this isn't already in there, how hard do you think it would be to add? -- Venlig hilsen / Kind regards, Christian Vest Hansen. ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] OT: Designing Service Provider Interfaces
I think so too; really basic but very necessary stuff; I was listening to it and ketp thinking "Agile Software Development, Robert C. Martin" which does have some code samples, and talks about the OOP principles like the LSP, ISP etc that Josh mentions here too. Good stuff and thanks for pointng it out. Cheers, Emmanuel On 2/3/07, Geert Bevin <[EMAIL PROTECTED]> wrote: A lot of good advice in this presentation, I don't know any resources of this kind with examples and so. I think the best is to look at existing open-source projects and to think about what you like and what you don't about their API. That should allow you to find your own 'rules' of what you consider good design. Good luck! It's a life-long journey :-) On 01 Feb 2007, at 17:43, David HM Spector wrote: > Not a RIFE specific question, but does anyone have any good > resources in the design of Service Provider APIs? Or, better small > workable examples? > > One of the best presentations I've come across is by Joshua Bloch > of Google (formerly a principal Java guy @ Sun) > > http://www.infoq.com/presentations/effective-api-design > > But having something to look at in terms of working code that's > small enough to get my head would be helpful.. > > _David > -- > - > David HM Spector > spector (at) zeitgeist.com > http://www.zeitgeist.com/ > voice: +1 631.261.5013 > fax: +1 212.656.1443 > ~ ~ ~ > "New and stirring things are belittled because if they are not > belittled, the > humiliating question arises, 'Why then are you not taking part in > them?'" > > --H. G. Wells > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users -- Geert Bevin 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 -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Fwd: BOF 24 Planning
Geert, Sorry, I thought the fwd contained enough info; it's our usual Javawug meeting (at skillsmatter) and we decided that an expert on a web app framework comes out to defend it. Sort of a boxing match between the frameworks (based on a user's experience). Some questions (but not restricted): > What type of applications are suited the web application framework > in question? > What are pros and cons of each framework? > How easy is it to learn? > What are the dependencies for each framework? (e.g Java EE, J2EE, > Apache etc ) > Are there any tools that support any of these frameworks in order > to ease-development? > Are these frameworks easy to extend? > Are there real-world examples out there on the net publicly available? > How do these frameworks support AJAX? > How will these frameworks feature in an increasingly Web 2.0 world? Cheers, Emmanuel On 1/17/07, Geert Bevin <[EMAIL PROTECTED]> wrote: When is that? On 17 Jan 2007, at 18:33, Emmanuel Okyere wrote: > FYI: > > rife will be represented at the web framework smackdown :) > > cheers, > Emmanuel > > -- Forwarded message -- > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Date: Jan 17, 2007 5:26 PM > Subject: RE: BOF 24 Planning > To: [EMAIL PROTECTED] > > Hi Lauren > > > As promised here is some more content for JAVAWUG BOF 24 : > > > > The evening will consists of a so-called web framework smack-down > between three proponents. > We will convene and discuss the pros and cons of the following web > frameworks. > > RIFE - Emmanuel Okyere will be representing this candidate. RIFE is > a new generation full-stack framework that is based on advanced > template technology, it is considered a pioneer in its field. For > example RIFE was one of the first to build in a continuations > framework. > Spring MVC - Peter Pilgrim will be representing this framework. > This is a web framework that was designed by Rod Johnson to be > better than Struts Classic edition. This framework is strongly > associated with the Spring Framework itself and also the companion > project Spring Webflow > Kevin Saunders will deliver a short presentation on using Java > 5.0 / JSP 2.0 / EL / Servlet 2.4 as your web framework. That is, he > will be representing the standard APIs, with the tools available > out-of-the-box. He will show examples using the current version of > Java together with the recent JSP/Servlet specification which will > allow you to create MVC sites very quickly and easily. > In particular the current version of EL has knicked most of the > good things about Struts and is definately worth a look > > Fourth person - (Adam Hardy , Eclipse Tomcat based Applications TBC) > > At the time of going to press the evening may take the place of a > panel discussion with each representative > providing a demonstration with strong interaction with the > audience. So the BOF may or may not follow a > mini open space technology discussion style. > > Some additional questions to worth pondering: > > What type of applications are suited the web application framework > in question? > What are pros and cons of each framework? > How easy is it to learn? > What are the dependencies for each framework? (e.g Java EE, J2EE, > Apache etc ) > Are there any tools that support any of these frameworks in order > to ease-development? > Are these frameworks easy to extend? > Are there real-world examples out there on the net publicly available? > How do these frameworks support AJAX? > How will these frameworks feature in an increasingly Web 2.0 world? > > -- > Peter Pilgrim > UBS Investment Bank, > Client Portal Dev LDN, > Triton Court, 14 Finsbury Square, London, EC2A 1PD > United Kingdom ( +44 (0)207 56 75692 ) > :: Java EE Spring 2.0 Hibernate 3.2 Development :: > > > > > From: Lauren Clegg [mailto:[EMAIL PROTECTED] > Sent: 15 January 2007 10:12 > To: Pilgrim, Peter > Subject: Re: Skills Matter Availability > > Hi Peter, > > I did have a great Christmas and New Year's - thank you! I went > back to Boston for Christmas and was also back in London for New > Year's Eve. Monday, 19th February works for us, I have added the > meeting to the schedule. If you could just send me a brief write- > up, description, etc. of what the BOF will be all about so that I > can make a registration page on our website ASAP, that would be great! > > Thanks! > Lauren > -- > Lauren Clegg > Marketing > > t 0207 1072620 > f 0207 1072621 > e [EMAIL PROTECTED] > > Skills Matter 2007 Events!! > > The RoR eXchange, feat. Chad Fowler, James Cox, and more! - > February 9th > > The Grails eXchange, feat.
[Rife-users] Fwd: BOF 24 Planning
FYI: rife will be represented at the web framework smackdown :) cheers, Emmanuel -- Forwarded message -- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Jan 17, 2007 5:26 PM Subject: RE: BOF 24 Planning To: [EMAIL PROTECTED] Hi Lauren As promised here is some more content for JAVAWUG BOF 24 : The evening will consists of a so-called web framework smack-down between three proponents. We will convene and discuss the pros and cons of the following web frameworks. 1. RIFE - Emmanuel Okyere will be representing this candidate. RIFE is a new generation full-stack framework that is based on advanced template technology, it is considered a pioneer in its field. For example RIFE was one of the first to build in a continuations framework. 2. Spring MVC - Peter Pilgrim will be representing this framework. This is a web framework that was designed by Rod Johnson to be better than Struts Classic edition. This framework is strongly associated with the Spring Framework itself and also the companion project Spring Webflow 3. Kevin Saunders will deliver a short presentation on using Java 5.0/ JSP 2.0 / EL / Servlet 2.4 as your web framework. That is, he will be representing the standard APIs, with the tools available out-of-the-box. He will show examples using the current version of Java together with the recent JSP/Servlet specification which will allow you to create MVC sites very quickly and easily. In particular the current version of EL has knicked most of the good things about Struts and is definately worth a look 4. Fourth person - (Adam Hardy , Eclipse Tomcat based Applications TBC) At the time of going to press the evening may take the place of a panel discussion with each representative providing a demonstration with strong interaction with the audience. So the BOF may or may not follow a mini open space technology discussion style. Some additional questions to worth pondering: - What type of applications are suited the web application framework in question? - What are pros and cons of each framework? - How easy is it to learn? - What are the dependencies for each framework? (e.g Java EE, J2EE, Apache etc ) - Are there any tools that support any of these frameworks in order to ease-development? - Are these frameworks easy to extend? - Are there real-world examples out there on the net publicly available? - How do these frameworks support AJAX? - How will these frameworks feature in an increasingly Web 2.0 world? -- Peter Pilgrim UBS Investment Bank, Client Portal Dev LDN, Triton Court, 14 Finsbury Square, London, EC2A 1PD United Kingdom ( +44 (0)207 56 75692 ) :: Java EE Spring 2.0 Hibernate 3.2 Development :: -- *From:* Lauren Clegg [mailto:[EMAIL PROTECTED] *Sent:* 15 January 2007 10:12 *To:* Pilgrim, Peter *Subject:* Re: Skills Matter Availability Hi Peter, I did have a great Christmas and New Year's - thank you! I went back to Boston for Christmas and was also back in London for New Year's Eve. Monday, 19th February works for us, I have added the meeting to the schedule. If you could just send me a brief write-up, description, etc. of what the BOF will be all about so that I can make a registration page on our website ASAP, that would be great! Thanks! Lauren -- *Lauren Clegg* Marketing *t* 0207 1072620 *f* 0207 1072621 *e* [EMAIL PROTECTED] *Skills Matter 2007 Events!! The RoR eXchange, feat. Chad Fowler, James Cox, and more! - February 9th<http://www.skillsmatter.com/rorexchange> The Grails eXchange, feat. Graeme Rocher, Dierk Koenig, and more! - May 30th-June 1st <http://skillsmatter.com/menu/339> * *Skills Matter Ltd* <http://www.skillsmatter.com>1 Sekforde Street London, EC1R 0BE United Kingdom Map<http://maps.google.co.uk/maps?f=q&hl=en&sll=51.524038,-0.102782&sspn=0.002991,0.007317&q=skills+matter+Ltd&om=1> Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. UBS Limited is a company registered in England & Wales under company
Re: [Rife-users] templates viewed in a browser
Jean-Marie, I have always thought that designers supply statics, and then from statics templates are defined; at least this is the way I've worked with most people. In any case, I find the output from blocks to be only a minor annoyance, if at all. If the content within those blocks are large and sort of put off our previews, you can use include (i) tags within the blocks and move the fragments into a separate file (instead of inlining them) if that helps. cheers, Emmanuel On 1/14/07, Jean-Marie Galliot <[EMAIL PROTECTED]> wrote: Hi Geert, One of the thing which appealed to me in Rife was the fact that I hate the jsp tag-soup. I wanted to have a templating system which allow web designer to visualize pages in their editor and browser without being obliged to start the server. Tapestry and Wicket also offered this kind of "non intrusive" instrumentation of web pages. I thought it was also the case for Rife as I saw at a first glance that the tags (at least the first version of them) was HTML-Comment like. But, I realize that when I define two or three blocks as alternative values for a "value" tag, those three blocks appear if I open a browser and try to pre-visualize the page. Is there a way to prevent some of them to appear in the browser? Do you think that coding them as instead of
Re: [Rife-users] Time for a "common pitfalls" section in the Wiki...
JAF (http://java.sun.com/products/javabeans/jaf/downloads/index.html) is necessary for handling MIME types. cheers, Emmanuel On 12/19/06, David HM Spector <[EMAIL PROTECTED]> wrote: I just posted this to the cookbook, but its probably useful for anyone trying to get the email scheduler working: Not mentioned anywhere that I've seen, two external libraries are needed in order to make the email scheduler work: the Java Mail API and the Java Activation Framework (JAF) (both available from java.sun.com) Pretty obvious: Without the Java Mail API's mail.jar you won't be able to compile programs that send mail (javax.mail.* will be missing). Not Obvious At All: Without the JAF's activation.jar you'll get cryptic messages from the scheduler about javax/activation/Datasouce not being found coming from DatabaseMailQueueExecutor.java's gotBeanInstance() method. Both should be placed in the lib directory (same place as the Rife jar). _DHMS --- David HM Spector spector (at) zeitgeist.com http://www.zeitgeist.com/ ~ ~ ~ "New and stirring things are belittled because if they are not belittled, the humiliating question arises, 'Why then are you not taking part in them?'" --H. G. Wells ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] Fwd: London Eclipse Birthday party
if you use eclipse, are in london, and have some free time next week, let's go do it eclipse style :)cheers,Emmanuel-- Forwarded message --From: Thibaut Rouffineau <[EMAIL PROTECTED]>Date: Nov 2, 2006 2:02 PMSubject: London Eclipse Birthday partyTo: [EMAIL PROTECTED] Hi Emanuel, Here are more info about the bday party :D The Eclipse foundation is proud to announce and organise the: http://www.eclipse.org/community/eclipsebirthday5/birthdayparties.php As it says on the gif! The venue: Bar Kick 127 Shoreditch High Street, London. E1 6JE http://www.cafekick.co.uk/ There will be an area booked for the party and one or two football tables as well. See you all there! Stay tuned for more details! Anyone interested in participating please RSVP on http://www.eclipse.org/community/eclipsebirthday5/birthdayparties.php If you know of any company willing to sponsor the event, let me know. Cheers Thibaut Rouffineau Symbian Ltd. UK. Mobile: +44 (0)7768421323 ** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify [EMAIL PROTECTED] and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. * * -- blog -- http://eokyere.blogspot.comRIFE Framework -- http://rifers.orgRIFE Training -- http://rifers.org/trainingIt is always something(corollary). Good, Fast, Cheap: Pick any two (you can't have all three).RFC 1925 ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] exit after form submission
How do you know the outputbean is not being set? How does your site structure look like? Do you have a test case? Cheers, Emmanuel On 11/1/06, Henk <[EMAIL PROTECTED]> wrote: Hi, I have a form handled by element1, after a successful submission the results have to be handled by element2. I have this code in element1 : TrackSubmissionBean trackBean = (TrackSubmissionBean)getSubmissionBean(TrackSubmissionBean.class); if (trackBean != null) { Validated val = (Validated)trackBean; if (val.validate()) { setOutputBean(trackBean,"trackformbean"); exit("element2"); } else { Set errors = val.getValidationErrors(); ValidationBuilderXhtml builder = new ValidationBuilderXhtml(); builder.generateErrorMarkings(templ, errors, null, null); } } Apparently, the exit to element2 does not receive the output bean values. Is there another way I need to follow ? Thanks Henkl ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training It is always something (corollary). Good, Fast, Cheap: Pick any two (you can't have all three). RFC 1925 ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] list of inputs in a form
sweet! glad it helped. cheers, Emmanuel On 10/27/06, Henk <[EMAIL PROTECTED]> wrote: 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: > getParameterValues) call to retrieve them in the order they > appear in the template output. > > HTH > > Cheers, > Emmanuel > > On 10/26/06, Henk <[EMAIL PROTECTED]> wrote: >> Hi guys, >> >> I want to show and process a form with some textinput tags, the number >> of inputs depending on some value I know on beforehand. E.g. I know a >> user needs to input three comments, so I show three textarea's. But how >> should I name these textareas in order to be able to process them 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 >> > > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training It is always something (corollary). Good, Fast, Cheap: Pick any two (you can't have all three). RFC 1925 ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] list of inputs in a form
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: getParameterValues) call to retrieve them in the order they appear in the template output. HTH Cheers, Emmanuel On 10/26/06, Henk <[EMAIL PROTECTED]> wrote: Hi guys, I want to show and process a form with some textinput tags, the number of inputs depending on some value I know on beforehand. E.g. I know a user needs to input three comments, so I show three textarea's. But how should I name these textareas in order to be able to process them 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 -- blog -- http://eokyere.blogspot.com RIFE -- http://rifers.org RIFE Training -- http://rifers.org/training It is always something (corollary). Good, Fast, Cheap: Pick any two (you can't have all three). RFC 1925 ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] How to use Rife for file download?
you lost me at the "send down a file" bit On 10/26/06, ying lcs <[EMAIL PROTECTED]> wrote: Hi, I am trying to write a Java web app using Rife. So i need a page which takes some info from user and it has a submit button. If the validation of the info entered by user is correct, the web app will send down a file. How can I do that with Rife? Thank you. ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- +44.790.449.0207 (London, NW10) rife -- http://rifers.org/ blog -- http://eokyere.blogspot.com/ rife training -- http://rifers.org/training Malcolm Forbes - "Failure is success if we learn from it." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RifeFilter Not Found
the web.xml file looks fine to me can you post the command u r using to start jetty? most of the classpath problems i've had with it had to do with not setting the rife.webapp.path parameter. ie. -Drife.webapp.path=... hth cheers, Emmanuel On 10/6/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: Hi All, I have ran RIFE before and now that I'm back in the game, I've followed previous RIFE packaging steps for my new app. The web app has the rife jar in the lib directory and the structure is that the same as before (rep, site, templates and elements are in the web-app's classes directory). Below is the stack trace and my web.xml: STACKTRACE - org.apache.maven.lifecycle.LifecycleExecutionException: Failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Failure at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:422) at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:356) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:172) at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:167) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:534) ... 16 more Caused by: java.lang.ClassNotFoundException: com.uwyn.rife.servlet.RifeFilter at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect (RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:344) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:306) at org.mortbay.util.Loader.loadClass(Loader.java:92) at org.mortbay.util.Loader.loadClass (Loader.java:72) at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:51) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:64) at org.mortbay.component.AbstractLifeCycle.start (AbstractLifeCycle.java:38) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:542) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1000) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java :38) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:159) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:118) at org.mortbay.component.AbstractLif
Re: [Rife-users] Revamped theater page and adding new tutorials
second it; looks really good... good one, Geert Cheers, Emmanuel On 10/5/06, Steph Meslin-Weber <[EMAIL PROTECTED]> wrote: That's a great update, Well done! On 05/10/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I just wanted to note that I revamped the theater page a bit: http:// > rifers.org/theater > > I'm currently working on a series of 6 tutorial videos with audio > comments, you can already find the first two on the site. > > You will also find recent conference and JUG video recordings of > Emmanuel and me. > > Best regards, > > Geert > > -- > Geert Bevin > 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 > -- Steph Meslin-Weber, [EMAIL PROTECTED] ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- +44.790.449.0207 (London, NW10) rife -- http://rifers.org/ blog -- http://eokyere.blogspot.com/ rife training -- http://rifers.org/training Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Maven 2 Pom.xml For Repository Installation
this is good stuff; I attended a presentation by jason van zyl on maven 2.0 about 2 wks ago, and hv been looking to find time to get my feet wet with it. thanks for getting this started. cheers, Emmanuel On 10/5/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: Hi All, Attached are the pom.xml files to be able to request RIFE be installed/uploaded to a Maven 2 repository. The installation instructions are here: http://maven.apache.org/guides/mini/guide-ibiblio-upload.html Basically, the attached pom.xml files are step 1 of the listed steps in the url above. The next step is for a RIFE developer to request the upload as defined in the url above under Step 2. I tested these locally and it does work properly so it should just be a matter of making the request. For you to test this, do the following: 1) Download the jdk-specific RIFE jar 2) Change the pom-.xml to pom.xml 3) Place the pom.xml file into the same directory as the RIFE jar 4) Run "mvn install" This should install RIFE into your local Maven repository and you should be able to use the following in your app's pom.xml to use it: com.uwyn rife-base- 1.5.1 Obviously, replace with either jdk14 or jdk15. Run "mvn package" and the RIFE jar should be put somewhere into your local target directory for Maven. The above instructions are for using the attached pom.xml files for local installation and testing. I am hoping that Geert or one of the developers will request that RIFE be uploaded to ibiblio so that we can use RIFE via Maven. Take care, Jeremy P.S . - If I can help with any of this, please let me know. ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- +44.790.449.0207 (London, NW10) rife -- http://rifers.org/ blog -- http://eokyere.blogspot.com/ rife training -- http://rifers.org/training Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] How to use Rife with Eclipse WTP
Hi yinglcs, I am new to Rife. I would like to know how to use Rife with Eclipse WTP. My understanding is Rife needs a specified directory hierarchy. But that is different from WTP generated. rife does not need a specific directory hierarchy; the important thing is that your web.xml file is setup to point to your participants (http://blog.ox.cx/archives/169-RIFEs-Participants-Easier-than-you-think.html), and maybe the engine classloader. apart from that, it's the usual stuff you have to deal with, with an apps classpath. So what is the best way to start Rife with Eclipse WTP. what has been easier for most people is to download the rife jumpstart (check the downloads section http://rifers.org/downloads) which gives you a structure (with web.xml setup) that runs out of the box. then you can feel your way around until you are comofortable to use whatever structure best suites you. cheers, Emml -- +44.790.449.0207 (London, NW10) ito! -- http://itoworld.com/ rife -- http://rifers.org/ Coke/iTunes -- http://music.coca-cola.com/ Coca-Cola Global -- http://coca-cola.com/ Orange Phone Trainer -- http://shop.orange.co.uk/shop/phonetrainer Grammy In the Schools -- http://grammyintheschools.com Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] meta data code generator
brilliant stuff, Christian... very nice... works here... could be a nice drop to start cmd line tools for rife off of too :) cheers, Emmauel On 9/24/06, Christian Vest Hansen <[EMAIL PROTECTED]> wrote: Great, here you are: http://rifers.org/wiki/display/RIFE/MetaData+stub+class+code+generation ^_^ Cheers. 2006/9/23, Geert Bevin <[EMAIL PROTECTED]>: > Hi Christian, > > sounds useful! Maybe the best thing is to upload this to the wiki as > an attachment and add a page to the tips & trick section explaining > what it does? > > Best regards, > > Geert -- "All good software releases were accidents corrected in the next version." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- +44.790.449.0207 (London, NW10) ito! -- http://itoworld.com/ rife -- http://rifers.org/ Coke/iTunes -- http://music.coca-cola.com/ Coca-Cola Global -- http://coca-cola.com/ Orange Phone Trainer -- http://shop.orange.co.uk/shop/phonetrainer Grammy In the Schools -- http://grammyintheschools.com Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] problem with HTTP/1.0 clients?
David: On 9/22/06, David Herbert <[EMAIL PROTECTED]> wrote: Hello, I have come across a strange bug which one of our customers who runs a local Squid proxy cache (which I gather for historical reasons still speaks HTTP/1.0) reported. Basically our RIFE application output a blank page (after hanging for a couple of minutes) for a particular request of the form: http://data.itoworld.com/mysite/mypage?status=1 where "status" is declared as an input with flowlinks and datalinks in the usual way. Perhaps the input is unwisely named (though I can find no documentation whatever on reserved words which shouldn't be used in query strings in HTTP). RIFE indeed does appear to have some reserved words (that are passed along as hidden params with submissions), and Geert shd be able to clarify this, although "status" doesn't appear to be one of them. you can find them in the com.uwyn.rife.engine.ReservedParameters. Cheers, Emmanuel -- +44.790.449.0207 (London, NW10) ito! -- http://itoworld.com/ rife -- http://rifers.org/ Coke/iTunes -- http://music.coca-cola.com/ Coca-Cola Global -- http://coca-cola.com/ Orange Phone Trainer -- http://shop.orange.co.uk/shop/phonetrainer Grammy In the Schools -- http://grammyintheschools.com Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] problem with HTTP/1.0 clients?
David, Google returns a number of results on search of +"unknown status reply from server" +squid; i suspect the problem is there, and not rife-specific as Geert mentions. http://www.google.co.uk/search?q=%2B%22unknown+status+reply+from+server%22+%2Bsquid&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official Cheers, Emmanuel On 9/22/06, Geert Bevin <[EMAIL PROTECTED]> wrote: Hi David, I can't think of any reason why RIFE should be the cause of this behavior since it totally relies on the underlying servlet functionality to actually communicate over HTTP. I suggested that you look at the other components in your architecture, like the servlet container, the Squid proxy itself, ... Hope you can figure it out. Best regards, Geert On 22 Sep 2006, at 12:02, David Herbert wrote: > Hello, > > I have come across a strange bug which one of our customers who > runs a local Squid proxy cache (which I gather for historical > reasons still speaks HTTP/1.0) reported. Basically our RIFE > application output a blank page (after hanging for a couple of > minutes) for a particular request of the form: > > http://data.itoworld.com/mysite/mypage?status=1 > > where "status" is declared as an input with flowlinks and datalinks > in the usual way. Perhaps the input is unwisely named (though I can > find no documentation whatever on reserved words which shouldn't be > used in query strings in HTTP). If I changed the input name from > "status" to something else e.g. "wst" everything works. > > I have created a small RIFE web app with only two pages in it at: > > http://data.itoworld.com/status_test/home > > which can reliably reproduce the bug (files below). Old browser > clients such as Netscape 4.79 also have a problem and put up a > dialog box: > > "unknown status reply from server: 1" > > or some such. The number at the end is the same as the input's > value. It looks like "status" is being treated as a reserved word > at some point, though in Netscape 4.79 the request works once the > dialog box is dismissed. > > Is this a RIFE problem, or just something about HTTP/1.0 that I'm > missing? It would be good to be pointed at some relevant > documentation if it's the latter, as this could come back to bite > us again. > > Thanks for any help, > > David Herbert > Itoworld > Cambridge UK. > > > StatusTest.java--- > > /* > * Test for use of input "status" and possible confusion with HTTP > status in HTTP/1.0 > * > * David Herbert > * Itoworld Ltd 22/09/06 > */ > import com.uwyn.rife.engine.Element; > import com.uwyn.rife.template.Template; > > public class StatusTest extends Element { > > public void processElement() { > Template template = getHtmlTemplate( "status_test" ); > setExitQuery( template, "statuslink", new String[] > { "status", "1" } ); > print(template); > } > } > > - > LinkPage.java- > > /* > * Test for use of input "status" and possible confusion with HTTP > status in HTTP/1.0 > * > * David Herbert > * Itoworld Ltd 22/09/06 > */ > import com.uwyn.rife.engine.Element; > import com.uwyn.rife.template.Template; > > public class LinkPage extends Element { > > public void processElement() { > Template template = getHtmlTemplate( "link_page" ); > int statusVar = getInputInt( "status" ); > template.setValue( "status_value", statusVar ); > print( template ); > } > } > > > participants.xml > > > > > > > > ParticipantSite > > > -- > status_test.xml-- > > > > > > > > > > > destinput="status"/> > > > > > > > > - > status_test.html > > www.w3.org/TR/html4/strict.dtd"> > > http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> > > > Test for using an input called status > > > > Click here to test > > > > > --- > link_page.html-- > > www.w3.org/TR/html4/strict.dtd"> > > http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> > > > Test for using an input called status link page > > > > Status value is > > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Geert Bevin 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 -- +44.790.449.0207 (Lon
Re: [Rife-users] Any Netbeans og Eclipse plugins for RIFE
jackob, you can get the eclipse templates from the downloads section: http://rifers.org/downloads#rifeeclipsetemplates hth. cheers, -- eokyere On 9/15/06, Nielsen Jakob Vad <[EMAIL PROTECTED]> wrote: I was on JavaZone yesterday, and saw your presentation. I notcied you were using IDEA, and had template support in there. Correct? I would like something similar in Eclipse or Netbeans. /Jakob > -Opprinnelig melding- > Fra: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] På vegne av Geert Bevin > Sendt: 15. september 2006 13:41 > Til: RIFE users list : questions, bug reports and suggestions. > Emne: Re: [Rife-users] Any Netbeans og Eclipse plugins for RIFE > > Hi, > > what kind of a plugin are you looking for? > > RIFE doesn't need much assistance from an IDE but there > efforts underway (which sadly have been stalled): > http://rifers.org/wiki/display/RIFE/IdePlugins > http://rifers.org/wiki/display/RIFE/Eclipse > > I would really love to have support for the template syntax > and will probably try to get that done for Eclipse in the > coming months. > > Take care, > > Geert > > On 15 Sep 2006, at 13:34, Nielsen Jakob Vad wrote: > > > Hi, > > > > Is there any RIFE plugins for Netbeans or Eclipse? > > > > /Jakob > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > -- > Geert Bevin > 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 mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- +44.790.449.0207 (London, NW10) ito! -- http://itoworld.com/ rife -- http://rifers.org/ Coke/iTunes -- http://music.coca-cola.com/ Coca-Cola Global -- http://coca-cola.com/ Orange Phone Trainer -- http://shop.orange.co.uk/shop/phonetrainer Grammy In the Schools -- http://grammyintheschools.com Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Any Netbeans og Eclipse plugins for RIFE
ditto :) -- eokyere On 9/15/06, Geert Bevin <[EMAIL PROTECTED]> wrote: Hi, what kind of a plugin are you looking for? RIFE doesn't need much assistance from an IDE but there efforts underway (which sadly have been stalled): http://rifers.org/wiki/display/RIFE/IdePlugins http://rifers.org/wiki/display/RIFE/Eclipse I would really love to have support for the template syntax and will probably try to get that done for Eclipse in the coming months. Take care, Geert On 15 Sep 2006, at 13:34, Nielsen Jakob Vad wrote: > Hi, > > Is there any RIFE plugins for Netbeans or Eclipse? > > /Jakob > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users -- Geert Bevin 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 -- +44.790.449.0207 (London, NW10) ito! -- http://itoworld.com/ rife -- http://rifers.org/ Coke/iTunes -- http://music.coca-cola.com/ Coca-Cola Global -- http://coca-cola.com/ Orange Phone Trainer -- http://shop.orange.co.uk/shop/phonetrainer Grammy In the Schools -- http://grammyintheschools.com Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Any Netbeans og Eclipse plugins for RIFE
jakob, not that I know of; although I have a sample rife-tomcat-jumpstart base app (with a few ant tasks added to fit with netbeans' custom tasks for webapps) that you can use to get u going, if that would help any. I want to clean that up, add a little docu and release it, but can send current snapshot to u, if that would help. cheers, Emmanuel On 9/15/06, Nielsen Jakob Vad <[EMAIL PROTECTED]> wrote: Hi, Is there any RIFE plugins for Netbeans or Eclipse? /Jakob ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- +44.790.449.0207 (London, NW10) ito! -- http://itoworld.com/ rife -- http://rifers.org/ Coke/iTunes -- http://music.coca-cola.com/ Coca-Cola Global -- http://coca-cola.com/ Orange Phone Trainer -- http://shop.orange.co.uk/shop/phonetrainer Grammy In the Schools -- http://grammyintheschools.com Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] Fwd: [OT][ANN] JAVAWUG BOF XX Videos Uploaded
video for the rife petstore app presentation at oracle finally went up; turned out quite well :) cheers, Emml -- Forwarded message -- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Aug 23, 2006 12:26 PM Subject: [OT][ANN] JAVAWUG BOF XX Videos Uploaded To: [EMAIL PROTECTED] Cc: user@struts.apache.org, users@maven.apache.org Hi The JAVAWUG is happy to announce two new videos uploaded to Google Video of the birds-of-a-feather meeting number 20. Petstore RIFE Edition by Emmanuel Okyere http://video.google.com/videoplay?docid=37561501217859187&q=JAVAWUG+BOF+ XX Rearchitecting Legacy J2EE Applications with the Spring Framework by Peter Pilgrim http://video.google.com/videoplay?docid=-4427639624207114903&q=JAVAWUG+B OF+XX Enjoy. Thanks -- Peter Pilgrim JUG Leader, Java Web User Group http://jroller.com/page/javawug Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "JAVAWUG" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/javawug -~--~~~~--~~--~--~--- -- Unknown - "Be grateful for life, be grateful to life" ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] Fwd: [OT][ANN] Final Call: JAVAWUG BOF XX / Oracle City of London / 13th July 2006 @ 7pm
-- Forwarded message -- From: Peter Pilgrim <[EMAIL PROTECTED]> Date: Jul 12, 2006 11:50 AM Subject: [OT][ANN] Final Call: JAVAWUG BOF XX / Oracle City of London / 13th July 2006 @ 7pm To: [EMAIL PROTECTED], Struts Users Mailing List , Maven Users List , MyFaces Discussion Hi We are holding our twentieth birds-of-a-feather (BOF 20) of the Java Web Users Group in London, UK. The speakers: Emmanuel, Okyere `` RIFE : The Java EE Petstore Edition'' Emmanuel has been hard at work convert the (in)famous J2EE Petstore application into RIFE. This is an opportunity to learn about RIFE and see what it is all about in comparison to a web frame work like Struts or Java Server Faces. RIFE is an innovative framework, for example the ``continuations'' part of it has been used in other Java web framework like the forthcoming Struts Framework 2.0. This is great chance to learn what other luminaries, e.g. Geert Bevin are doing in this web technology space. Peter Pilgrim `` Rearchitecting Legacy J2EE Applications with Spring '' This is talks presents hints and tips on using the refactoring core J2EE functionalities with the Spring Framework. In particular Peter will talk about refactoring legacy EJBs into Spring-EJB. He will advise how to manage those application context files. He will describe the best avenues to get your IT workshop to think about using and/or doing more Agile development techniques. For more information jump to here http://jroller.com/page/javawug . Thanks! -- Peter Pilgrim ( Windows XP / Thunderbird 1.5 ) _ ___ + Expert Java __ /_ ___ ___ ____ /__ / + Enterprise ___ _ /_ __ `/_ | / / __ `/__ __/ __ __/ + Design / /_/ / / /_/ /__ |/ // /_/ / _ /___ _ /___ + Architecture \/ \__,_/ _/ \__,_/ /_/ /_/ + Web New Age On Line Resume || \\===> `` http://www.xenonsoft.demon.co.uk/no-it-striker.html '' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "JAVAWUG" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javawug -~--~~~~--~~--~--~--- -- Sheik Hamza Yusuf - "A tree grows. If you're staying the same, something is wrong. You're not alive." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Testing the mailing list, please reply to this message
here :) On 7/3/06, Geert Bevin <[EMAIL PROTECTED]> wrote: Thanks for replying everyone. It still seems very little compared to the 100 people that are signed up. I see the mails go out when I look at the logs. Though from the amount of people that replied, I'm really wondering if something is not wrong. I have no idea where to start looking though, since I get them all and the logs say they are sent to the other subscribers. On 03 Jul 2006, at 07:32, Hung Huynh wrote: > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:rife-users- > [EMAIL PROTECTED] On Behalf Of Andrés González > Sent: 1. juli 2006 12:20 > To: RIFE users list : questions,bug reports and suggestions. > Subject: Re: [Rife-users] Testing the mailing list,please reply to > this message > > I get it > -- > > -=-=-=-=-=-=-=-=-=-=-=-=- > Andrés González. > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Geert Bevin 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 -- Sheik Hamza Yusuf - "A tree grows. If you're staying the same, something is wrong. You're not alive." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] A bit frustrated
I like it... if only for the fact that two weeks down the line he'll have to write again... only this time to say what a darling rife is ;P On 6/18/06, Eddy Young <[EMAIL PROTECTED]> wrote: On 18 Jun 2006, at 22:58, Steven Grimm wrote: > > Once again, though, I apologize if I've offended anyone. That is > not the intent at all. Steven, My reply was meant to encourage you to post your questions on the mailing list more than anything else. Eddy -- http://coding.mu http://priscimon.com/blog ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Sheik Hamza Yusuf - "A tree grows. If you're staying the same, something is wrong. You're not alive." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] array/multiple beans from form submission
Fred, > >>Hmm that shouldn't be too hard to add. > >>Maybe you could take a crack at it ;-) > > > >Then there really _would_ be bidirectional templates ! > > > >And there's plenty of Javascript "out there" for clicking > >to add a new row to a table. Then table/list editing could > >be done 100% locally before POST'ing it. > > Not really sure I'm following you :-/ It's always possible that I'm full of balonie :) > How does Javascript fit in this picture, or how does this interact > with bidirectionality? Rife Forms are truly bidirectional, and can use HTML field validation too. Rife also makes it easy to append to Value tags, in order to generate HTML tables with N rows. But is it possible to generate a Form with N rows, by appending additional rows, where each row is another instance of the same bean type ? That would make it possible to have N-record Forms that are bidirectional and that use HTML field validation. Then the next logical step is to attach some JS that adds an (N+1)th record at the end of the Form. Is this making any sense ? Isn't this more or less what is under discussion, or did I manage to miss the point entirely ? You are pretty much on the money with what the discussion is about; it's not possible to 'generate' a form in the manner you mention here, but you can sort of 'simulate' that; what I am doing on the petstore app for instance, requires that every cart item be shown as part of the cart form... this in itself is something rife easily allows you to do by having a a value placeholder and blocks that you can iteratively process and append per bean instance... the added complexity comes in because as per the cart reqts, I have to have a quantity textfield that allows the user to update qty per item. rife currently supports a getSubmissionBean(BeanType.class) method which allows you to easily get an instace of the bean returned from teh form, and do validation against that... it would be nice (and I might have to look into this) to be able to make a similar call, only this time to retrieve a list/array of the beantype you require. Currently, I am sending back parameters in my submission; like: and using getParameterIntValues(paramString) call in my Element implementation to iterate over these values and recreate the beans just as I would have expected a call to a proposed getSubmissionBeans to have worked. We might hv to think this through and see if it's possible/feasible to implement something of the sort as a feature of the framework. Cheers, Emmanuel -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] array/multiple beans from form submission
Geert, > the embedded elements and do validation on those. Would have been > nicer if we could do a getSubmissionBeans(BeanType.class) call in this > regard I don't really follow, how would that work? there's already a getSubmissionBean(BeanType.class) implementation... which prepulates a bean with param values... I was just thinking aloud on if we could have a getSubmissionBeans(BeanType.class) imp where a List is returned instead, as happens to be what, in a sense, I am trying to achieve here. Cheers, Emmanuel -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Struggling with template
I'm not sure I follow; can you paste non-rifed html of the final output you expect? would be easier to help from there. cheers, Emmanuel On 5/29/06, apdewith <[EMAIL PROTECTED]> wrote: Hi, I have the following template: ${v seatList}${/v} ${b seatList} id seatId ${v seatDetailsList/} ${b seatEntry} ${v ELEMENT:.SeatEntry:/} ${/b} ${/b} I use the following code: int nrofSeats = reservation.seats().length; for( int i = 0; i < nrofSeats; i++ ) { int seatId = seats[i].getId(); processEmbeddedElement( mTemplate, ".SeatEntry", String.valueOf( i ) + "_" + String.valueOf( seatId ) ); mTemplate.appendBlock( "seatDetailsList", "seatEntry" ); } mTemplate.setBlock( "seatList", "seatList" ); I expect to get a table with a header row and a row for each SeatEntry (3 in my example). But I get first a row of the last SeatEntry and then the table with only the header. In another example I do not have the extra ${v seatList/} and ${b seatList} construction, use the same code (without the final setBlock of course) and everything and that displays as expected. What am I doing wrong? or is that what I try to accomplish not possible? ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] array/multiple beans from form submission
Hi Geert, Actually, what you can do if you really want to isolate and componentize the handling of these beans, you can use embedded elements and provide it with a data object during processEmbeddedElement (which will be each bean). This is only supported in 1.5 though. Indeed, I am using embedded elements for this, and on 1.5 too; I had, however, been using the method of forcing the embedding element to implement an XXXBeanProvider interface to store an instance of the item to be processed by the embedded element, but this new method is more elegant; I saw a mention of it in the changelist for 1.5, but it did not make sense until now... sweet! What this means then is I have to iterate over the quantities sent, and push them into the bean instances, and then just pass these on to the embedded elements and do validation on those. Would have been nicer if we could do a getSubmissionBeans(BeanType.class) call in this regard, but this shd work for me now. Thanks, Emmanuel -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] array/multiple beans from form submission
Geert, As always, thx for the quick response; > 1// how do i locate which bean a particular quantity maps to when the > form is submitted; > 1.1// changing the form method to a GET, with 2 items in the cart (one > with qty 1, the other with 4), i get a submission uri that looks like: > http://localhost:8080/$%7Bv%20SUBMISSION:FORM:submit/%7D? > quantity=1&quantity=4&update.x=34&update.y=17 These should normally respect the order of the beans that you used to create the cart items. Can you use that? Another alternative is to add a hidden form tag with the id of the bean. Yes, I figured that the order is maintained and yes that works; i guess what I am kinda wondering is how I to get validation/error marking working with my current template. > 2// is there a way to use the id of the input with form submissions > 2.1//rife doesn't seem to allow nested value tags.. ideally, i wanted > to use the id of the cartitem as it's id. so, it would have been nice > to be ablel to do: > ${v FORM:INPUT:quantity}id="${v id/}" style="text-align: right;" > maxlength="3" size="3"${/v}, but rife barfs at this. ${v FORM:INPUT:quantity}id="${v id/}" style="text-align: right;" maxlength="3" size="3"${/v} can be written as ${v FORM:INPUT:quantity/} ${bv FORM:INPUT:quantity}id="${v id/}" style="text-align: right;" maxlength="3" size="3"${/bv} that should give you what you're looking for yup; perfect! thx Added support for nested value tags is planned but I sadly haven't got enough time to get everything done. RIFE could really benefit from some new framework developers ;-) true.. it's been crazy busy around here (which is why even petstore is still not up); but plans to add/improve bits of the framework have alywas been right up there :) thx, Emmanuel -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] array/multiple beans from form submission
hi all: I've hit a bit of a snag in trying to wrap up my petstore app, and it has to do with my cart implementation. the cart form looks like: ${v SUBMISSION:PARAMS:submit}${/v} Cart Items Quantity Item Price Item Total ${v items}${/v} Cart Subtotal:${v subtotal}${/v} The items v placeholder is where your cart items are appended; they look like: ${v description}${/v} Extra Info Estimated Ship: Within 24 hours (In-Stock) ${v ERRORS:quantity}${/v} ${v FORM:INPUT:quantity}id="test" style="text-align: right;" maxlength="3" size="3"${/v} Remove ${v listPrice}${/v} ${v total}${/v} Now, these all work quite well; items can be added (increased if already added),removed etc... cart items are added to the database, and re-rendered when there's a change to the cart. All those are dandy. My current problem has to do with updating the cart (after a user changes the quantity in the text box provided) 1// how do i locate which bean a particular quantity maps to when the form is submitted; 1.1// changing the form method to a GET, with 2 items in the cart (one with qty 1, the other with 4), i get a submission uri that looks like: http://localhost:8080/$%7Bv%20SUBMISSION:FORM:submit/%7D?quantity=1&quantity=4&update.x=34&update.y=17 2// is there a way to use the id of the input with form submissions 2.1//rife doesn't seem to allow nested value tags.. ideally, i wanted to use the id of the cartitem as it's id. so, it would have been nice to be ablel to do: ${v FORM:INPUT:quantity}id="${v id/}" style="text-align: right;" maxlength="3" size="3"${/v}, but rife barfs at this. Thanks, Emmanuel -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Final preparations for RIFE 1.5
Just to catalog this here, I dropped the 1.5 snapshot into an app i'm working on, and it worked without a hitch; another thing is pages are really snappy now... I don't have any benchmarks, but the difference between rendering in 1.4 and 1.5 snapshot are really noticeable. maybe geert can give some more info on this. definitely worth upgrading to, imho... if just for the speed improvement. cheers, Emmanuel On 5/12/06, Geert Bevin <[EMAIL PROTECTED]> wrote: Hi everyone, tomorrow morning I'll start packaging RIFE 1.5 and put it on the website for download. I'll write the release notes over the coming week and announce the release after JavaOne (it's not a good idea to release anything during the conference). This is the version that will become 1.5 final: http://rifers.org/downloads/rife/snapshots/rife-1.5-snapshot-20060512/ If some of you could test it a bit with your current applications, that would be awesome. Best regards, Geert -- Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] "Use what you need" Avenue de Scailmont 34 Skype: gbevin http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 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 Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Benjamin Disraeli - "Nurture your minds with great thoughts. To believe in the heroic makes heroes." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE and Authentication
Jeremy, This is one of those long list of tutorials I have promised myself to write (oh... yearning for that 25 hour day ;P) 1) Can someone point me in the right direction, either with an example or document, on how to use the database as a backend for users? It's actually quite simple; the relevant part in java would look something like (in this case i'm getting my beans from submissions): Account ac = getSubmissionBean(Account.class); RoleUser user = getSubmissionBean(RoleUser.class); if (Utils.validate(user, ac)) { Datasource ds = (Datasource) getProperty(DATASOURCE); DatabaseUsers users = DatabaseUsersFactory.getInstance(ds); ContentQueryManager accounts = new ContentQueryManager(ds, Account.class); try { users.addUser(user.getLogin(), new RoleUserAttributes(user.getPassword(), new String[] { "user" })); ac.setUserId(users.getUserId(user.getLogin())); accounts.save(ac); //tt.setBlock("form", "sucess"); // forces login (TODO: autologin) exit(HOME); } catch (CredentialsManagerException e) { Logger.getLogger("friends").severe(ExceptionUtils.getExceptionStackTrace(e)); } So the only class I have to personally implement in this case is my custom Account class; the DatabaseUsers and related classes are provided by the rife authentication toolkit. 2) Can someone explain to me the necessary components of implementing authentication/authorization in RIFE? Generally, for auth'ing, you create an Element declaration that extends the authenticated database.xml file, and then supply values to certain properties/params it offers. For instance, I have a "User" element as: derby SHA global.Login authenticate cookie user Then further down in my site declaration, I have an element which leads to a subsite that looks like: In user, I have an element like: user.Home The "User" element (which extends the authenticated database.xml file) works almost like a "tag"; When a user accesses a url which leads to any element in my user subsite, say /user/home (effectively an element that inherits from the User element, which in turn extends database.xml), the visitor is forced to login (if they are not already authenticated); the "template_name" property in the "User" declaration is what would point to your "login" form/page. In addition to that, you have a "submission_name" property which you map to the submission that would deliver your login, password, and remember parameters. All you have to do is design your template and have the right input names for the parameters set; everything else is handled by the authentication toolkit. I think the links to the guides you provided do a good job on childtriggers and how they tie in with all this. HTH. cheers, Emmanuel On 5/10/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: Hey all, I have been going through the following to properly implement authentication/authorization in RIFE: http://rifers.org/wiki/display/RIFE/Authentication http://rifers.org/wiki/display/RIFE/GuideAuthentication http://rifers.org/docs/usersguide/ch08.html (For some reason, this url isn't working today) My first problem I ran into is that I have not found the guide/example on how to do this with the users being stored in a database. The second is that none of the documentation really explain the necessary components and their explanation. So what do I need? 1) Can someone point me in the right direction, either with an example or document, on how to use the database as a backend for users? 2) Can someone explain to me the necessary components of implementing authentication/authorization in RIFE? Thanks for humoring me, Jeremy ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Benjamin Disrae
Re: [Rife-users] Classloader error
Hope this was somewhat clear. it was, and educative too. thanks, Emmanuel On 5/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: Hi Emmanuel, here's a brief overview of what is happening. RIFE does one 'nasty' trick in its classloader that doesn't respect the standard contract for classloaders. Normally, a classloader is supposed to first delegate the loading of classes to the parent classloader (which is this case is the web application's servlet classloader). However, if RIFE does this, it would not be able to load any of the web application's classes, since the parent classloader is able to load them all. So what RIFE does is artificially trying to determine which classes and jars are part of the web application alone. It does this by looking up their resources and checking for the presence of "WEB- INF". Sadly I wasn't able to find a standard way that allows you to do this, but this seems to work fine. At that point, all the web app classes can be automatically instrumented at load time for continuations and meta data merging. This problem arises when you have classes in your web applications that are loaded by other frameworks or libraries (Log4J for example) outside the scope of RIFE's filter or servlet. If these are accessed form within the RIFE application, RIFE has to check if the parent classloader hasn't already loaded them, since loading them twice would result into errors. This method works fine unless you have package-private classes that are not loaded outside the RIFE filter, but that are accessed by classes that are already loaded from within the RIFE filter. These package-private classes will not be loaded by the parent classloader, but they will be loaded by RIFE's instead, creating permission exceptions. I've tried to find ways around this while still maintaining the ease- of-use of RIFE's setup, but there's no strategy that I can come up with that allows solving this problem without extensive (and expensive) tracking of where the loaded classes belong. This would have a profound impact on performance. So the best solution is to move these libraries outside of WEB-INF, into the standard library of the servlet container. As far as RIFE is concerned, these are then outside the web application and will not be loaded by the RIFE classloader. The best solution now, is to wait a while for Mustang to come out and in the meantime develop a collection of instrumentation agents and get rid of the classloader. These agents need to be setup manually in 1.5, but in 1.6 there's a mechanism for them to be automatically and dynamically added at runtime. The agent does exactly what the classloader does, change the bytecode for additional functionalities. However, this will not fully replace RIFE's classloader, since there are some tricks in there for reloading element implementations, even if hotswap can'. Hope this was somewhat clear. Best regards, Geert On 01 May 2006, at 03:03, Emmanuel Okyere wrote: > not that i'm experiencing this, but yes, pls post the specifics. > > thanks, > eokyere > > On 4/12/06, Eddy Young <[EMAIL PROTECTED]> wrote: >> Eddy Young wrote: >> > Hi all, >> > >> > Is there a known classloader-related error between RIFE and Log4J? >> >> Indeed, there was a classloader-related problem between RIFE and >> Log4j, >> as Geert managed to track down. But, it is debatable whether the >> fault >> can be attributed to RIFE at all. If you want to know the specifics, >> please ask. We can then post a detailed analysis which might even be >> useful to troubleshoot similar problems in your applications. >> >> In short, the solution is to move Log4J jar-files from WEB-INF/lib >> into >> common/lib of the servlet container *and* restart the container. >> >> Eddy >> -- >> http://coding.mu >> http://priscimon.com/blog >> ___ >> Rife-users mailing list >> Rife-users@uwyn.com >> http://lists.uwyn.com/mailman/listinfo/rife-users >> > > > -- > Johann Wolfgang von Goethe - "Character develops itself in the > stream of life." > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] "Use what you need" Avenue de Scailmont 34 Skype: gbevin http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net ___
Re: [Rife-users] Classloader error
not that i'm experiencing this, but yes, pls post the specifics. thanks, eokyere On 4/12/06, Eddy Young <[EMAIL PROTECTED]> wrote: Eddy Young wrote: > Hi all, > > Is there a known classloader-related error between RIFE and Log4J? Indeed, there was a classloader-related problem between RIFE and Log4j, as Geert managed to track down. But, it is debatable whether the fault can be attributed to RIFE at all. If you want to know the specifics, please ask. We can then post a detailed analysis which might even be useful to troubleshoot similar problems in your applications. In short, the solution is to move Log4J jar-files from WEB-INF/lib into common/lib of the servlet container *and* restart the container. Eddy -- http://coding.mu http://priscimon.com/blog ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] newbie: how to use RIFE to develop a photo album web application
yinglcs2, 1// It would be nice to know who you are and what your experience with java is; it would also be good to know what you've tried with rife so far, and what that experience has been as well; it helps in guiding you. 2// As far as what you want to create with rife, it sounds pretty simple to me; if you can model your 3x3 grid in html, it should be fairly easy to translate that to a rife template. rife also provides an excellent PagedNavigation class which makes it rather simple to create paged navigation based on your query offsets and limits. HTH eokyere On 4/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I am new to RIFE. I would like to know how/what component if i want to develop a photo album like application. Basically, I am doing something like this: * have a grid of images (a table of 3 X 3). * have a 'next', 'previous' page button to move from page to page. Is there a similar example for that? thanks. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE Eclipse Plugin Development Underway
meant to say *not* eclispse-specific On 4/29/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: Jeremy, RIFEECL-4 and RIFEECL-5 look quite straight-forward, and especially since they are eclipse-specific, I guess I could handle those if you want me. Cheers, Emmanuel On 4/29/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > Emmanuel, > I have created a few Jira for RIFE/Eclipse. These are very broad and > each will require multiple parts. Look over the open Jira to see if there > is anything you are interested in. If you want clarification on any of the > Jira, let me know and I'll elaborate. > > Take care, > > Jeremy > > > On 4/29/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > > yes, still on-board and waiting to follow your lead :) > > > > cheers, > > Emmanuel > > > > On 4/29/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > Today we have actually started committing code to the rife-ide > Eclipse > > > plugin. As of right now, the plugin doesn't do much but the building > blocks > > > are being built. As of now, you can associate a project with the RIFE > > > nature which will later allow for functionality specific to RIFE. > Expect to > > > see quicker turnaround on this project from this point on. If you want > to > > > get involved, just let me know and we'll get you started. > > > > > > Take care, > > > > > > Jeremy > > > > > > ___ > > > Rife-users mailing list > > > Rife-users@uwyn.com > > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > > > > > > > > > > > -- > > Johann Wolfgang von Goethe - "Character develops itself in the stream of > life." > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > > > -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE Eclipse Plugin Development Underway
Jeremy, RIFEECL-4 and RIFEECL-5 look quite straight-forward, and especially since they are eclipse-specific, I guess I could handle those if you want me. Cheers, Emmanuel On 4/29/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: Emmanuel, I have created a few Jira for RIFE/Eclipse. These are very broad and each will require multiple parts. Look over the open Jira to see if there is anything you are interested in. If you want clarification on any of the Jira, let me know and I'll elaborate. Take care, Jeremy On 4/29/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > yes, still on-board and waiting to follow your lead :) > > cheers, > Emmanuel > > On 4/29/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > > Hi all, > > Today we have actually started committing code to the rife-ide Eclipse > > plugin. As of right now, the plugin doesn't do much but the building blocks > > are being built. As of now, you can associate a project with the RIFE > > nature which will later allow for functionality specific to RIFE. Expect to > > see quicker turnaround on this project from this point on. If you want to > > get involved, just let me know and we'll get you started. > > > > Take care, > > > > Jeremy > > > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > > > > > -- > Johann Wolfgang von Goethe - "Character develops itself in the stream of life." > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE Eclipse Plugin Development Underway
yes, still on-board and waiting to follow your lead :) cheers, Emmanuel On 4/29/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: Hi all, Today we have actually started committing code to the rife-ide Eclipse plugin. As of right now, the plugin doesn't do much but the building blocks are being built. As of now, you can associate a project with the RIFE nature which will later allow for functionality specific to RIFE. Expect to see quicker turnaround on this project from this point on. If you want to get involved, just let me know and we'll get you started. Take care, Jeremy ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE's Participant's
Drew, 1// There's a lot of good documentation in the API docs: http://rifers.org/docs/api/com/uwyn/rife/rep/package-summary.html From the docs page: "A Participant is basically a service that needs to be initialized before it can return objects that correspond to specified identification keys." 2// You can also use this page from the old docs: http://rifers.org/docs/usersguide/ch06s01.html 3// The image on this page normally, also, serves as a good overview of the rife's structure for me: http://rifers.org/wiki/display/RIFE/IoC+properties+support+inside+the+repository Simply extend BlockingParticipant or SingleObjectParticipant to create your own custom participants, and then add them to your participants.xml file in your repository. For instance, in the petstore app i am currently working on, I have a PopulateParticipant, that uses some custom Comma sep vals (CSV) extractor classes I have written to pull data from text files to be inserted in the test database. I have attached that to give you an idea. I mentioned participants briefly here: http://video.google.com/videoplay?docid=1163267747129711638&q=okyere&pl=true HTH Cheers, Emmanuel On 4/28/06, Drew Kutcharian <[EMAIL PROTECTED]> wrote: Hi Everyone, I would like to know where I can find more detailed information about RIFE's Participants. I would like to know what they exactly do, how is their lifecycle being managed, and how can I write a custom one. The reason is that I like to be able to inject my Service (Business Logic) layer objects into RIFE's elements. (ie use Spring to manage my Backend beans and then use the custom Participant to inject those backend beans into RIFE's elements after Spring is done with wiring them) (also, I want to use the participant to start the Spring container before launching the webapp) I looked into SpringWebParticipant, but I'm not sure if that's what I need to use. The documentation wasn't very detailed. Thanks, Drew ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." Populate.java Description: Binary data ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] The Book. When? :)
would that pass for the shortest one page i've ever seen? ;P On 4/28/06, Fred Baube <[EMAIL PROTECTED]> wrote: > > Anybody else want to write a one page executive summary about > > RIFE and why to adopt it in a company or corporation? > > "Full stack" means never having to worry about versioning > of libraries. Because Rife has approximately fifty billion > unit tests, and because the downloads contain all the main > dependencies ... when Geert posts a release, you _know_ it > works. All thru the stack. (*) > > > fred > > > (*) With quite rare exceptions. > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] The Book. When? :)
btw, all: my presentation from last month at the javawug has just gone up on google :) ... post it on the blog later http://video.google.com/videoplay?docid=1163267747129711638 cheers, emml On 4/27/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Cool This is definitely great news. > > JR and Tyler have been working on an executive summary too. However, > I'd like to have several versions of this since everybody is bound to > have his own take on this and the more insights, the better. Anybody > else want to write a one page executive summary about RIFE and why to > adopt it in a company or corporation? > > On 27 Apr 2006, at 09:09, Emmanuel Okyere wrote: > > > yeah... and i'll be throwing in a tutorial with the petstore app > > example coming up by the weekend too... looks like a lot more > > documentation coming out, no? :) > > > > cheers, > > Emmanuel > > > > On 4/27/06, Tyler Pitchford <[EMAIL PROTECTED]> wrote: > >> The first 5 tutorials are written, they just need to get cleaned up. > >> It's finals week at law school right now, so there isn't much time > >> for > >> anything other than finals. I hope to have them done shortly after > >> finals. > >> > >> Sorry for the delay, > >> Tyler > >> > >> On 4/27/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>> Hi Alexey, > >>> > >>> I'm writing a series of three online RIFE mini books for O'Reilly. > >>> They will positioned as 'reference docs' and not be beginner > >>> tutorials and be 50-100 pages long each time. The first one > >>> should be > >>> available by June 21. > >>> > >>> I know that Tyler has been working on a series of tutorial articles > >>> and I suppose they'll be finished soon. > >>> > >>> Someone else is working on a full blown RIFE book for beginners > >>> (prefers that his name isn't disclosed), no release date yet though. > >>> > >>> Alternatively, anybody who is using RIFE, please feel free to write > >>> anything about it. A blog entry, a snippet of interesting code, > >>> problems you had, solutions you found, interesting examples, etc > >>> etc. > >>> I'll be there to assist you with anything you need. If you don't > >>> have > >>> a blog of your own, feel free to register at http://rifers.org/blogs > >>> and mail me, I'll create a blog there for you. Don't forget that our > >>> wiki is also open for contributions of anybody. Also, if you want to > >>> publish articles on java.net, onjava.com or TheServerSide, I can > >>> hook > >>> you up with the editors that are in charge. > >>> > >>> Hope this helps, > >>> > >>> Geert > >>> > >>> On 27 Apr 2006, at 06:19, Alexey wrote: > >>> > >>>> Hi! > >>>> > >>>>When approximately we can have the book on Rife? > >>>>It would be very helpful. And maybe more articles on rife too. > >>>> > >>>> -- > >>>> С уважением, > >>>> Alexey mailto:[EMAIL PROTECTED] > >>>> > >>>> ___ > >>>> Rife-users mailing list > >>>> Rife-users@uwyn.com > >>>> http://lists.uwyn.com/mailman/listinfo/rife-users > >>>> > >>> > >>> -- > >>> Geert Bevin Uwyn bvba GTalk: > >>> [EMAIL PROTECTED] > >>> "Use what you need" Avenue de Scailmont 34 Skype: gbevin > >>> http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > >>> gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 > >>> 302 599 > >>> > >>> 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 > >>> Rife-users@uwyn.com > >>> http://lists.uwyn.com/mailman/listinfo/rife-users > >>> > >> > >> ___ > >> Rife-users mailing list > >> Rife-users@uwyn.com > >> http://lists.uwyn.com/mailman/listinfo/rife-users > >> > >> > >> > > > > > > -- > > Johann Wolfgang von Goethe - "Character develops itself in the > > stream of life." > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > -- > Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > 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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] The Book. When? :)
btw, if any of you is in london, I'll be at javawug (http://www.jroller.com/page/javawug/) pls stop by; it's a fun bunch out there too :) On 4/27/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > yeah... and i'll be throwing in a tutorial with the petstore app > example coming up by the weekend too... looks like a lot more > documentation coming out, no? :) > > cheers, > Emmanuel > > On 4/27/06, Tyler Pitchford <[EMAIL PROTECTED]> wrote: > > The first 5 tutorials are written, they just need to get cleaned up. > > It's finals week at law school right now, so there isn't much time for > > anything other than finals. I hope to have them done shortly after > > finals. > > > > Sorry for the delay, > > Tyler > > > > On 4/27/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > > > Hi Alexey, > > > > > > I'm writing a series of three online RIFE mini books for O'Reilly. > > > They will positioned as 'reference docs' and not be beginner > > > tutorials and be 50-100 pages long each time. The first one should be > > > available by June 21. > > > > > > I know that Tyler has been working on a series of tutorial articles > > > and I suppose they'll be finished soon. > > > > > > Someone else is working on a full blown RIFE book for beginners > > > (prefers that his name isn't disclosed), no release date yet though. > > > > > > Alternatively, anybody who is using RIFE, please feel free to write > > > anything about it. A blog entry, a snippet of interesting code, > > > problems you had, solutions you found, interesting examples, etc etc. > > > I'll be there to assist you with anything you need. If you don't have > > > a blog of your own, feel free to register at http://rifers.org/blogs > > > and mail me, I'll create a blog there for you. Don't forget that our > > > wiki is also open for contributions of anybody. Also, if you want to > > > publish articles on java.net, onjava.com or TheServerSide, I can hook > > > you up with the editors that are in charge. > > > > > > Hope this helps, > > > > > > Geert > > > > > > On 27 Apr 2006, at 06:19, Alexey wrote: > > > > > > > Hi! > > > > > > > >When approximately we can have the book on Rife? > > > >It would be very helpful. And maybe more articles on rife too. > > > > > > > > -- > > > > С уважением, > > > > Alexey mailto:[EMAIL PROTECTED] > > > > > > > > ___ > > > > Rife-users mailing list > > > > Rife-users@uwyn.com > > > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > > > > > > -- > > > Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > > > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > > > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > > > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > > > > > 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 > > > Rife-users@uwyn.com > > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > > > > > -- > Johann Wolfgang von Goethe - "Character develops itself in the stream of > life." > -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] The Book. When? :)
yeah... and i'll be throwing in a tutorial with the petstore app example coming up by the weekend too... looks like a lot more documentation coming out, no? :) cheers, Emmanuel On 4/27/06, Tyler Pitchford <[EMAIL PROTECTED]> wrote: > The first 5 tutorials are written, they just need to get cleaned up. > It's finals week at law school right now, so there isn't much time for > anything other than finals. I hope to have them done shortly after > finals. > > Sorry for the delay, > Tyler > > On 4/27/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > > Hi Alexey, > > > > I'm writing a series of three online RIFE mini books for O'Reilly. > > They will positioned as 'reference docs' and not be beginner > > tutorials and be 50-100 pages long each time. The first one should be > > available by June 21. > > > > I know that Tyler has been working on a series of tutorial articles > > and I suppose they'll be finished soon. > > > > Someone else is working on a full blown RIFE book for beginners > > (prefers that his name isn't disclosed), no release date yet though. > > > > Alternatively, anybody who is using RIFE, please feel free to write > > anything about it. A blog entry, a snippet of interesting code, > > problems you had, solutions you found, interesting examples, etc etc. > > I'll be there to assist you with anything you need. If you don't have > > a blog of your own, feel free to register at http://rifers.org/blogs > > and mail me, I'll create a blog there for you. Don't forget that our > > wiki is also open for contributions of anybody. Also, if you want to > > publish articles on java.net, onjava.com or TheServerSide, I can hook > > you up with the editors that are in charge. > > > > Hope this helps, > > > > Geert > > > > On 27 Apr 2006, at 06:19, Alexey wrote: > > > > > Hi! > > > > > >When approximately we can have the book on Rife? > > >It would be very helpful. And maybe more articles on rife too. > > > > > > -- > > > С уважением, > > > Alexey mailto:[EMAIL PROTECTED] > > > > > > ___ > > > Rife-users mailing list > > > Rife-users@uwyn.com > > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > > > > -- > > Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > > > 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 > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > > > -- Johann Wolfgang von Goethe - "Character develops itself in the stream of life." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Problem with online user guide's "Get Started" part
I won't be able to say without knowing the physical structure you have there now... can you paste a file/tree list of your physical structure, and attach your ant build?cheers,emmanuel On 4/24/06, Allen Young <[EMAIL PROTECTED]> wrote: I've tried Jumpstart, I can get it run very well. I'm just trying to follow the user guide when this problem happened. Could tell me what the classpath problem exactly is? Now if I put the .class file in classes directory, "Hello World" works! But if I only use the .java file in "implementations" directory, it doesn't work again, On 4/24/06, Emmanuel Okyere < [EMAIL PROTECTED]> wrote: That is also a TODO for me now to change the "Getting Started" page to just point to Jumpstart :)Cheers, Emmanuel On 4/24/06, Emmanuel Okyere <[EMAIL PROTECTED] > wrote: Allen, You are having classpath issues and nothing to do with the hello world or rife implementation. I don't think you need to move anything around for the hello world experience with rife... and since you are just starting with the framework, it's probably much better to play around with the default settings, at least until you have a fair idea of what's going on. Just download jumpstart (and i'm assuming eclipse is your IDE of choice), import the project into your workspace, and click the launcher (i think it's Run WebUI or so) to start it. It will compile and start Jetty (default app server that comes with jumpstart). You can open the "Run WebUI.launch" file and/or look at the included ant build file to see how the classpath is setup... and if you have any more problems, we'll be here to provide some guidance. HTHcheers,Emmanuel On 4/24/06, Allen Young < [EMAIL PROTECTED] > wrote: Thanks. First, I've found out the problem is that in the rife-examples-1.4-jdk15.zip I had downloaded, there are no .class files in the "/WEB-INF/classes/implementations" folder but .java files. I was thinking there should be .class files so I hadn't check that. Just now, I complied the .java files and put .class files in the folder, something happened at last, but not the "HelloWorld" I expected, but exceptions. I think this is another problem. The detail expcetion information is as follows: Uwyn RIFE Errors occurred while processing the request. com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be instantiated. at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 135 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.ParticipantSite _getObject ( ParticipantSite.java : 49 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) at com.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java : 447 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) at com.uwyn.rife.engine.Site getRepInstance ( Site.java : 158 ) at com.uwyn.rife.engine.Gate obtainSite ( Gate.java : 185 ) at com.uwyn.rife.engine.Gate handleRequest ( Gate.java : 290 ) at sun.reflect.NativeMethodAccessorImpl invoke0 ( ) at sun.reflect.NativeMethodAccessorImpl invoke ( ) 17 more ... com.uwyn.rife.engine.exceptions.ElementImplementationNotFoundExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be found. at com.uwyn.rife.engine.ElementFactory getJavaInstance ( ElementFactory.java : 98 ) at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 126 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.Par
Re: [Rife-users] Problem with online user guide's "Get Started" part
That is also a TODO for me now to change the "Getting Started" page to just point to Jumpstart :)Cheers,EmmanuelOn 4/24/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: Allen, You are having classpath issues and nothing to do with the hello world or rife implementation. I don't think you need to move anything around for the hello world experience with rife... and since you are just starting with the framework, it's probably much better to play around with the default settings, at least until you have a fair idea of what's going on. Just download jumpstart (and i'm assuming eclipse is your IDE of choice), import the project into your workspace, and click the launcher (i think it's Run WebUI or so) to start it. It will compile and start Jetty (default app server that comes with jumpstart). You can open the "Run WebUI.launch" file and/or look at the included ant build file to see how the classpath is setup... and if you have any more problems, we'll be here to provide some guidance. HTHcheers,Emmanuel On 4/24/06, Allen Young < [EMAIL PROTECTED]> wrote: Thanks. First, I've found out the problem is that in the rife-examples-1.4-jdk15.zip I had downloaded, there are no .class files in the "/WEB-INF/classes/implementations" folder but .java files. I was thinking there should be .class files so I hadn't check that. Just now, I complied the .java files and put .class files in the folder, something happened at last, but not the "HelloWorld" I expected, but exceptions. I think this is another problem. The detail expcetion information is as follows: Uwyn RIFE Errors occurred while processing the request. com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be instantiated. at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 135 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.ParticipantSite _getObject ( ParticipantSite.java : 49 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) at com.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java : 447 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) at com.uwyn.rife.engine.Site getRepInstance ( Site.java : 158 ) at com.uwyn.rife.engine.Gate obtainSite ( Gate.java : 185 ) at com.uwyn.rife.engine.Gate handleRequest ( Gate.java : 290 ) at sun.reflect.NativeMethodAccessorImpl invoke0 ( ) at sun.reflect.NativeMethodAccessorImpl invoke ( ) 17 more ... com.uwyn.rife.engine.exceptions.ElementImplementationNotFoundExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be found. at com.uwyn.rife.engine.ElementFactory getJavaInstance ( ElementFactory.java : 98 ) at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 126 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.ParticipantSite _getObject ( ParticipantSite.java : 49 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) at com.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java : 447 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) at com.uwyn.rife.engine.Site getRepInstance ( Site.java : 158 ) at com.uwyn.rife.engine.Gate obtainSite ( Gate.java : 185 ) at com.uwyn.rife.engine.Gate handleRequest ( Gate.java : 290 ) at sun.reflect.NativeMethodAccessorImpl invoke0 ( ) 18 more ... java.lang.ClassNotFoundExceptiontutorial.helloworld.HelloWorld at
Re: [Rife-users] Problem with online user guide's "Get Started" part
Allen, You are having classpath issues and nothing to do with the hello world or rife implementation. I don't think you need to move anything around for the hello world experience with rife... and since you are just starting with the framework, it's probably much better to play around with the default settings, at least until you have a fair idea of what's going on. Just download jumpstart (and i'm assuming eclipse is your IDE of choice), import the project into your workspace, and click the launcher (i think it's Run WebUI or so) to start it. It will compile and start Jetty (default app server that comes with jumpstart). You can open the "Run WebUI.launch" file and/or look at the included ant build file to see how the classpath is setup... and if you have any more problems, we'll be here to provide some guidance. HTHcheers,EmmanuelOn 4/24/06, Allen Young < [EMAIL PROTECTED]> wrote: Thanks. First, I've found out the problem is that in the rife-examples-1.4-jdk15.zip I had downloaded, there are no .class files in the "/WEB-INF/classes/implementations" folder but .java files. I was thinking there should be .class files so I hadn't check that. Just now, I complied the .java files and put .class files in the folder, something happened at last, but not the "HelloWorld" I expected, but exceptions. I think this is another problem. The detail expcetion information is as follows: Uwyn RIFE Errors occurred while processing the request. com.uwyn.rife.engine.exceptions.ElementImplementationInstantiationExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be instantiated. at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 135 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.ParticipantSite _getObject ( ParticipantSite.java : 49 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) at com.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java : 447 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) at com.uwyn.rife.engine.Site getRepInstance ( Site.java : 158 ) at com.uwyn.rife.engine.Gate obtainSite ( Gate.java : 185 ) at com.uwyn.rife.engine.Gate handleRequest ( Gate.java : 290 ) at sun.reflect.NativeMethodAccessorImpl invoke0 ( ) at sun.reflect.NativeMethodAccessorImpl invoke ( ) 17 more ... com.uwyn.rife.engine.exceptions.ElementImplementationNotFoundExceptionThe implementation 'tutorial.helloworld.HelloWorld' of element 'manual:HelloWorld' couldn't be found. at com.uwyn.rife.engine.ElementFactory getJavaInstance ( ElementFactory.java : 98 ) at com.uwyn.rife.engine.ElementFactory getInstance ( ElementFactory.java : 126 ) at com.uwyn.rife.engine.ElementInfo deploy ( ElementInfo.java : 236 ) at com.uwyn.rife.engine.SiteBuilder setupElements ( SiteBuilder.java : 974 ) at com.uwyn.rife.engine.SiteBuilder setupData ( SiteBuilder.java : 1590 ) at com.uwyn.rife.engine.SiteBuilder finish ( SiteBuilder.java : 253 ) at com.uwyn.rife.engine.SiteBuilder process ( SiteBuilder.java : 244 ) at com.uwyn.rife.engine.SiteBuilder getSite ( SiteBuilder.java : 176 ) at com.uwyn.rife.rep.participants.ParticipantSite initialize ( ParticipantSite.java : 36 ) at com.uwyn.rife.rep.participants.ParticipantSite _getObject ( ParticipantSite.java : 49 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 471 ) at com.uwyn.rife.rep.BlockingParticipant _getObject ( BlockingParticipant.java : 447 ) at com.uwyn.rife.rep.BlockingParticipant getObject ( BlockingParticipant.java : 415 ) at com.uwyn.rife.engine.Site getRepInstance ( Site.java : 158 ) at com.uwyn.rife.engine.Gate obtainSite ( Gate.java : 185 ) at com.uwyn.rife.engine.Gate handleRequest ( Gate.java : 290 ) at sun.reflect.NativeMethodAccessorImpl invoke0 ( ) 18 more ... java.lang.ClassNotFoundExceptiontutorial.helloworld.HelloWorld at java.net.URLClassLoader$1 run ( ) at java.security.AccessController doPrivileged ( ) at java.net.URLClassLoader findClass ( ) at java.lang.ClassLoader loadClass ( ) at sun.misc.Launcher$AppClassLoader loadClass ( ) at java.lang.ClassLoader loadClass ( ) at java.lang.C
Re: [Rife-users] rife forms
you are right, geert... i had an empty element declaration :) and i spent a good 30 mins or so doing old template tags, to velocity-type tags and back to old-time tags... all the time blaming them ;P ... alright off to work; TBC when i get back cheers man Emmanuel On 4/12/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi Emmanuel, > > are you sure you declared a submission bean in the "commit" > submission in your element declaration? What does your element > declaration look like? > > Thanks a lot for taking a stab at Petstore! > > Best regards, > > Geert > > On 12 Apr 2006, at 08:11, Emmanuel Okyere wrote: > > > hello all, > > > > I have finally found some free time, as the last app I worked on is > > getting ready to get out of the shop, and so I have started stabbing > > at getting rife to talk petshop. i'm however having problems with rife > > printing a simple form; it does retrieve the template and prints it > > out, except it filters out all the rife specifics. Could anybody say > > if i'm missing something obvious? > > -- > Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > 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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] rife forms
hello all, I have finally found some free time, as the last app I worked on is getting ready to get out of the shop, and so I have started stabbing at getting rife to talk petshop. i'm however having problems with rife printing a simple form; it does retrieve the template and prints it out, except it filters out all the rife specifics. Could anybody say if i'm missing something obvious? Thanks, Emmanuel PS: I am using the 1.4 release (http://rifers.org/blogs/gbevin/2006/3/2/rife_1_4_released) The java code is simple: public void initialize() { template = getHtmlTemplate(TEMPLATE); } public void processElement() { print(template); } public static String TEMPLATE = "Register"; private Template template; the html looks like: User Information User ID: id="login" size="15" Email Address: A valid email address is required to activate your account id="email" size="30" Password: id="password" size="20" Repeat Password: id="password2" size="20" Account Information What is your first name? id="firstname" size="30" type="text" last name: id="lastname" size="30" type="text" Address 1: id="address" size="30" Address 2: id="address2" size="30" City: id="city" size="30" State: id="state" size="4" Zip: id="zip" size="10" Country: id="country" style="vertical-align: middle;" Profile Information Language Preference: id="language" style="vertical-align: middle;" Favourite Category: id="favCategory" style="vertical-align: middle;" Enable MyList id="listOption" value="on" Enable MyList id="bannerOption" value="on" And the final output: User Information User ID: id="login" size="15" Email Address: A valid email address is required to activate your account
Re: [Rife-users] Interview about RIFE at Java Posse
i think you got all the important points out... if i didn't know rife, I'd check it out after this :) brilliant! plus i get a mention in there... hehe Cheers, Emmanuel On 3/23/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi everyone, > > my Java Posse interview about RIFE has been put online, you can get it here: > http://javaposse.com/index.php?post_id=72112 > > Best regards, > > Geert > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] velocity templates
I'm not sure it talked about "using velocity for templates"; rife gives you a choice on the template syntax to use, which all compiles back to the same thing here's the thread you are looking for from the mailing list: http://lists.uwyn.com/pipermail/rife-users/2006-February/019612.html cheers, eokyere On 3/22/06, Graham O'Regan <[EMAIL PROTECTED]> wrote: > Geert: Just picking up from the TSS thread about using velocity for > templates (I use the name analogboy on TSS). Can you give me a few > pointers on where to start with that? > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "My life is my message." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] JPetStore 5 in RIFE
u read my mind... i saw that post and i'll be giving it a shot :) cheers, eokyere On 3/20/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi, > > if anybody feels like implementing JPetStore 5 in RIFE, please speak up: > http://www.theserverside.com/news/thread.tss?thread_id=39529#204229 > > It would actually be great if some users could come together as a > group and implement this as a community based effort. This would > really show how nicely RIFE allows you to separate everything and > work independently and in parallel. > > Of course I'll be there for any related questions, but it would be > nice if I wasn't really the one implementing it. > > Best regards, > > Geert > -- > Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > 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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Re: Official RIFE training course in the works
it went smooth, thx :) ... still learning on timing myself though... i couldn't get enough time to show the crowd code... but there was a lot of interaction from the word go, and most people after the session said they really enjoyed it, so that was good. i'll post a link to the video on the blog when it goes up... looking forward to the rife presentation today too :) cheers, eokyere On 3/17/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > How did your presentation of yesterday go? > > Emmanuel Okyere wrote: > > definitely; pls keep me in the loop. I looked at your last blog post > > too; simple and brilliant... i'll follow those lines for my talk > > today. > > > > cheers, > > eokyere > > > > On 3/17/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>> Emmanuel and Stephane, since you are both in the UK, tell me if you're > >> Sorry Eddy, I keep forgetting that you're in the UK too. If you're > >> interested in this, please contact me privately too. > >> > >> -- > >> Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > >> "Use what you need" Avenue de Scailmont 34 Skype: gbevin > >> http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > >> gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > >> > >> 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 > >> Rife-users@uwyn.com > >> http://lists.uwyn.com/mailman/listinfo/rife-users > >> > > > > > > -- > > Mohandas Gandhi - "You must be the change you wish to see in the world." > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > > -- > Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > 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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Re: Official RIFE training course in the works
definitely; pls keep me in the loop. I looked at your last blog post too; simple and brilliant... i'll follow those lines for my talk today. cheers, eokyere On 3/17/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > > Emmanuel and Stephane, since you are both in the UK, tell me if you're > > Sorry Eddy, I keep forgetting that you're in the UK too. If you're > interested in this, please contact me privately too. > > -- > Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED] > "Use what you need" Avenue de Scailmont 34 Skype: gbevin > http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin > gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599 > > 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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] Fwd: [ANN] JAVAWUG BOF XVI / Friday 3rd March 2006 @ 19:00 / Oracle Ci ty of London
I had a few problems the last time I tried this, so I'm representing the session on the 17th. cheers, Emmanuel -- Forwarded message -- From: Pilgrim, Peter <[EMAIL PROTECTED]> Date: Mar 9, 2006 5:49 PM Subject: [ANN] JAVAWUG BOF XVI / Friday 3rd March 2006 @ 19:00 / Oracle Ci ty of London To: "JAVAWUG GoogleGroups (E-mail)" <[EMAIL PROTECTED]>, "Maven Users List (E-mail)" , "Struts User Apache (E-mail)" , "MyFaces Discussion (E-mail)" Dear All I would like to formally announce that JAVAWUG (Java Web User Group) is holding the sixteenth Birds-of-Feather (Meet up XVI) at the Oracle City of London offices on Friday, 17th March 2006. The meeting will take place in a room with Audio/Visual facilities between 7-9:30 pm. There will be a series of presentations, Quickies, inspired by the JavaPolis short presentation format. The confirmed speakers are: Phil Zoio ``Struts Java 5 Extension Framework'' (special guest speaker) Emmanuel Okeyere ``Spring into RIFE Framework Continued'' Peter Pilgrim ``WebWork Quickie Experiences'' There will be probably be one additional speaking slot by Duncan Mills Afterwards members can retire to the nearby the ``All Bar One'' pub/restaurant for more in depth discussion dinner, food and drink ... The address is: Oracle City Of London One South Place London, England EC2M 2RB. If you would like to attend Join the http://groups.google.com/group/javawug JAVAWUG at Google Groups and ``Send a mail to the list you are attending'' Send mail to myself at peter dot pilgrim at credit-suisse.com and duncan dot mills at oracle.com Here is some relevant travel information: By Underground: - Moorgate: Take the Moorgate East exit, turn right, one block to South Place. Bank: Take the Northern line to Moorgate. Liverpool Street: Take the Broadgate exit, turn right onto South Place Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html The venue has graciously been organised by Duncan Mills of Oracle Corp. We all appreciate this generous gift. http://www.javawug.com/ http://jroller.com/page/peter_pilgrim PS: The presentations will be recorded and I hope to upload them all Google Video Site. search against JAVAWUG for the last video uploads. -- Peter Pilgrim :: J2EE Software Development & Architecture Operations/IT - Credit Suisse Group - "One Bank", Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 peter dot pilgrim at credit-suisse.com == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "JAVAWUG" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javawug -~--~~~~--~~--~--~--- -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] A first component using embedded elements
ahh nice one, eddy; something new to mention when i talk again about rife on the 17th at the oracle city office :) cheers, emmanuel On 3/6/06, Eddy Young <[EMAIL PROTECTED]> wrote: > Hi all, > > I recently started experimenting with using embedded elements to create > components. Today, after just 5 minutes messing about, I produced my > first component, a simple label. > > Here is how I did it. > > In sites/main.xml: > > > > > > > In templates/test.html: > > "http://www.w3.org/TR/html4/loose.dtd";> > > > > View profile > > > > >This is your profile. >Username: > id = username > value = uname > > > > > > > In web.components.Label: > > /* > * Label.java > * > * $Id$ > */ > > package web.components; > > import com.uwyn.rife.engine.Element; > import java.util.Properties; > > /** > * > * @author Eddy.Young > * @version $Revision$ > */ > public class Label extends Element { > private String id; > private String value; > > public void processElement() { > Properties properties = getEmbedProperties(); > id = properties.getProperty("id"); > value = properties.getProperty("value"); > print("" + getInput(value) + ""); > } > } > > The interesting thing here is that the ELEMENT: tag can embed more > than one value. This can be used to specify parameters. For example, for > a "list" component, the parameter could be the name of a bean that > contains the entries. Another parameter could be the name of a template. > > The possibilities are virtually limitless. It would be great if those > who have used embedded elements to create components could share their > experience here. > > -- > http://coding.mu > http://priscimon.com/blog > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Re: [Rife-devel] RIFE Fosdem Conference Video
Yes, it turned out not too bad in the end; please go ahead and announce. Feels good to share your experiences about a good thing, and get some valuable experience getting up and talking in front of your peers :) Good tip on the site-structure.. will drop that in there for the next one. cheers, Emmanuel On 3/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi Emmanuel, > > Indeed, it looks like you had some bad luck. > > Besides that it's very nice. It's particularly nice too see you in > real life :-) > > I would still like to announce this version, if that's ok by you, > since I like how you and Stephane discuss certain things and exchange > ideas. I also like your live demos. Gives a nice warm and fuzzy feel. > We can still announce the next recording on the news too. > > I have a little tip regarding the question that someone asked about > the site-structure being the same as navigation in other frameworks. > As you said, it is, to a certain degree. However, what's very > different is that the data flow and state handling is taken care of > too. So in that regard it's more resembling to a state machine or a > stateful workflow management system. This makes the elements so > powerful since they can work in any context and RIFE is able to > provide it with the required state and data. > > Looking forward to the next presentation. > > Best regards, > > Geert > > On 1-mrt-06, at 10:51, Emmanuel Okyere wrote: > > > Very nice; the one i gave at the Oracle City office in Moorgate, > > London also went up at > > > > http://video.google.com/videoplay?docid=-6431749968960182884 > > > > I might be re-presenting it on the 17 March, as I had last minute > > problems with my original presentation, and we were pressed for time > > on the first run. Will pick up some tips from Geerts. > > > > Nice one. > > > > Emmanuel > > > > > > On 3/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >> Hi everyone, > >> The presentation I did last weekend about RIFE at Fosdem has been > >> recorded on video and the stream is available from here: > >> > >> http://ftp.belnet.be/mirror/FOSDEM/FOSDEM2006-rife.avi (305MB) > >> > >> Sadly they started a bit too late, and the focus isn't correct for > >> the first two minutes. After that though, the image is fine and it > >> should give a good introduction into RIFE. > >> > >> Enjoy! > >> > >> > >> -- > >> Geert Bevin Uwyn bvba > >> "Use what you need" Avenue de Scailmont 34 > >> http://www.uwyn.com 7170 Manage, Belgium > >> gbevin[remove] at uwyn dot comTel +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-devel mailing list > >> Rife-devel@uwyn.com > >> http://lists.uwyn.com/mailman/listinfo/rife-devel > >> > > > > > > -- > > Mohandas Gandhi - "You must be the change you wish to see in the > > world." > > ___ > > Rife-devel mailing list > > Rife-devel@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-devel > > > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] MetaData class
yeah, good to know... will take a quick look tonight and dive in over the weekend thanks, Emmanuel On 3/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Yeah, it's in the 1.4 release I pushed out 2 days ago. I just have so > much going on at the moment that Im' not sure when I'll be able to > wrap up the release notes. > > On 1-mrt-06, at 10:53, Emmanuel Okyere wrote: > > > nice; I wasn't aware you had already implemented this. Have to take a > > look later today. > > > > nice one, > > Emmanuel > > > > On 3/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >> Hi Eddy, > >> > >>> Am I correct in thinking that the new MetaData class is useful only > >>> if applied to JavaBean-compliant classes? > >> > >> Actually, no. > >> > >> I still have to write the docs about this. If you have a class Foo > >> and another class FooMetaData that implements the MetaDataMerged > >> interface, RIFE's classloader will automatically make Foo implement > >> all the interfaces of FooMetaData, create a private member variable > >> of FooMetaData for every Foo instance and implement the new interface > >> methods as delegates to the member variable. > >> > >> It can thus be used for any kind of meta information that you want to > >> merge in. > >> > >> The MetaData class in itself however is intended to make it easy for > >> you to do this for constraints, however, you can still implement any > >> other interface. > >> > >> Best regards, > >> > >> Geert > >> > >> -- > >> Geert Bevin Uwyn bvba > >> "Use what you need" Avenue de Scailmont 34 > >> http://www.uwyn.com 7170 Manage, Belgium > >> gbevin[remove] at uwyn dot comTel +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 > >> Rife-users@uwyn.com > >> http://lists.uwyn.com/mailman/listinfo/rife-users > >> > > > > > > -- > > Mohandas Gandhi - "You must be the change you wish to see in the > > world." > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > 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 comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] [solved]Re: how to use "automatic meta data merging" to create a table?
:) On 3/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Happens to the best of us :-) > > On 1-mrt-06, at 05:42, hui wrote: > > > i am stupid, having both 1.3.1 and 1.4 in classpath T_T > > > > sorry. > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > 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 comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] MetaData class
nice; I wasn't aware you had already implemented this. Have to take a look later today. nice one, Emmanuel On 3/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi Eddy, > > > Am I correct in thinking that the new MetaData class is useful only > > if applied to JavaBean-compliant classes? > > Actually, no. > > I still have to write the docs about this. If you have a class Foo > and another class FooMetaData that implements the MetaDataMerged > interface, RIFE's classloader will automatically make Foo implement > all the interfaces of FooMetaData, create a private member variable > of FooMetaData for every Foo instance and implement the new interface > methods as delegates to the member variable. > > It can thus be used for any kind of meta information that you want to > merge in. > > The MetaData class in itself however is intended to make it easy for > you to do this for constraints, however, you can still implement any > other interface. > > Best regards, > > Geert > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] Re: [Rife-devel] RIFE Fosdem Conference Video
Very nice; the one i gave at the Oracle City office in Moorgate, London also went up at http://video.google.com/videoplay?docid=-6431749968960182884 I might be re-presenting it on the 17 March, as I had last minute problems with my original presentation, and we were pressed for time on the first run. Will pick up some tips from Geerts. Nice one. Emmanuel On 3/1/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi everyone, > The presentation I did last weekend about RIFE at Fosdem has been > recorded on video and the stream is available from here: > > http://ftp.belnet.be/mirror/FOSDEM/FOSDEM2006-rife.avi (305MB) > > Sadly they started a bit too late, and the focus isn't correct for > the first two minutes. After that though, the image is fine and it > should give a good introduction into RIFE. > > Enjoy! > > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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-devel mailing list > Rife-devel@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-devel > -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] rife and flash (with webservices)
Hello All, I attend the londonmmug (londonmmug.org) meetings; it's a macromedia (turned adobe) user group. i'll be presenting a session on testing flash applications for the next meeting (meetings are on the third thursday of every month) I had been thinking of benefits of marrying rife with flash, so that I could present it to them and Introduce RIFE to another user base (they average about over 40 developers per meeting) and thought the best way would be to use rife to create webservices easily and consistently and call them from flash clients (plus flash since very 7 supports SOAP natively) these were geerts recommendations, after I shot an email to him: 1// you could also talk about REST web services. For that you have to do nothing since the site-structure is 100% geared towards the REST philosophy. Just output XML (with XML templates) instead of HTML. REST is probably much easier to interact with from within Flash than Hessian or SOAP. 2// You can look at the Bla-bla List sources for examples of this. There's even some cool reuse in there that uses the same element with different templates to output but XML and XHTML. 3// For the other web services, the wiki pages should give you what you need. One nice thing about RIFE is though, that by using inherits on the web service elements, you can very easily add authentication to them (something that is otherwise often tricky to do). Very good points; I didn't even think of the security bit, and that looks like a major point to push acrosss. I would be interested to know what others thoughts are on this. Thanks a lot. -- eokyere -- Mohandas Gandhi - "You must be the change you wish to see in the world." ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Template tag syntaxes
> > I like the tapestry/wicket inspired syntax best. > > Did you see that I thought of you with the tag attribute one, so that > you get no errors in IDEA anymore? ;-) > haha... nice one :) -- eokyere ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Template tag syntaxes
> My preference for the new syntax goes out to the preprocessing > instruction one though, it's short, clear, valid, and either > languages like php use too. I think PIs are cool too; good pt Cheers, Emmanuel ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Template tag syntaxes
I'd stay away from the "regular" syntax and vote for either the Tapestry/Wicket inspired syntax or that of the Invisible Tag Attribute; I think those should be clear enough and easy for people already familiar with xhtml to get used to quicly; I think the "regular" syntax can cause a little confusion... for instance isn't a tag a 'bold' in html (sort of similar to )? Personally, i'll continue to use the syntax we've been using; it's simple and stands out when i'm going over my code. Thanks, eokyere On 2/18/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi, > > it seems that a lot of people that look at RIFE cringe when seeing > the template tag syntax and don't delve deeper because of that. I > thus think it's important to solve this and make the negativity go > away, even if they might like the syntax later on. I thus worked out > a bunch of alternatives that we could add. I'd love to get your input > on these. Ideally I'd just implement them all, but I worry about > parsing performance. > > Anyway, here they are: > > > > Regular invisible RIFE tag syntax > Regular compact RIFE tag syntax > Processing instruction variant > Regular tags syntax > Velocity inspired syntax > FreeMarker inspired syntax > Tapestry/Wicket inspired syntax > Invisible tag attribute suggestion > > > > > > > [!V 'content'/] > > > > > > ${content} > > <#V content/> > > > > > > > > > my default content > > [!V 'content']my default content[!/V] > > my default content > > my default content > > $V{content}my default content$/V > > <#V content>my default content > > my default content > > > > > > > some content block > > [!B 'content']some content block[!/B] > > some content block > > some content block > > #B(content)some content block#/B > > <#B content>some content block > > some content block > > > > > > > some content block > > [!B 'OGNL:content:[[ true ]]']some content block[!/B] > > some content block > > some content block > > #B(OGNL:content:[[ true ]])some content block#/B > > <#B OGNL:content:[[ true ]]>some content block > > some content block > > > > > > > some blockvalue > > [!BV 'content']some blockvalue[!/BV] > > some blockvalue > > some blockvalue > > #BV(content)some blockvalue#/BV > > <#BV content>some blockvalue > > some blockvalue > > > > > > > > > [!I 'common.error_messages'/] > > > > > > #I(common.error_messages/) > > <#I common.error_messages/> > > > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Draft version of TSSJS presentation
> Nice! It seems that the PDF version of your presentation has some > problems. I get some bad formatting here. yeah, probably the conversion to pdf... opening in powerpoint also gives those formatting problems... originally did it in ppt though, and then converted back to OOo > > > i had problems with my (actually galfriend's) laptop for a while... i > > O sabotaged by your girlfriend!!! ;-) I thought so too :P Emmanuel > > On 2/13/06, S. Meslin-Weber <[EMAIL PROTECTED]> wrote: > >> On Mon, Feb 13, 2006 at 03:00:57PM +0100, Lars Heuer wrote: > >>> Hi Bevin, > >>> > I still have an entire section to add, but I'd like to get some > feedback on what I already have. > >>> > You can find the PDF here: > http://rifers.org/dive_into_rife.pdf > >>> > >>> IMO the best RIFE presentation so far. Very good RIFE introduction. > >> > >> I heartilly agree! Already commented on it to Geert on IRC, it's a > >> great > >> presentation and introduction. > >> > >> Steph > >> > >> -- > >> > >> Stephane Meslin-Weber Email: [EMAIL PROTECTED] > >> Senior Software Engineer Web: http://odonata.tangency.co.uk > >> > >> > >> > >> -BEGIN PGP SIGNATURE- > >> Version: GnuPG v1.4.1 (GNU/Linux) > >> > >> iD8DBQFD8Kdn5QGfd9PDUN0RAoT0AJwK47SMhKc+l395mxCUpWzv6SkpjQCfZgS+ > >> TYnRdoZDtYrXsqiH2xePua4= > >> =c3rz > >> -END PGP SIGNATURE- > >> > >> > >> ___ > >> Rife-users mailing list > >> Rife-users@uwyn.com > >> http://lists.uwyn.com/mailman/listinfo/rife-users > >> > >> > >> > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > 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 comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Draft version of TSSJS presentation
super sweet stuff!! :) i really really like it... wow! good job, geert i got a msg from peter that the other presentation has gone up: http://jroller.com/page/javawug?entry=updated_new_presentation_slides_for i had problems with my (actually galfriend's) laptop for a while... i shd be back online at home tonight. cheers, emmanuel On 2/13/06, S. Meslin-Weber <[EMAIL PROTECTED]> wrote: > On Mon, Feb 13, 2006 at 03:00:57PM +0100, Lars Heuer wrote: > > Hi Bevin, > > > > > I still have an entire section to add, but I'd like to get some > > > feedback on what I already have. > > > > > You can find the PDF here: > > > http://rifers.org/dive_into_rife.pdf > > > > IMO the best RIFE presentation so far. Very good RIFE introduction. > > I heartilly agree! Already commented on it to Geert on IRC, it's a great > presentation and introduction. > > Steph > > -- > > Stephane Meslin-Weber Email: [EMAIL PROTECTED] > Senior Software Engineer Web: http://odonata.tangency.co.uk > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFD8Kdn5QGfd9PDUN0RAoT0AJwK47SMhKc+l395mxCUpWzv6SkpjQCfZgS+ > TYnRdoZDtYrXsqiH2xePua4= > =c3rz > -END PGP SIGNATURE- > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > > > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
Do you mean a URL? I'm not sure; it's a BOF and the idea was circulated on the javawug mailing list.. I'll find out from Peter if there's been a post and let you know. Thanks Emmanuel ps: i'll also make a post on the rifers blog, after i've got everything settled, hopefully by tonight. On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Also, do you have the full address of the event? > > Emmanuel Okyere wrote: > > Excellent; I'll make a post. > > > > Thanks, > > Emmanuel > > > > On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >> You blog has been created. To add an entry, open the blog menu to the > >> left, log in and click the appropriate menu item. > >> > >> Don't forget to register you blog on javablogs if you want some > >> readership, using this RSS feed once your first post has been written: > >> http://rifers.org/blogs/feeds/rss/entry/eokyere > >> > >> On 30-jan-06, at 08:44, Emmanuel Okyere wrote: > >> > >>> Geert, > >>> > >>> I have registered for the blog. > >>> > >>> Thanks, > >>> Emmanuel > >>> > >>> On 1/30/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > >>>> Geert, > >>>> > >>>> How far along are you with the 'metadata' way of adding constraints? > >>>> if it's in a usable state now, I could use that, otherwise, I'll > >>>> mention work is under way to get it done; let me know. > >>>> > >>>> Thanks, > >>>> Emmanuel > >>>> > >>>> On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>>>> Hi Emmanuel, > >>>>> > >>>>> that's a great initiative! One suggestion I have is, if you're going > >>>>> to show constraints, that "extends Validation" is evidently not the > >>>>> cleanest way to do this is the model has to be container independent > >>>>> or already exists. Work is underway to make true POJO use possible. > >>>>> This will be done with parallel MetaData classes, ie. you Foo class > >>>>> will have a FooMetaData and the classloader will automatically > >>>>> detect > >>>>> this and perform some magic to weave both together. This will be in > >>>>> an invisible way (inner class with improbably inner variable name) > >>>>> and be totally transparent. > >>>>> Hardcore Java people tend to criticize the "extends Validation" > >>>>> otherwise. > >>>>> > >>>>> Good luck with the presentation. It would be nice if you would blot > >>>>> about it at rifers.org to announce it. Like that, London people > >>>>> that > >>>>> are interested but not on the list, are aware of your > >>>>> presentation too. > >>>>> > >>>>> To do so, you just have to register on the blog and tell me that > >>>>> it's > >>>>> done, I'll create a blog for you then. > >>>>> > >>>>> Best regards, > >>>>> > >>>>> Geert > >>>>> > >>>>> On 30-jan-06, at 05:11, Emmanuel Okyere wrote: > >>>>> > >>>>>> Hello all: > >>>>>> > >>>>>> I have commited to giving a 10-15 minute 'quickie' about RIFE at > >>>>>> the > >>>>>> next Java Web User Group (javawug) meeting at the Oracle City > >>>>>> office > >>>>>> in London, on Feb 3, 2006. There will be other 10-15 min 'quickie' > >>>>>> sessions on various other java webdev technologies out there; it's > >>>>>> from 6:30pm to about 9. > >>>>>> > >>>>>> I think this is the address: > >>>>>> > >>>>>> Oracle City Office > >>>>>> One South Place > >>>>>> London > >>>>>> EC2M 2RB > >>>>>> > >>>>>> If anyone on the list is in London, and will want to attend, I > >>>>>> suggest > >>>>>> sending an email to "Peter A. Pilgrim" <[EMAIL PROTECTED]>, > >>>>>> as I >
Re: [Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
precisely! :P On 1/31/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Lol, that's an ironical title ;-) > > On 31-jan-06, at 08:58, Emmanuel Okyere wrote: > > > Geert, > > > > The title will be "Spring into RIFE"; I intend to do about a 7-8 > > minute overview covering the features, including my best, > > out-of-container testing... and then using the rest of the time to > > review some code. > > > > I believe there'll be about a 5 minute Q/A after that. > > > > Thanks, > > Emmanuel > > > > On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >> What's the title of your talk? > >> > >> Emmanuel Okyere wrote: > >>> Excellent; I'll make a post. > >>> > >>> Thanks, > >>> Emmanuel > >>> > >>> On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>>> You blog has been created. To add an entry, open the blog menu > >>>> to the > >>>> left, log in and click the appropriate menu item. > >>>> > >>>> Don't forget to register you blog on javablogs if you want some > >>>> readership, using this RSS feed once your first post has been > >>>> written: > >>>> http://rifers.org/blogs/feeds/rss/entry/eokyere > >>>> > >>>> On 30-jan-06, at 08:44, Emmanuel Okyere wrote: > >>>> > >>>>> Geert, > >>>>> > >>>>> I have registered for the blog. > >>>>> > >>>>> Thanks, > >>>>> Emmanuel > >>>>> > >>>>> On 1/30/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > >>>>>> Geert, > >>>>>> > >>>>>> How far along are you with the 'metadata' way of adding > >>>>>> constraints? > >>>>>> if it's in a usable state now, I could use that, otherwise, I'll > >>>>>> mention work is under way to get it done; let me know. > >>>>>> > >>>>>> Thanks, > >>>>>> Emmanuel > >>>>>> > >>>>>> On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>>>>>> Hi Emmanuel, > >>>>>>> > >>>>>>> that's a great initiative! One suggestion I have is, if > >>>>>>> you're going > >>>>>>> to show constraints, that "extends Validation" is evidently > >>>>>>> not the > >>>>>>> cleanest way to do this is the model has to be container > >>>>>>> independent > >>>>>>> or already exists. Work is underway to make true POJO use > >>>>>>> possible. > >>>>>>> This will be done with parallel MetaData classes, ie. you Foo > >>>>>>> class > >>>>>>> will have a FooMetaData and the classloader will automatically > >>>>>>> detect > >>>>>>> this and perform some magic to weave both together. This will > >>>>>>> be in > >>>>>>> an invisible way (inner class with improbably inner variable > >>>>>>> name) > >>>>>>> and be totally transparent. > >>>>>>> Hardcore Java people tend to criticize the "extends Validation" > >>>>>>> otherwise. > >>>>>>> > >>>>>>> Good luck with the presentation. It would be nice if you > >>>>>>> would blot > >>>>>>> about it at rifers.org to announce it. Like that, London people > >>>>>>> that > >>>>>>> are interested but not on the list, are aware of your > >>>>>>> presentation too. > >>>>>>> > >>>>>>> To do so, you just have to register on the blog and tell me that > >>>>>>> it's > >>>>>>> done, I'll create a blog for you then. > >>>>>>> > >>>>>>> Best regards, > >>>>>>> > >>>>>>> Geert > >>>>>>> > >>>>>>> On 30-jan-06, at 05:11, Emmanuel Okyere wrote: > >>>>>>> > >>>>>>>> Hello all: > &
Re: [Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
Geert, The title will be "Spring into RIFE"; I intend to do about a 7-8 minute overview covering the features, including my best, out-of-container testing... and then using the rest of the time to review some code. I believe there'll be about a 5 minute Q/A after that. Thanks, Emmanuel On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > What's the title of your talk? > > Emmanuel Okyere wrote: > > Excellent; I'll make a post. > > > > Thanks, > > Emmanuel > > > > On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >> You blog has been created. To add an entry, open the blog menu to the > >> left, log in and click the appropriate menu item. > >> > >> Don't forget to register you blog on javablogs if you want some > >> readership, using this RSS feed once your first post has been written: > >> http://rifers.org/blogs/feeds/rss/entry/eokyere > >> > >> On 30-jan-06, at 08:44, Emmanuel Okyere wrote: > >> > >>> Geert, > >>> > >>> I have registered for the blog. > >>> > >>> Thanks, > >>> Emmanuel > >>> > >>> On 1/30/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > >>>> Geert, > >>>> > >>>> How far along are you with the 'metadata' way of adding constraints? > >>>> if it's in a usable state now, I could use that, otherwise, I'll > >>>> mention work is under way to get it done; let me know. > >>>> > >>>> Thanks, > >>>> Emmanuel > >>>> > >>>> On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>>>> Hi Emmanuel, > >>>>> > >>>>> that's a great initiative! One suggestion I have is, if you're going > >>>>> to show constraints, that "extends Validation" is evidently not the > >>>>> cleanest way to do this is the model has to be container independent > >>>>> or already exists. Work is underway to make true POJO use possible. > >>>>> This will be done with parallel MetaData classes, ie. you Foo class > >>>>> will have a FooMetaData and the classloader will automatically > >>>>> detect > >>>>> this and perform some magic to weave both together. This will be in > >>>>> an invisible way (inner class with improbably inner variable name) > >>>>> and be totally transparent. > >>>>> Hardcore Java people tend to criticize the "extends Validation" > >>>>> otherwise. > >>>>> > >>>>> Good luck with the presentation. It would be nice if you would blot > >>>>> about it at rifers.org to announce it. Like that, London people > >>>>> that > >>>>> are interested but not on the list, are aware of your > >>>>> presentation too. > >>>>> > >>>>> To do so, you just have to register on the blog and tell me that > >>>>> it's > >>>>> done, I'll create a blog for you then. > >>>>> > >>>>> Best regards, > >>>>> > >>>>> Geert > >>>>> > >>>>> On 30-jan-06, at 05:11, Emmanuel Okyere wrote: > >>>>> > >>>>>> Hello all: > >>>>>> > >>>>>> I have commited to giving a 10-15 minute 'quickie' about RIFE at > >>>>>> the > >>>>>> next Java Web User Group (javawug) meeting at the Oracle City > >>>>>> office > >>>>>> in London, on Feb 3, 2006. There will be other 10-15 min 'quickie' > >>>>>> sessions on various other java webdev technologies out there; it's > >>>>>> from 6:30pm to about 9. > >>>>>> > >>>>>> I think this is the address: > >>>>>> > >>>>>> Oracle City Office > >>>>>> One South Place > >>>>>> London > >>>>>> EC2M 2RB > >>>>>> > >>>>>> If anyone on the list is in London, and will want to attend, I > >>>>>> suggest > >>>>>> sending an email to "Peter A. Pilgrim" <[EMAIL PROTECTED]>, > >>>>>> as I > >>>>>> believe there's
Re: [Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
Excellent; I'll make a post. Thanks, Emmanuel On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > You blog has been created. To add an entry, open the blog menu to the > left, log in and click the appropriate menu item. > > Don't forget to register you blog on javablogs if you want some > readership, using this RSS feed once your first post has been written: > http://rifers.org/blogs/feeds/rss/entry/eokyere > > On 30-jan-06, at 08:44, Emmanuel Okyere wrote: > > > Geert, > > > > I have registered for the blog. > > > > Thanks, > > Emmanuel > > > > On 1/30/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > >> Geert, > >> > >> How far along are you with the 'metadata' way of adding constraints? > >> if it's in a usable state now, I could use that, otherwise, I'll > >> mention work is under way to get it done; let me know. > >> > >> Thanks, > >> Emmanuel > >> > >> On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>> Hi Emmanuel, > >>> > >>> that's a great initiative! One suggestion I have is, if you're going > >>> to show constraints, that "extends Validation" is evidently not the > >>> cleanest way to do this is the model has to be container independent > >>> or already exists. Work is underway to make true POJO use possible. > >>> This will be done with parallel MetaData classes, ie. you Foo class > >>> will have a FooMetaData and the classloader will automatically > >>> detect > >>> this and perform some magic to weave both together. This will be in > >>> an invisible way (inner class with improbably inner variable name) > >>> and be totally transparent. > >>> Hardcore Java people tend to criticize the "extends Validation" > >>> otherwise. > >>> > >>> Good luck with the presentation. It would be nice if you would blot > >>> about it at rifers.org to announce it. Like that, London people > >>> that > >>> are interested but not on the list, are aware of your > >>> presentation too. > >>> > >>> To do so, you just have to register on the blog and tell me that > >>> it's > >>> done, I'll create a blog for you then. > >>> > >>> Best regards, > >>> > >>> Geert > >>> > >>> On 30-jan-06, at 05:11, Emmanuel Okyere wrote: > >>> > >>>> Hello all: > >>>> > >>>> I have commited to giving a 10-15 minute 'quickie' about RIFE at > >>>> the > >>>> next Java Web User Group (javawug) meeting at the Oracle City > >>>> office > >>>> in London, on Feb 3, 2006. There will be other 10-15 min 'quickie' > >>>> sessions on various other java webdev technologies out there; it's > >>>> from 6:30pm to about 9. > >>>> > >>>> I think this is the address: > >>>> > >>>> Oracle City Office > >>>> One South Place > >>>> London > >>>> EC2M 2RB > >>>> > >>>> If anyone on the list is in London, and will want to attend, I > >>>> suggest > >>>> sending an email to "Peter A. Pilgrim" <[EMAIL PROTECTED]>, > >>>> as I > >>>> believe there's a security list. > >>>> > >>>> I am going to draw on Geert's presentation at Euroscon 2005 and > >>>> compile about 6-8 slides that should capture, in a nutshell, what > >>>> makes RIFE compelling to develop Java web applications with; I > >>>> want to > >>>> round up my presentation by the close of day and send it up--if any > >>>> one has any suggestions, I would really appreciate it. > >>>> > >>>> Thanks a lot. > >>>> > >>>> Emmanuel > >>>> ___ > >>>> Rife-users mailing list > >>>> Rife-users@uwyn.com > >>>> 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 comTel +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 > >>> Rife-users@uwyn.com > >>> http://lists.uwyn.com/mailman/listinfo/rife-users > >>> > >> > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > 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 comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
Sounds good; i've also registered on the site, so I'll make a blog post after you've set it up. Cheers, Emmanuel On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi Emmanuel, > > it's not usable yet, so you can't show that. Best is to mention it as > an alternative. I just decided upon the classloader magic as being > the best way to implement it, since otherwise the system would need > to manually manage a map to keep object instances in sync with the > meta-data instances. Adding them as inner variables will make the JVM > do all the hard work. > > I'm going to create a Conferences / Presentations page on rifers.org > where I'll list your talk too. > > Best regards, > > Geert > > On 30-jan-06, at 08:40, Emmanuel Okyere wrote: > > > Geert, > > > > How far along are you with the 'metadata' way of adding constraints? > > if it's in a usable state now, I could use that, otherwise, I'll > > mention work is under way to get it done; let me know. > > > > Thanks, > > Emmanuel > > > > On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > >> Hi Emmanuel, > >> > >> that's a great initiative! One suggestion I have is, if you're going > >> to show constraints, that "extends Validation" is evidently not the > >> cleanest way to do this is the model has to be container independent > >> or already exists. Work is underway to make true POJO use possible. > >> This will be done with parallel MetaData classes, ie. you Foo class > >> will have a FooMetaData and the classloader will automatically detect > >> this and perform some magic to weave both together. This will be in > >> an invisible way (inner class with improbably inner variable name) > >> and be totally transparent. > >> Hardcore Java people tend to criticize the "extends Validation" > >> otherwise. > >> > >> Good luck with the presentation. It would be nice if you would blot > >> about it at rifers.org to announce it. Like that, London people that > >> are interested but not on the list, are aware of your presentation > >> too. > >> > >> To do so, you just have to register on the blog and tell me that it's > >> done, I'll create a blog for you then. > >> > >> Best regards, > >> > >> Geert > >> > >> On 30-jan-06, at 05:11, Emmanuel Okyere wrote: > >> > >>> Hello all: > >>> > >>> I have commited to giving a 10-15 minute 'quickie' about RIFE at the > >>> next Java Web User Group (javawug) meeting at the Oracle City office > >>> in London, on Feb 3, 2006. There will be other 10-15 min 'quickie' > >>> sessions on various other java webdev technologies out there; it's > >>> from 6:30pm to about 9. > >>> > >>> I think this is the address: > >>> > >>> Oracle City Office > >>> One South Place > >>> London > >>> EC2M 2RB > >>> > >>> If anyone on the list is in London, and will want to attend, I > >>> suggest > >>> sending an email to "Peter A. Pilgrim" <[EMAIL PROTECTED]>, > >>> as I > >>> believe there's a security list. > >>> > >>> I am going to draw on Geert's presentation at Euroscon 2005 and > >>> compile about 6-8 slides that should capture, in a nutshell, what > >>> makes RIFE compelling to develop Java web applications with; I > >>> want to > >>> round up my presentation by the close of day and send it up--if any > >>> one has any suggestions, I would really appreciate it. > >>> > >>> Thanks a lot. > >>> > >>> Emmanuel > >>> ___ > >>> Rife-users mailing list > >>> Rife-users@uwyn.com > >>> 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 comTel +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 > >> Rife-users@uwyn.com > >> http://lists.uwyn.com/mailman/listinfo/rife-users > >> > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > 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 comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
Geert, I have registered for the blog. Thanks, Emmanuel On 1/30/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > Geert, > > How far along are you with the 'metadata' way of adding constraints? > if it's in a usable state now, I could use that, otherwise, I'll > mention work is under way to get it done; let me know. > > Thanks, > Emmanuel > > On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > > Hi Emmanuel, > > > > that's a great initiative! One suggestion I have is, if you're going > > to show constraints, that "extends Validation" is evidently not the > > cleanest way to do this is the model has to be container independent > > or already exists. Work is underway to make true POJO use possible. > > This will be done with parallel MetaData classes, ie. you Foo class > > will have a FooMetaData and the classloader will automatically detect > > this and perform some magic to weave both together. This will be in > > an invisible way (inner class with improbably inner variable name) > > and be totally transparent. > > Hardcore Java people tend to criticize the "extends Validation" > > otherwise. > > > > Good luck with the presentation. It would be nice if you would blot > > about it at rifers.org to announce it. Like that, London people that > > are interested but not on the list, are aware of your presentation too. > > > > To do so, you just have to register on the blog and tell me that it's > > done, I'll create a blog for you then. > > > > Best regards, > > > > Geert > > > > On 30-jan-06, at 05:11, Emmanuel Okyere wrote: > > > > > Hello all: > > > > > > I have commited to giving a 10-15 minute 'quickie' about RIFE at the > > > next Java Web User Group (javawug) meeting at the Oracle City office > > > in London, on Feb 3, 2006. There will be other 10-15 min 'quickie' > > > sessions on various other java webdev technologies out there; it's > > > from 6:30pm to about 9. > > > > > > I think this is the address: > > > > > > Oracle City Office > > > One South Place > > > London > > > EC2M 2RB > > > > > > If anyone on the list is in London, and will want to attend, I suggest > > > sending an email to "Peter A. Pilgrim" <[EMAIL PROTECTED]>, as I > > > believe there's a security list. > > > > > > I am going to draw on Geert's presentation at Euroscon 2005 and > > > compile about 6-8 slides that should capture, in a nutshell, what > > > makes RIFE compelling to develop Java web applications with; I want to > > > round up my presentation by the close of day and send it up--if any > > > one has any suggestions, I would really appreciate it. > > > > > > Thanks a lot. > > > > > > Emmanuel > > > ___ > > > Rife-users mailing list > > > Rife-users@uwyn.com > > > 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 comTel +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 > > Rife-users@uwyn.com > > http://lists.uwyn.com/mailman/listinfo/rife-users > > > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
Geert, How far along are you with the 'metadata' way of adding constraints? if it's in a usable state now, I could use that, otherwise, I'll mention work is under way to get it done; let me know. Thanks, Emmanuel On 1/30/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi Emmanuel, > > that's a great initiative! One suggestion I have is, if you're going > to show constraints, that "extends Validation" is evidently not the > cleanest way to do this is the model has to be container independent > or already exists. Work is underway to make true POJO use possible. > This will be done with parallel MetaData classes, ie. you Foo class > will have a FooMetaData and the classloader will automatically detect > this and perform some magic to weave both together. This will be in > an invisible way (inner class with improbably inner variable name) > and be totally transparent. > Hardcore Java people tend to criticize the "extends Validation" > otherwise. > > Good luck with the presentation. It would be nice if you would blot > about it at rifers.org to announce it. Like that, London people that > are interested but not on the list, are aware of your presentation too. > > To do so, you just have to register on the blog and tell me that it's > done, I'll create a blog for you then. > > Best regards, > > Geert > > On 30-jan-06, at 05:11, Emmanuel Okyere wrote: > > > Hello all: > > > > I have commited to giving a 10-15 minute 'quickie' about RIFE at the > > next Java Web User Group (javawug) meeting at the Oracle City office > > in London, on Feb 3, 2006. There will be other 10-15 min 'quickie' > > sessions on various other java webdev technologies out there; it's > > from 6:30pm to about 9. > > > > I think this is the address: > > > > Oracle City Office > > One South Place > > London > > EC2M 2RB > > > > If anyone on the list is in London, and will want to attend, I suggest > > sending an email to "Peter A. Pilgrim" <[EMAIL PROTECTED]>, as I > > believe there's a security list. > > > > I am going to draw on Geert's presentation at Euroscon 2005 and > > compile about 6-8 slides that should capture, in a nutshell, what > > makes RIFE compelling to develop Java web applications with; I want to > > round up my presentation by the close of day and send it up--if any > > one has any suggestions, I would really appreciate it. > > > > Thanks a lot. > > > > Emmanuel > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > 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 comTel +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 > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
[Rife-users] RIFE at JavaWUG BOF XV, 3-Feb-2006, Oracle City Office, London
Hello all: I have commited to giving a 10-15 minute 'quickie' about RIFE at the next Java Web User Group (javawug) meeting at the Oracle City office in London, on Feb 3, 2006. There will be other 10-15 min 'quickie' sessions on various other java webdev technologies out there; it's from 6:30pm to about 9. I think this is the address: Oracle City Office One South Place London EC2M 2RB If anyone on the list is in London, and will want to attend, I suggest sending an email to "Peter A. Pilgrim" <[EMAIL PROTECTED]>, as I believe there's a security list. I am going to draw on Geert's presentation at Euroscon 2005 and compile about 6-8 slides that should capture, in a nutshell, what makes RIFE compelling to develop Java web applications with; I want to round up my presentation by the close of day and send it up--if any one has any suggestions, I would really appreciate it. Thanks a lot. Emmanuel ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Defaults, defaults, defaults
maybe u shd whip up a perl script or s'thing and share it ;P On 1/27/06, Pazu <[EMAIL PROTECTED]> wrote: > While writing my first RIFE application, I found myself writing too > much configuration. I know all the arguments in favor of the verbose > site structure declaration, but sometimes I feel I'm entering too much > redundant information. Why not apply some defaults: > > 1) If an element has a declared , try to automatically link it > to an element with the same name: > > Element declaration: > > > > > Site declaration: > > > > > 2) The same goes for datalinks: if there's a flowlink between two > elements (declared explicitly or as suggested above, why not > automatically link the source element outputs with destination element > inputs with the same name? > > Element declarations: > > > > > > > > > > > > Site declaration: > > > > > > > > Just think how much cleaner these declarations above would be if > flowlinks and datalinks were "autowired" based on naming conventions. > Please notice that we're not losing track of the site structure: the > inputs, outputs and exits are still declared -- it's just their links > that would be automatically wired. > > -- Marcus Brito > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://lists.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Rife Eclipse Plugin
> Yes, we are talking about the same thing. As I'm saying, if the IDE > already provides features to ease RIFE development that much, why > re-invent the wheel? Eddy, I don't think we are re-inventing the wheel here, just adding to what is already available to make it 'more easier' to move from resource to resource... for instance, being able to link from an implementation attribute in the site configuration to the actual compilation unit will be a big boost... also having problem markers for stated compilation units that do not exist shd help a lot... all in all just adding to the tools already available to make RIFE a 'first-class citizen', imho -- eokyere ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Rife Eclipse Plugin
i don't think fixed file locations should be our major concern... probably, we should think about what preferences we can add in to allow people more flexibility with the system; -- eokyere On 1/13/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > wowz... tons of reponses already... lol > > On 1/13/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > > Geert posted a sort of roadmap here > > http://rifers.org/wiki/display/RIFE/IdePlugins; i think it's a good > > place to start... like Geert, I'm prepared to put effort into this if > > we can get it started. > > > > -- eokyere > > > > On 1/13/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > > > Hey all, > > > I have been talking to Geert about an Eclipse Plugin for Rife. He > > > seems interested in beginning development on it and wanted someone to get > > > it > > > started. I would like to fill these shoes and have a track proven record > > > to > > > do so. I have written a plugin that will probably perform similarly to > > > how > > > the Rife plugin should. It is a WebLogic plugin for Eclipse that was > > > written before Eclipse's Web Tools Project and in many ways is better than > > > the WebLogic support in WTP. I was asked to conduct a BoF at the most > > > recent U.S. BEAWorld to talk about the plugin. I was surprise at how many > > > BEA developers had used my plugin and they gave me great praise for the > > > work. To check this out, visit here: > > > > > > https://eclipse-plugin.projects.dev2dev.bea.com/ > > > > > > Let me know what you think and if you are interested, lets start > > > brainstorming for how this should work and what the features should be. > > > > > > Take care, > > > > > > Jeremy > > > > > > ___ > > > Rife-users mailing list > > > Rife-users@uwyn.com > > > http://www.uwyn.com/mailman/listinfo/rife-users > > > > > > > > > > > > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Rife Eclipse Plugin
wowz... tons of reponses already... lol On 1/13/06, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > Geert posted a sort of roadmap here > http://rifers.org/wiki/display/RIFE/IdePlugins; i think it's a good > place to start... like Geert, I'm prepared to put effort into this if > we can get it started. > > -- eokyere > > On 1/13/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > > Hey all, > > I have been talking to Geert about an Eclipse Plugin for Rife. He > > seems interested in beginning development on it and wanted someone to get it > > started. I would like to fill these shoes and have a track proven record to > > do so. I have written a plugin that will probably perform similarly to how > > the Rife plugin should. It is a WebLogic plugin for Eclipse that was > > written before Eclipse's Web Tools Project and in many ways is better than > > the WebLogic support in WTP. I was asked to conduct a BoF at the most > > recent U.S. BEAWorld to talk about the plugin. I was surprise at how many > > BEA developers had used my plugin and they gave me great praise for the > > work. To check this out, visit here: > > > > https://eclipse-plugin.projects.dev2dev.bea.com/ > > > > Let me know what you think and if you are interested, lets start > > brainstorming for how this should work and what the features should be. > > > > Take care, > > > > Jeremy > > > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.uwyn.com/mailman/listinfo/rife-users > > > > > > > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Rife Eclipse Plugin
Geert posted a sort of roadmap here http://rifers.org/wiki/display/RIFE/IdePlugins; i think it's a good place to start... like Geert, I'm prepared to put effort into this if we can get it started. -- eokyere On 1/13/06, Jeremy Whitlock <[EMAIL PROTECTED]> wrote: > Hey all, > I have been talking to Geert about an Eclipse Plugin for Rife. He > seems interested in beginning development on it and wanted someone to get it > started. I would like to fill these shoes and have a track proven record to > do so. I have written a plugin that will probably perform similarly to how > the Rife plugin should. It is a WebLogic plugin for Eclipse that was > written before Eclipse's Web Tools Project and in many ways is better than > the WebLogic support in WTP. I was asked to conduct a BoF at the most > recent U.S. BEAWorld to talk about the plugin. I was surprise at how many > BEA developers had used my plugin and they gave me great praise for the > work. To check this out, visit here: > > https://eclipse-plugin.projects.dev2dev.bea.com/ > > Let me know what you think and if you are interested, lets start > brainstorming for how this should work and what the features should be. > > Take care, > > Jeremy > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > > > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] Content Management
Naren, To add to what Geert has said, I think you'll save yourself a lot of these questions if you go through the in-depth simple blog video tutorial (http://rifers.org/rife_indepth_simple_blog); it's about the only thing I had to go through to get going with most of what I know about the framework. hth, eokyere On 1/9/06, Geert Bevin <[EMAIL PROTECTED]> wrote: > > ProductBean pBean > > =(ProductBean)getSubmissionBean("addproduct",ProductBean.class); > > Datasource ds = Datasources.getRepInstance().getDatasource > > ("mysql"); > > ContentQueryManager manager = new ContentQueryManager(ds, > > ProductBean.class); > > int id=manager.save(pBean); > > I found the problem, you used the persistent(false) constraint on > your avatar property, this means that RIFE will not persist it. In > the wiki, this is used as a demo of virtual properties. You also > forgot to set a mimeType property, this indicates the manager that is > has to be handled as content instead of regular data. If you don't > specify it, your data will be stored in the DB table. > > > I have one more question, Is any support for localization in this > > Content > > Management ? > > > > So that I can use different images for different languages. > > There is no native support for localization since the CMF relies on > paths to identify content items. You can use any path you like. If > you use the ContentQueryManager to store the properties, those paths > will be auto-generated for you as /lowercase_bean_classname/propertyname > > If you set the property to persistent(false), you can store it in any > path yourself like this: > manager.getContentManager().storeContent("/localized/language/ > myimage", new Content(MimeType.IMAGE_PNG, pBean.getAvatar()), null); > > You can read the javadocs of ContentManager to see how to retrieve > the content again: > http://rifers.org/docs/api/com/uwyn/rife/cmf/dam/ContentManager.html > > Best regards, > > Geert > > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
[Rife-users] UK Java Job Openings
I'm in London for a few months; can anybody point to some good Java Developer contracts (hopefully RIFE-biased)? Thanks, eokyere ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RFC: activating globalvars and reflective datalinks at submission
Yeah, I didn't get a chance to test this earlier as I've been on the move; sounds like a good/logical move... +1. Thanks, eokyere On 12/30/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > Ok, thanks both, I'll go ahead with it then. I also think the change > should be made now. > > On 30 Dec 2005, at 19:09, JR Boyens wrote: > > > I don't mind it so much. It seems to be a worthwhile change. I guess I > > would expect it to be the now-proposed way. > > > > As I stand right now, we should break backwards-compatibility. > > > > On 12/30/05, S. Meslin-Weber <[EMAIL PROTECTED]> wrote: > >> Hi Geert, > >> > >> On Tue, Dec 27, 2005 at 11:23:03PM +0100, Geert Bevin wrote: > >>> Download http://rifers.org/downloads/rife/rife-jumpstart_test.zip > >>> Run > >>> it and go to http://localhost:8080/inscription > >>> > >>> You can continue entering values in the form, the process stop as > >>> soon as you provide an empty field. > >>> > >>> Above each step you'll see a unique ID. This ID is generated when > >>> the > >>> process it first started and will afterwards simply be obtained from > >>> inputs. The flow is very simple here, but it can be very complex. > >>> With the custom RIFE jar in this archive, the ID can be set as an > >>> output in the Inscription element and after a submission the changed > >>> input will be picked up. > >> > >> Thanks for the example, it's a subtle change, but I believe it's > >> worth > >> the break in backward compatibility. I also think it better to > >> make such > >> breaks early rather than late - less developers will need to change > >> code. > >> > >> So on this issue, I vote 'break with the past'. Now, if only I > >> could get > >> Sun to do the same with Mustang! > >> > >> Thanks, > >> > >> Steph > >> > >> -- > >> > >> Stephane Meslin-Weber Email: [EMAIL PROTECTED] > >> Senior Software Engineer Web: http://odonata.tangency.co.uk > >> > >> > >> > >> -BEGIN PGP SIGNATURE- > >> Version: GnuPG v1.4.1 (GNU/Linux) > >> > >> iD8DBQFDtUFq5QGfd9PDUN0RApGSAKCxrQwCp6ZoY58KiTpwCBU8KmzhUgCfWIC8 > >> x+FC6nXP27Igd8QzIgvzNmI= > >> =7viq > >> -END PGP SIGNATURE- > >> > >> > >> ___ > >> Rife-users mailing list > >> Rife-users@uwyn.com > >> http://www.uwyn.com/mailman/listinfo/rife-users > >> > >> > >> > > > > > > -- > > JR Boyens > > [EMAIL PROTECTED] > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.uwyn.com/mailman/listinfo/rife-users > > > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RFC: activating globalvars and reflective datalinks at submission
can you give an example with code? thanks, eokyere On 12/27/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi, > > I just ran into a use-case, where the current submission handling > makes things very difficult. What happens now is that any submission > preserves its inputs, disregarding from which globalvars or outputs > that are set during the execution of the element. This however means > that to change inputs, one has to call a flowlink. In my case this > makes the flow very complex since I have to perform a lot of > additional conditional checks. > > So I was thinking to let changed globalvars and outputs with > datalinks that point to the same element, reflect their changes over > a submission. This behavior is however backwards incompatible. > Anybody that sets an output during an element and expect that a > submission always has the same input value even if the output is > linked to it, will see a different behavior with this change. > > What do you think? > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] IDE Support (Eclipse)
yeah, i understand that bit... if you can jumpstart it, i'm sure the rest of us who showed interest will be able to drive it from there... i'm looking into it myself as I have a few days free before I go on holiday; just wanted to know if you had any code already. thanks, -- eokyere On 12/20/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > Hi Emmanuel, > > no, not yet, but as I said before, I will not drive the Eclipse > plugin effort. I will contribute to it for certain parts that I find > important, but I don't use Eclipse myself. It thus makes a lot more > sense for me to work also on an X-develop plugin and continue to > focus on RIFE itself mainly. > > Best regards, > > Geert > > On 20-dec-05, at 15:39, Emmanuel Okyere wrote: > > > Geert, > > > > Got anything to go yet? Let me know. > > > > Thanks, > > -- eokyere > > > > On 12/16/05, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > >> looking forward to it :) > >> > >> -- eokyere > >> > >> On 12/16/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>> I'm back, we can start looking at it as of next week. > >>> > >>> On 11-dec-05, at 16:30, Emmanuel Okyere wrote: > >>> > >>>> yeah, I think we should tackle those basics first... probably with > >>>> some refactoring support... the "gui design" parts can be built > >>>> on the > >>>> those after we have them working > >>>> > >>>> Let me know when u get back, so we can start working on it together > >>>> > >>>> -- eokyere > >>>> > >>>> On 12/11/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>>>> I'm interested in working on the code hyperlinking and syntax > >>>>> highlighting. I'll start experimenting with that after my > >>>>> return from > >>>>> JavaPolis. > >>>>> > >>>>> On 11 Dec 2005, at 10:05, Emmanuel Okyere wrote: > >>>>> > >>>>>> I noticed that there are 4 of us currently (Pierre Raoul, Geert > >>>>>> Bevin, > >>>>>> Oliver Dohmen and I) who have shown interest in helping build the > >>>>>> RIFE > >>>>>> eclipse plugin. I was wondering if folk would like to start > >>>>>> discussions/code towards this. > >>>>>> > >>>>>> I had taken a look at the ant plugin to get a few ideas, but > >>>>>> thinking > >>>>>> about it more, i think the wst carves a good place for us to > >>>>>> start. > >>>>>> Thoughts? Anyone with any experience building an eclipse plugin? > >>>>>> > >>>>>> -- eokyere > >>>>>> ___ > >>>>>> Rife-users mailing list > >>>>>> Rife-users@uwyn.com > >>>>>> http://www.uwyn.com/mailman/listinfo/rife-users > >>>>>> > >>>>> > >>>>> -- > >>>>> Geert Bevin Uwyn bvba > >>>>> "Use what you need" Avenue de Scailmont 34 > >>>>> http://www.uwyn.com 7170 Manage > >>>>> gbevin[remove] at uwyn dot comTel +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 > >>>>> Rife-users@uwyn.com > >>>>> http://www.uwyn.com/mailman/listinfo/rife-users > >>>>> > >>>> ___ > >>>> Rife-users mailing list > >>>> Rife-users@uwyn.com > >>>> http://www.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 comTel +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 > >>> Rife-users@uwyn.com > >>> http://www.uwyn.com/mailman/listinfo/rife-users > >>> > >> > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.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 comTel +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 > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] IDE Support (Eclipse)
Geert, Got anything to go yet? Let me know. Thanks, -- eokyere On 12/16/05, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > looking forward to it :) > > -- eokyere > > On 12/16/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > > I'm back, we can start looking at it as of next week. > > > > On 11-dec-05, at 16:30, Emmanuel Okyere wrote: > > > > > yeah, I think we should tackle those basics first... probably with > > > some refactoring support... the "gui design" parts can be built on the > > > those after we have them working > > > > > > Let me know when u get back, so we can start working on it together > > > > > > -- eokyere > > > > > > On 12/11/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > > >> I'm interested in working on the code hyperlinking and syntax > > >> highlighting. I'll start experimenting with that after my return from > > >> JavaPolis. > > >> > > >> On 11 Dec 2005, at 10:05, Emmanuel Okyere wrote: > > >> > > >>> I noticed that there are 4 of us currently (Pierre Raoul, Geert > > >>> Bevin, > > >>> Oliver Dohmen and I) who have shown interest in helping build the > > >>> RIFE > > >>> eclipse plugin. I was wondering if folk would like to start > > >>> discussions/code towards this. > > >>> > > >>> I had taken a look at the ant plugin to get a few ideas, but > > >>> thinking > > >>> about it more, i think the wst carves a good place for us to start. > > >>> Thoughts? Anyone with any experience building an eclipse plugin? > > >>> > > >>> -- eokyere > > >>> ___ > > >>> Rife-users mailing list > > >>> Rife-users@uwyn.com > > >>> http://www.uwyn.com/mailman/listinfo/rife-users > > >>> > > >> > > >> -- > > >> Geert Bevin Uwyn bvba > > >> "Use what you need" Avenue de Scailmont 34 > > >> http://www.uwyn.com 7170 Manage > > >> gbevin[remove] at uwyn dot comTel +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 > > >> Rife-users@uwyn.com > > >> http://www.uwyn.com/mailman/listinfo/rife-users > > >> > > > ___ > > > Rife-users mailing list > > > Rife-users@uwyn.com > > > http://www.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 comTel +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 > > Rife-users@uwyn.com > > http://www.uwyn.com/mailman/listinfo/rife-users > > > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] run java code directly after starting the web server
I wanted to add that towards the end of the in-depth simple blog tutorial (http://rifers.org/rife_indepth_simple_blog) there's an explanation for this. cheers, -- eokyere On 12/19/05, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > Look at the ~.engine.ElementDeployer class. A typical implementation > (this an earlier version of something I had for my Account element) > looks like the one i've pasted below. > > Alternatively, you could create a BlockingParticipant (maybe called > Setup) and put all the setup-specific code there, and add it to the > repository configuration. > > hth, > -- eokyere > > public static class Deployer extends ElementDeployer { > public void deploy() throws EngineException { > Datasource ds = (Datasource) > getElementInfo().getProperty(DATASOURCE); > try { > > DatabaseContentFactory.getInstance(ds).install(); > } catch (InstallContentErrorException e) { > > logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); > } > > ContentQueryManager accounts = new > ContentQueryManager(ds, Account.class); > try { > accounts.install(); > } catch (DatabaseException e) { > > logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); > } > > try { > > //DatabaseUsersFactory.getInstance(ds).install(); > > DatabaseUsers users = > DatabaseUsersFactory.getInstance(ds); > users.install(); > > users.addRole("admin"); > users.addRole("user"); > > > DatabaseSessionsFactory.getInstance(ds).install(); > //DatabaseSessionsFactory.getInstance(ds). > > logger.info("-- user tbls created > -- "); > } catch (DatabaseException e) { > > logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); > } catch (SessionManagerException e) { > > logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); > } > > > } > > 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 and the sessions table in the > > database, directly after starting the web application the first time. > > Earlier I have no simple access to the config to get the datasource. > > And my arrival element inherits an authentication element. > > > > If there is no easy way to do it, I will generate the database earlier > > and copy them into my project. > > But maybe there is an easy way, that you can tell me? > > > > Cheers, > > Lars > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.uwyn.com/mailman/listinfo/rife-users > > > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] run java code directly after starting the web server
Look at the ~.engine.ElementDeployer class. A typical implementation (this an earlier version of something I had for my Account element) looks like the one i've pasted below. Alternatively, you could create a BlockingParticipant (maybe called Setup) and put all the setup-specific code there, and add it to the repository configuration. hth, -- eokyere public static class Deployer extends ElementDeployer { public void deploy() throws EngineException { Datasource ds = (Datasource) getElementInfo().getProperty(DATASOURCE); try { DatabaseContentFactory.getInstance(ds).install(); } catch (InstallContentErrorException e) { logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); } ContentQueryManager accounts = new ContentQueryManager(ds, Account.class); try { accounts.install(); } catch (DatabaseException e) { logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); } try { //DatabaseUsersFactory.getInstance(ds).install(); DatabaseUsers users = DatabaseUsersFactory.getInstance(ds); users.install(); users.addRole("admin"); users.addRole("user"); DatabaseSessionsFactory.getInstance(ds).install(); //DatabaseSessionsFactory.getInstance(ds). logger.info("-- user tbls created -- "); } catch (DatabaseException e) { logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); } catch (SessionManagerException e) { logger.warning(ExceptionUtils.getExceptionStackTraceMessages(e)); } } 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 and the sessions table in the > database, directly after starting the web application the first time. > Earlier I have no simple access to the config to get the datasource. > And my arrival element inherits an authentication element. > > If there is no easy way to do it, I will generate the database earlier > and copy them into my project. > But maybe there is an easy way, that you can tell me? > > Cheers, > Lars > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
[Rife-users] Demarcate module boundaries in framework source tree
I think the rife framework source tree shd be broken up into its proper constituent modules to properly demarcate what the optional packages are and also to make dependencies more clearer. currently, the way i understand it, the source tree holds the core framework (engine, cmf, config, rep, resources, site, xml), authenticatation, tools (i'm not sure if this is part of the core framework), gui (optional), database (optional in a way?), mail (optional?), scheduler (not sure where this belongs yet), swing (part of gui?) I'm asking for this because I'm not sure exactly what to limit myself to (or what else gets broken) when I'm looking to make changes locally. Demacating the code into proper modules (not just packages) shd also it easier to track bugs/send patches up. Or is there a way to properly download these individually (together with dependencies) without corrupting the tree with extraneous source files? Thoughts? Thanks, eokyere ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] IDE Support (Eclipse)
looking forward to it :) -- eokyere On 12/16/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > I'm back, we can start looking at it as of next week. > > On 11-dec-05, at 16:30, Emmanuel Okyere wrote: > > > yeah, I think we should tackle those basics first... probably with > > some refactoring support... the "gui design" parts can be built on the > > those after we have them working > > > > Let me know when u get back, so we can start working on it together > > > > -- eokyere > > > > On 12/11/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > >> I'm interested in working on the code hyperlinking and syntax > >> highlighting. I'll start experimenting with that after my return from > >> JavaPolis. > >> > >> On 11 Dec 2005, at 10:05, Emmanuel Okyere wrote: > >> > >>> I noticed that there are 4 of us currently (Pierre Raoul, Geert > >>> Bevin, > >>> Oliver Dohmen and I) who have shown interest in helping build the > >>> RIFE > >>> eclipse plugin. I was wondering if folk would like to start > >>> discussions/code towards this. > >>> > >>> I had taken a look at the ant plugin to get a few ideas, but > >>> thinking > >>> about it more, i think the wst carves a good place for us to start. > >>> Thoughts? Anyone with any experience building an eclipse plugin? > >>> > >>> -- eokyere > >>> ___ > >>> Rife-users mailing list > >>> Rife-users@uwyn.com > >>> http://www.uwyn.com/mailman/listinfo/rife-users > >>> > >> > >> -- > >> Geert Bevin Uwyn bvba > >> "Use what you need" Avenue de Scailmont 34 > >> http://www.uwyn.com 7170 Manage > >> gbevin[remove] at uwyn dot comTel +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 > >> Rife-users@uwyn.com > >> http://www.uwyn.com/mailman/listinfo/rife-users > >> > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.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 comTel +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 > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] users.xml
And then u can see it in use in the ~.servlet.RepServlet class and some info on it in the ~.rep.BloclingRepository class -- eokyere On 12/12/05, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > Baube, > > Look in your WEB-INF/web.xml file; it's defined in the init-param "rep.path" > > HTH > -- eokyere > > > On 12/12/05, F Baube <[EMAIL PROTECTED]> wrote: > > Another potentially stupid question here ... > > > > How exactly does Rife locate the directory "rep/" at start-up ? > > Does it use CATALINA_* or TOMCAT_* environment variables ? > > > > I grep'd the source code but could not find anything obvious. > > > > > > thx > > > > fred > > > > -- > > F.Baube* > > Georgetown/MSFS/1988 * Act locally. > > email fbaube#welho.com * Think pangalactically. > > gsm +358 41 536 8192 * > > wmd 60°11'10.8"N 24°57'36.9"E > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.uwyn.com/mailman/listinfo/rife-users > > > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] users.xml
Baube, Look in your WEB-INF/web.xml file; it's defined in the init-param "rep.path" HTH -- eokyere On 12/12/05, F Baube <[EMAIL PROTECTED]> wrote: > Another potentially stupid question here ... > > How exactly does Rife locate the directory "rep/" at start-up ? > Does it use CATALINA_* or TOMCAT_* environment variables ? > > I grep'd the source code but could not find anything obvious. > > > thx > > fred > > -- > F.Baube* > Georgetown/MSFS/1988 * Act locally. > email fbaube#welho.com * Think pangalactically. > gsm +358 41 536 8192 * > wmd 60°11'10.8"N 24°57'36.9"E > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] IDE Support (Eclipse)
yeah, I think we should tackle those basics first... probably with some refactoring support... the "gui design" parts can be built on the those after we have them working Let me know when u get back, so we can start working on it together -- eokyere On 12/11/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > I'm interested in working on the code hyperlinking and syntax > highlighting. I'll start experimenting with that after my return from > JavaPolis. > > On 11 Dec 2005, at 10:05, Emmanuel Okyere wrote: > > > I noticed that there are 4 of us currently (Pierre Raoul, Geert Bevin, > > Oliver Dohmen and I) who have shown interest in helping build the RIFE > > eclipse plugin. I was wondering if folk would like to start > > discussions/code towards this. > > > > I had taken a look at the ant plugin to get a few ideas, but thinking > > about it more, i think the wst carves a good place for us to start. > > Thoughts? Anyone with any experience building an eclipse plugin? > > > > -- eokyere > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.uwyn.com/mailman/listinfo/rife-users > > > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
[Rife-users] IDE Support (Eclipse)
I noticed that there are 4 of us currently (Pierre Raoul, Geert Bevin, Oliver Dohmen and I) who have shown interest in helping build the RIFE eclipse plugin. I was wondering if folk would like to start discussions/code towards this. I had taken a look at the ant plugin to get a few ideas, but thinking about it more, i think the wst carves a good place for us to start. Thoughts? Anyone with any experience building an eclipse plugin? -- eokyere ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Fwd: Re: [Rife-users] Spring]
Like fbaube, i'm wondering what spring brings to rife that rife doesn't already do? does it in some way make something more easier/intuitive to do? does it bring additional features? or is it just added in to allow people who already know spring to easily migrate to rife? --eokyere On 12/10/05, Raoul Pierre <[EMAIL PROTECTED]> wrote: > F Baube a écrit : > > >>>Could anyone describe what Spring integration brings to Rife ? > >>> > >>> > >>You can look at the files I just sent about l10n. I used Spring > >>to do IoC for the LocaleProvider: The choice of the LocalProvider > >>implementation is done from the file localesContext.xml. > >> > >> > > > >But Spring is a pretty big system, isn't it ? > > > > > > Yes (1.7 mo) but still acceptable. > > >I'm wondering about the "big picture" ... because I'm very curious ... > >Rife covers _so_ much, so what does Spring offer that integrates more > >or less orthogonally. > > > > > > > > Atm, Rife only allows string injection, not object value. See > http://rifers.org/wiki/display/RIFE/Add+full+IoC+support > > Pierre > > > > > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] logout problems
haha... that one bit my behind a bit in the past... glad u got it working :) -- eokyere On 12/8/05, Lars Grupe <[EMAIL PROTECTED]> wrote: > 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-users] logout problems > > > > > > 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 lines of the site file: > > > > > > > > > > > > > > > > > > > > derby > > > > > > > > > > > > > > > implementation="com.acrolinx.portal.login.elements.LogonInfo" > > inherits="IDENTIFIED"> > > > > > > > > > > > > > > > > AUTH_ADMIN > > > > > > > > > file="elements/authentication/administration.xml"/> > > > > > > > implementation="com.acrolinx.portal.login.elements.Home" > > url="/home" inherits="AUTH_ADMIN"> > > > >> destid="TERMMANAGEMENT"/> > > > > > > When I select the logout link that is taken from the exit > > 'logout' of the LOGON_INFO element no logout is done. Only > > the element that is actually shown will be repainted. > > > > > > Thank in advance for telling me the story! > > > > Cheers, > > Lars > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RFC: RIFE-247 : Allow getXhtmlTemplate() with no arguments to return template with same path as element path
my template implementations conform to a package name, my templates conform to a site structure 2 very different contexts... i'm not saying they couldn't be the same, but u get my drift. -- eokyere On 12/6/05, Keith Lea <[EMAIL PROTECTED]> wrote: > Why do you doubt that people will use it? Do you not use one template > per page (and vice versa) 99% of the time like I do? Do you think > most people don't? Do you think most people would rather type extra > for something that the framework could infer? > > On Dec 6, 2005, at 1:08 PM, Emmanuel Okyere wrote: > > > thinking it over, It's just synthatic sugar, and there's nothing wrong > > with adding it in; and i suspect whoever uses it will be informed > > enough about consequences of site changes and such. It just feels like > > it belongs in an "extensions" package; i doubt too many people will be > > making use of this. > > > > -- eokyere > > > > On 12/6/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > >>> You are right; my vote on the issue: -1. > >> > >> Could you just answer the same question I asked Eddy? > >> > >> -- > >> Geert Bevin Uwyn bvba > >> "Use what you need" Avenue de Scailmont 34 > >> http://www.uwyn.com 7170 Manage, Belgium > >> gbevin[remove] at uwyn dot comTel +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 > >> Rife-users@uwyn.com > >> http://www.uwyn.com/mailman/listinfo/rife-users > >> > > ___ > > Rife-users mailing list > > Rife-users@uwyn.com > > http://www.uwyn.com/mailman/listinfo/rife-users > > > > ___ > Rife-users mailing list > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] RFC: RIFE-247 : Allow getXhtmlTemplate() with no arguments to return template with same path as element path
thinking it over, It's just synthatic sugar, and there's nothing wrong with adding it in; and i suspect whoever uses it will be informed enough about consequences of site changes and such. It just feels like it belongs in an "extensions" package; i doubt too many people will be making use of this. -- eokyere On 12/6/05, Geert Bevin <[EMAIL PROTECTED]> wrote: > > You are right; my vote on the issue: -1. > > Could you just answer the same question I asked Eddy? > > -- > Geert Bevin Uwyn bvba > "Use what you need" Avenue de Scailmont 34 > http://www.uwyn.com 7170 Manage, Belgium > gbevin[remove] at uwyn dot comTel +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 > Rife-users@uwyn.com > http://www.uwyn.com/mailman/listinfo/rife-users > ___ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users