Is it possible to accept both percent and percentage?
The only reason I see is that if someone uses percentage it would
probably not working with the RI.

2005/9/22, Mathias Brökelmann <[EMAIL PROTECTED]>:
> I would say 2:1 for percent ;)
>
> 2005/9/22, Bruno Aranda <[EMAIL PROTECTED]>:
> > Looking at this with more detail, there is a difference between the
> > spec and the javadocs. In the javadocs (and in the TCK) "percent" is
> > expected - 
> > http://java.sun.com/j2ee/javaserverfaces/1.1/docs/api/javax/faces/convert/NumberConverter.html#setType(java.lang.String)
> > - , while in the spec document (p 9-22) it talks about "percentage".
> > Which one prevails?
> >
> > MYFACES-177 was about this....
> >
> > Bruno
> >
> > 2005/9/22, Bruno Aranda <[EMAIL PROTECTED]>:
> > > I did the change. The spec says that is "percent" the accepted value
> > > and not "percentage" (MYFACES-503), so you will have to change your
> > > code...
> > >
> > > Sorry for that :-)
> > >
> > > Bruno
> > >
> > > 2005/9/22, Martin Marinschek <[EMAIL PROTECTED]>:
> > > > Welcome back Travis, long time no hear ;)
> > > >
> > > > Want to open an issue on this?
> > > >
> > > > might be that there has been a change for TCK compatibility.
> > > >
> > > > regards,
> > > >
> > > > Martin
> > > >
> > > > On 9/21/05, Travis Reeder <[EMAIL PROTECTED]> wrote:
> > > > > I get this with no changes other than replacing jars, code is here:
> > > > >
> > > > >  <h:column>
> > > > >                 <f:facet name="header">
> > > > >                     <h:outputText 
> > > > > value="#{bundle['percentage.short']}"/>
> > > > >                 </f:facet>
> > > > >                 <h:outputText
> > > > > value="#{campaignBean.percentOfCampaignFulfilled}">
> > > > >                     <f:convertNumber type="percentage"/>
> > > > >                 </h:outputText>
> > > > >             </h:column>
> > > > >
> > > > > javax.servlet.ServletException: Cannot get NumberFormat, illegal type 
> > > > > percentage
> > > > >         javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> > > > >         
> > > > > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> > > > >         rhythm.marketplace.filters.AuthFilter.doFilter(Unknown Source)
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > Travis
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > http://www.irian.at
> > > > Your JSF powerhouse -
> > > > JSF Trainings in English and German
> > > >
> > >
> >
>
>
> --
> Mathias
>


--
Mathias

Reply via email to