Couche Dao dans application gwt

2014-04-17 Thread Amir kessentini
hi :) 
I am trying to develop a small module that allows a user to connect to a 
application. I'm using the architecture mvp proposed by GWT.So, I develope 
the view, the present, the sychrones and asychcrones services and of course 
the implementation of the server that makes access to the database through 
hibernate.I have a little problem is how can I incorporate the concept of 
DAO layer? my service contains a method called GetUser (username, password) 
and I made its implementation in the server side but it does not really DAO 
is it? 
help me please.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


modeling mvp architecture

2014-04-13 Thread Amir kessentini
Hi, 
I am trying to model my application gwt using uml. 
At this stage, I find it difficult to represent the sequence diagrams  with 
mvp architecture. 
I spend a lot of time on google but I have not really found 
something helpful. it http://interessting.it/'s always shows diagrams for 
mvc and not mvp. 
I think, i must represent object relatifs to the mvp architecture on my 
sequence diagramms that's mean i have to represent the view, presenter, 
model and the rpc service.
if anyone can help me do not hesitate :) 
thank you and sorry for my bad english ;)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: the mvp architecture in a gwt application

2014-04-13 Thread Amir kessentini
parle arabe ou francais pour que je vous aide :D

Le dimanche 13 avril 2014 13:03:54 UTC+2, imen boukhris a écrit :

 Hi GWT community
 I m trying to respect the mvp architecture to create a gwt application 
 without the use of  the AppController class and the event bus. I'am using a 
 presenter package which can communicate with the passive view and the model 
  and it can communicate with the outside world  through an RPC Service 
 is that architecture complies with the mvp model or not??
 can any one helps me please .
 sorry for my poor english


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: modélisation uml de mvp

2014-04-12 Thread Amir kessentini
what do you mean by that ?? could you be more clear :D give me a shor
example of sequence duagram with mvp


Le 11 avril 2014 22:02, Tio Malandra tiomalan...@gmail.com a écrit :

 Hola capo. Lo que podés hacer, es modelar cada parte del MVP, como
 componente aislado.
 Un abrazo.

 El jueves, 10 de abril de 2014 23:23:37 UTC-3, Amir kessentini escribió:

 Salut,
 Je suis entrain de modéliser mon application gwt en utilisant uml.
 à ce stade, je trouve des difficultés pour représenter les diagrammes de
 séquences en utilisant l'architecture mvp.
 j'ai passer beaucoup de temps sur google mais vraiment j'ai pas trouvé
 quelque chose de valeur.il m'affiche toujours des diagrammes concernant
 mvc et non mvp.
 si quelqu'un peut m'aider n'hésite pas :)
 merci

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/vvBCpdB7xMc/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: modélisation uml de mvp

2014-04-11 Thread Amir kessentini
Hi, 
I am trying to model my application gwt using uml. 
At this stage, I find it difficult to represent the sequence diagrams  with 
mvp architecture. 
I spend a lot of time on google but I have not really found something 
interessting.it's always shows diagrams for mvc and not mvp. 
I think, i must represent object relatifs to the mvp architecture on my 
sequence diagramms.
if anyone can help me do not hesitate :) 
thank you and sorry for my bad english ;)

Le vendredi 11 avril 2014 04:23:37 UTC+2, Amir kessentini a écrit :

 Salut,
 Je suis entrain de modéliser mon application gwt en utilisant uml.
 à ce stade, je trouve des difficultés pour représenter les diagrammes de 
 séquences en utilisant l'architecture mvp.
 j'ai passer beaucoup de temps sur google mais vraiment j'ai pas trouvé 
 quelque chose de valeur.il m'affiche toujours des diagrammes concernant 
 mvc et non mvp.
 si quelqu'un peut m'aider n'hésite pas :)
 merci


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


modélisation uml de mvp

2014-04-10 Thread Amir kessentini
Salut,
Je suis entrain de modéliser mon application gwt en utilisant uml.
à ce stade, je trouve des difficultés pour représenter les diagrammes de 
séquences en utilisant l'architecture mvp.
j'ai passer beaucoup de temps sur google mais vraiment j'ai pas trouvé 
quelque chose de valeur.il m'affiche toujours des diagrammes concernant mvc 
et non mvp.
si quelqu'un peut m'aider n'hésite pas :)
merci

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: flextable rows

2014-04-04 Thread Amir kessentini
thank you brother ;) it's works :D

Le jeudi 3 avril 2014 02:28:24 UTC+2, Amir kessentini a écrit :

 hi
 in my devis view , i have a flextable containes many rows.this flextable 
 has 3 column wich represents a model of data.
 each row containes 3 textbox that represent data who will be saved on 
 database.
 my question is how i can recupred those data from each row in my devis 
 presenter.
 thanks



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


app controller

2014-04-04 Thread Amir kessentini
j'ai une classeview constitué de deux panels:le premier sert à afficher la 
liste des devis alors que le deuxiéme affiche une description détaillé sur 
chaque devis selectionnéé au niveau de grid.j'ai un boutton ajouter devis 
auquel est rattaché une actionje veux lorsque je clique sur ce boutton le 
panel de la description affiche une autre classview pour permettre l'ajout 
de devis.cette classe est rattaché à un presenter.comment faire ca ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: flextable rows

2014-04-03 Thread Amir kessentini


 i found a solution but i'm in trouble again :(

 each row containes 3 textBox.when i click on button delete row it works 
fine but when i try to add new row it's make a blank row.
i have a problem on my delete row.i guess i don't have to remove the row 
but to remove the textbox on this row.
how to do that ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


flextable rows

