Re: Small help icon next the form field title

2010-01-13 Thread Michael Xu (xudong)
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  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)
> > wrote:
> >
> >> Just an example to demonstrate my personal opinion:
> >>
> >>
> >>  >> title="" default-map-name="account">
> >>
> >>   
> >>
> >>   
> >>   
> >>
> >>
> >>   
> >>
> >>
> >>   
> >>
> >>
> >> >> implementation="org.ofbiz.core.condition.NonEmptyField"/>
> >>   
> >>
> >>   
> >>   
> >>   
> >>  
> >>  
> >>  
> >>  
> >>   
> >>   
> >>  
> >>   
> >>   
> >>
> >>   
> >>   
> >>   
> >>
> >> >> implementaiton="org.ofbiz.core.condition.hasPermission">
> >>
> >>
> >>
> >>
> >>
> >>   
> >>   
> >>  
> >>   
> >>
> >> 
> >>
> >> BTW: In order to keep back compatible, we can use a new tag 
> 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) <
> >> dong...@wizitsoft.com> 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 <
> >>> jacques.le.r...@les7arts.com> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I agree with Hans and Raj on this.
> >>>>
> >>>> There has been a related discussion on this subject in the past.
> >>

Re: Small help icon next the form field title

2010-01-12 Thread David E Jones

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)
> wrote:
> 
>> Just an example to demonstrate my personal opinion:
>> 
>> 
>> > title="" default-map-name="account">
>> 
>>   
>> 
>>   
>>   
>>
>>
>>   
>> 
>> 
>>   
>>
>>
>>> implementation="org.ofbiz.core.condition.NonEmptyField"/>
>>   
>> 
>>   
>>   
>>   
>>  
>>  
>>  
>>  
>>   
>>   
>>  
>>   
>>   
>> 
>>   
>>   
>>   
>>
>>> implementaiton="org.ofbiz.core.condition.hasPermission">
>>
>>
>>
>>
>>
>>   
>>   
>>  
>>   
>> 
>> 
>> 
>> BTW: In order to keep back compatible, we can use a new tag  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) <
>> dong...@wizitsoft.com> 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 <
>>> jacques.le.r...@les7arts.com> 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" 
>>>> 
>>>> 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,
>>>>>> 
>>>&

Re: Small help icon next the form field title

2010-01-12 Thread Michael Xu (xudong)
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)
wrote:

> Just an example to demonstrate my personal opinion:
>
>
>  title="" default-map-name="account">
>
>
>
>
>
> 
> 
>
>
>
>
> 
> 
>  implementation="org.ofbiz.core.condition.NonEmptyField"/>
>
>
>
>
>
>   
>   
>   
>   
>
>
>   
>
>
>
>
>
>
> 
>  implementaiton="org.ofbiz.core.condition.hasPermission">
> 
> 
> 
> 
> 
>
>
>   
>
>
> 
>
> BTW: In order to keep back compatible, we can use a new tag  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) <
> dong...@wizitsoft.com> 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 <
>> jacques.le.r...@les7arts.com> 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" 
>>>
>>>  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  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
>>>&g

Re: Small help icon next the form field title

2010-01-12 Thread Michael Xu (xudong)
Just an example to demonstrate my personal opinion:




   

   
   


   


   



   

   
   
   
  
  
  
  
   
   
  
   
   

   
   
   







   
   
  
   



BTW: In order to keep back compatible, we can use a new tag  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)
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 <
> jacques.le.r...@les7arts.com> 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" 
>>
>>  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  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 
>>>> 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
>>>
>>>
>>
>>
>


Re: Small help icon next the form field title

2010-01-12 Thread Michael Xu (xudong)
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 <
jacques.le.r...@les7arts.com> 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" 
>
>  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  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  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
>>
>>
>
>


Re: Small help icon next the form field title

2010-01-12 Thread Jacques Le Roux

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" 

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






Re: Small help icon next the form field title

2010-01-12 Thread 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.









...


Here, we have to use  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:










...


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



>>>
>>>
>>>
>>
>>
>


Re: Small help icon next the form field title

2010-01-12 Thread Hans Bakker
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  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  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



Re: Small help icon next the form field title

2010-01-12 Thread Raj Saini

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






  



  




Re: Small help icon next the form field title

2010-01-12 Thread Michael Xu (xudong)
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  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  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
>>>
>>>
>>>
>>
>>
>>
>
>


Re: Small help icon next the form field title

2010-01-12 Thread Raj Saini

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



  
  




Re: Small help icon next the form field title

2010-01-11 Thread Hans Bakker
A single 'help' true/false would be very nice and then get 
the description from the entitymodel.xml file  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  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



Re: Small help icon next the form field title

2010-01-11 Thread Raj Saini

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




  




Re: Small help icon next the form field title

2010-01-08 Thread Raj Saini

Sure Bruno.

Raj
Bruno Busco wrote:

3) Submit a patch when you have done. ;-)

-Bruno

2010/1/8 Raj Saini :
  

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



  



  




Re: Small help icon next the form field title

2010-01-08 Thread Bruno Busco
3) Submit a patch when you have done. ;-)

-Bruno

2010/1/8 Raj Saini :
> 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  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
>>>
>>>
>>
>>
>
>


Re: Small help icon next the form field title

2010-01-08 Thread Raj Saini

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




  




Re: Small help icon next the form field title

2010-01-08 Thread Michael Xu (xudong)
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  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
>


Small help icon next the form field title

2010-01-07 Thread Raj Saini

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