Top

Blog

PrimeFaces / Blog (Page 69)

PrimeFaces brings desktop terminals to the web, p:terminal is an ajax powered JSF component to execute commands defined on server side. Usage is very simple, just place the terminal and provide a command handler. Code [crayon-594c5cf470322913113153/] CommandHandler is a simple java method taking two parameters, first one is the name of the command and second parameter is an array of command arguments. [crayon-594c5cf470328074219131/]   Terminal in Mock OS X I've integrated terminal to famous PrimeFaces Mock OS X, there's a terminal icon in...

Mert Caliskan posted a simple ajax performance test comparing PrimeFaces, RichFaces and Trinidad.  He used simple partial page rendering examples in demo applications which reveals PrimeFaces is 2x/3x faster than RichFaces and Trinidad. Also Alex Smirnov tested the same demo apps and got a set of different results. Well benchmark tests usually cause debates, I've also done similar tests but to improve the accuracy and cause less debates I've created three different applications rather than using showcases. All...

PrimeFaces 1.0.0.RC aka PRIMUS will introduce the new Ajax Push aka Comet features powered by Atmosphere, after doing the initial integration I've created a sample chat application for a demo. It's a simple app with login and message sending capabilities powered by http-streaming. I'll also add support for long-polling approach soon. After creating it, I took the integration one step further and using TouchFaces, created an iPhone app as a chat client. App will also work well...

Last week, I gave my "Rapid RIA with PrimeFaces" talk at an event organized by London Java Web Users Group. The session is recorded and available as a 90 minute podcast. Slides are also available at PrimeFaces project page. My next stop is JSFSummit 2009 where I'll be doing an updated version of this talk in Orlando, USA. See you there! Last week, I gave my "Rapid RIA with PrimeFaces" talk at an event organized by London JUG. The...

I am pleased to announce that new version of PrimeFaces UI Components is released. Version 0.9.3 features the TouchFaces mobile UI kit, 5 new components, improved portlet support, enhanced datatable and various improvements. TouchFaces - UI Development kit for mobile devices mainly iphone New component : FileUpload (Reimplemented) New component : Tooltip (Reimplemented) New component : PickList New component : HotKey New component : Virtual Keyboard Easy row selection, ajax pagination, data filtering and lazy loading enhancements to DataTable Significantly improved portal support for JSR168...

I've actually blogged about this topic three years ago and introduced the PagedListDataModel. That solution worked at that time with some flows in design but now after three years, I've a much better solution to the same problem. Using PrimeFaces DataTable it's a piece of cake to load millions of data lazily, just set the lazy to true and provide a LazyDataModel. Here's is how it works. [crayon-594c5cf470c51041259161/] And the lazyModel; [crayon-594c5cf470c55682074954/] That's just it, whenever a paging event occurs with...

On 6th of October, I'll be doing my "Rapid RIA with PrimeFaces" talk at Skills Matter, London. This is a free event organized by London Java Web Users Group. See the announcement for more information and registration. Hopefully after the event, we'll head over to the nearby pub for drinks and further discussion....

For demonstration purposes I've created a couple of sample iPhone apps using TouchFaces. Here's a short screencast explaining how these apps work and how easy it is to implement them with PrimeFaces. Sample IPhone Apps with TouchFaces from cagataycivici on Vimeo. These apps are deployed online so you can test them with your iphone or a webkit based mobile browser. Demo page also contains pointers to the source codes....