Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Adrian Crum-3
Bruno,

At first glance, it might seem logical to have text describing each of
the styles or elements being displayed, but it really isn't necessary -
since the styles/elements can be seen when viewing the markup.

-Adrian

On 1/29/2011 6:22 AM, [hidden email] wrote:

> Author: buscob
> Date: Sat Jan 29 14:22:28 2011
> New Revision: 1065018
>
> URL: http://svn.apache.org/viewvc?rev=1065018&view=rev
> Log:
> Added other button styles in the Layout demo.
> Added Italian localization.
>
> Modified:
>      ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>      ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>
> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml (original)
> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Sat Jan 29 14:22:28 2011
> @@ -2444,9 +2444,11 @@
>       </property>
>       <property key="WebtoolsLayoutDemo">
>           <value xml:lang="en">Layout Demo</value>
> +<value xml:lang="it">Dimostrazione Layout</value>
>       </property>
>       <property key="WebtoolsLayoutDemoText">
>           <value xml:lang="en">Demonstrate layout best practices and provide a visual theme test page.</value>
> +<value xml:lang="it">Dimostrazione di come utilizzare gli stili e pagina per il test dei temi visuali.</value>
>       </property>
>       <property key="WebtoolsLeaveAllEntriesBlank">
>           <value xml:lang="de">alle Einträge leer lassen</value>
>
> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Sat Jan 29 14:22:28 2011
> @@ -111,6 +111,9 @@ under the License.
>                                           <container style="button-bar button-style-1">
>                                               <!-- Typically used for intra-app links -->
>                                               <link target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}" style="delete"/>
> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}" style="refresh"/>
> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}" style="search"/>
>                                               <link target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}" style="selected"/>
>                                               <link target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>                                               <link text="${uiLabelMap.CommonDisabled}" style="disabled"/>
> @@ -118,6 +121,9 @@ under the License.
>                                           <container style="button-bar button-style-2">
>                                               <!-- Typically used for inter-app links -->
>                                               <link target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}" style="delete"/>
> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}" style="refresh"/>
> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}" style="search"/>
>                                               <link target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}" style="selected"/>
>                                               <link target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>                                               <link text="${uiLabelMap.CommonDisabled}" style="disabled"/>
> @@ -127,12 +133,12 @@ under the License.
>                                   <section name="h1-h6 Styles">
>                                       <widgets>
>                                           <horizontal-separator/>
> -<label style="h1" text="${demoText}"/>
> -<label style="h2" text="${demoText}"/>
> -<label style="h3" text="${demoText}"/>
> -<label style="h4" text="${demoText}"/>
> -<label style="h5" text="${demoText}"/>
> -<label style="h6" text="${demoText}"/>
> +<label style="h1" text="${demoText} (h1)"/>
> +<label style="h2" text="${demoText} (h2)"/>
> +<label style="h3" text="${demoText} (h3)"/>
> +<label style="h4" text="${demoText} (h4)"/>
> +<label style="h5" text="${demoText} (h5)"/>
> +<label style="h6" text="${demoText} (h6)"/>
>                                       </widgets>
>                                   </section>
>                                   <section name="Form/List Styles">
>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Bruno Busco
Adrian,
I thougth this was usefull above all when different styles are rendered in
the same way (i.e. h4, h5, h6).

In this case, having different texts, helps understanding very easily even
if not looking at the markup.

-Bruno
2011/1/29 Adrian Crum <[hidden email]>

