beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Updated: (BEEHIVE-835) Make improvements to the support for URL templating.
Date Tue, 12 Jul 2005 23:40:10 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-835?page=all ]

Carlin Rogers updated BEEHIVE-835:
----------------------------------

    Attachment: j835-patch3.txt

The following patch moves the Factory and FactoryConfig classes from
org.apache.beehive.netui.core down into org.apache.beehive.netui.core.factory.
I have also created a new FactoryUtils class with the static methods from Factory.
Finally, this patch has some minor clean up to the HtmlBaseTag to remove a
noop method, qualifyUrlToContext().

Note that this patch includes an svn move command for the Factory and FactoryConfig
classes, implying some file deletes and adds. Her'e the svn status summary to check
with the patch in case the patch does not work correctly. Let me know if there are any
issues.

M      netui\src\core\org\apache\beehive\netui\core\urltemplates\URLTemplatesFactory.java
D      netui\src\core\org\apache\beehive\netui\core\Factory.java
A      netui\src\core\org\apache\beehive\netui\core\factory
A  +   netui\src\core\org\apache\beehive\netui\core\factory\Factory.java
A      netui\src\core\org\apache\beehive\netui\core\factory\FactoryUtils.java
A  +   netui\src\core\org\apache\beehive\netui\core\factory\FactoryConfig.java
D      netui\src\core\org\apache\beehive\netui\core\FactoryConfig.java
M      netui\src\tags-html\org\apache\beehive\netui\tags\html\HtmlBaseTag.java
M      netui\src\tags-html\org\apache\beehive\netui\tags\html\ImageAnchor.java
M      netui\src\tags-html\org\apache\beehive\netui\tags\html\ImageButton.java
M      netui\src\pageflow\org\apache\beehive\netui\pageflow\ServletContainerAdapter.java
M      netui\src\pageflow\org\apache\beehive\netui\pageflow\DefaultServletContainerAdapter.java
M      netui\src\pageflow\org\apache\beehive\netui\pageflow\FlowControllerFactory.java
M      netui\src\pageflow\org\apache\beehive\netui\pageflow\FacesBackingBeanFactory.java

> Make improvements to the support for URL templating.
> ----------------------------------------------------
>
>          Key: BEEHIVE-835
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-835
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: v1m1, V1Beta, V1Alpha
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: V1
>  Attachments: j835-patch.txt, j835-patch2.txt, j835-patch3.txt
>
> These changes are based on the discussions from email I posted 
> to the beehive-dev@incubator.apache.org list. See...
> http://mail-archives.apache.org/mod_mbox/incubator-beehive-dev/200506.mbox/%3cba6911de050617080216c7f0d0@mail.gmail.com%3e
> and
> http://mail-archives.apache.org/mod_mbox/incubator-beehive-dev/200506.mbox/%3cba6911de0506240926ee7146b@mail.gmail.com%3e
> In summary...
> - deprecate URLTemplateDescriptor and just use the URLTemplatesFactory 
> to get a URLTemplate.
> - create a hook via the ServletContainerAdapter  to support container 
> specific implementations of URLTemplatesFactory (extending Factory) for 
> reading/parsing the beehive-url-template-config.xml descriptor file. 
> - after loading the URLTemplatesFactory  instance, set it as an 
> attribute on the ServletContext so TemplatedURLFormatter 
> implementations can get the desired URLTemplate when formatting a
> rewritten URL.
> - add an element to the beehive-netui-config schema to allow for a
> class name of a per-webapp TemplatedURLFormatter to be used by the
> URLRewriterService if there is not a per-request registered 
> TemplatedURLFormatter.
> - add this default TemplatedURLFormatter instance to the
> ServletContext for the URLRewriterService.
> And other minor modifications...
> - change TemplateTokenizer to accept more general token (I.e. "url:"
> is not required as part of the token string).
> - when formatting the URL with a template, if there is now replacement
> value for a token, use the empty string.
> - go back to "jpf-url-templates" as the name of the default template 
> ref group rather than "default-url-templates".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message