Hi,
I want to show a small help icon (?) next to the form field title. Clicking on the icon should open a pop up describing the function of the field. I searched around and could not find if it is possible with the form widget. Thanks, Raj |
hi Raj,
You can use tooltip feature for this requirement plus the following customizations: 1) customize form render to show tooltip right after label instead of controller. 2) customize theme to show tooltip as "?" and a new message layer will be popped up if user clicks it. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: > Hi, > > I want to show a small help icon (?) next to the form field title. Clicking > on the icon should open a pop up describing the function of the field. I > searched around and could not find if it is possible with the form widget. > > Thanks, > > Raj > |
Thanks Michael.
Raj Michael Xu (xudong) wrote: > hi Raj, > > You can use tooltip feature for this requirement plus the following > customizations: > > 1) customize form render to show tooltip right after label instead of > controller. > 2) customize theme to show tooltip as "?" and a new message layer will be > popped up if user clicks it. > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 > 9807 | Fax: (8610) 62670096 > > > On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: > > >> Hi, >> >> I want to show a small help icon (?) next to the form field title. Clicking >> on the icon should open a pop up describing the function of the field. I >> searched around and could not find if it is possible with the form widget. >> >> Thanks, >> >> Raj >> >> > > |
3) Submit a patch when you have done. ;-)
-Bruno 2010/1/8 Raj Saini <[hidden email]>: > Thanks Michael. > > Raj > > Michael Xu (xudong) wrote: >> >> hi Raj, >> >> You can use tooltip feature for this requirement plus the following >> customizations: >> >> 1) customize form render to show tooltip right after label instead of >> controller. >> 2) customize theme to show tooltip as "?" and a new message layer will be >> popped up if user clicks it. >> >> -- >> Regards, >> Michael Xu (xudong) >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >> 0135 >> 9807 | Fax: (8610) 62670096 >> >> >> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >> >> >>> >>> Hi, >>> >>> I want to show a small help icon (?) next to the form field title. >>> Clicking >>> on the icon should open a pop up describing the function of the field. I >>> searched around and could not find if it is possible with the form >>> widget. >>> >>> Thanks, >>> >>> Raj >>> >>> >> >> > > |
Sure Bruno.
Raj Bruno Busco wrote: > 3) Submit a patch when you have done. ;-) > > -Bruno > > 2010/1/8 Raj Saini <[hidden email]>: > >> Thanks Michael. >> >> Raj >> >> Michael Xu (xudong) wrote: >> >>> hi Raj, >>> >>> You can use tooltip feature for this requirement plus the following >>> customizations: >>> >>> 1) customize form render to show tooltip right after label instead of >>> controller. >>> 2) customize theme to show tooltip as "?" and a new message layer will be >>> popped up if user clicks it. >>> >>> -- >>> Regards, >>> Michael Xu (xudong) >>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >>> 0135 >>> 9807 | Fax: (8610) 62670096 >>> >>> >>> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >>> >>> >>> >>>> Hi, >>>> >>>> I want to show a small help icon (?) next to the form field title. >>>> Clicking >>>> on the icon should open a pop up describing the function of the field. I >>>> searched around and could not find if it is possible with the form >>>> widget. >>>> >>>> Thanks, >>>> >>>> Raj >>>> >>>> >>>> >>> >> > > |
In reply to this post by Michael Xu (xudong)
Thanks Michael,
Tool tips are used for other purposes and user may need both of them. Would it not be okay add another attribute say "help" attribute to the form element? What does other in the community think of it as I want to go for this extension. Thanks, Raj Michael Xu (xudong) wrote: > hi Raj, > > You can use tooltip feature for this requirement plus the following > customizations: > > 1) customize form render to show tooltip right after label instead of > controller. > 2) customize theme to show tooltip as "?" and a new message layer will be > popped up if user clicks it. > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 > 9807 | Fax: (8610) 62670096 > > > On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: > > >> Hi, >> >> I want to show a small help icon (?) next to the form field title. Clicking >> on the icon should open a pop up describing the function of the field. I >> searched around and could not find if it is possible with the form widget. >> >> Thanks, >> >> Raj >> >> > > |
A single 'help' true/false would be very nice and then get
the description from the entitymodel.xml file <description tag on the field Regards, hans On Tue, 2010-01-12 at 13:17 +0530, Raj Saini wrote: > Thanks Michael, > > Tool tips are used for other purposes and user may need both of them. > Would it not be okay add another attribute say "help" attribute to the > form element? > > What does other in the community think of it as I want to go for this > extension. > > Thanks, > > Raj > > Michael Xu (xudong) wrote: > > hi Raj, > > > > You can use tooltip feature for this requirement plus the following > > customizations: > > > > 1) customize form render to show tooltip right after label instead of > > controller. > > 2) customize theme to show tooltip as "?" and a new message layer will be > > popped up if user clicks it. > > > > -- > > Regards, > > Michael Xu (xudong) > > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 > > 9807 | Fax: (8610) 62670096 > > > > > > On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: > > > > > >> Hi, > >> > >> I want to show a small help icon (?) next to the form field title. Clicking > >> on the icon should open a pop up describing the function of the field. I > >> searched around and could not find if it is possible with the form widget. > >> > >> Thanks, > >> > >> Raj > >> > >> > > > > > Antwebsystems.com: Quality OFBiz services for competitive rates |
Thanks Hans, seems good to me.
Raj Hans Bakker wrote: > A single 'help' true/false would be very nice and then get > the description from the entitymodel.xml file <description tag on the > field > > Regards, > hans > > > On Tue, 2010-01-12 at 13:17 +0530, Raj Saini wrote: > >> Thanks Michael, >> >> Tool tips are used for other purposes and user may need both of them. >> Would it not be okay add another attribute say "help" attribute to the >> form element? >> >> What does other in the community think of it as I want to go for this >> extension. >> >> Thanks, >> >> Raj >> >> Michael Xu (xudong) wrote: >> >>> hi Raj, >>> >>> You can use tooltip feature for this requirement plus the following >>> customizations: >>> >>> 1) customize form render to show tooltip right after label instead of >>> controller. >>> 2) customize theme to show tooltip as "?" and a new message layer will be >>> popped up if user clicks it. >>> >>> -- >>> Regards, >>> Michael Xu (xudong) >>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 >>> 9807 | Fax: (8610) 62670096 >>> >>> >>> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >>> >>> >>> >>>> Hi, >>>> >>>> I want to show a small help icon (?) next to the form field title. Clicking >>>> on the icon should open a pop up describing the function of the field. I >>>> searched around and could not find if it is possible with the form widget. >>>> >>>> Thanks, >>>> >>>> Raj >>>> >>>> >>>> >>> >>> |
In reply to this post by rajsaini
hi Raj,
What's the difference between 'help' and 'tooltip'? Help is a more complicated tooltip. In order to keep UI consistent, I would like to propose to embed the "help" (Maybe as "more information") within the tooltip. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: > Thanks Michael, > > Tool tips are used for other purposes and user may need both of them. Would > it not be okay add another attribute say "help" attribute to the form > element? > > What does other in the community think of it as I want to go for this > extension. > > Thanks, > > > Raj > > Michael Xu (xudong) wrote: > >> hi Raj, >> >> You can use tooltip feature for this requirement plus the following >> customizations: >> >> 1) customize form render to show tooltip right after label instead of >> controller. >> 2) customize theme to show tooltip as "?" and a new message layer will be >> popped up if user clicks it. >> >> -- >> Regards, >> Michael Xu (xudong) >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >> 0135 >> 9807 | Fax: (8610) 62670096 >> >> >> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >> >> >> >>> Hi, >>> >>> I want to show a small help icon (?) next to the form field title. >>> Clicking >>> on the icon should open a pop up describing the function of the field. I >>> searched around and could not find if it is possible with the form >>> widget. >>> >>> Thanks, >>> >>> Raj >>> >>> >>> >> >> >> > > |
Hi Michael,
Tool tip is already used to render the text after the field. I do not have a problem with this field but it is already used and renders the tooltip text after the text input box. If I change the tool tip rending, it will also change current rending of the tool tip and not sure if this is acceptable to community. Thanks, Raj Michael Xu (xudong) wrote: > hi Raj, > > What's the difference between 'help' and 'tooltip'? Help is a more > complicated tooltip. > > In order to keep UI consistent, I would like to propose to embed the "help" > (Maybe as "more information") within the tooltip. > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 > 9807 | Fax: (8610) 62670096 > > > On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: > > >> Thanks Michael, >> >> Tool tips are used for other purposes and user may need both of them. Would >> it not be okay add another attribute say "help" attribute to the form >> element? >> >> What does other in the community think of it as I want to go for this >> extension. >> >> Thanks, >> >> >> Raj >> >> Michael Xu (xudong) wrote: >> >> >>> hi Raj, >>> >>> You can use tooltip feature for this requirement plus the following >>> customizations: >>> >>> 1) customize form render to show tooltip right after label instead of >>> controller. >>> 2) customize theme to show tooltip as "?" and a new message layer will be >>> popped up if user clicks it. >>> >>> -- >>> Regards, >>> Michael Xu (xudong) >>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >>> 0135 >>> 9807 | Fax: (8610) 62670096 >>> >>> >>> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >>> >>> >>> >>> >>>> Hi, >>>> >>>> I want to show a small help icon (?) next to the form field title. >>>> Clicking >>>> on the icon should open a pop up describing the function of the field. I >>>> searched around and could not find if it is possible with the form >>>> widget. >>>> >>>> Thanks, >>>> >>>> Raj >>>> >>>> >>>> >>>> >>> >>> >> > > |
In reply to this post by Michael Xu (xudong)
I would think that:
help: description of the field and the purpose within the system. tooltip: some other info: "optional/required" or "empty for new number" Regards, Hans On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: > hi Raj, > > What's the difference between 'help' and 'tooltip'? Help is a more > complicated tooltip. > > In order to keep UI consistent, I would like to propose to embed the "help" > (Maybe as "more information") within the tooltip. > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 > 9807 | Fax: (8610) 62670096 > > > On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: > > > Thanks Michael, > > > > Tool tips are used for other purposes and user may need both of them. Would > > it not be okay add another attribute say "help" attribute to the form > > element? > > > > What does other in the community think of it as I want to go for this > > extension. > > > > Thanks, > > > > > > Raj > > > > Michael Xu (xudong) wrote: > > > >> hi Raj, > >> > >> You can use tooltip feature for this requirement plus the following > >> customizations: > >> > >> 1) customize form render to show tooltip right after label instead of > >> controller. > >> 2) customize theme to show tooltip as "?" and a new message layer will be > >> popped up if user clicks it. > >> > >> -- > >> Regards, > >> Michael Xu (xudong) > >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 > >> 0135 > >> 9807 | Fax: (8610) 62670096 > >> > >> > >> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: > >> > >> > >> > >>> Hi, > >>> > >>> I want to show a small help icon (?) next to the form field title. > >>> Clicking > >>> on the icon should open a pop up describing the function of the field. I > >>> searched around and could not find if it is possible with the form > >>> widget. > >>> > >>> Thanks, > >>> > >>> Raj > >>> > >>> > >>> > >> > >> > >> > > > > Antwebsystems.com: Quality OFBiz services for competitive rates |
In reply to this post by Michael Xu (xudong)
hi Raj,
From your case, I can see the form widget design is not flexible enough (I list my ideas in previous emails but nobody responds. Will paste it here). I think it is not good to touch the basic xml schema in most time if customization is required. Maybe we can borrow IoC idea from spring to allow developer to inject changes without touching core code. For your reference, my old questions and ideas are here: --------------------------------------------------------------------- hi all, In ofbiz form, we can use lookup controller for fields which link to entities. But the lookup controller only support to return single value. How to implement a multiple lookup? Looking into source code, it seems that we have to extend a new controller in form widget schema and implement it in the form render. Is it a correct way to go? BTW: In my opinion, it is not flexible to extend form widget in current design. (correct me if I am wrong). Let's take one example. <form name="AssignGlAccount" type="single" target="createGlAccountOrganization" title="" default-map-name="account" header-row-style="header-row" default-table-style="basic-table"> <field name="glAccountId"> <drop-down> <entity-options entity-name="GlAccount" description="${accountCode} - ${accountName} [${glAccountId}]"> <entity-order-by field-name="accountCode"/> </entity-options> </drop-down> </field> ... </form> Here, we have to use <drop-down> tag to tell system to render a HTML drop-down component. But what if a customized field? Then do we have to change form widget schema for that field? And then add the render logic in the long switch-cases? Maybe we can refactor the design, like this: <form name="AssignGlAccount" type="single" target="createGlAccountOrganization" title="" default-map-name="account" header-row-style="header-row" default-table-style="basic-table"> <field name="glAccountId"> <controller name="drop-down"> <!-- for new non-standard controller, we can define like this: <controller name="org.ofbiz.FancyDropDown"> --> <param key="entity-name" value="GLAccount"/> <param key="description" value="...."/> <param key="entity-order-by" value="accountCode"/> <!-- for new non-standard controller, we can define new parameters --> </field> ... </form> with the new design, then we don't need to break the schema and change the core code of render logic. Instead, we just need to implement a new controller from a predefined controller interface. And then we can reuse it in all forms. (In here, due to the limitation of current form widget, we have to give up form and use FTL directly.) -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 4:27 PM, Michael Xu (xudong) <[hidden email]>wrote: > hi Raj, > > What's the difference between 'help' and 'tooltip'? Help is a more > complicated tooltip. > > In order to keep UI consistent, I would like to propose to embed the "help" > (Maybe as "more information") within the tooltip. > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 > 0135 9807 | Fax: (8610) 62670096 > > > On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: > >> Thanks Michael, >> >> Tool tips are used for other purposes and user may need both of them. >> Would it not be okay add another attribute say "help" attribute to the form >> element? >> >> What does other in the community think of it as I want to go for this >> extension. >> >> Thanks, >> >> >> Raj >> >> Michael Xu (xudong) wrote: >> >>> hi Raj, >>> >>> You can use tooltip feature for this requirement plus the following >>> customizations: >>> >>> 1) customize form render to show tooltip right after label instead of >>> controller. >>> 2) customize theme to show tooltip as "?" and a new message layer will be >>> popped up if user clicks it. >>> >>> -- >>> Regards, >>> Michael Xu (xudong) >>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >>> 0135 >>> 9807 | Fax: (8610) 62670096 >>> >>> >>> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >>> >>> >>> >>>> Hi, >>>> >>>> I want to show a small help icon (?) next to the form field title. >>>> Clicking >>>> on the icon should open a pop up describing the function of the field. I >>>> searched around and could not find if it is possible with the form >>>> widget. >>>> >>>> Thanks, >>>> >>>> Raj >>>> >>>> >>>> >>> >>> >>> >> >> > |
Administrator
|
In reply to this post by hans_bakker
Hi,
I agree with Hans and Raj on this. There has been a related discussion on this subject in the past. http://markmail.org/message/ed4l4trj3cotnuvv From this thread, I collected some ideas here http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc.) I'd suggest to create an umbrella Jira issue and to create a subtask for the "Small help icon next the form field title" idea Thanks Jacques From: "Hans Bakker" <[hidden email]> >I would think that: > > help: description of the field and the purpose within the system. > tooltip: some other info: "optional/required" or "empty for new number" > > Regards, > Hans > > On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: >> hi Raj, >> >> What's the difference between 'help' and 'tooltip'? Help is a more >> complicated tooltip. >> >> In order to keep UI consistent, I would like to propose to embed the "help" >> (Maybe as "more information") within the tooltip. >> >> -- >> Regards, >> Michael Xu (xudong) >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 >> 9807 | Fax: (8610) 62670096 >> >> >> On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: >> >> > Thanks Michael, >> > >> > Tool tips are used for other purposes and user may need both of them. Would >> > it not be okay add another attribute say "help" attribute to the form >> > element? >> > >> > What does other in the community think of it as I want to go for this >> > extension. >> > >> > Thanks, >> > >> > >> > Raj >> > >> > Michael Xu (xudong) wrote: >> > >> >> hi Raj, >> >> >> >> You can use tooltip feature for this requirement plus the following >> >> customizations: >> >> >> >> 1) customize form render to show tooltip right after label instead of >> >> controller. >> >> 2) customize theme to show tooltip as "?" and a new message layer will be >> >> popped up if user clicks it. >> >> >> >> -- >> >> Regards, >> >> Michael Xu (xudong) >> >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >> >> 0135 >> >> 9807 | Fax: (8610) 62670096 >> >> >> >> >> >> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >> >> >> >> >> >> >> >>> Hi, >> >>> >> >>> I want to show a small help icon (?) next to the form field title. >> >>> Clicking >> >>> on the icon should open a pop up describing the function of the field. I >> >>> searched around and could not find if it is possible with the form >> >>> widget. >> >>> >> >>> Thanks, >> >>> >> >>> Raj >> >>> >> >>> >> >>> >> >> >> >> >> >> >> > >> > > -- > Antwebsystems.com: Quality OFBiz services for competitive rates > |
hi Jacques,
So you mean you agree the solution that a new attribute should be added, right? I still doubt it. I don't think it is the best idea to add attributes for such requirements. Such creep changes without an elegant overall solution is kind of dangerous. Maybe it is time to refactor our design to allow customization without changing core schema. Just my personal opinion. Look forward to more comments. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux < [hidden email]> wrote: > Hi, > > I agree with Hans and Raj on this. > > There has been a related discussion on this subject in the past. > http://markmail.org/message/ed4l4trj3cotnuvv > From this thread, I collected some ideas here > > http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc > .) > > I'd suggest to create an umbrella Jira issue and to create a subtask for > the "Small help icon next the form field title" idea > > Thanks > > Jacques > > From: "Hans Bakker" <[hidden email]> > > I would think that: >> >> help: description of the field and the purpose within the system. >> tooltip: some other info: "optional/required" or "empty for new number" >> >> Regards, >> Hans >> >> On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: >> >>> hi Raj, >>> >>> What's the difference between 'help' and 'tooltip'? Help is a more >>> complicated tooltip. >>> >>> In order to keep UI consistent, I would like to propose to embed the >>> "help" >>> (Maybe as "more information") within the tooltip. >>> >>> -- >>> Regards, >>> Michael Xu (xudong) >>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >>> 0135 >>> 9807 | Fax: (8610) 62670096 >>> >>> >>> On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: >>> >>> > Thanks Michael, >>> > >>> > Tool tips are used for other purposes and user may need both of them. >>> Would >>> > it not be okay add another attribute say "help" attribute to the form >>> > element? >>> > >>> > What does other in the community think of it as I want to go for this >>> > extension. >>> > >>> > Thanks, >>> > >>> > >>> > Raj >>> > >>> > Michael Xu (xudong) wrote: >>> > >>> >> hi Raj, >>> >> >>> >> You can use tooltip feature for this requirement plus the following >>> >> customizations: >>> >> >>> >> 1) customize form render to show tooltip right after label instead of >>> >> controller. >>> >> 2) customize theme to show tooltip as "?" and a new message layer will >>> be >>> >> popped up if user clicks it. >>> >> >>> >> -- >>> >> Regards, >>> >> Michael Xu (xudong) >>> >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) >>> 135 >>> >> 0135 >>> >> 9807 | Fax: (8610) 62670096 >>> >> >>> >> >>> >> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> wrote: >>> >> >>> >> >>> >> >>> >>> Hi, >>> >>> >>> >>> I want to show a small help icon (?) next to the form field title. >>> >>> Clicking >>> >>> on the icon should open a pop up describing the function of the >>> field. I >>> >>> searched around and could not find if it is possible with the form >>> >>> widget. >>> >>> >>> >>> Thanks, >>> >>> >>> >>> Raj >>> >>> >>> >>> >>> >>> >>> >> >>> >> >>> >> >>> > >>> > >>> >> -- >> Antwebsystems.com: Quality OFBiz services for competitive rates >> >> > > |
Just an example to demonstrate my personal opinion:
<form name="name" type="single" target="createGlAccountOrganization" title="" default-map-name="account"> <field name="field1"> <!-- if no controller element, then default controller will be used based on field type from entity metadata --> <controller name="xxx.extend.Flex.RealTimePricing"> <!-- parameters can be added in such style. Not like current design that we have to put attributes or sub elements --> <param name="style" value="bluelight"/> </controller> <visbility> <!-- here ofbiz can define a set of default implementation. Also, developers can implement new ones based on interface --> <!-- Maybe it is even better to introduce AND and OR to combine multiple conditions together --> <condition implementation="org.ofbiz.core.condition.NonEmptyField"/> </visbility> <!-- Ofbiz can use appropripate validation java implementaiton if the validation is on server side or can render javascript if on clientside.--> <validity> <And> <!-- client side validitor sample --> <validitor name="org.ofbiz.core.ClientSide.NotEmpty"/> <!-- server side validitor sample --> <validitor name="org.ofbiz.core.ServerSide.BetweenOf"> <param name="startValue" value="1"/> <param name="endValue" value="5"/> </validitor> </And> </validity> <!-- ofbiz can use different css style for editable and non editable context --> <editability> <condidtions> <Or> <condition implementaiton="org.ofbiz.core.condition.hasPermission"> <param name="permission" value="admin"/> </condition> <condition implementaiton="xxx.extension.blabla"> </condition> </Or> </conditions> </editablity> </field> </field> </form> BTW: In order to keep back compatible, we can use a new tag <ofbizForm> or something and then implement a new form render. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 5:43 PM, Michael Xu (xudong) <[hidden email]>wrote: > hi Jacques, > > So you mean you agree the solution that a new attribute should be added, > right? > > I still doubt it. I don't think it is the best idea to add attributes for > such requirements. Such creep changes without an elegant overall solution is > kind of dangerous. Maybe it is time to refactor our design to allow > customization without changing core schema. > > Just my personal opinion. Look forward to more comments. > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 > 0135 9807 | Fax: (8610) 62670096 > > > On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux < > [hidden email]> wrote: > >> Hi, >> >> I agree with Hans and Raj on this. >> >> There has been a related discussion on this subject in the past. >> http://markmail.org/message/ed4l4trj3cotnuvv >> From this thread, I collected some ideas here >> >> http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc >> .) >> >> I'd suggest to create an umbrella Jira issue and to create a subtask for >> the "Small help icon next the form field title" idea >> >> Thanks >> >> Jacques >> >> From: "Hans Bakker" <[hidden email]> >> >> I would think that: >>> >>> help: description of the field and the purpose within the system. >>> tooltip: some other info: "optional/required" or "empty for new number" >>> >>> Regards, >>> Hans >>> >>> On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: >>> >>>> hi Raj, >>>> >>>> What's the difference between 'help' and 'tooltip'? Help is a more >>>> complicated tooltip. >>>> >>>> In order to keep UI consistent, I would like to propose to embed the >>>> "help" >>>> (Maybe as "more information") within the tooltip. >>>> >>>> -- >>>> Regards, >>>> Michael Xu (xudong) >>>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >>>> 0135 >>>> 9807 | Fax: (8610) 62670096 >>>> >>>> >>>> On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: >>>> >>>> > Thanks Michael, >>>> > >>>> > Tool tips are used for other purposes and user may need both of them. >>>> Would >>>> > it not be okay add another attribute say "help" attribute to the form >>>> > element? >>>> > >>>> > What does other in the community think of it as I want to go for this >>>> > extension. >>>> > >>>> > Thanks, >>>> > >>>> > >>>> > Raj >>>> > >>>> > Michael Xu (xudong) wrote: >>>> > >>>> >> hi Raj, >>>> >> >>>> >> You can use tooltip feature for this requirement plus the following >>>> >> customizations: >>>> >> >>>> >> 1) customize form render to show tooltip right after label instead of >>>> >> controller. >>>> >> 2) customize theme to show tooltip as "?" and a new message layer >>>> will be >>>> >> popped up if user clicks it. >>>> >> >>>> >> -- >>>> >> Regards, >>>> >> Michael Xu (xudong) >>>> >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) >>>> 135 >>>> >> 0135 >>>> >> 9807 | Fax: (8610) 62670096 >>>> >> >>>> >> >>>> >> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> >>>> wrote: >>>> >> >>>> >> >>>> >> >>>> >>> Hi, >>>> >>> >>>> >>> I want to show a small help icon (?) next to the form field title. >>>> >>> Clicking >>>> >>> on the icon should open a pop up describing the function of the >>>> field. I >>>> >>> searched around and could not find if it is possible with the form >>>> >>> widget. >>>> >>> >>>> >>> Thanks, >>>> >>> >>>> >>> Raj >>>> >>> >>>> >>> >>>> >>> >>>> >> >>>> >> >>>> >> >>>> > >>>> > >>>> >>> -- >>> Antwebsystems.com: Quality OFBiz services for competitive rates >>> >>> >> >> > |
any advice?
-- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Tue, Jan 12, 2010 at 5:58 PM, Michael Xu (xudong) <[hidden email]>wrote: > Just an example to demonstrate my personal opinion: > > > <form name="name" type="single" target="createGlAccountOrganization" > title="" default-map-name="account"> > > <field name="field1"> > > <!-- if no controller element, then default controller will be > used based on field type from entity metadata --> > <controller name="xxx.extend.Flex.RealTimePricing"> > <!-- parameters can be added in such style. Not like > current design that we have to put attributes or sub elements --> > <param name="style" value="bluelight"/> > </controller> > > > <visbility> > <!-- here ofbiz can define a set of default implementation. > Also, developers can implement new ones based on interface --> > <!-- Maybe it is even better to introduce AND and OR to > combine multiple conditions together --> > <condition > implementation="org.ofbiz.core.condition.NonEmptyField"/> > </visbility> > > <!-- Ofbiz can use appropripate validation java implementaiton > if the validation is on server side or can render javascript if on > clientside.--> > <validity> > <And> > <!-- client side validitor sample --> > <validitor name="org.ofbiz.core.ClientSide.NotEmpty"/> > <!-- server side validitor sample --> > <validitor name="org.ofbiz.core.ServerSide.BetweenOf"> > <param name="startValue" value="1"/> > <param name="endValue" value="5"/> > </validitor> > </And> > </validity> > > <!-- ofbiz can use different css style for editable and non > editable context --> > <editability> > <condidtions> > <Or> > <condition > implementaiton="org.ofbiz.core.condition.hasPermission"> > <param name="permission" value="admin"/> > </condition> > <condition implementaiton="xxx.extension.blabla"> > </condition> > </Or> > </conditions> > </editablity> > </field> > </field> > > </form> > > BTW: In order to keep back compatible, we can use a new tag <ofbizForm> or > something and then implement a new form render. > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 > 0135 9807 | Fax: (8610) 62670096 > > > On Tue, Jan 12, 2010 at 5:43 PM, Michael Xu (xudong) < > [hidden email]> wrote: > >> hi Jacques, >> >> So you mean you agree the solution that a new attribute should be added, >> right? >> >> I still doubt it. I don't think it is the best idea to add attributes for >> such requirements. Such creep changes without an elegant overall solution is >> kind of dangerous. Maybe it is time to refactor our design to allow >> customization without changing core schema. >> >> Just my personal opinion. Look forward to more comments. >> >> -- >> Regards, >> Michael Xu (xudong) >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >> 0135 9807 | Fax: (8610) 62670096 >> >> >> On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux < >> [hidden email]> wrote: >> >>> Hi, >>> >>> I agree with Hans and Raj on this. >>> >>> There has been a related discussion on this subject in the past. >>> http://markmail.org/message/ed4l4trj3cotnuvv >>> From this thread, I collected some ideas here >>> >>> http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc >>> .) >>> >>> I'd suggest to create an umbrella Jira issue and to create a subtask for >>> the "Small help icon next the form field title" idea >>> >>> Thanks >>> >>> Jacques >>> >>> From: "Hans Bakker" <[hidden email]> >>> >>> I would think that: >>>> >>>> help: description of the field and the purpose within the system. >>>> tooltip: some other info: "optional/required" or "empty for new number" >>>> >>>> Regards, >>>> Hans >>>> >>>> On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: >>>> >>>>> hi Raj, >>>>> >>>>> What's the difference between 'help' and 'tooltip'? Help is a more >>>>> complicated tooltip. >>>>> >>>>> In order to keep UI consistent, I would like to propose to embed the >>>>> "help" >>>>> (Maybe as "more information") within the tooltip. >>>>> >>>>> -- >>>>> Regards, >>>>> Michael Xu (xudong) >>>>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) >>>>> 135 0135 >>>>> 9807 | Fax: (8610) 62670096 >>>>> >>>>> >>>>> On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: >>>>> >>>>> > Thanks Michael, >>>>> > >>>>> > Tool tips are used for other purposes and user may need both of them. >>>>> Would >>>>> > it not be okay add another attribute say "help" attribute to the form >>>>> > element? >>>>> > >>>>> > What does other in the community think of it as I want to go for this >>>>> > extension. >>>>> > >>>>> > Thanks, >>>>> > >>>>> > >>>>> > Raj >>>>> > >>>>> > Michael Xu (xudong) wrote: >>>>> > >>>>> >> hi Raj, >>>>> >> >>>>> >> You can use tooltip feature for this requirement plus the following >>>>> >> customizations: >>>>> >> >>>>> >> 1) customize form render to show tooltip right after label instead >>>>> of >>>>> >> controller. >>>>> >> 2) customize theme to show tooltip as "?" and a new message layer >>>>> will be >>>>> >> popped up if user clicks it. >>>>> >> >>>>> >> -- >>>>> >> Regards, >>>>> >> Michael Xu (xudong) >>>>> >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) >>>>> 135 >>>>> >> 0135 >>>>> >> 9807 | Fax: (8610) 62670096 >>>>> >> >>>>> >> >>>>> >> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> >>>>> wrote: >>>>> >> >>>>> >> >>>>> >> >>>>> >>> Hi, >>>>> >>> >>>>> >>> I want to show a small help icon (?) next to the form field title. >>>>> >>> Clicking >>>>> >>> on the icon should open a pop up describing the function of the >>>>> field. I >>>>> >>> searched around and could not find if it is possible with the form >>>>> >>> widget. >>>>> >>> >>>>> >>> Thanks, >>>>> >>> >>>>> >>> Raj >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >> >>>>> >> >>>>> >> >>>>> > >>>>> > >>>>> >>>> -- >>>> Antwebsystems.com: Quality OFBiz services for competitive rates >>>> >>>> >>> >>> >> > |
I like the form widget better how it is. At least now you can use auto-completion in your XML editor to remind you of options and to save typing (and to do some validation too). It sounds like you are proposing to create an alternative to the current form widget. I suppose you could build it, contribute it, and try to convince other people to use it (which is exactly what I had to do originally with the current form widget). Aside from that, I can't think of any other advice. -David On Jan 12, 2010, at 10:37 PM, Michael Xu (xudong) wrote: > any advice? > > -- > Regards, > Michael Xu (xudong) > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 > 9807 | Fax: (8610) 62670096 > > > On Tue, Jan 12, 2010 at 5:58 PM, Michael Xu (xudong) > <[hidden email]>wrote: > >> Just an example to demonstrate my personal opinion: >> >> >> <form name="name" type="single" target="createGlAccountOrganization" >> title="" default-map-name="account"> >> >> <field name="field1"> >> >> <!-- if no controller element, then default controller will be >> used based on field type from entity metadata --> >> <controller name="xxx.extend.Flex.RealTimePricing"> >> <!-- parameters can be added in such style. Not like >> current design that we have to put attributes or sub elements --> >> <param name="style" value="bluelight"/> >> </controller> >> >> >> <visbility> >> <!-- here ofbiz can define a set of default implementation. >> Also, developers can implement new ones based on interface --> >> <!-- Maybe it is even better to introduce AND and OR to >> combine multiple conditions together --> >> <condition >> implementation="org.ofbiz.core.condition.NonEmptyField"/> >> </visbility> >> >> <!-- Ofbiz can use appropripate validation java implementaiton >> if the validation is on server side or can render javascript if on >> clientside.--> >> <validity> >> <And> >> <!-- client side validitor sample --> >> <validitor name="org.ofbiz.core.ClientSide.NotEmpty"/> >> <!-- server side validitor sample --> >> <validitor name="org.ofbiz.core.ServerSide.BetweenOf"> >> <param name="startValue" value="1"/> >> <param name="endValue" value="5"/> >> </validitor> >> </And> >> </validity> >> >> <!-- ofbiz can use different css style for editable and non >> editable context --> >> <editability> >> <condidtions> >> <Or> >> <condition >> implementaiton="org.ofbiz.core.condition.hasPermission"> >> <param name="permission" value="admin"/> >> </condition> >> <condition implementaiton="xxx.extension.blabla"> >> </condition> >> </Or> >> </conditions> >> </editablity> >> </field> >> </field> >> >> </form> >> >> BTW: In order to keep back compatible, we can use a new tag <ofbizForm> or >> something and then implement a new form render. >> >> -- >> Regards, >> Michael Xu (xudong) >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >> 0135 9807 | Fax: (8610) 62670096 >> >> >> On Tue, Jan 12, 2010 at 5:43 PM, Michael Xu (xudong) < >> [hidden email]> wrote: >> >>> hi Jacques, >>> >>> So you mean you agree the solution that a new attribute should be added, >>> right? >>> >>> I still doubt it. I don't think it is the best idea to add attributes for >>> such requirements. Such creep changes without an elegant overall solution is >>> kind of dangerous. Maybe it is time to refactor our design to allow >>> customization without changing core schema. >>> >>> Just my personal opinion. Look forward to more comments. >>> >>> -- >>> Regards, >>> Michael Xu (xudong) >>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 >>> 0135 9807 | Fax: (8610) 62670096 >>> >>> >>> On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux < >>> [hidden email]> wrote: >>> >>>> Hi, >>>> >>>> I agree with Hans and Raj on this. >>>> >>>> There has been a related discussion on this subject in the past. >>>> http://markmail.org/message/ed4l4trj3cotnuvv >>>> From this thread, I collected some ideas here >>>> >>>> http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc >>>> .) >>>> >>>> I'd suggest to create an umbrella Jira issue and to create a subtask for >>>> the "Small help icon next the form field title" idea >>>> >>>> Thanks >>>> >>>> Jacques >>>> >>>> From: "Hans Bakker" <[hidden email]> >>>> >>>> I would think that: >>>>> >>>>> help: description of the field and the purpose within the system. >>>>> tooltip: some other info: "optional/required" or "empty for new number" >>>>> >>>>> Regards, >>>>> Hans >>>>> >>>>> On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: >>>>> >>>>>> hi Raj, >>>>>> >>>>>> What's the difference between 'help' and 'tooltip'? Help is a more >>>>>> complicated tooltip. >>>>>> >>>>>> In order to keep UI consistent, I would like to propose to embed the >>>>>> "help" >>>>>> (Maybe as "more information") within the tooltip. >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Michael Xu (xudong) >>>>>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) >>>>>> 135 0135 >>>>>> 9807 | Fax: (8610) 62670096 >>>>>> >>>>>> >>>>>> On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> wrote: >>>>>> >>>>>>> Thanks Michael, >>>>>>> >>>>>>> Tool tips are used for other purposes and user may need both of them. >>>>>> Would >>>>>>> it not be okay add another attribute say "help" attribute to the form >>>>>>> element? >>>>>>> >>>>>>> What does other in the community think of it as I want to go for this >>>>>>> extension. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> >>>>>>> Raj >>>>>>> >>>>>>> Michael Xu (xudong) wrote: >>>>>>> >>>>>>>> hi Raj, >>>>>>>> >>>>>>>> You can use tooltip feature for this requirement plus the following >>>>>>>> customizations: >>>>>>>> >>>>>>>> 1) customize form render to show tooltip right after label instead >>>>>> of >>>>>>>> controller. >>>>>>>> 2) customize theme to show tooltip as "?" and a new message layer >>>>>> will be >>>>>>>> popped up if user clicks it. >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> Michael Xu (xudong) >>>>>>>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) >>>>>> 135 >>>>>>>> 0135 >>>>>>>> 9807 | Fax: (8610) 62670096 >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> >>>>>> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I want to show a small help icon (?) next to the form field title. >>>>>>>>> Clicking >>>>>>>>> on the icon should open a pop up describing the function of the >>>>>> field. I >>>>>>>>> searched around and could not find if it is possible with the form >>>>>>>>> widget. >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> Raj >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> -- >>>>> Antwebsystems.com: Quality OFBiz services for competitive rates >>>>> >>>>> >>>> >>>> >>> >> |
hi David,
Thanks for your advice. Yes, auto-completion in XML editor is good. However, I think there are many other criteria should be considered as well. I guess I have already mentioned some in previous emails. BTW: I don't have much programing skill and cannot contribute codes together with thoughts. Maybe talking without implementation is not that welcomed. But that's the only way I can help...very sorry about that. -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096 On Wed, Jan 13, 2010 at 2:38 PM, David E Jones <[hidden email]> wrote: > > I like the form widget better how it is. At least now you can use > auto-completion in your XML editor to remind you of options and to save > typing (and to do some validation too). > > It sounds like you are proposing to create an alternative to the current > form widget. I suppose you could build it, contribute it, and try to > convince other people to use it (which is exactly what I had to do > originally with the current form widget). > > Aside from that, I can't think of any other advice. > > -David > > > On Jan 12, 2010, at 10:37 PM, Michael Xu (xudong) wrote: > > > any advice? > > > > -- > > Regards, > > Michael Xu (xudong) > > www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 > 0135 > > 9807 | Fax: (8610) 62670096 > > > > > > On Tue, Jan 12, 2010 at 5:58 PM, Michael Xu (xudong) > > <[hidden email]>wrote: > > > >> Just an example to demonstrate my personal opinion: > >> > >> > >> <form name="name" type="single" target="createGlAccountOrganization" > >> title="" default-map-name="account"> > >> > >> <field name="field1"> > >> > >> <!-- if no controller element, then default controller will be > >> used based on field type from entity metadata --> > >> <controller name="xxx.extend.Flex.RealTimePricing"> > >> <!-- parameters can be added in such style. Not like > >> current design that we have to put attributes or sub elements --> > >> <param name="style" value="bluelight"/> > >> </controller> > >> > >> > >> <visbility> > >> <!-- here ofbiz can define a set of default > implementation. > >> Also, developers can implement new ones based on interface --> > >> <!-- Maybe it is even better to introduce AND and OR to > >> combine multiple conditions together --> > >> <condition > >> implementation="org.ofbiz.core.condition.NonEmptyField"/> > >> </visbility> > >> > >> <!-- Ofbiz can use appropripate validation java implementaiton > >> if the validation is on server side or can render javascript if on > >> clientside.--> > >> <validity> > >> <And> > >> <!-- client side validitor sample --> > >> <validitor name="org.ofbiz.core.ClientSide.NotEmpty"/> > >> <!-- server side validitor sample --> > >> <validitor name="org.ofbiz.core.ServerSide.BetweenOf"> > >> <param name="startValue" value="1"/> > >> <param name="endValue" value="5"/> > >> </validitor> > >> </And> > >> </validity> > >> > >> <!-- ofbiz can use different css style for editable and non > >> editable context --> > >> <editability> > >> <condidtions> > >> <Or> > >> <condition > >> implementaiton="org.ofbiz.core.condition.hasPermission"> > >> <param name="permission" value="admin"/> > >> </condition> > >> <condition implementaiton="xxx.extension.blabla"> > >> </condition> > >> </Or> > >> </conditions> > >> </editablity> > >> </field> > >> </field> > >> > >> </form> > >> > >> BTW: In order to keep back compatible, we can use a new tag <ofbizForm> > or > >> something and then implement a new form render. > >> > >> -- > >> Regards, > >> Michael Xu (xudong) > >> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 > >> 0135 9807 | Fax: (8610) 62670096 > >> > >> > >> On Tue, Jan 12, 2010 at 5:43 PM, Michael Xu (xudong) < > >> [hidden email]> wrote: > >> > >>> hi Jacques, > >>> > >>> So you mean you agree the solution that a new attribute should be > added, > >>> right? > >>> > >>> I still doubt it. I don't think it is the best idea to add attributes > for > >>> such requirements. Such creep changes without an elegant overall > solution is > >>> kind of dangerous. Maybe it is time to refactor our design to allow > >>> customization without changing core schema. > >>> > >>> Just my personal opinion. Look forward to more comments. > >>> > >>> -- > >>> Regards, > >>> Michael Xu (xudong) > >>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) > 135 > >>> 0135 9807 | Fax: (8610) 62670096 > >>> > >>> > >>> On Tue, Jan 12, 2010 at 4:55 PM, Jacques Le Roux < > >>> [hidden email]> wrote: > >>> > >>>> Hi, > >>>> > >>>> I agree with Hans and Raj on this. > >>>> > >>>> There has been a related discussion on this subject in the past. > >>>> http://markmail.org/message/ed4l4trj3cotnuvv > >>>> From this thread, I collected some ideas here > >>>> > >>>> > http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities(creation,etc > >>>> .) > >>>> > >>>> I'd suggest to create an umbrella Jira issue and to create a subtask > for > >>>> the "Small help icon next the form field title" idea > >>>> > >>>> Thanks > >>>> > >>>> Jacques > >>>> > >>>> From: "Hans Bakker" <[hidden email]> > >>>> > >>>> I would think that: > >>>>> > >>>>> help: description of the field and the purpose within the system. > >>>>> tooltip: some other info: "optional/required" or "empty for new > number" > >>>>> > >>>>> Regards, > >>>>> Hans > >>>>> > >>>>> On Tue, 2010-01-12 at 16:27 +0800, Michael Xu (xudong) wrote: > >>>>> > >>>>>> hi Raj, > >>>>>> > >>>>>> What's the difference between 'help' and 'tooltip'? Help is a more > >>>>>> complicated tooltip. > >>>>>> > >>>>>> In order to keep UI consistent, I would like to propose to embed the > >>>>>> "help" > >>>>>> (Maybe as "more information") within the tooltip. > >>>>>> > >>>>>> -- > >>>>>> Regards, > >>>>>> Michael Xu (xudong) > >>>>>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) > >>>>>> 135 0135 > >>>>>> 9807 | Fax: (8610) 62670096 > >>>>>> > >>>>>> > >>>>>> On Tue, Jan 12, 2010 at 3:47 PM, Raj Saini <[hidden email]> > wrote: > >>>>>> > >>>>>>> Thanks Michael, > >>>>>>> > >>>>>>> Tool tips are used for other purposes and user may need both of > them. > >>>>>> Would > >>>>>>> it not be okay add another attribute say "help" attribute to the > form > >>>>>>> element? > >>>>>>> > >>>>>>> What does other in the community think of it as I want to go for > this > >>>>>>> extension. > >>>>>>> > >>>>>>> Thanks, > >>>>>>> > >>>>>>> > >>>>>>> Raj > >>>>>>> > >>>>>>> Michael Xu (xudong) wrote: > >>>>>>> > >>>>>>>> hi Raj, > >>>>>>>> > >>>>>>>> You can use tooltip feature for this requirement plus the > following > >>>>>>>> customizations: > >>>>>>>> > >>>>>>>> 1) customize form render to show tooltip right after label instead > >>>>>> of > >>>>>>>> controller. > >>>>>>>> 2) customize theme to show tooltip as "?" and a new message layer > >>>>>> will be > >>>>>>>> popped up if user clicks it. > >>>>>>>> > >>>>>>>> -- > >>>>>>>> Regards, > >>>>>>>> Michael Xu (xudong) > >>>>>>>> www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: > (86) > >>>>>> 135 > >>>>>>>> 0135 > >>>>>>>> 9807 | Fax: (8610) 62670096 > >>>>>>>> > >>>>>>>> > >>>>>>>> On Fri, Jan 8, 2010 at 3:32 PM, Raj Saini <[hidden email]> > >>>>>> wrote: > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> Hi, > >>>>>>>>> > >>>>>>>>> I want to show a small help icon (?) next to the form field > title. > >>>>>>>>> Clicking > >>>>>>>>> on the icon should open a pop up describing the function of the > >>>>>> field. I > >>>>>>>>> searched around and could not find if it is possible with the > form > >>>>>>>>> widget. > >>>>>>>>> > >>>>>>>>> Thanks, > >>>>>>>>> > >>>>>>>>> Raj > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>> -- > >>>>> Antwebsystems.com: Quality OFBiz services for competitive rates > >>>>> > >>>>> > >>>> > >>>> > >>> > >> > > |
Free forum by Nabble | Edit this page |