MOBILE CEIBAL
ATTENTION SCHOOL TEACHERS N º 97 - 78 - 1923 to 1972 -86
be informed that the travel CEIBAL MOBILE these schools.
The schedule is as follows: DATE 27/04/1910
SCHOOLS ----- --- 97-78
SCHOOL ---- ----- DATE 28/04/1910 23 DATED 29
/ 04/10 ----- SCHOOLS --- 72-86 26/03/2010
Friday, March 26, 2010
Making A Vhf Uhf Balun
Sr / a Teachers'
be informed that the Council and Primary Education authorized the National Competition Animation XO MY HOME TO SCHOOL for 5th and 6th children, proposed by CINEMA EFFECT. This project aims to bring the film to all parts of the country with national and international productions for free.
Papers should be presented by groups of five children from 15/04/1910 until 06/15/1910 . Winners will be in school all CINEMA EFFECT infrastructure to share with colleagues the winning short film and a children's catalog , giving further pen drives and memory to use the XO and mini-DV cameras for school.
FOR MORE INFORMATION:
andrés@coral.com.uy
PRESS
Thursday, March 25, 2010
Why Has This Scorpio Disappeared?
Circular No. 006 CASH CALL A departmental inspection
No. 8
The Inspection Department, announced that it is open enrollment period for the call for special examination to fill internships and substitutions in all subjects of Schools of Music Schools in common: music educators, pianists and teachers of dance and rhythm until 9 April in time to the public from 13 to 17.
PRESS
No. 8
The Inspection Department, announced that it is open enrollment period for the call for special examination to fill internships and substitutions in all subjects of Schools of Music Schools in common: music educators, pianists and teachers of dance and rhythm until 9 April in time to the public from 13 to 17.
Does Bonjela Help Abscsess
No. 7
The Accounting Department of Primary Education Paysandu, announced the schedule of payment to: Budget Allocation March/2010 and Family Pensioners.
BROU (Officials with ATM card). ATM today and from 13 offices BROU. Inspection-Removal
Receipts: today 10 to 14 to 12.30 and 17.30 of No. 1 to 900. Tomorrow from 10 to 12.30 and from 14 to 17.30del No. 901 at the end. Monday, 5 and 10 to 12.30 14 to 17.30 in arrears.
Officials who receive their salaries through the Accountant charge from tomorrow at the same time. It is recalled that receipts will not be delivered without the submission of payment card and / or guardian.
Wednesday, March 24, 2010
Happy 3rd Birthday Invitation Word
PRESS 6
Teachers are advised Directors and Teachers / os in rural and urban schools in April, will be held the first room teacher with binding.
April 8
room school teachers and inner city urban areas is done at each school. Teachers who work double charge should go to two places of work.
April 12 Chamber
teachers in all rural schools is done in Ela No. 1 8-13 hrs. Graciela Diaz Ospitaleche
Departmental Inspector
Monday, March 22, 2010
What Is The Difference With Turbo Hair
National Education Management Pública
CONSEJO DE EDUCACIÓN INICIAL Y PRIMARIA
Montevideo, 17 de febrero de 2010.
VISTO: la Resolución Nº 60 del Acta Nº 92 adoptada por el Consejo Directivo Central con fecha 17 de diciembre de 2009.
RESULTANDO: que por dicho acto administrativo, se autoriza que las salas docentes remuneradas en la órbita del Consejo de Educación Inicial y Primaria previstas para los meses de mayo, agosto y octubre, podrían fijarse optativamente en días de clase, en reuniones de 2 o 4 horas, fuera del horario escolar.
CONSIDERANDO: I) que por dicha resolución se faculta a este Consejo para convocar a salas docentes en jornadas lectivas, while compliance with 180 school days for children.
II) that this Council has done a study on the subject;
III) according to the same need for that since the purpose of teaching rooms, they should be compulsory.
ATENTO: to the above:
THE BOARD OF EDUCATION AND EARLY PRIMARY RESOLVED:
1 º. Provided that in each school to develop mandatory teaching rooms on weekdays, during the months of April, June and September.
2 º. Teaching rooms provide that May, August and October, optional, will be paid and will take place outside school hours, being able to choose days or Saturdays.
3 º. Set, therefore, completion of courses for children on 12.14.1910 and the completion of all administrative tasks in the classroom teachers on 17/12/1910. Dr. Sonia Gómez
Mag.Edith Moraes
President Secretary General
Template Of Communtiy Service
TEACHERS ROOM Press
No. 5 Depending on the provisions of Resolution No. 8, Act No. 7 of February 12, 2010, the Board of Education And Primary, the Technical Inspection reports:
1) The dates of the Boards Teachers mandatory, to be held on weekdays in April, June and September, may be set by each Inspection Department.
assists control of teachers, both for fixed rooms as mandatory for rooms with optional participation will be the responsibility of the Inspection Department. Graciela Diaz Ospitaleche
Departmental Inspector
Wednesday, March 17, 2010
Movie Theatre Kitchener
TEACHERS ROOM N ° 4
PLAN FORM AND EMAIL CEIBAL Because
to clarify some queries that return will not be sent to inspect, until it is requested by the CEIP or LATU, it is necessary to have it scanned and updated. LATU not accept data on paper forms.
Ceibal is requesting personal emails and the School for the purpose of contacting directly with the school, that way when they deem relevant information they seek should be available at the school.
remind the Directors who do not have email and have not yet created an account for your school should do so promptly, it is essential to have the two post at the request of the CEIP. He who does not have them, these two e-mail (personal mail of Maestro. DIRECTOR and mail for the school) may not grant the request of XO for your school, as the LATU do not send the user and password. The period set for sending e-mail address is Monday 22 March. The Technology Center offers its computer room with internet connection to open their email accounts. Thank
communicate as soon as possible post.
news releases, news, requests from the Department of Primary Education Inspectorate will be posted on the blog http://www.insdepay.blogspot.com/
Must place the address in the "address bar" when they come to the Internet.
PLAN FORM AND EMAIL CEIBAL Because
to clarify some queries that return will not be sent to inspect, until it is requested by the CEIP or LATU, it is necessary to have it scanned and updated. LATU not accept data on paper forms.
Ceibal is requesting personal emails and the School for the purpose of contacting directly with the school, that way when they deem relevant information they seek should be available at the school.
remind the Directors who do not have email and have not yet created an account for your school should do so promptly, it is essential to have the two post at the request of the CEIP. He who does not have them, these two e-mail (personal mail of Maestro. DIRECTOR and mail for the school) may not grant the request of XO for your school, as the LATU do not send the user and password. The period set for sending e-mail address is Monday 22 March. The Technology Center offers its computer room with internet connection to open their email accounts. Thank
communicate as soon as possible post.
news releases, news, requests from the Department of Primary Education Inspectorate will be posted on the blog http://www.insdepay.blogspot.com/
Must place the address in the "address bar" when they come to the Internet.
Wednesday, March 3, 2010
What Is The Order Of The Jemes On Poptriopica N
Scanner (Oracle sqlDeveloper) gwt
Hi
In this entry I would like to share the little that PL SQL, that from the hot day I learn, teach the use of Array or arrangements as temporary tables are created when executing the SQL PL.
------------------------------------
------------ DECLARE TYPE IS TABLE OF NUMBER array_enteros;
array_enteros Un_array := array_enteros (10102, 10127, 10122, 10104, 10105 ,10106, 10107 ,10108 , 10109 ,10114 ,10110, 10124 ,10125 ,10112 ,10113, 10116 , 10123 ,10115 , 10117 , 10118 ,10119 , 10121 ,10120 , 10128, 10129, 10130);
BEGIN
FOR i IN Un_array.FIRST..Un_array.LAST
LOOP
dbms_output.put_line('elemento '
To display the data in SQL Developer has to do the following: Select
PL SQL code in the editor.
to display data then do the following: In the tabs below are several options we're going out that says DBMS output, then activate the DBMS output as shown in the picture.
then run the SQL block and go back wing DBMS Output tab, and our data is already in the output.
Hi
In this entry I would like to share the little that PL SQL, that from the hot day I learn, teach the use of Array or arrangements as temporary tables are created when executing the SQL PL.
------------------------------------
------------ DECLARE TYPE IS TABLE OF NUMBER array_enteros;
array_enteros Un_array := array_enteros (10102, 10127, 10122, 10104, 10105 ,10106, 10107 ,10108 , 10109 ,10114 ,10110, 10124 ,10125 ,10112 ,10113, 10116 , 10123 ,10115 , 10117 , 10118 ,10119 , 10121 ,10120 , 10128, 10129, 10130);
BEGIN
FOR i IN Un_array.FIRST..Un_array.LAST
LOOP
dbms_output.put_line('elemento '
To display the data in SQL Developer has to do the following: Select
PL SQL code in the editor.
to display data then do the following: In the tabs below are several options we're going out that says DBMS output, then activate the DBMS output as shown in the picture.
Tuesday, March 2, 2010
Does Red Wine Cause Black Stool
Rcp, Part II (Grid GWT-Ext)
Part I.
(Recommended)
an example and understand the API release we will see the JSON format to receive our GWT-EXT grid.
{"totalCount": N, "data":
Paso 1. Create a converter class that is our object model or Json's with the help of gson (API) to create a package that called json in org.aplication.json and other org.aplication.datagrid
Create a Bean called DataGridUsuario within org . aplication.datagrid
-------------------------------------------- ----------
org.aplication.datagrid package;
import java.util.List;
org.aplication.client.modelo.Usuario import;
/ **
* * @ author
mew
* / public class
DataGridUsuario {private String
totalCount;
private List data;
public List getData () {
return data;}
public void setData (List
data) {
this.data = data;}
getTotalCount public String () {return totalCount;
} public void
setTotalCount (String totalCount) {
this.totalCount = totalCount;
}}
----------------------------------------- Create
------------ JsonUsuario class, we must add the library of gson the project.
------------------------------------------------ -----
org.aplication.json package;
com.google.gson.Gson
import, import
org.aplication.datagrid.DataGridUsuario;
org.aplication.server.servicio.GWTServiceUserImpl import;
/**
*
* @author mew
*/
public class JsonUsuario {
public String getJsonDataGridUsuarios(){
String jsonOutput ="";
if(GWTServiceUserImpl.usuarios!=null){
DataGridUsuario dataGridUsuario = new DataGridUsuario();
dataGridUsuario.setTotalCount(GWTServiceUserImpl.usuarios.size()+"");
dataGridUsuario.setData(GWTServiceUserImpl.usuarios);
Gson gson = new Gson();
jsonOutput = gson.toJson(dataGridUsuario);
}
return jsonOutput;
}
}
---------------------------------------------------------------
Step 2. Create a jsp that will serve as a kind of Web Service from nuetra application and the client (Grid).
by name will have: ----------------------------------------
dataJson.jsp ---------------------------
----------------
--------------------------------------------------
The project should be up here like this:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="org.aplication.json.JsonUsuario" %>
<% JsonUsuario jsonUsuario = new JsonUsuario(); out.clear(); out.print(jsonUsuario.getJsonDataGridUsuarios()); %>
Step 3. Test the application: a project run Den create a couple of users.
Example:
User 1:
User 2:
User N. .................
Json To check that the WebService is responding well and will prove it before calling the grid:
http://localhost:41846/WebGwtRcp/dataJson.jsp
------------ ------------------------------------------- {"totalCount": " 5 "," data ":[{" name ":" pruena "," name ":" dsfsf "," age ": 10," cve ": 1}, {" name ":" pruena "," name " "dsfsf", "age": 10, "cve": 2}, {"name": "pruena", "name": "dsfsf", "age": 10, "cve": 3}, {" name ":" Nancy "," name ":" Mondragon "," age ": 25," cve ": 4}, {" name ":" Pedro "," name ":" Perez "," age ": 12 "cve": 5}]} -------------------------------------------------
---------------------
Step 4.
Create the GUI for the grid and event management for data grid, as we can see maybe we do not want to show the user cve, you may only want the name, cve! = Password for this example is cve sequence but perhaps in an application form may be more in the pk of a table in the database.
Step 5. CREATION OF THE GRID OF GWT-EXT
Well we have to replace the code of these classes with the following code posteriromente explain how each class occupies the grid. org.aplication.client in this package replace MainEntryPoint class with the following code: -------------------------------------
---------------------------
org.aplication.client package; import com.google.gwt.core.client.EntryPoint ;
com.google.gwt.user.client.ui.Button import;
com.google.gwt.user.client.ui.RootPanel import, import
com.google.gwt.user.client.ui.Widget;
com.google.gwt.user.client.ui.ClickListener import, import
org.aplication.client.view.GuiUsuario;
com.gwtext.client.widgets.Window import, import
com.gwtext.client.data .* ;
com.gwtext.client.widgets.Panel import, import
com.gwtext.client.widgets.grid.ColumnConfig;
com.gwtext.client.widgets.grid.ColumnModel import;
import com.gwtext.client.widgets.grid.GridPanel;
/**
* Main entry point.
*
* @author isaac
*/
public class MainEntryPoint implements EntryPoint {
private Panel formPanel;
private static GridPanel grid;
private static Store store;
private static ColumnModel columnModel;
private static HttpProxy dataProxy;
private static RecordDef recordDef;
private static JsonReader reader;
/**
* Creates a new instance of MainEntryPoint
*/
public MainEntryPoint() {
}
/**
* The entry point method, called automatically by loading a module
* that declares an implementing class as an entry-point
*/
public void onModuleLoad() {
final Button button = new Button("New User");
button.addClickListener(new ClickListener() {
public void onClick(Widget w) {
GuiUsuario guiUsuario = new GuiUsuario();
Window winUsu = guiUsuario.getWindow();
winUsu.show();
}
});
RootPanel.get().add(getFormPanel());
RootPanel.get().add(button);
}
public Panel getFormPanel() {
formPanel = new Panel();
formPanel.setId("idGrid");
formPanel.setFrame(false);
formPanel.setBorder(false);
formPanel.setTitle("Usuario");
dataProxy = new HttpProxy("dataJson.jsp");
recordDef = new RecordDef(new FieldDef[]{
new StringFieldDef("nombre", "nombre"),
new StringFieldDef("apellido", "apellido"),
new StringFieldDef("edad", "edad"),
new IntegerFieldDef("cve", "cve")
});
reader = new JsonReader(recordDef);
reader.setRoot ("data");
reader.setTotalProperty ("totalCount");
store = new Store (dataProxy, reader, true);
store.load ();
ColumnModel
columnModel = new (new ColumnConfig [ ] {new ColumnConfig
("name", "name", 100, true), new
ColumnConfig ("name", "name", 75, true)
});
GridPanel
grid = new ();
grid . setStore (store);
grid.setColumnModel (columnModel)
grid.setWidth (375);
grid.setHeight (350);
grid.setTitle ("Json Grid");
grid.setFrame (True);
grid.stripeRows(true);
grid.setIconCls("grid-icon");
//grid.reconfigure(store, columnModel);
formPanel.add(grid);
return formPanel;
}
public static void reloadDatosGrid(){
reader = new JsonReader(recordDef);
reader.setRoot("data");
reader.setTotalProperty("totalCount");
store = new Store(dataProxy, reader, true);
store.load();
grid.reconfigure(store,columnModel);
}
}
----------------------------------------------------
En el paquete GuiUsuario class org.aplication.client.view stream replaces the following:
------------------------------
---------------------- / * * To change this
template, choose Tools com.gwtext.client.widgets.Window;
com.gwtext.client.widgets.event.ButtonListenerAdapter import, import
com.gwtext.client.widgets.form.FormPanel; com.gwtext.client.widgets.form import. TextField; org.aplication.client.MainEntryPoint import, import org.aplication.client.modelo.Usuario;
org.aplication.client.servicio.GWTServiceUser import, import
org.aplication.client.servicio.GWTServiceUserAsync;
/ **
* * @ author Isaac
* / public class
GuiUsuario {private User user;
private Window window;
formPanel private FormPanel;
private TextField name;
private TextField name;
private TextField age
GWTServiceUserAsync private static service;
public
FormPanel getFormPanel () {
FormPanel formPanel = new ();
formPanel.setFrame (true);
formPanel.setTitle ("User") name = new TextField
("Name", "name", 230);
name = new TextField ("Name", "name", 230);
age = new TextField ("age" and "age", 230);
formPanel.add (name);
formPanel.add (last)
formPanel.add (age);
formPanel
return;}
public getUsuario User () {
return user;}
GetWindow public Window () {
window = new Window ();
window.setTitle ("Layout Window");
window.setClosable (true);
window.setWidth (600);
window.setHeight (350);
window.setPlain (true);
window.setCloseAction (Window.HIDE)
window.add (getFormPanel ());
buttonNewUser
Button = new Button ("New User");
buttonNewUser.addListener (new ButtonListenerAdapter () {
@ Override public void onClick (Button button, EventObject e) {
User u = new User ();
u.setEdad (Integer.parseInt (edad.getText ()));
u.setNombre (nombre.getText ());
u.setApellido (apellido.getText ());
insertaUsuario (u);
}}
)
window.setButtonAlign (Position.CENTER)
window.addButton (buttonNewUser)
return window;
} public void
setUsuario ( User user) {
this.usuario = user;
} public void
insertaUsuario (User user) {
// Create an asynchronous callback to handle the result.
final AsyncCallback callback = new AsyncCallback() {
public void onSuccess(Object result) {
String respuesta = (String) result;
MessageBox.alert(respuesta);
MainEntryPoint.reloadDatosGrid();
}
public void onFailure(Throwable caught) {
MessageBox.alert("Error " + caught);
}
};
getService().nuevoUsuario(usuario, callback);
}
public static GWTServiceUserAsync getService () {
service = (GWTServiceUserAsync) GWT.create (GWTServiceUser.class) ServiceDefTarget
endpoint = (ServiceDefTarget) service;
moduleRelativeURL = GWT.getModuleBaseURL String () + "service / gwtserviceuser"
endpoint.setServiceEntryPoint ( moduleRelativeURL)
return service;
}} ---------------------------------
-----------------------------------
final step run the project. ---------------------------------------------
We can see that the first Once you call the class MainEntryPoint a request to our webservice (http://localhost:41846/WebGwtRcp/dataJson.jsp?_dc=1267849099045) and has a parameter that was concatenated by new HttpProxy (dataJson.jsp " ) is that whoever makes the request to our jsp, but as our list (List
public static users) GWTServiceUserImpl this class to null does not respond to anything.
When we click on new user appears in our private GUI that creates the users fill the fields to give the user click the button again, we note that appears a sign that says that the user has created the from behind can see that the grid already has the data inserted. How was it? Reply 1. With magic. Answer 2. The computer thinks.
Answer 3. I do not care who knows, during the operation. If you answered any of the above to finish here to display the data in the grid if not the week I will explain step by step how each component.
Dedicated to my little princess, please forgive me for being a monster, it was not my intention to hurt you, I love you.
Part I.
Hello, I promised for this entry the first thing you need to know is on a format for data exchange called JSON
, does not enter into details or discussions if it is better that the xml, maybe that is an entry for my blog, to understand how this data format and how to work with java and there is an API that lets you convert a java object to a JSON object and the link is as follows: http://blog.pontt.com/json -con-java/introduccion-java-y-json-primera-parte-con-ejemplo / an example and understand the API release we will see the JSON format to receive our GWT-EXT grid.
{"totalCount": N, "data":
[{"attribute1" = value1 {
,..},{},{},......, "atributoN" = valueN .. }]}
The collaboration diagram shows the Java classes necessary to fill a grid with data. This general format that receives a GWT-Ext grid to work, of course there are more features but that we will see later.
Once we have defined what we will remember how to do was set the project.
Paso 1. Create a converter class that is our object model or Json's with the help of gson (API) to create a package that called json in org.aplication.json and other org.aplication.datagrid
Create a Bean called DataGridUsuario within org . aplication.datagrid
-------------------------------------------- ----------
org.aplication.datagrid package;
import java.util.List;
/ **
* * @ author
mew
* / public class
DataGridUsuario {private String
totalCount;
private List data;
public List getData () {
return data;}
public void setData (List
data) {
this.data = data;}
getTotalCount public String () {return totalCount
} public void
setTotalCount (String totalCount) {
this.totalCount = totalCount;
}}
----------------------------------------- Create
------------ JsonUsuario class, we must add the library of gson the project.
------------------------------------------------ -----
org.aplication.json package;
com.google.gson.Gson
import, import
org.aplication.datagrid.DataGridUsuario;
org.aplication.server.servicio.GWTServiceUserImpl import;
/**
*
* @author mew
*/
public class JsonUsuario {
public String getJsonDataGridUsuarios(){
String jsonOutput ="";
if(GWTServiceUserImpl.usuarios!=null){
DataGridUsuario dataGridUsuario = new DataGridUsuario();
dataGridUsuario.setTotalCount(GWTServiceUserImpl.usuarios.size()+"");
dataGridUsuario.setData(GWTServiceUserImpl.usuarios);
Gson gson = new Gson();
jsonOutput = gson.toJson(dataGridUsuario);
}
return jsonOutput;
}
}
---------------------------------------------------------------
Step 2. Create a jsp that will serve as a kind of Web Service from nuetra application and the client (Grid).
by name will have: ----------------------------------------
dataJson.jsp ---------------------------
----------------
--------------------------------------------------
The project should be up here like this:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="org.aplication.json.JsonUsuario" %>
<% JsonUsuario jsonUsuario = new JsonUsuario(); out.clear(); out.print(jsonUsuario.getJsonDataGridUsuarios()); %>
User 1:
------------ ------------------------------------------- {"totalCount": " 5 "," data ":[{" name ":" pruena "," name ":" dsfsf "," age ": 10," cve ": 1}, {" name ":" pruena "," name " "dsfsf", "age": 10, "cve": 2}, {"name": "pruena", "name": "dsfsf", "age": 10, "cve": 3}, {" name ":" Nancy "," name ":" Mondragon "," age ": 25," cve ": 4}, {" name ":" Pedro "," name ":" Perez "," age ": 12 "cve": 5}]} -------------------------------------------------
Step 4.
Create the GUI for the grid and event management for data grid, as we can see maybe we do not want to show the user cve, you may only want the name, cve! = Password for this example is cve sequence but perhaps in an application form may be more in the pk of a table in the database.
Step 5. CREATION OF THE GRID OF GWT-EXT
---------------------------
org.aplication.client package; import com.google.gwt.core.client.EntryPoint ;
com.google.gwt.user.client.ui.Button import;
com.google.gwt.user.client.ui.RootPanel import, import
com.google.gwt.user.client.ui.Widget;
com.google.gwt.user.client.ui.ClickListener import, import
org.aplication.client.view.GuiUsuario;
com.gwtext.client.widgets.Window import, import
com.gwtext.client.data .* ;
com.gwtext.client.widgets.Panel import, import
com.gwtext.client.widgets.grid.ColumnConfig;
com.gwtext.client.widgets.grid.ColumnModel import;
import com.gwtext.client.widgets.grid.GridPanel;
/**
* Main entry point.
*
* @author isaac
*/
public class MainEntryPoint implements EntryPoint {
private Panel formPanel;
private static GridPanel grid;
private static Store store;
private static ColumnModel columnModel;
private static HttpProxy dataProxy;
private static RecordDef recordDef;
private static JsonReader reader;
/**
* Creates a new instance of MainEntryPoint
*/
public MainEntryPoint() {
}
/**
* The entry point method, called automatically by loading a module
* that declares an implementing class as an entry-point
*/
public void onModuleLoad() {
final Button button = new Button("New User");
button.addClickListener(new ClickListener() {
public void onClick(Widget w) {
GuiUsuario guiUsuario = new GuiUsuario();
Window winUsu = guiUsuario.getWindow();
winUsu.show();
}
});
RootPanel.get().add(getFormPanel());
RootPanel.get().add(button);
}
public Panel getFormPanel() {
formPanel = new Panel();
formPanel.setId("idGrid");
formPanel.setFrame(false);
formPanel.setBorder(false);
formPanel.setTitle("Usuario");
dataProxy = new HttpProxy("dataJson.jsp");
recordDef = new RecordDef(new FieldDef[]{
new StringFieldDef("nombre", "nombre"),
new StringFieldDef("apellido", "apellido"),
new StringFieldDef("edad", "edad"),
new IntegerFieldDef("cve", "cve")
});
reader = new JsonReader(recordDef);
reader.setRoot ("data");
reader.setTotalProperty ("totalCount");
store = new Store (dataProxy, reader, true);
store.load ();
ColumnModel
columnModel = new (new ColumnConfig [ ] {new ColumnConfig
("name", "name", 100, true), new
ColumnConfig ("name", "name", 75, true)
});
GridPanel
grid = new ();
grid . setStore (store);
grid.setColumnModel (columnModel)
grid.setWidth (375);
grid.setHeight (350);
grid.setTitle ("Json Grid");
grid.setFrame (True);
grid.stripeRows(true);
grid.setIconCls("grid-icon");
//grid.reconfigure(store, columnModel);
formPanel.add(grid);
return formPanel;
}
public static void reloadDatosGrid(){
reader = new JsonReader(recordDef);
reader.setRoot("data");
reader.setTotalProperty("totalCount");
store = new Store(dataProxy, reader, true);
store.load();
grid.reconfigure(store,columnModel);
}
}
----------------------------------------------------
En el paquete GuiUsuario class org.aplication.client.view stream replaces the following:
------------------------------
---------------------- / * * To change this
template, choose Tools com.gwtext.client.widgets.Window;
com.gwtext.client.widgets.event.ButtonListenerAdapter import, import
com.gwtext.client.widgets.form.FormPanel;
org.aplication.client.servicio.GWTServiceUser import, import
org.aplication.client.servicio.GWTServiceUserAsync;
/ **
* * @ author Isaac
* / public class
GuiUsuario {private User user;
private Window window;
formPanel private FormPanel;
private TextField name;
private TextField name;
private TextField age
GWTServiceUserAsync private static service;
public
FormPanel getFormPanel () {
FormPanel formPanel = new ();
formPanel.setFrame (true);
formPanel.setTitle ("User") name = new TextField
("Name", "name", 230);
name = new TextField ("Name", "name", 230);
age = new TextField ("age" and "age", 230);
formPanel.add (name);
formPanel.add (last)
formPanel.add (age);
formPanel
return;}
public getUsuario User () {
return user;}
GetWindow public Window () {
window = new Window ();
window.setTitle ("Layout Window");
window.setClosable (true);
window.setWidth (600);
window.setHeight (350);
window.setPlain (true);
window.setCloseAction (Window.HIDE)
window.add (getFormPanel ());
buttonNewUser
Button = new Button ("New User");
buttonNewUser.addListener (new ButtonListenerAdapter () {
@ Override public void onClick (Button button, EventObject e) {
User u = new User ();
u.setEdad (Integer.parseInt (edad.getText ()));
u.setNombre (nombre.getText ());
u.setApellido (apellido.getText ());
insertaUsuario (u);
}}
)
window.setButtonAlign (Position.CENTER)
window.addButton (buttonNewUser)
return window;
} public void
setUsuario ( User user) {
this.usuario = user;
} public void
insertaUsuario (User user) {
// Create an asynchronous callback to handle the result.
final AsyncCallback callback = new AsyncCallback() {
public void onSuccess(Object result) {
String respuesta = (String) result;
MessageBox.alert(respuesta);
MainEntryPoint.reloadDatosGrid();
}
public void onFailure(Throwable caught) {
MessageBox.alert("Error " + caught);
}
};
getService().nuevoUsuario(usuario, callback);
}
public static GWTServiceUserAsync getService () {
service = (GWTServiceUserAsync) GWT.create (GWTServiceUser.class) ServiceDefTarget
endpoint = (ServiceDefTarget) service;
moduleRelativeURL = GWT.getModuleBaseURL String () + "service / gwtserviceuser"
endpoint.setServiceEntryPoint ( moduleRelativeURL)
return service;
}} ---------------------------------
-----------------------------------
final step run the project. ---------------------------------------------
We can see that the first Once you call the class MainEntryPoint a request to our webservice (http://localhost:41846/WebGwtRcp/dataJson.jsp?_dc=1267849099045) and has a parameter that was concatenated by new HttpProxy (dataJson.jsp " ) is that whoever makes the request to our jsp, but as our list (List
public static users) GWTServiceUserImpl this class to null does not respond to anything.
When we click on new user appears in our private GUI that creates the users fill the fields to give the user click the button again, we note that appears a sign that says that the user has created the from behind can see that the grid already has the data inserted.
Dedicated to my little princess, please forgive me for being a monster, it was not my intention to hurt you, I love you.
Subscribe to:
Comments (Atom)