You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2006/02/08 23:53:38 UTC

[jira] Resolved: (FOR-553) title in search-input contract

     [ http://issues.apache.org/jira/browse/FOR-553?page=all ]
     
Thorsten Scherler resolved FOR-553:
-----------------------------------

    Resolution: Won't Fix
     Assign To: Thorsten Scherler

This could be another contract.

> title in search-input contract
> ------------------------------
>
>          Key: FOR-553
>          URL: http://issues.apache.org/jira/browse/FOR-553
>      Project: Forrest
>         Type: Improvement
>   Components: Dispatcher (aka views)
>     Reporter: Diwaker Gupta
>     Assignee: Thorsten Scherler
>     Priority: Trivial

>
> As I'm working with my views skin, I realized that we should probably have a title like "Search" as part of the default search-input.ft contract. We can make the title configurable using a forres:property, and if the users don't want the title displayed, they can simply control the visibility using CSS (or set another forrest property that controls the display of the title)
> A naive patch (no properties, no configurability):
> Index: search-input.ft
> ===================================================================
> --- search-input.ft     (revision 201567)
> +++ search-input.ft     (working copy)
> @@ -35,6 +35,7 @@
>      |start Search
>      +</xsl:comment>
>             <div class="search-input">
> +    <h2>Search</h2>
>               <xsl:choose>
>                <xsl:when test="$config/search/@provider = 'lucene'">

-- 
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