> Bruno,
>
> At first glance, it might seem logical to have text describing each of the
> styles or elements being displayed, but it really isn't necessary - since
> the styles/elements can be seen when viewing the markup.
>
> -Adrian
>
>
> On 1/29/2011 6:22 AM, [hidden email] wrote:
>
>> Author: buscob
>> Date: Sat Jan 29 14:22:28 2011
>> New Revision: 1065018
>>
>> URL: http://svn.apache.org/viewvc?rev=1065018&view=rev
>> Log:
>> Added other button styles in the Layout demo.
>> Added Italian localization.
>>
>> Modified:
>>     ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>     ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>
>> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>
>> ==============================================================================
>> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml (original)
>> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Sat Jan 29
>> 14:22:28 2011
>> @@ -2444,9 +2444,11 @@
>>      </property>
>>      <property key="WebtoolsLayoutDemo">
>>          <value xml:lang="en">Layout Demo</value>
>> +<value xml:lang="it">Dimostrazione Layout</value>
>>      </property>
>>      <property key="WebtoolsLayoutDemoText">
>>          <value xml:lang="en">Demonstrate layout best practices and
>> provide a visual theme test page.</value>
>> +<value xml:lang="it">Dimostrazione di come utilizzare gli stili e pagina
>> per il test dei temi visuali.</value>
>>      </property>
>>      <property key="WebtoolsLeaveAllEntriesBlank">
>>          <value xml:lang="de">alle Einträge leer lassen</value>
>>
>> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>
>> ==============================================================================
>> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
>> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Sat Jan 29
>> 14:22:28 2011
>> @@ -111,6 +111,9 @@ under the License.
>>                                          <container style="button-bar
>> button-style-1">
>>                                              <!-- Typically used for
>> intra-app links -->
>>                                              <link
>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>> style="delete"/>
>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>> style="refresh"/>
>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>> style="search"/>
>>                                              <link
>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>> style="selected"/>
>>                                              <link
>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>                                              <link
>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>> @@ -118,6 +121,9 @@ under the License.
>>                                          <container style="button-bar
>> button-style-2">
>>                                              <!-- Typically used for
>> inter-app links -->
>>                                              <link
>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>> style="delete"/>
>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>> style="refresh"/>
>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>> style="search"/>
>>                                              <link
>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>> style="selected"/>
>>                                              <link
>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>                                              <link
>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>> @@ -127,12 +133,12 @@ under the License.
>>                                  <section name="h1-h6 Styles">
>>                                      <widgets>
>>                                          <horizontal-separator/>
>> -<label style="h1" text="${demoText}"/>
>> -<label style="h2" text="${demoText}"/>
>> -<label style="h3" text="${demoText}"/>
>> -<label style="h4" text="${demoText}"/>
>> -<label style="h5" text="${demoText}"/>
>> -<label style="h6" text="${demoText}"/>
>> +<label style="h1" text="${demoText} (h1)"/>
>> +<label style="h2" text="${demoText} (h2)"/>
>> +<label style="h3" text="${demoText} (h3)"/>
>> +<label style="h4" text="${demoText} (h4)"/>
>> +<label style="h5" text="${demoText} (h5)"/>
>> +<label style="h6" text="${demoText} (h6)"/>
>>                                      </widgets>
>>                                  </section>
>>                                  <section name="Form/List Styles">
>>
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Adrian Crum-3
Using the same logic, the page title should say "Layout Demo
(page-title)" because it is rendered in the same way as <h1>.

The whole point of the screen is to look at the markup - to understand
how a screen's markup is composed and how various styles are applied. In
other words, if you want to use the Layout Demo screen as a tool, then
looking at the markup is required - not optional.

-Adrian

On 1/29/2011 12:53 PM, Bruno Busco wrote:

