|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
Easy and noob questionIn http://www.lordzealon.com/mc package, InciGest
... I want thath, the Main view, InciGestApp, shows links to Empresas, Clientes, and so on. Only a menu. Every menu link, shows all Clientes, Empresas etc.. and you will can add entry, and so on. But, I don't know how to do this simple thing :o Some advice to clear my mind a little? _______________________________________________ Aida mailing list Aida@... http://lists.aidaweb.si/mailman/listinfo/aida |
|
|
Re: Easy and noob questionI expand a little. In tutorial, directly show the address created, with the menu for addentry (the tutorial only works with 1 main object), but I need to link to differents objects. Uhmm..I hope I explained a little more..... El 04/06/2008, a las 21:46, Giuseppe Luigi Punzi Ruiz escribió: > In http://www.lordzealon.com/mc package, InciGest > > ... I want thath, the Main view, InciGestApp, shows links to Empresas, > Clientes, and so on. Only a menu. > > Every menu link, shows all Clientes, Empresas etc.. and you will can > add entry, and so on. > > But, I don't know how to do this simple thing :o > > Some advice to clear my mind a little? > _______________________________________________ > Aida mailing list > Aida@... > http://lists.aidaweb.si/mailman/listinfo/aida _______________________________________________ Aida mailing list Aida@... http://lists.aidaweb.si/mailman/listinfo/aida |
|
|
Re: Easy and noob questionGiuseppe,
I think I can probably help you out; I have learned a lot about linking to other objects directly as well as multiple views of the same object or even just other links (although that hasn't been useful to me since I am writing an internal application so far). First of all, is the InciGest-glp.3.mcz package what you are working on? Are you referring to difficulty with setting up your links in the below code? viewMain | e | e := WebElement new. e addTextH1: 'InciGest'. e addLinkTo: self text: 'Empresas ' view: #main. e addLinkTo: self text: 'Clientes ' view: #main. e addLinkTo: self text: 'Partes ' view: #main. e addLinkTo: self text: 'Tecnicos ' view: #main. "Muestralo en marco" "self pageFrameWith: e title: 'Software Gestión Incidencias'". e title: 'Software Gestión Incidencias'. self add:e If so, take empresas, in this case, from what it looks like you want to do (since you are maintaining an OrderedCollection of IGEmpresa objects) you could do: e addLinkTo: self observee view #empresa. Then in the IncigestApp you could write a new view: IncigestApp>>#viewEmpresa |e| e := WebElement new. e add: self empresaGridElement "show a list of empresa objects with links to each object" . . . e title: 'Software Gestión Incidencias'. self add:e The key everywhere is self observee and the idea that an application is bound to an object. Other than some object leak issues I am having with objects bound to grids while adding and removing new objects within the application, I should be able to help you get started if you can tell me what you are trying to do! However...I am a typical American who flushed 4 years of high school Spanish and 2 years of college German from my memory, so please excuse my ignorance. I am truly amazed by all of you out there communicating in other languages. Rob On Wed, Jun 4, 2008 at 3:49 PM, Giuseppe Luigi Punzi Ruiz <glpunzi@...> wrote:
_______________________________________________ Aida mailing list Aida@... http://lists.aidaweb.si/mailman/listinfo/aida |
|
|
|
|
|
Re: Easy and noob questionGiuseppe,
This is a good explanation of what you are doing, minus all the details of course! So...what do you want to work on first?! Rob On Wed, Jun 4, 2008 at 5:35 PM, Giuseppe Luigi Punzi Ruiz <glpunzi@...> wrote: Is simply _______________________________________________ Aida mailing list Aida@... http://lists.aidaweb.si/mailman/listinfo/aida |
|
|
Re: Easy and noob questionI will work in what you told me, and try do some util... El 04/06/2008, a las 23:46, Rob Rothwell escribió: Giuseppe, _______________________________________________ Aida mailing list Aida@... http://lists.aidaweb.si/mailman/listinfo/aida |
|
|
Re: Easy and noob questionOn Wed, Jun 4, 2008 at 5:52 PM, Giuseppe Luigi Punzi Ruiz <glpunzi@...> wrote:
Don't hesitate to ask for help; it sounds like we are not too far from each other understanding-wise. I am not that good of a Smalltalker, in my opinion, but I seem to be picking up speed. And the BASICS of Aida are starting to be much easier for me, but they took some effort. I can point you in the right direction on WebTabs, ViewTabs, basic styling (though I don't know CSS), linking objects, tables, grids, and data entry elements (including all the aspect stuff)...as well as the various naming conventions. Take care! From what I have learned so far, your project sounds very doable minus the few stumbling blocks that are sure to arise! I am constantly amazed at how fast I can move compared to trying to do this in any other language. Rob _______________________________________________ Aida mailing list Aida@... http://lists.aidaweb.si/mailman/listinfo/aida |
|
|
Re: Easy and noob questionHi Giuseppe,
You are doing very interesting project! And you can expect my help too. First I would make a domain model working well, with SUnit tests to check that it works as expected. When doing parent-client relationships, be sure to add back link from child to parent too. This help a lot later in Aida to make good navigation support in your app. For instance it seems that your main object hierarchy (in English) will be: IncidentTracker Company (Customer?) WorkSheet Incident and also: Company Bill So for instance, Company has instvar #bills which has a collection of Bills. In Bill you add instvar #parent and set it accordingly when you add new bill to the company, something like that: Company>>addBill: aBill self bills add: aBill. aBill parent: self. Hope this helps for start Janko Giuseppe Luigi Punzi Ruiz wrote: > Is simply > > In my company, we will buy Blackberry devices (devices with 24h > internet access). > > This Webapp is for when a technician (Tecnico) goes to a customer > (Cliente) to solve some incidence. The Technician, open an incidence > on the web to track all the problems a customer (Client) has, and > using it as Help Desk too. All of this is a Work Sheet (Parte de > trabajo). When the task is finiched, then a mail will send to mail > customer. > > Companies (Empresas) is only a part I created to offer this to > customers too. Every Company (Empresa), will be "We" and customers who > wants to use the app for his incidences too. > > Bills (Facturas) is to track the bills we do to our customers, and > concept (Conceptos) is to save possible concepts for Work Sheets (Work > Hour, material, etc..) > > IGObjeto is only the main Object where all apps objects inherit. > > We are Toshiba retail, and sell Toshiba terminals with touch > screens(1). In a near future, I will develop a POS (sqPOS in my MC > repository). > > I hope I explained well :D > > (1) http://www.toshibatec-eu.co.uk/UK/uk/products/pos/overview_pos/_products/st-a10/ > > > El 04/06/2008, a las 23:14, Rob Rothwell escribió: > >> --===============1484104759== >> Content-Type: multipart/alternative; >> boundary="----=_Part_142_4401287.1212614098307" >> >> ------=_Part_142_4401287.1212614098307 >> Content-Type: text/plain; charset=ISO-8859-1 >> Content-Transfer-Encoding: quoted-printable >> Content-Disposition: inline >> >> Giuseppe, >> >> I think I can probably help you out; I have learned a lot about >> linking to >> other objects directly as well as multiple views of the same object >> or even >> just other links (although that hasn't been useful to me since I am >> writing >> an internal application so far). >> >> First of all, is the InciGest-glp.3.mcz package what you are working >> on? >> Are you referring to difficulty with setting up your links in the >> below >> code? >> >> viewMain >> | e | >> e :=3D WebElement new. >> e addTextH1: 'InciGest'. >> e addLinkTo: self text: 'Empresas ' view: #main. >> e addLinkTo: self text: 'Clientes ' view: #main. >> e addLinkTo: self text: 'Partes ' view: #main. >> e addLinkTo: self text: 'Tecnicos ' view: #main. >> "Muestralo en marco" >> "self pageFrameWith: e title: 'Software Gesti=F3n Incidencias'". >> e title: 'Software Gesti=F3n Incidencias'. >> self add:e >> >> If so, take empresas, in this case, from what it looks like you want >> to do >> (since you are maintaining an OrderedCollection of IGEmpresa >> objects) you >> could do: >> >> e addLinkTo: self observee view #empresa. >> >> Then in the IncigestApp you could write a new view: >> >> IncigestApp>>#viewEmpresa >> >> |e| >> e :=3D WebElement new. >> e add: self empresaGridElement "show a list of empresa objects with >> links t= >> o >> each object" >> . >> . >> . >> e title: 'Software Gesti=F3n Incidencias'. >> self add:e >> >> The key everywhere is self observee and the idea that an application >> is >> bound to an object. >> >> Other than some object leak issues I am having with objects bound to >> grids >> while adding and removing new objects within the application, I >> should be >> able to help you get started if you can tell me what you are trying >> to do! >> >> However...I am a typical American who flushed 4 years of high school >> Spanis= >> h >> and 2 years of college German from my memory, so please excuse my >> ignorance. I am truly amazed by all of you out there communicating >> in othe= >> r >> languages. >> >> Rob >> >> >> On Wed, Jun 4, 2008 at 3:49 PM, Giuseppe Luigi Punzi Ruiz < >> glpunzi@...> wrote: >> >>> I expand a little. >>> >>> In tutorial, directly show the address created, with the menu for >>> addentry (the tutorial only works with 1 main object), but I need to >>> link to differents objects. Uhmm..I hope I explained a little >>> more..... >>> >>> El 04/06/2008, a las 21:46, Giuseppe Luigi Punzi Ruiz escribi=F3: >>> >>>> In http://www.lordzealon.com/mc package, InciGest >>>> >>>> ... I want thath, the Main view, InciGestApp, shows links to >>>> Empresas, >>>> Clientes, and so on. Only a menu. >>>> >>>> Every menu link, shows all Clientes, Empresas etc.. and you will can >>>> add entry, and so on. >>>> >>>> But, I don't know how to do this simple thing :o >>>> >>>> Some advice to clear my mind a little? >>>> _______________________________________________ >>>> Aida mailing list >>>> Aida@... >>>> http://lists.aidaweb.si/mailman/listinfo/aida >>> _______________________________________________ >>> Aida mailing list >>> Aida@... >>> http://lists.aidaweb.si/mailman/listinfo/aida >>> >> ------=_Part_142_4401287.1212614098307 >> Content-Type: text/html; charset=ISO-8859-1 >> Content-Transfer-Encoding: quoted-printable >> Content-Disposition: inline >> >> Giuseppe,<br><br>I think I can probably help you out; I have learned >> a lot = >> about linking to other objects directly as well as multiple views of >> the sa= >> me object or even just other links (although that hasn't been >> useful to= >> me since I am writing an internal application so far).<br> >> <br>First of all, is the InciGest-glp.3.mcz package what you are >> working on= >> ? Are you referring to difficulty with setting up your links >> in the b= >> elow code?<br><br>viewMain<br> | e | >> <br>  = >> ; e :=3D WebElement new.<br> e addTextH1: >> 'InciGest= >> 39;.<br> >> e addLinkTo: self text: 'Empresas ' >> view: = >> #main.<br> e addLinkTo: self text: 'Clientes >> '&nb= >> sp; view: #main.<br> e addLinkTo: self text: >> 'Partes = >> ' view: #main.<br> e addLinkTo: self >> text: '= >> ;Tecnicos ' view: #main.<br> >> "Muestralo en >> marco"<br> &nbs= >> p; "self pageFrameWith: e title: 'Software Gesti=F3n >> Incidencias= >> 39;".<br> e title: 'Software Gesti=F3n >> Incidenci= >> as'.<br> self add:e<br> >> <br>If so, take empresas, in this case, from what it looks like you >> want to= >> do (since you are maintaining an OrderedCollection of IGEmpresa >> objects) y= >> ou could do:<br><br>e addLinkTo: self observee view >> #empresa.<br><br>Then i= >> n the IncigestApp you could write a new view:<br> >> <br>IncigestApp>>#viewEmpresa<br><br>|e|<br>e :=3D WebElement >> new.<br= >>> e add: self empresaGridElement "show a list of empresa objects >>> with l= >> inks to each object"<br>.<br>.<br>.<br>e title: 'Software >> Gesti=F3= >> n Incidencias'.<br> >> self add:e<br><br>The key everywhere is self observee and the idea >> that an = >> application is bound to an object.<br><br>Other than some object >> leak issue= >> s I am having with objects bound to grids while adding and removing >> new obj= >> ects within the application, I should be able to help you get >> started if yo= >> u can tell me what you are trying to do!<br> >> <br>However...I am a typical American who flushed 4 years of high >> school Sp= >> anish and 2 years of college German from my memory, so please excuse >> my ign= >> orance. I am truly amazed by all of you out there >> communicating in ot= >> her languages.<br> >> <br>Rob<br><br><br><div class=3D"gmail_quote">On Wed, Jun 4, 2008 at >> 3:49 P= >> M, Giuseppe Luigi Punzi Ruiz <<a href=3D"mailto:glpunzi@... >> " = >> target=3D"_blank">glpunzi@...</a>> >> wrote:<br><blockquote clas= >> s=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, >> 204); margi= >> n: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> >> >> <br> >> I expand a little.<br> >> <br> >> In tutorial, directly show the address created, with the menu for<br> >> addentry (the tutorial only works with 1 main object), but I need >> to<br> >> link to differents objects. Uhmm..I hope I explained a little >> more.....<br> >> <br> >> El 04/06/2008, a las 21:46, Giuseppe Luigi Punzi Ruiz escribi=F3:<br> >> <div><div></div><div><br> >> > In <a href=3D"http://www.lordzealon.com/mc" >> target=3D"_blank">http://w= >> ww.lordzealon.com/mc</a> package, InciGest<br> >> ><br> >> > ... I want thath, the Main view, InciGestApp, shows links to >> Empresas,= >> <br> >> > Clientes, and so on. Only a menu.<br> >> ><br> >> > Every menu link, shows all Clientes, Empresas etc.. and you >> will can<b= >> r> >> > add entry, and so on.<br> >> ><br> >> > But, I don't know how to do this simple thing :o<br> >> ><br> >> > Some advice to clear my mind a little?<br> >> > _______________________________________________<br> >> > Aida mailing list<br> >> > <a href=3D"mailto:Aida@..." target=3D"_blank">Aida@... >> </= >> a><br> >> > <a href=3D"http://lists.aidaweb.si/mailman/listinfo/aida" >> target=3D"_b= >> lank">http://lists.aidaweb.si/mailman/listinfo/aida</a><br> >> <br> >> _______________________________________________<br> >> Aida mailing list<br> >> <a href=3D"mailto:Aida@..." >> target=3D"_blank">Aida@...</a><br= >> <a href=3D"http://lists.aidaweb.si/mailman/listinfo/aida" >> target=3D"_blank"= >>> http://lists.aidaweb.si/mailman/listinfo/aida</a><br> >> </div></div></blockquote></div><br> >> >> ------=_Part_142_4401287.1212614098307-- >> >> --===============1484104759== >> Content-Type: text/plain; charset="us-ascii" >> MIME-Version: 1.0 >> Content-Transfer-Encoding: 7bit >> Content-Disposition: inline >> >> _______________________________________________ >> Aida mailing list >> Aida@... >> http://lists.aidaweb.si/mailman/listinfo/aida >> >> --===============1484104759==-- > > _______________________________________________ > Aida mailing list > Aida@... > http://lists.aidaweb.si/mailman/listinfo/aida > -- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si _______________________________________________ Aida mailing list Aida@... http://lists.aidaweb.si/mailman/listinfo/aida |
|
|
Re: Easy and noob questionHi Janko, list...
Janko Mivšek escribió: > Hi Giuseppe, > > You are doing very interesting project! And you can expect my help too. > Thanks :P > First I would make a domain model working well, with SUnit tests to > check that it works as expected. When doing parent-client relationships, > be sure to add back link from child to parent too. This help a lot later > in Aida to make good navigation support in your app. > I know, but, I'm very impatient :P and I need to show something quickly. > For instance it seems that your main object hierarchy (in English) will be: > > IncidentTracker > Company (Customer?) > WorkSheet > Incident > Yep, in english.... InciGest (manager of the app) Company (the company thath uses the app, you can hide this...at the moment, We are the only who will use the app, But I want to stay ready :D) Technician (every technician on the company) Customer (Companies customers...Cliente is translated to Customer by google :S ) WorkSheet (every worksheet for this customer) Concept (I don't know if this word is in use on this form on english. A concept is the line thath describes the work, the material, and so on..) And..... Customer Bills (Register bills for this customer) I added Bills, in a probably future, to manage the bills for the customers, but at the moment, is not necessary. If you explain me a little how can I do this app multilanguaje (with .po files? or how?), I will change all to english, and all thath need it can use it and translate it of course. > and also: > > Company > Bill > > So for instance, Company has instvar #bills which has a collection of > Bills. In Bill you add instvar #parent and set it accordingly when you > add new bill to the company, something like that: > > Company>>addBill: aBill > > self bills add: aBill. > aBill parent: self. > > > Hope this helps for start > Janko > > > Giuseppe Luigi Punzi Ruiz wrote: > >> Is simply >> >> In my company, we will buy Blackberry devices (devices with 24h >> internet access). >> >> This Webapp is for when a technician (Tecnico) goes to a customer >> (Cliente) to solve some incidence. The Technician, open an incidence >> on the web to track all the problems a customer (Client) has, and >> using it as Help Desk too. All of this is a Work Sheet (Parte de >> trabajo). When the task is finiched, then a mail will send to mail >> customer. >> >> Companies (Empresas) is only a part I created to offer this to >> customers too. Every Company (Empresa), will be "We" and customers who >> wants to use the app for his incidences too. >> >> Bills (Facturas) is to track the bills we do to our customers, and >> concept (Conceptos) is to save possible concepts for Work Sheets (Work >> Hour, material, etc..) >> >> IGObjeto is only the main Object where all apps objects inherit. >> >> We are Toshiba retail, and sell Toshiba terminals with touch >> screens(1). In a near future, I will develop a |