You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2004/01/01 23:39:59 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/bean WriteTag.java

husted      2004/01/01 14:39:59

  Modified:    src/share/org/apache/struts/taglib/bean WriteTag.java
  Log:
  Add notes regarding discovering localized notations, per research by Jason Lea.
  
  Revision  Changes    Path
  1.31      +12 -5     jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java
  
  Index: WriteTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- WriteTag.java	1 Jan 2004 19:27:19 -0000	1.30
  +++ WriteTag.java	1 Jan 2004 22:39:59 -0000	1.31
  @@ -316,7 +316,14 @@
       /**
        * Format value according to specified format string (as tag attribute or
        * as string from message resources) or to current user locale.
  -     * 
  +     *
  +     * When a format string is retrieved from the message resources,
  +     * <code>applyLocalizedPattern</code> is used. For more about localized
  +     * patterns, see <http://tinyurl.com/33y54>. (To obtain the correct
  +     * value for some characters, you may need to view the file in a
  +     * hex editor and then use the Unicode escape form in the
  +     * property resources file.)
  +     *
        * @param valueToFormat value to process and convert to String
        * @exception JspException if a JSP exception has occurred
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: tinyurl.com [was: Re: cvs commit: jakarta-stru...]

Posted by Martin Cooper <ma...@apache.org>.
On Thu, 1 Jan 2004, James Mitchell wrote:

>
> Maybe its just me or I'm missing something here, but do we have to use
> tinyurl.com?  I'm not sure I like the idea of relying on a 3rd party for
> web resource address translation.
>
> If continue using this service and something happened and tinyurl.com was
> not available, we would lose many valuable references such as the
> one below.
>
> Perhaps we could utilize some other means of shortening long URLs, or at
> least something we have more control over.
>
>
> Your thoughts?

I agree. I've been seeing a lot of these tinyurl links in mail messages
recently (mostly from Ted, I think ;) and thinking about what we could do
to remove the need for them. (They're very handy, there's no doubt about
that.)

In addition to what you mention above, one other thing that bothers me
about them is that you have no indication of where you're going when you
follow one. It could be on the Apache site, but it could be anywhere, and
you don't know until you get there.

So, I'm thinking about proposing to the infrastructure folks that we run a
tinyurl work-alike at Apache. There are quite a lot of these around now -
see http://notlong.com/links/ - but I don't know if any of them are open
source. If not, I might have to write one, but it shouldn't be that hard.

Comments?

--
Martin Cooper


>
>
>
> On Thu, 1 Jan 2004 husted@apache.org wrote:
>
> > husted      2004/01/01 14:39:59
> >
> >   Modified:    src/share/org/apache/struts/taglib/bean WriteTag.java
> >   Log:
> >   Add notes regarding discovering localized notations, per research by Jason Lea.
> >
> >   Revision  Changes    Path
> >   1.31      +12 -5     jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java
> >
> >   Index: WriteTag.java
> >   ===================================================================
> >   RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v
> >   retrieving revision 1.30
> >   retrieving revision 1.31
> >   diff -u -r1.30 -r1.31
> >   --- WriteTag.java	1 Jan 2004 19:27:19 -0000	1.30
> >   +++ WriteTag.java	1 Jan 2004 22:39:59 -0000	1.31
> >   @@ -316,7 +316,14 @@
> >        /**
> >         * Format value according to specified format string (as tag attribute or
> >         * as string from message resources) or to current user locale.
> >   -     *
> >   +     *
> >   +     * When a format string is retrieved from the message resources,
> >   +     * <code>applyLocalizedPattern</code> is used. For more about localized
> >   +     * patterns, see <http://tinyurl.com/33y54>. (To obtain the correct
> >   +     * value for some characters, you may need to view the file in a
> >   +     * hex editor and then use the Unicode escape form in the
> >   +     * property resources file.)
> >   +     *
> >         * @param valueToFormat value to process and convert to String
> >         * @exception JspException if a JSP exception has occurred
> >         */
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: tinyurl.com [was: Re: cvs commit: jakarta-stru...]