> Adrian,
> I thougth this was usefull above all when different styles are rendered in
> the same way (i.e. h4, h5, h6).
>
> In this case, having different texts, helps understanding very easily even
> if not looking at the markup.
>
> -Bruno
> 2011/1/29 Adrian Crum<[hidden email]>
>
>> Bruno,
>>
>> At first glance, it might seem logical to have text describing each of the
>> styles or elements being displayed, but it really isn't necessary - since
>> the styles/elements can be seen when viewing the markup.
>>
>> -Adrian
>>
>>
>> On 1/29/2011 6:22 AM, [hidden email] wrote:
>>
>>> Author: buscob
>>> Date: Sat Jan 29 14:22:28 2011
>>> New Revision: 1065018
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1065018&view=rev
>>> Log:
>>> Added other button styles in the Layout demo.
>>> Added Italian localization.
>>>
>>> Modified:
>>>      ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>      ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>
>>> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>> URL:
>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>
>>> ==============================================================================
>>> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml (original)
>>> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Sat Jan 29
>>> 14:22:28 2011
>>> @@ -2444,9 +2444,11 @@
>>>       </property>
>>>       <property key="WebtoolsLayoutDemo">
>>>           <value xml:lang="en">Layout Demo</value>
>>> +<value xml:lang="it">Dimostrazione Layout</value>
>>>       </property>
>>>       <property key="WebtoolsLayoutDemoText">
>>>           <value xml:lang="en">Demonstrate layout best practices and
>>> provide a visual theme test page.</value>
>>> +<value xml:lang="it">Dimostrazione di come utilizzare gli stili e pagina
>>> per il test dei temi visuali.</value>
>>>       </property>
>>>       <property key="WebtoolsLeaveAllEntriesBlank">
>>>           <value xml:lang="de">alle Einträge leer lassen</value>
>>>
>>> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>> URL:
>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>
>>> ==============================================================================
>>> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
>>> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Sat Jan 29
>>> 14:22:28 2011
>>> @@ -111,6 +111,9 @@ under the License.
>>>                                           <container style="button-bar
>>> button-style-1">
>>>                                               <!-- Typically used for
>>> intra-app links -->
>>>                                               <link
>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>> style="delete"/>
>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>> style="refresh"/>
>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>> style="search"/>
>>>                                               <link
>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>> style="selected"/>
>>>                                               <link
>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>                                               <link
>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>> @@ -118,6 +121,9 @@ under the License.
>>>                                           <container style="button-bar
>>> button-style-2">
>>>                                               <!-- Typically used for
>>> inter-app links -->
>>>                                               <link
>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>> style="delete"/>
>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>> style="refresh"/>
>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>> style="search"/>
>>>                                               <link
>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>> style="selected"/>
>>>                                               <link
>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>                                               <link
>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>> @@ -127,12 +133,12 @@ under the License.
>>>                                   <section name="h1-h6 Styles">
>>>                                       <widgets>
>>>                                           <horizontal-separator/>
>>> -<label style="h1" text="${demoText}"/>
>>> -<label style="h2" text="${demoText}"/>
>>> -<label style="h3" text="${demoText}"/>
>>> -<label style="h4" text="${demoText}"/>
>>> -<label style="h5" text="${demoText}"/>
>>> -<label style="h6" text="${demoText}"/>
>>> +<label style="h1" text="${demoText} (h1)"/>
>>> +<label style="h2" text="${demoText} (h2)"/>
>>> +<label style="h3" text="${demoText} (h3)"/>
>>> +<label style="h4" text="${demoText} (h4)"/>
>>> +<label style="h5" text="${demoText} (h5)"/>
>>> +<label style="h6" text="${demoText} (h6)"/>
>>>                                       </widgets>
>>>                                   </section>
>>>                                   <section name="Form/List Styles">
>>>
>>>
>>>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Bruno Busco
Yes, you are right, the page title should be changed as well.
I did not change it yet because I was using the Tomahawk theme and, in this
theme, the page title is not visible because it is already present in the
breadcrumb.

The logic should be this:
- for all styles that are rendered as simple strings on the page, the style
should be added to the displyed text.
- for styles that are part of a table, a menu, a screenlet, a form header,
that is something whose function is clearly understandable from the page it
is not necessary to add the style to the displayed string.

-Bruno

2011/1/29 Adrian Crum <[hidden email]>

