user interface

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

user interface

lahmar
hello,

i am new in ofbiz. I would like to know how can i change the user interface (for ex : modify a form by replacing the fields and add new fields) What is the files that i must modify (file.java or file.ftl or file.bsh)?

thanks for all. (excuse for my bad english)
Reply | Threaded
Open this post in threaded view
|

Re: user interface

Divesh Dutta
Hello,
1)You can make changes in .ftl file to change the user interface. There
also exist form-widget in OFBiz, from where you can change user
interface. Some places .ftl files are used and in some places
form-widget is used.
2) .groovy are used for data preparation  logic.
3).bsh are not used in ofbiz now (Though some where it still exists, but
.groovy files are used instead of .bsh)
4) Reading this link will help you to learn more:
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld)

Thanks
Divesh

lahmar wrote:
> hello,
>
> i am new in ofbiz. I would like to know how can i change the user interface
> (for ex : modify a form by replacing the fields and add new fields) What is
> the files that i must modify (file.java or file.ftl or file.bsh)?
>
> thanks for all. (excuse for my bad english)
>  

Reply | Threaded
Open this post in threaded view
|

Re: user interface

Divesh Dutta
One of the example of form widget, which may help you is ProductForms.xml

Thanks
-Divesh

Divesh Dutta wrote:

> Hello,
> 1)You can make changes in .ftl file to change the user interface.
> There also exist form-widget in OFBiz, from where you can change user
> interface. Some places .ftl files are used and in some places
> form-widget is used.
> 2) .groovy are used for data preparation  logic.
> 3).bsh are not used in ofbiz now (Though some where it still exists,
> but .groovy files are used instead of .bsh)
> 4) Reading this link will help you to learn more:
> http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld)
>
>
> Thanks
> Divesh
>
> lahmar wrote:
>> hello,
>>
>> i am new in ofbiz. I would like to know how can i change the user
>> interface
>> (for ex : modify a form by replacing the fields and add new fields)
>> What is
>> the files that i must modify (file.java or file.ftl or file.bsh)?
>>
>> thanks for all. (excuse for my bad english)
>>  
>

Reply | Threaded
Open this post in threaded view
|

Re: user interface

BJ Freeman
In reply to this post by lahmar
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you have two ways to modify data.
1) if you want ofbiz to keep track of the data, in a persistent way then
add an entity or extend an entity. you can also use the entity-view to
create custom views. these will show up in forms without any change to them.
2)if you wish to maintain the data in a non persistent way, then you can
create you own ftl files, and use events to process the data.

Note ver 4.0 uses Bsh files, the Trunk uses groovy files for marshaling
 data to be displayed on the widgets and ftl. However this requires,
currently that the data be defined in an entity.

lahmar sent the following on 3/20/2009 2:08 AM:
> hello,
>
> i am new in ofbiz. I would like to know how can i change the user interface
> (for ex : modify a form by replacing the fields and add new fields) What is
> the files that i must modify (file.java or file.ftl or file.bsh)?
>
> thanks for all. (excuse for my bad english)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJw2VCrP3NbaWWqE4RAlCcAJ9+q/L4MkyO/Jns4s3Kjcdz0JunTQCglvTE
nHzhYvFU0pmHSTYhwrM1w9s=
=vUkH
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: user interface

lahmar
In reply to this post by Divesh Dutta
Thk for your response,
i used this link "http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld)".

but when i arrived at step10. i had this msg :
HTTP Status 404 - /practice/control/main
type Status report

message /practice/control/main.

Note i use eclipse in windows vista to run the project.

thks.
Reply | Threaded
Open this post in threaded view
|

Re: user interface

Divesh Dutta
You server may not be started properly or your build may be failed.
Clean the database and run (ant run-install) to reload the database.
This may solve your problem.

Thanks
Divesh

lahmar wrote:

> Thk for your response,
> i used this link
> "http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld)".
>
> but when i arrived at step10. i had this msg :
> HTTP Status 404 - /practice/control/main
> type Status report
>
> message /practice/control/main.
>
> Note i use eclipse in windows vista to run the project.
>
> thks.
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: user interface

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Note: the link is only for ofbiz trunk and will not work are ver 4.0 or
other ofbiz implementations.
I comment on this since you said you will be using bsh files.


Divesh Dutta sent the following on 3/20/2009 3:17 AM:

> You server may not be started properly or your build may be failed.
> Clean the database and run (ant run-install) to reload the database.
> This may solve your problem.
>
> Thanks
> Divesh
>
> lahmar wrote:
>> Thk for your response,
>> i used this link
>> "http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld)".
>>
>>
>> but when i arrived at step10. i had this msg : HTTP Status 404 -
>> /practice/control/main
>> type Status report
>>
>> message /practice/control/main.
>>
>> Note i use eclipse in windows vista to run the project.
>>
>> thks.
>>
>>  
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJw2+WrP3NbaWWqE4RAqDAAKCcaWmykbDmVs0GUNJy8d75JfI0sQCgijA6
JRV71CRrl+zIBWqfTRg0K/U=
=AaNc
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: user interface

lahmar
In reply to this post by Divesh Dutta
I repaet all the process. but i find the same error mesg.

when i put this https://localhost:8443/ordermgr/control/orderentry.
there is no problem. i get the order interface user. so i think that i don't have run problem.

thks.
Reply | Threaded
Open this post in threaded view
|

Re: user interface

cjhorton
lahmar,

Can you please verify that you are using the Trunk version and NOT the
release 4?

On Fri, Mar 20, 2009 at 6:31 AM, lahmar <[hidden email]>wrote:

>
> I repaet all the process. but i find the same error mesg.
>
> when i put this https://localhost:8443/ordermgr/control/orderentry.
> there is no problem. i get the order interface user. so i think that i
> don't
> have run problem.
>
> thks.
> --
> View this message in context:
> http://www.nabble.com/user-interface-tp22616665p22619371.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: user interface

lahmar
I use exactly "ofbizNeogia-1_4_0-demo-fr".

Thks.
Reply | Threaded
Open this post in threaded view
|

Re: user interface

lahmar
In reply to this post by BJ Freeman
Hi,

So how can i modify user interface with NeogiaOfbiz?

Thks.
Reply | Threaded
Open this post in threaded view
|

Re: user interface

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hans can give a link to his discussion forum for NeogiaOfbiz, since it
has been changed from the base ofbiz. That is where you will get the
best support.


lahmar sent the following on 3/23/2009 1:39 AM:
> Hi,
>
> So how can i modify user interface with NeogiaOfbiz?
>
> Thks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJx0xsrP3NbaWWqE4RAs+xAJ9fqQNiYUG5uYo8LqohpqaV09S4EQCdEp6G
1U5OXNHP5u0xvbDpk/E1cdQ=
=a6tT
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: user interface

Jacques Le Roux
Administrator
In reply to this post by lahmar
This is Apache OFBiz not Neogia-OFBiz so please use Neogia ML
[hidden email] (this list is in French, but you may try in English if you don't speack French)

Thanks

Jacques

From: "lahmar" <[hidden email]>

>
> Hi,
>
> So how can i modify user interface with NeogiaOfbiz?
>
> Thks.
> --
> View this message in context: http://www.nabble.com/user-interface-tp22616665p22656085.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: user interface

Malin Nicolas
In reply to this post by BJ Freeman
Hi lahmar,
Want do you change on the user interface ?
On ofbizNeogia, the edit user screen are the same on ofbiz project.

Nicolas


BJ Freeman a écrit :

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hans can give a link to his discussion forum for NeogiaOfbiz, since it
> has been changed from the base ofbiz. That is where you will get the
> best support.
>
>
> lahmar sent the following on 3/23/2009 1:39 AM:
>  
>> Hi,
>>
>> So how can i modify user interface with NeogiaOfbiz?
>>
>> Thks.
>>    
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJx0xsrP3NbaWWqE4RAs+xAJ9fqQNiYUG5uYo8LqohpqaV09S4EQCdEp6G
> 1U5OXNHP5u0xvbDpk/E1cdQ=
> =a6tT
> -----END PGP SIGNATURE-----
>
>  


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: user interface

David E Jones-3
In reply to this post by lahmar

On Mar 23, 2009, at 2:39 AM, lahmar wrote:

>
> Hi,
>
> So how can i modify user interface with NeogiaOfbiz?

There is quite a bit of good introductory documentation for OFBiz, and  
some of it will apply to Neogia (your mileage will vary, as the saying  
goes). This is a good page to start with:

http://docs.ofbiz.org/display/OFBADMIN/Apache+OFBiz+Getting+Started

Some links from that page that will help you understand how pieces fit  
together include these:

http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+%28helloworld%29

-David