Anil,
Don't forget that we have a screenlet widget now that eliminates the need for many of these styles. -Adrian [hidden email] wrote: > Author: apatel > Date: Tue May 6 00:17:36 2008 > New Revision: 653695 > > URL: http://svn.apache.org/viewvc?rev=653695&view=rev > Log: > Removed extra container and used appropriate style. > > Modified: > ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml > > Modified: ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml > URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml?rev=653695&r1=653694&r2=653695&view=diff > ============================================================================== > --- ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml (original) > +++ ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml Tue May 6 00:17:36 2008 > @@ -85,14 +85,12 @@ > <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> > <decorator-section name="body"> > <container style="screenlet"> > - <container style="screenlet-title-bar"> > - <container style="h3"> > - <section> > - <widgets> > - <label text="${uiLabelMap.CommonCreate} ${uiLabelMap.SfaLead}"/> > - </widgets> > - </section> > - </container> > + <container style="screenlet-title-bar boxhead"> > + <section> > + <widgets> > + <label text="${uiLabelMap.CommonCreate} ${uiLabelMap.SfaLead}"/> > + </widgets> > + </section> > </container> > <container style="screenlet-body"> > <section> > > > |
A screenlet widget like "<screenlet ...>"?
That would be cool. But it won't necessarily make codes more concise than the "<decorator-screen ...>" element, I think. Jonathon Adrian Crum wrote: > Anil, > > Don't forget that we have a screenlet widget now that eliminates the > need for many of these styles. > > -Adrian > > [hidden email] wrote: >> Author: apatel >> Date: Tue May 6 00:17:36 2008 >> New Revision: 653695 >> >> URL: http://svn.apache.org/viewvc?rev=653695&view=rev >> Log: >> Removed extra container and used appropriate style. >> >> Modified: >> ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml >> >> Modified: ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml?rev=653695&r1=653694&r2=653695&view=diff >> >> ============================================================================== >> >> --- ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml >> (original) >> +++ ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml Tue >> May 6 00:17:36 2008 >> @@ -85,14 +85,12 @@ >> <decorator-screen name="main-decorator" >> location="${parameters.mainDecoratorLocation}"> >> <decorator-section name="body"> >> <container style="screenlet"> >> - <container style="screenlet-title-bar"> >> - <container style="h3"> >> - <section> >> - <widgets> >> - <label >> text="${uiLabelMap.CommonCreate} ${uiLabelMap.SfaLead}"/> >> - </widgets> >> - </section> >> - </container> >> + <container style="screenlet-title-bar >> boxhead"> >> + <section> >> + <widgets> >> + <label >> text="${uiLabelMap.CommonCreate} ${uiLabelMap.SfaLead}"/> >> + </widgets> >> + </section> >> </container> >> <container style="screenlet-body"> >> <section> >> >> >> > > |
Not only is it more concise, it has "smarts" to include a form widget's
pagination menu in its title bar. -Adrian Jonathon -- Improov wrote: > A screenlet widget like "<screenlet ...>"? > > That would be cool. But it won't necessarily make codes more concise > than the "<decorator-screen ...>" element, I think. > > Jonathon > > Adrian Crum wrote: >> Anil, >> >> Don't forget that we have a screenlet widget now that eliminates the >> need for many of these styles. >> >> -Adrian >> >> [hidden email] wrote: >>> Author: apatel >>> Date: Tue May 6 00:17:36 2008 >>> New Revision: 653695 >>> >>> URL: http://svn.apache.org/viewvc?rev=653695&view=rev >>> Log: >>> Removed extra container and used appropriate style. >>> >>> Modified: >>> ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml >>> >>> Modified: ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml >>> URL: >>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml?rev=653695&r1=653694&r2=653695&view=diff >>> >>> ============================================================================== >>> >>> --- ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml >>> (original) >>> +++ ofbiz/trunk/applications/marketing/widget/sfa/LeadScreens.xml Tue >>> May 6 00:17:36 2008 >>> @@ -85,14 +85,12 @@ >>> <decorator-screen name="main-decorator" >>> location="${parameters.mainDecoratorLocation}"> >>> <decorator-section name="body"> >>> <container style="screenlet"> >>> - <container style="screenlet-title-bar"> >>> - <container style="h3"> >>> - <section> >>> - <widgets> >>> - <label >>> text="${uiLabelMap.CommonCreate} ${uiLabelMap.SfaLead}"/> >>> - </widgets> >>> - </section> >>> - </container> >>> + <container style="screenlet-title-bar >>> boxhead"> >>> + <section> >>> + <widgets> >>> + <label >>> text="${uiLabelMap.CommonCreate} ${uiLabelMap.SfaLead}"/> >>> + </widgets> >>> + </section> >>> </container> >>> <container style="screenlet-body"> >>> <section> >>> >>> >>> >> >> > > |
Free forum by Nabble | Edit this page |