> Using the same logic, the page title should say "Layout Demo (page-title)"
> because it is rendered in the same way as <h1>.
>
> The whole point of the screen is to look at the markup - to understand how
> a screen's markup is composed and how various styles are applied. In other
> words, if you want to use the Layout Demo screen as a tool, then looking at
> the markup is required - not optional.
>
> -Adrian
>
>
> On 1/29/2011 12:53 PM, Bruno Busco wrote:
>
>> Adrian,
>> I thougth this was usefull above all when different styles are rendered in
>> the same way (i.e. h4, h5, h6).
>>
>> In this case, having different texts, helps understanding very easily even
>> if not looking at the markup.
>>
>> -Bruno
>> 2011/1/29 Adrian Crum<[hidden email]>
>>
>>  Bruno,
>>>
>>> At first glance, it might seem logical to have text describing each of
>>> the
>>> styles or elements being displayed, but it really isn't necessary - since
>>> the styles/elements can be seen when viewing the markup.
>>>
>>> -Adrian
>>>
>>>
>>> On 1/29/2011 6:22 AM, [hidden email] wrote:
>>>
>>>  Author: buscob
>>>> Date: Sat Jan 29 14:22:28 2011
>>>> New Revision: 1065018
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1065018&view=rev
>>>> Log:
>>>> Added other button styles in the Layout demo.
>>>> Added Italian localization.
>>>>
>>>> Modified:
>>>>     ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>     ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>>
>>>> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>>
>>>>
>>>> ==============================================================================
>>>> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>> (original)
>>>> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Sat Jan
>>>> 29
>>>> 14:22:28 2011
>>>> @@ -2444,9 +2444,11 @@
>>>>      </property>
>>>>      <property key="WebtoolsLayoutDemo">
>>>>          <value xml:lang="en">Layout Demo</value>
>>>> +<value xml:lang="it">Dimostrazione Layout</value>
>>>>      </property>
>>>>      <property key="WebtoolsLayoutDemoText">
>>>>          <value xml:lang="en">Demonstrate layout best practices and
>>>> provide a visual theme test page.</value>
>>>> +<value xml:lang="it">Dimostrazione di come utilizzare gli stili e
>>>> pagina
>>>> per il test dei temi visuali.</value>
>>>>      </property>
>>>>      <property key="WebtoolsLeaveAllEntriesBlank">
>>>>          <value xml:lang="de">alle Einträge leer lassen</value>
>>>>
>>>>
>>>> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>>
>>>>
>>>> ==============================================================================
>>>> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
>>>> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Sat Jan 29
>>>> 14:22:28 2011
>>>> @@ -111,6 +111,9 @@ under the License.
>>>>                                          <container style="button-bar
>>>> button-style-1">
>>>>                                              <!-- Typically used for
>>>> intra-app links -->
>>>>                                              <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}"
>>>> style="create"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>> style="delete"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>> style="refresh"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>> style="search"/>
>>>>                                              <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>> style="selected"/>
>>>>                                              <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>                                              <link
>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>> @@ -118,6 +121,9 @@ under the License.
>>>>                                          <container style="button-bar
>>>> button-style-2">
>>>>                                              <!-- Typically used for
>>>> inter-app links -->
>>>>                                              <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}"
>>>> style="create"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>> style="delete"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>> style="refresh"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>> style="search"/>
>>>>                                              <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>> style="selected"/>
>>>>                                              <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>                                              <link
>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>> @@ -127,12 +133,12 @@ under the License.
>>>>                                  <section name="h1-h6 Styles">
>>>>                                      <widgets>
>>>>                                          <horizontal-separator/>
>>>> -<label style="h1" text="${demoText}"/>
>>>> -<label style="h2" text="${demoText}"/>
>>>> -<label style="h3" text="${demoText}"/>
>>>> -<label style="h4" text="${demoText}"/>
>>>> -<label style="h5" text="${demoText}"/>
>>>> -<label style="h6" text="${demoText}"/>
>>>> +<label style="h1" text="${demoText} (h1)"/>
>>>> +<label style="h2" text="${demoText} (h2)"/>
>>>> +<label style="h3" text="${demoText} (h3)"/>
>>>> +<label style="h4" text="${demoText} (h4)"/>
>>>> +<label style="h5" text="${demoText} (h5)"/>
>>>> +<label style="h6" text="${demoText} (h6)"/>
>>>>                                      </widgets>
>>>>                                  </section>
>>>>                                  <section name="Form/List Styles">
>>>>
>>>>
>>>>
>>>>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Adrian Crum-3
No, the page title should NOT be changed. You're missing the point. The
extra text is redundant and unnecessary. Please do NOT clutter up a
simple tool with a lot of unnecessary text.

-Adrian