Posted by David Graham <gr...@yahoo.com>.
--- James Mitchell <jm...@apache.org> wrote:
> 
> Maybe its just me or I'm missing something here, but do we have to use
> tinyurl.com?  I'm not sure I like the idea of relying on a 3rd party for
> web resource address translation.
> 
> If continue using this service and something happened and tinyurl.com
> was
> not available, we would lose many valuable references such as the
> one below.
> 
> Perhaps we could utilize some other means of shortening long URLs, or at
> least something we have more control over.
> 
> 
> Your thoughts?

-1 on using tinyurl in Struts javadocs and documentation.  I can't think
of any valid reason not to specify the real url in our docs.

David

> 
> 
> 
> On Thu, 1 Jan 2004 husted@apache.org wrote:
> 
> > husted      2004/01/01 14:39:59
> >
> >   Modified:    src/share/org/apache/struts/taglib/bean WriteTag.java
> >   Log:
> >   Add notes regarding discovering localized notations, per research by
> Jason Lea.
> >
> >   Revision  Changes    Path
> >   1.31      +12 -5    
> jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java
> >
> >   Index: WriteTag.java
> >   ===================================================================
> >   RCS file:
>
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v
> >   retrieving revision 1.30
> >   retrieving revision 1.31
> >   diff -u -r1.30 -r1.31
> >   --- WriteTag.java	1 Jan 2004 19:27:19 -0000	1.30
> >   +++ WriteTag.java	1 Jan 2004 22:39:59 -0000	1.31
> >   @@ -316,7 +316,14 @@
> >        /**
> >         * Format value according to specified format string (as tag
> attribute or
> >         * as string from message resources) or to current user locale.
> >   -     *
> >   +     *
> >   +     * When a format string is retrieved from the message
> resources,
> >   +     * <code>applyLocalizedPattern</code> is used. For more about
> localized
> >   +     * patterns, see <http://tinyurl.com/33y54>. (To obtain the
> correct
> >   +     * value for some characters, you may need to view the file in
> a
> >   +     * hex editor and then use the Unicode escape form in the
> >   +     * property resources file.)
> >   +     *
> >         * @param valueToFormat value to process and convert to String
> >         * @exception JspException if a JSP exception has occurred
> >         */
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> >
> >
> 
> -- 
> James Mitchell
> Software Developer / Struts Evangelist
> http://www.struts-atlanta.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


tinyurl.com [was: Re: cvs commit: jakarta-stru...]

Posted by James Mitchell <jm...@apache.org>.
Maybe its just me or I'm missing something here, but do we have to use
tinyurl.com?  I'm not sure I like the idea of relying on a 3rd party for
web resource address translation.

If continue using this service and something happened and tinyurl.com was
not available, we would lose many valuable references such as the
one below.

Perhaps we could utilize some other means of shortening long URLs, or at
least something we have more control over.


Your thoughts?



On Thu, 1 Jan 2004 husted@apache.org wrote:

> husted      2004/01/01 14:39:59
>
>   Modified:    src/share/org/apache/struts/taglib/bean WriteTag.java
>   Log:
>   Add notes regarding discovering localized notations, per research by Jason Lea.
>
>   Revision  Changes    Path
>   1.31      +12 -5     jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java
>
>   Index: WriteTag.java
>   ===================================================================
>   RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v
>   retrieving revision 1.30
>   retrieving revision 1.31
>   diff -u -r1.30 -r1.31
>   --- WriteTag.java	1 Jan 2004 19:27:19 -0000	1.30
>   +++ WriteTag.java	1 Jan 2004 22:39:59 -0000	1.31
>   @@ -316,7 +316,14 @@
>        /**
>         * Format value according to specified format string (as tag attribute or
>         * as string from message resources) or to current user locale.
>   -     *
>   +     *
>   +     * When a format string is retrieved from the message resources,
>   +     * <code>applyLocalizedPattern</code> is used. For more about localized
>   +     * patterns, see <http://tinyurl.com/33y54>. (To obtain the correct
>   +     * value for some characters, you may need to view the file in a
>   +     * hex editor and then use the Unicode escape form in the
>   +     * property resources file.)
>   +     *
>         * @param valueToFormat value to process and convert to String
>         * @exception JspException if a JSP exception has occurred
>         */
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>

-- 
James Mitchell
Software Developer / Struts Evangelist
http://www.struts-atlanta.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org