Top

Blog

PrimeFaces / Blog (Page 54)

Prime Teknoloji is making further investments in PrimeFaces. Last week I've moved primefaces.org to it's new home which hosts a much powerful hardware. Hopefully there won't be outages anymore. To compare old host has 300mb of ram with 16gb hdd on a crappy processor with limited traffic, on the other new hardware is Intel i7 Quad Core, 8 GB DDR3 Ram with 1.5 TB hdd with unlimited traffic. I can feel the how fast showcase performs, difference is...

Dialog component has received major update for M3 and reimplemented as a native PrimeFaces widget. Old Dialog was based on jQuery UI's dialog which was giving us and users some problems since it's can't be updated with ajax, uses a fixed 300px default width and more. New Dialog keeps all the features to be backward compatible and adds more; Draggable Resizable Modal Easy Positioning Effects Callbacks and Listeners Minimizable - New! Maximizable - New! Lazy Content...

PrimeFaces TabView receives an update for 3.0.M3, there were two popular requests from PrimeFaces Community; Dynamic number of tabs There are cases where you can't know the number of tabs to display, suppose you have a collection and you need a tab for each data. ui:repeat and c:forEach can't help much here so we've added this as a built-in feature. Demo of Dynamic Tabs Closable Tabs Just like browser tabs, a PrimeFaces tab can be closed, you just need to set...

PrimeFaces is built around the following principle. "A good UI component should hide complexity and provide flexibility". When complexity is hidden, it is easy to lose the flexibility since you as page author not in control. Callbacks are a great to provide flexibility, a case in point is column resizing. Hide the Complexity Just set resizableColumns attribute to true and voila! your columns are resizable. Provide Flexibility There is an optional ajax behavior called colResize that is triggered when a...

New Component of PrimeFaces called Sheet brings excel to JavaServer Faces, it is a component that mimics the core functionality of spreadsheet desktop applications like excel and openoffice. Notable features are; Incell editing Multiple selection support via meta/shift keys Bulk Updating Frozen headers Vertical/Horizontal Scrolling Global editor Resizable Columns Ajax Sorting Keyboard navigation Theme Aware Beta Demos are available at PrimeFaces Labs. Note that sheet is designed to be a lightweight component, although we have plans to add new features like fx support, excel-odp export, a feature like...

One of the most popular feature requests we get from PrimeFaces community is the horizontal scrolling for datatable to deal with many columns, before 3.0.M3 we had vertical scrolling and now we have x, y and xy scrolling; Implementing this is quite easy, you just need to; Set scrollable option to true in datatable Provide fixed widths to your columns Use scrollHeight/scrollWidth in pixels to specify which type of scrolling you want And then we deal with the...

Spring ROO - PrimeFaces Add-On is progressing but help is needed! Attached is the message from Spring Roo Lead Alan Stewart; The Spring Roo team have started an exciting new add-on to create Roo applications with a PrimeFaces UI. We want to harness the power of PrimeFaces and JSF 2 to bring Roo users a rich UI experience like never before. As such I want to know if any enthusiastic PrimeFaces developer would like to get involved. If...

Tooltip component was far away from the PrimeFaces standards, it had serious positioning issues(see here) and had problems with ajax updates. It was based on qtip jquery plugin so in order to fix these issues to provide a production ready component, I've followed our new approach that is working quite fine which is writing a native PrimeFaces widget instead of using a third part work to have full control. So for 3.0.M3 I've rewritten the tooltip...