On 1/29/2011 2:42 PM, Bruno Busco wrote:

> Yes, you are right, the page title should be changed as well.
> I did not change it yet because I was using the Tomahawk theme and, in this
> theme, the page title is not visible because it is already present in the
> breadcrumb.
>
> The logic should be this:
> - for all styles that are rendered as simple strings on the page, the style
> should be added to the displyed text.
> - for styles that are part of a table, a menu, a screenlet, a form header,
> that is something whose function is clearly understandable from the page it
> is not necessary to add the style to the displayed string.
>
> -Bruno
>
> 2011/1/29 Adrian Crum<[hidden email]>
>
>> Using the same logic, the page title should say "Layout Demo (page-title)"
>> because it is rendered in the same way as<h1>.
>>
>> The whole point of the screen is to look at the markup - to understand how
>> a screen's markup is composed and how various styles are applied. In other
>> words, if you want to use the Layout Demo screen as a tool, then looking at
>> the markup is required - not optional.
>>
>> -Adrian
>>
>>
>> On 1/29/2011 12:53 PM, Bruno Busco wrote:
>>
>>> Adrian,
>>> I thougth this was usefull above all when different styles are rendered in
>>> the same way (i.e. h4, h5, h6).
>>>
>>> In this case, having different texts, helps understanding very easily even
>>> if not looking at the markup.
>>>
>>> -Bruno
>>> 2011/1/29 Adrian Crum<[hidden email]>
>>>
>>>   Bruno,
>>>> At first glance, it might seem logical to have text describing each of
>>>> the
>>>> styles or elements being displayed, but it really isn't necessary - since
>>>> the styles/elements can be seen when viewing the markup.
>>>>
>>>> -Adrian
>>>>
>>>>
>>>> On 1/29/2011 6:22 AM, [hidden email] wrote:
>>>>
>>>>   Author: buscob
>>>>> Date: Sat Jan 29 14:22:28 2011
>>>>> New Revision: 1065018
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=1065018&view=rev
>>>>> Log:
>>>>> Added other button styles in the Layout demo.
>>>>> Added Italian localization.
>>>>>
>>>>> Modified:
>>>>>      ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>>      ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>>>
>>>>> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>>>
>>>>>
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>> (original)
>>>>> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Sat Jan
>>>>> 29
>>>>> 14:22:28 2011
>>>>> @@ -2444,9 +2444,11 @@
>>>>>       </property>
>>>>>       <property key="WebtoolsLayoutDemo">
>>>>>           <value xml:lang="en">Layout Demo</value>
>>>>> +<value xml:lang="it">Dimostrazione Layout</value>
>>>>>       </property>
>>>>>       <property key="WebtoolsLayoutDemoText">
>>>>>           <value xml:lang="en">Demonstrate layout best practices and
>>>>> provide a visual theme test page.</value>
>>>>> +<value xml:lang="it">Dimostrazione di come utilizzare gli stili e
>>>>> pagina
>>>>> per il test dei temi visuali.</value>
>>>>>       </property>
>>>>>       <property key="WebtoolsLeaveAllEntriesBlank">
>>>>>           <value xml:lang="de">alle Einträge leer lassen</value>
>>>>>
>>>>>
>>>>> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>>>
>>>>>
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
>>>>> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Sat Jan 29
>>>>> 14:22:28 2011
>>>>> @@ -111,6 +111,9 @@ under the License.
>>>>>                                           <container style="button-bar
>>>>> button-style-1">
>>>>>                                               <!-- Typically used for
>>>>> intra-app links -->
>>>>>                                               <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}"
>>>>> style="create"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>>> style="delete"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>>> style="refresh"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>>> style="search"/>
>>>>>                                               <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>>> style="selected"/>
>>>>>                                               <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>>                                               <link
>>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>>> @@ -118,6 +121,9 @@ under the License.
>>>>>                                           <container style="button-bar
>>>>> button-style-2">
>>>>>                                               <!-- Typically used for
>>>>> inter-app links -->
>>>>>                                               <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}"
>>>>> style="create"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>>> style="delete"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>>> style="refresh"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>>> style="search"/>
>>>>>                                               <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>>> style="selected"/>
>>>>>                                               <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>>                                               <link
>>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>>> @@ -127,12 +133,12 @@ under the License.
>>>>>                                   <section name="h1-h6 Styles">
>>>>>                                       <widgets>
>>>>>                                           <horizontal-separator/>
>>>>> -<label style="h1" text="${demoText}"/>
>>>>> -<label style="h2" text="${demoText}"/>
>>>>> -<label style="h3" text="${demoText}"/>
>>>>> -<label style="h4" text="${demoText}"/>
>>>>> -<label style="h5" text="${demoText}"/>
>>>>> -<label style="h6" text="${demoText}"/>
>>>>> +<label style="h1" text="${demoText} (h1)"/>
>>>>> +<label style="h2" text="${demoText} (h2)"/>
>>>>> +<label style="h3" text="${demoText} (h3)"/>
>>>>> +<label style="h4" text="${demoText} (h4)"/>
>>>>> +<label style="h5" text="${demoText} (h5)"/>
>>>>> +<label style="h6" text="${demoText} (h6)"/>
>>>>>                                       </widgets>
>>>>>                                   </section>
>>>>>                                   <section name="Form/List Styles">
>>>>>
>>>>>
>>>>>
>>>>>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Jacques Le Roux
Administrator
In reply to this post by Adrian Crum-3
Adrian,

