You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "G.Venkata Phanindra" <ph...@gmail.com> on 2006/07/03 08:09:59 UTC

extends in forms

Hi ...
          I am currently working with forums in ofbiz and i have a doubt
....with the ForumForms.xml file ....
                what does "extends" is used for ??
          Example .....
                          <form name="AddResponse" target="uploadResponse"
title="" type="single"
        default-title-style="tableheadtext"
        extends="AddContent"
        default-tooltip-style="tabletext" default-widget-style="inputBox">
My Understanding  ...  on extends option ...

 I am getting all the fields that i have defined in AddContent and
Additional fields that i define in AddResponse...
 but i donnot want all the fields in AddContent how can i remove them ??
         For this i tried Adding all the fields in AddContent into
AddResponse except the fields i donnot want to Add .....but i am getting
problem with the common fields in both the forms...
             I also looked at the
http://www.ofbiz.org/dtds/widget-form.xsdbut i could not find
information on extends  except the following two lines
of code in it....

        <xs:attribute type="xs:string" name="extends"/>
        <xs:attribute type="xs:string" name="extends-resource"/>
>From which i  could not come out for a solution ......

Looking for information on extends option, or  way in which i can exclude
the couple of fields even after using the extends Tag ....


Thanks and Regards,

G.Venkata Phanindra.
Mob:: 9849852989.

Re: [OFBiz] Users - extends in forms

Posted by Hans Bakker <h....@antwebsystems.com>.
using another form as the basis and modify certain parameters.


On Monday 03 July 2006 13:09, G.Venkata Phanindra wrote:
> Hi ...
>           I am currently working with forums in ofbiz and i have a doubt
> ....with the ForumForms.xml file ....
>                 what does "extends" is used for ??
>           Example .....
>                           <form name="AddResponse" target="uploadResponse"
> title="" type="single"
>         default-title-style="tableheadtext"
>         extends="AddContent"
>         default-tooltip-style="tabletext" default-widget-style="inputBox">
> My Understanding  ...  on extends option ...
>
>  I am getting all the fields that i have defined in AddContent and
> Additional fields that i define in AddResponse...
>  but i donnot want all the fields in AddContent how can i remove them ??
>          For this i tried Adding all the fields in AddContent into
> AddResponse except the fields i donnot want to Add .....but i am getting
> problem with the common fields in both the forms...
>              I also looked at the
> http://www.ofbiz.org/dtds/widget-form.xsdbut i could not find
> information on extends  except the following two lines
> of code in it....
>
>         <xs:attribute type="xs:string" name="extends"/>
>         <xs:attribute type="xs:string" name="extends-resource"/>
>
> >From which i  could not come out for a solution ......
>
> Looking for information on extends option, or  way in which i can exclude
> the couple of fields even after using the extends Tag ....
>
>
> Thanks and Regards,
>
> G.Venkata Phanindra.
> Mob:: 9849852989.

-- 
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

Re: extends in forms

Posted by Chris Howe <cj...@yahoo.com>.
I'm not positive this will work with the extends
attribute, but when you auto populate a form from a
service you can remove a field by the following
<field name="fieldname"><ignored/></field>

--- "G.Venkata Phanindra" <ph...@gmail.com> wrote:

> Hi ...
>           I am currently working with forums in
> ofbiz and i have a doubt
> ....with the ForumForms.xml file ....
>                 what does "extends" is used for ??
>           Example .....
>                           <form name="AddResponse"
> target="uploadResponse"
> title="" type="single"
>         default-title-style="tableheadtext"
>         extends="AddContent"
>         default-tooltip-style="tabletext"
> default-widget-style="inputBox">
> My Understanding  ...  on extends option ...
> 
>  I am getting all the fields that i have defined in
> AddContent and
> Additional fields that i define in AddResponse...
>  but i donnot want all the fields in AddContent how
> can i remove them ??
>          For this i tried Adding all the fields in
> AddContent into
> AddResponse except the fields i donnot want to Add
> .....but i am getting
> problem with the common fields in both the forms...
>              I also looked at the
> http://www.ofbiz.org/dtds/widget-form.xsdbut i could
> not find
> information on extends  except the following two
> lines
> of code in it....
> 
>         <xs:attribute type="xs:string"
> name="extends"/>
>         <xs:attribute type="xs:string"
> name="extends-resource"/>
> From which i  could not come out for a solution
> ......
> 
> Looking for information on extends option, or  way
> in which i can exclude
> the couple of fields even after using the extends
> Tag ....
> 
> 
> Thanks and Regards,
> 
> G.Venkata Phanindra.
> Mob:: 9849852989.
>