New Components in Mojarra Scales: Part IV – sc:combo

February 18th, 2010

Yesterday brought us Part III in our look at some new components in Mojarra Scales. Today, Part IV brings us sc:combo, combination, if you can imagine that, of a h:selectOneMenu and h:inputText. (more…)

Popularity: 3% [?]

New Components in Mojarra Scales: Part III – sc:imageZoomer and sc:lightbox

February 17th, 2010

In Part II of this series, I introduced the new auto complete component in Mojarra Scales. In this installment, we’ll take a look at two new closely related components, sc:imageZoomer and sc:lightbox. (more…)

Popularity: 2% [?]

New Components in Mojarra Scales: Part II – sc:autoComplete

December 22nd, 2009

In Part I, I introduced the new YUI-backed Scales dataTable component. In this installment in the series, we’ll take a look at another new component available in Scales 2.0, sc:autoComplete. (more…)

Popularity: 8% [?]

New Components in Mojarra Scales: Part I – sc:dataTable

December 5th, 2009

The migration of Mojarra Scales to JSF 2, adding new components has become much easier due to JSF 2’s new composite component feature. In the past couple of weeks, this new capability has paid off in spades as Mojarra Scales has gotten (so far) three new components in rapid succession. In this, the first part of a multi-part series, we’ll take a look at the most complex of the new components, sc:dataTable. (more…)

Popularity: 10% [?]

The Mojarra Scales Demo Has Moved

November 2nd, 2009

With the recent migration of Mojarra Scales to JSF 2, the old location of the Mojarra Scales demo was no longer adequate (upgrading that server posed some issues). For that reason, I have moved the demo to a new home. This server should be more up-to-date (both in terms of the application as well as the application server — which is GlassFish v3, of course — that runs it). When accessing the application, please keep in mind that it’s on an old server that’s running on an AT&T U-verse line, and the download times will reflect that. :)

I’d also like to not that this showcases a couple of new components at the moment. I’ve begun an implementation of the YUI data table widget. At the time of this posting, basic table functions work, including client-side sorting. More complex functionality, such as Ajax updates, are in the offing.

Another new component, which the demo uses extensively, is the excellent SyntaxHighligher script from Alex Gorbatchev. The demo uses this new component to show the page source for each demo, finally allowing you to see a given component in action, as well seeing the page markup that makes those components. The demo is still in flux, so some things aren’t quite “perfect” yet. For example, Safari really hates the markup the demo produces, which is a bug in the demo application itself. Hopefully, that will soon be fixed. For now, Safari users will need to use another browser.

As I’ve noted, Scales has been migrated to JSF 2. While most components are working as expected, there are likely some minor issues to work out. If you run into any of these issues, or if you’d like to see extra functionality in any of the components, please feel free to file an issue on the Scales issue tracker on the Kenai project site.

Popularity: 8% [?]

JSF 2, h:dataTable, and Ajax Updates

October 28th, 2009

While JSF has had Ajax support for a long time now, it has always been through external libraries such as Ajax4Jsf/RichFaces, ICEfaces, DWR, DynaFaces, etc. With JSF 2, the framework now has first class, standardized support for Ajax. This is good news on several fronts. For those that want Ajax support but would rather not import another library, that capability is now baked in, and, for those familiar with a4j or DynaFaces, it should look very familiar. However, for those that don’t mind the external dependency, the standardized Ajax will make it much easier to mix and match component libraries on the same page, an issue that has plagued JSF for while. In this post, I’d like to take the first approach and show how easy it is to achieve Ajaxy updates on your h:dataTable using only standard JSF. (more…)

Popularity: 20% [?]

Mojarra 2.0 hits FCS

October 19th, 2009

Ryan Lubke announced today the availability of the first production-ready JSF 2 implementation with the release of Mojarra 2.0. You can download the binaries directly from java.net, or, use the information Ryan posted for specifying a dependency in your Maven pom file.

Congrats to (the rest of) the Expert Group and, of course, the Mojarra development team (Ryan, Jim, Ed and Roger).

Popularity: 7% [?]

Mojarra Scales 1.3.2 Has Been Released

August 27th, 2009

Late last night, I published Mojarra Scales 1.3.2. This is mostly a bug and performance fix, but here are some highlights from the release:

  • <sc:links /> (and related supporting classes and components) was modified to allow files only from /scales to fix a pretty glaring security hole in some scenarios
  • When multiple, local requests for a given resource type (CSS or JS) are queued, they are now rendered to the page in such a way that they will be returned in a single request. That is to say, Mojarra Scales will now concatenate these files into one response, so as to reduce the number of network operations.
  • Scales now correctly handles cached files. When a CSS or JS resource is sent, Scales now employs etags to help the client cache the file properly. On subsequent requests, if the client sends the last modified header, Scales properly handles the date, returning 304 when appropriate
  • <tab/> now supports the style and styleClass attributes.
  • The multi-file upload component has been moved out of the main jar into its own artifact so that those not using the component will have a smaller deployment. This component can be found under the upload artifactId in the maven repository.

The jar files, including the demo app, can be downloaded from kenai.com or via maven (the demo is not in maven).

With the architectural changes in 1.3 out of the way, the next version of Scales should include more components, as well as enhancements to existing components. At some point, the project will be branched for a migration to JSF 2. With the spec being final and Mojarra 2 scheduled to ship in a couple of weeks, it seems the time is right for the move. Time will tell, of course, how soon that move is made.

If you have any issues, please comment in the forum.

Popularity: 4% [?]

FacesTester 0.3 Has Been Released

July 29th, 2009

After a lot of changes and a long delay, I’m pleased to announce that we have released FacesTester 0.3 tonight. This version has a large number of new features. Read on the for details. (more…)

Popularity: 4% [?]

JavaServer Faces 2.0 Is Final!

May 27th, 2009

See the Executive Committee for SE/EE vote here. Download Mojarra, the reference implementation, here.

Popularity: 9% [?]

Next Page »
With many thanks to Kaushal Sheth
`