Inline

From: "Adrian Crum" <[hidden email]>
> Using the same logic, the page title should say "Layout Demo (page-title)" because it is rendered in the same way as <h1>.
>
> The whole point of the screen is to look at the markup - to understand how a screen's markup is composed and how various styles
> are applied. In other words, if you want to use the Layout Demo screen as a tool, then looking at the markup is required - not
> optional.

Then this should be said on the page, the more we help the better.
I have committed a change for this at r1065246+1065247 (in Italian should be checked)

Thanks

Jacques

> -Adrian
>
> On 1/29/2011 12:53 PM, Bruno Busco wrote:
>> Adrian,
>> I thougth this was usefull above all when different styles are rendered in
>> the same way (i.e. h4, h5, h6).
>>
>> In this case, having different texts, helps understanding very easily even
>> if not looking at the markup.
>>
>> -Bruno
>> 2011/1/29 Adrian Crum<[hidden email]>
>>
>>> Bruno,
>>>
>>> At first glance, it might seem logical to have text describing each of the
>>> styles or elements being displayed, but it really isn't necessary - since
>>> the styles/elements can be seen when viewing the markup.
>>>
>>> -Adrian
>>>
>>>
>>> On 1/29/2011 6:22 AM, [hidden email] wrote:
>>>
>>>> Author: buscob
>>>> Date: Sat Jan 29 14:22:28 2011
>>>> New Revision: 1065018
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1065018&view=rev
>>>> Log:
>>>> Added other button styles in the Layout demo.
>>>> Added Italian localization.
>>>>
>>>> Modified:
>>>>      ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>      ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>>
>>>> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>>
>>>> ==============================================================================
>>>> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml (original)
>>>> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Sat Jan 29
>>>> 14:22:28 2011
>>>> @@ -2444,9 +2444,11 @@
>>>>       </property>
>>>>       <property key="WebtoolsLayoutDemo">
>>>>           <value xml:lang="en">Layout Demo</value>
>>>> +<value xml:lang="it">Dimostrazione Layout</value>
>>>>       </property>
>>>>       <property key="WebtoolsLayoutDemoText">
>>>>           <value xml:lang="en">Demonstrate layout best practices and
>>>> provide a visual theme test page.</value>
>>>> +<value xml:lang="it">Dimostrazione di come utilizzare gli stili e pagina
>>>> per il test dei temi visuali.</value>
>>>>       </property>
>>>>       <property key="WebtoolsLeaveAllEntriesBlank">
>>>>           <value xml:lang="de">alle Einträge leer lassen</value>
>>>>
>>>> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=1065018&r1=1065017&r2=1065018&view=diff
>>>>
>>>> ==============================================================================
>>>> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
>>>> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Sat Jan 29
>>>> 14:22:28 2011
>>>> @@ -111,6 +111,9 @@ under the License.
>>>>                                           <container style="button-bar
>>>> button-style-1">
>>>>                                               <!-- Typically used for
>>>> intra-app links -->
>>>>                                               <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>> style="delete"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>> style="refresh"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>> style="search"/>
>>>>                                               <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>> style="selected"/>
>>>>                                               <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>                                               <link
>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>> @@ -118,6 +121,9 @@ under the License.
>>>>                                           <container style="button-bar
>>>> button-style-2">
>>>>                                               <!-- Typically used for
>>>> inter-app links -->
>>>>                                               <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}" style="create"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>> style="delete"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>> style="refresh"/>
>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>> style="search"/>
>>>>                                               <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>> style="selected"/>
>>>>                                               <link
>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>                                               <link
>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>> @@ -127,12 +133,12 @@ under the License.
>>>>                                   <section name="h1-h6 Styles">
>>>>                                       <widgets>
>>>>                                           <horizontal-separator/>
>>>> -<label style="h1" text="${demoText}"/>
>>>> -<label style="h2" text="${demoText}"/>
>>>> -<label style="h3" text="${demoText}"/>
>>>> -<label style="h4" text="${demoText}"/>
>>>> -<label style="h5" text="${demoText}"/>
>>>> -<label style="h6" text="${demoText}"/>
>>>> +<label style="h1" text="${demoText} (h1)"/>
>>>> +<label style="h2" text="${demoText} (h2)"/>
>>>> +<label style="h3" text="${demoText} (h3)"/>
>>>> +<label style="h4" text="${demoText} (h4)"/>
>>>> +<label style="h5" text="${demoText} (h5)"/>
>>>> +<label style="h6" text="${demoText} (h6)"/>
>>>>                                       </widgets>
>>>>                                   </section>
>>>>                                   <section name="Form/List Styles">
>>>>
>>>>
>>>>
>


Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1065018 - in /ofbiz/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/MiscScreens.xml