2014-04-02 Thread Amir kessentini
hi
in my devis view , i have a flextable containes many rows.this flextable 
has 3 column wich represents a model of data.
each row containes 3 textbox that represent data who will be saved on 
database.
my question is how i can recupred those data from each row in my devis 
presenter.
thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


selectionmodel with mvp

2014-03-30 Thread Amir kessentini
Hello :)
i have two classes :DevisPresenter and DevisView.
im mu devispresenter i'm called an rpc call wich return me a list of 
data.i'm setting this data with method setdata for the view to display data.
for that i'm using a celltable, my problem is that i want to recupered the 
object in the selected row.i have to use the singleselectionmodel but i 
don't khnow how :( i don't khnow what i should create in the presenter or 
the view ?
plz help

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


mvp architecture

2014-03-25 Thread Amir kessentini
hey every body :)

i'm trying to create interface for user authetification with mvp 
architecture.
i have create the class user which is the model and i have create the 
userview class wich containes the buttons and implements the 
userPresenter.display.
for now that's good :D. i create also the user service wihch allow me to 
load a user from database.

now for the user presenter i should call the method on the rpc service.this 
method return 1 if user exist and 0 if not.but what i have to write on the 
on succes ??
also for the events how i use them ? and the appcontroller ?? i'm really 
confused :(

any one help plz

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Export celltab to pdf

2014-03-18 Thread Amir kessentini
ok thanks :) i will try that ;)


2014-03-18 3:55 GMT+01:00 Bhumika Thaker thaker.bhum...@gmail.com:

 You have to write servlet for export data.  Do below steps :
 1) get selected data from selection handler.
 2) create rpc call which set selected data in http session of server.
 3)on success,  call submit form that call servlet.
 4) write code to read data from session attribute and use itext tag for
 formatting data in servlet
 5) finally generate pdf

 Thanks,
 Bhumika
 On Mar 18, 2014 4:27 AM, Amir kessentini kessentini.a...@gmail.com
 wrote:

 Hello,
 In my gwt application, i have a celltab which containes data relatifs to
 class devis.
 i create a button export that allow me to generate pdf file for a
 celletab selected.how should i do that ?
 i think i have to use itext api but i don't khnow how.Even that, should i
 do the export on client side or sever side ?

 please help

  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/t4oy-PdL0qk/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Export celltab to pdf

2014-03-17 Thread Amir kessentini
Hello,
In my gwt application, i have a celltab which containes data relatifs to 
class devis.
i create a button export that allow me to generate pdf file for a celletab 
selected.how should i do that ?
i think i have to use itext api but i don't khnow how.Even that, should i 
do the export on client side or sever side ?

please help 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Master-details panel

2014-03-11 Thread Amir kessentini
thank you all :)


2014-03-11 9:49 GMT+01:00 Donald Mteka donaldmt...@gmail.com:

 You can use DataGrid, to handle events from cells, take a look here

 http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html#Rendering_HTML_for_Cells



 On Mon, Mar 10, 2014 at 4:46 PM, Amir kessentini 
 kessentini.a...@gmail.com wrote:

 let's go to seriously things ;
 i have created e method in my gwt server which return a list of data
 PersonneDTO
 in my gui i'm using a flextable to display that data and it's works
 perfectly.
 but i thinks it's not good to work with flex table because i have to
 create my column and it's not mapped to the structure for personne
 class.more than that i can't select a row with that flex table.

 i'm thinking to use grid data but the problem is that i can't set widget
 to a column.for example i nedd to create a delete button for each row in
 data grid.
 there is also celletab and many other components but i'm really confused.
 help plz

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.




 --
 Donald Mteka
 +255653105004

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/B9GdLt_pNE4/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Master-details panel

2014-03-10 Thread Amir kessentini
let's go to seriously things ;
i have created e method in my gwt server which return a list of data 
PersonneDTO
in my gui i'm using a flextable to display that data and it's works 
perfectly.
but i thinks it's not good to work with flex table because i have to create 
my column and it's not mapped to the structure for personne class.more than 
that i can't select a row with that flex table.

i'm thinking to use grid data but the problem is that i can't set widget to 
a column.for example i nedd to create a delete button for each row in data 
grid.
there is also celletab and many other components but i'm really confused.
help plz

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Master-details panel

2014-03-07 Thread Amir kessentini
Hi again ;)
I'm trying to create a Master-Details panel associeted to an entity but i'm 
really confused and i don't khnow how to start.
i search on the internet but i didn't find something interested.
could any one help me ?
thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Master-details panel

2014-03-07 Thread Amir kessentini
any one could help me ? just tell me from where i start and what is the 
component ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Master-details panel

2014-03-07 Thread Amir kessentini

No one wanna help me ??
thanks people :(

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT+Hibernate

2014-03-06 Thread Amir kessentini

Hey again :)
i have read GWT homepage article and i'm developping an example which i 
have a user interface and i want to save the informations on database using 
postgres as SGBD.
i follow the steps but i got a problem that i couldn't resolve.

com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public 
abstract void 
com.example.test.client.services.PersonneService.savePersonne(com.example.test.client.dto.PersonneDTO)'
 
threw an unexpected exception: java.lang.ExceptionInInitializerError

Sorry for my bad english because i'm arabic
thanks a lot

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Test.rar
Description: application/rar


Re: GWT+Hibernate

2014-03-04 Thread Amir kessentini

Could anywone help me ? i want a clear exemple to understand how hiberbate 
works with rpc call in gwt

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT+Hibernate

2014-03-03 Thread Amir kessentini
Hello every Body,
Since i'm new programmer in GWT, i got many problem in the way how to 
integrate hibernate with gwt.
if anyone could help me, i wloud be so grateful.
thanks :)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.