Adrian Crum-3
Thanks Jacques! That is a good compromise.

-Adrian

On 1/30/2011 2:51 AM, Jacques Le Roux wrote:

> Adrian,
>
> Inline
>
> From: "Adrian Crum" <[hidden email]>
>> Using the same logic, the page title should say "Layout Demo
>> (page-title)" because it is rendered in the same way as <h1>.
>>
>> The whole point of the screen is to look at the markup - to
>> understand how a screen's markup is composed and how various styles
>> are applied. In other words, if you want to use the Layout Demo
>> screen as a tool, then looking at the markup is required - not optional.
>
> Then this should be said on the page, the more we help the better.
> I have committed a change for this at r1065246+1065247 (in Italian
> should be checked)
>
> Thanks
>
> Jacques
>
>> -Adrian
>>
>> On 1/29/2011 12:53 PM, Bruno Busco wrote:
>>> Adrian,
>>> I thougth this was usefull above all when different styles are
>>> rendered in
>>> the same way (i.e. h4, h5, h6).
>>>
>>> In this case, having different texts, helps understanding very
>>> easily even
>>> if not looking at the markup.
>>>
>>> -Bruno
>>> 2011/1/29 Adrian Crum<[hidden email]>
>>>
>>>> Bruno,
>>>>
>>>> At first glance, it might seem logical to have text describing each
>>>> of the
>>>> styles or elements being displayed, but it really isn't necessary -
>>>> since
>>>> the styles/elements can be seen when viewing the markup.
>>>>
>>>> -Adrian
>>>>
>>>>
>>>> On 1/29/2011 6:22 AM, [hidden email] wrote:
>>>>
>>>>> Author: buscob
>>>>> Date: Sat Jan 29 14:22:28 2011
>>>>> New Revision: 1065018
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=1065018&view=rev
>>>>> Log:
>>>>> Added other button styles in the Layout demo.
>>>>> Added Italian localization.
>>>>>
>>>>> Modified:
>>>>>      ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>>      ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>>>
>>>>> Modified: ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1065018&r1=1065017&r2=1065018&view=diff 
>>>>>
>>>>>
>>>>> ==============================================================================
>>>>>
>>>>> --- ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml
>>>>> (original)
>>>>> +++ ofbiz/trunk/framework/webtools/config/WebtoolsUiLabels.xml Sat
>>>>> Jan 29
>>>>> 14:22:28 2011
>>>>> @@ -2444,9 +2444,11 @@
>>>>> </property>
>>>>> <property key="WebtoolsLayoutDemo">
>>>>> <value xml:lang="en">Layout Demo</value>
>>>>> +<value xml:lang="it">Dimostrazione Layout</value>
>>>>> </property>
>>>>> <property key="WebtoolsLayoutDemoText">
>>>>> <value xml:lang="en">Demonstrate layout best practices and
>>>>> provide a visual theme test page.</value>
>>>>> +<value xml:lang="it">Dimostrazione di come utilizzare gli stili e
>>>>> pagina
>>>>> per il test dei temi visuali.</value>
>>>>> </property>
>>>>> <property key="WebtoolsLeaveAllEntriesBlank">
>>>>> <value xml:lang="de">alle Einträge leer lassen</value>
>>>>>
>>>>> Modified: ofbiz/trunk/framework/webtools/widget/MiscScreens.xml
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/MiscScreens.xml?rev=1065018&r1=1065017&r2=1065018&view=diff 
>>>>>
>>>>>
>>>>> ==============================================================================
>>>>>
>>>>> --- ofbiz/trunk/framework/webtools/widget/MiscScreens.xml (original)
>>>>> +++ ofbiz/trunk/framework/webtools/widget/MiscScreens.xml Sat Jan 29
>>>>> 14:22:28 2011
>>>>> @@ -111,6 +111,9 @@ under the License.
>>>>> <container style="button-bar
>>>>> button-style-1">
>>>>> <!-- Typically used for
>>>>> intra-app links -->
>>>>> <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}"
>>>>> style="create"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>>> style="delete"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>>> style="refresh"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>>> style="search"/>
>>>>> <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>>> style="selected"/>
>>>>> <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>> <link
>>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>>> @@ -118,6 +121,9 @@ under the License.
>>>>> <container style="button-bar
>>>>> button-style-2">
>>>>> <!-- Typically used for
>>>>> inter-app links -->
>>>>> <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonNew}"
>>>>> style="create"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonDelete}"
>>>>> style="delete"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonRefresh}"
>>>>> style="refresh"/>
>>>>> +<link target="${demoTargetUrl}" text="${uiLabelMap.CommonSearch}"
>>>>> style="search"/>
>>>>> <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonSelected}"
>>>>> style="selected"/>
>>>>> <link
>>>>> target="${demoTargetUrl}" text="${uiLabelMap.CommonEnabled}"/>
>>>>> <link
>>>>> text="${uiLabelMap.CommonDisabled}" style="disabled"/>
>>>>> @@ -127,12 +133,12 @@ under the License.
>>>>> <section name="h1-h6 Styles">
>>>>> <widgets>
>>>>> <horizontal-separator/>
>>>>> -<label style="h1" text="${demoText}"/>
>>>>> -<label style="h2" text="${demoText}"/>
>>>>> -<label style="h3" text="${demoText}"/>
>>>>> -<label style="h4" text="${demoText}"/>
>>>>> -<label style="h5" text="${demoText}"/>
>>>>> -<label style="h6" text="${demoText}"/>
>>>>> +<label style="h1" text="${demoText} (h1)"/>
>>>>> +<label style="h2" text="${demoText} (h2)"/>
>>>>> +<label style="h3" text="${demoText} (h3)"/>
>>>>> +<label style="h4" text="${demoText} (h4)"/>
>>>>> +<label style="h5" text="${demoText} (h5)"/>
>>>>> +<label style="h6" text="${demoText} (h6)"/>
>>>>> </widgets>
>>>>> </section>
>>>>> <section name="Form/List Styles">
>>>>>
>>>>>
>>>>>
>>
>
>