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 [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
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ó: > 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 > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
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 := 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 <[hidden email]> wrote:
_______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
In reply to this post by Giuseppe
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 < > [hidden email]> 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 >>> [hidden email] >>> http://lists.aidaweb.si/mailman/listinfo/aida >> >> _______________________________________________ >> Aida mailing list >> [hidden email] >> 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:[hidden email] > " = > target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] > </= > 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:[hidden email]" > target=3D"_blank">[hidden email]</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 > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida > > --===============1484104759==-- _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Giuseppe,
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 <[hidden email]> wrote: Is simply _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
I 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 [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
On Wed, Jun 4, 2008 at 5:52 PM, Giuseppe Luigi Punzi Ruiz <[hidden email]> 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 [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
In reply to this post by Giuseppe
Hi 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 < >> [hidden email]> 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 >>>> [hidden email] >>>> http://lists.aidaweb.si/mailman/listinfo/aida >>> _______________________________________________ >>> Aida mailing list >>> [hidden email] >>> 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:[hidden email] >> " = >> target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] >> </= >> 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:[hidden email]" >> target=3D"_blank">[hidden email]</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 >> [hidden email] >> http://lists.aidaweb.si/mailman/listinfo/aida >> >> --===============1484104759==-- > > _______________________________________________ > Aida mailing list > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida > -- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Hi 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 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 < >>> [hidden email]> 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 >>>>> [hidden email] >>>>> http://lists.aidaweb.si/mailman/listinfo/aida >>>>> >>>> _______________________________________________ >>>> Aida mailing list >>>> [hidden email] >>>> 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:[hidden email] >>> " = >>> target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] >>> </= >>> 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:[hidden email]" >>> target=3D"_blank">[hidden email]</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 >>> [hidden email] >>> http://lists.aidaweb.si/mailman/listinfo/aida >>> >>> --===============1484104759==-- >>> >> _______________________________________________ >> Aida mailing list >> [hidden email] >> http://lists.aidaweb.si/mailman/listinfo/aida >> >> > > _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Le jeudi 05 juin 2008 à 16:25 +0200, Giuseppe Luigi Punzi a écrit : > Hi 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. have to use Smalltalk tools. The good news is that we think about it, and a very good and efficient localization support could come quite soon. Cheers! Nico -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma clé PGP est disponible ici : http://nico.bioskop.fr/pgp-key.html _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida signature.asc (204 bytes) Download Attachment |
In reply to this post by Giuseppe
I know how to show without the sidebar, (self add: e), but, I get a
vertical gray bar. How to remove this? Giuseppe Luigi Punzi escribió: > Hi 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 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 < >>>> [hidden email]> 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 >>>>>> [hidden email] >>>>>> http://lists.aidaweb.si/mailman/listinfo/aida >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Aida mailing list >>>>> [hidden email] >>>>> 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:[hidden email] >>>> " = >>>> target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] >>>> </= >>>> 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:[hidden email]" >>>> target=3D"_blank">[hidden email]</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 >>>> [hidden email] >>>> http://lists.aidaweb.si/mailman/listinfo/aida >>>> >>>> --===============1484104759==-- >>>> >>>> >>> _______________________________________________ >>> Aida mailing list >>> [hidden email] >>> http://lists.aidaweb.si/mailman/listinfo/aida >>> >>> >>> >> >> > > _______________________________________________ > Aida mailing list > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida > _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Le jeudi 05 juin 2008 à 17:03 +0200, Giuseppe Luigi Punzi a écrit : > I know how to show without the sidebar, (self add: e), but, I get a > vertical gray bar. > > How to remove this? This is because of the css. You can override #css1Body in your style class. Cheers! Nico -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma clé PGP est disponible ici : http://nico.bioskop.fr/pgp-key.html _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida signature.asc (204 bytes) Download Attachment |
In reply to this post by Janko Mivšek
I updated some things in my MC repository, but...
I'm now in the problem I didn't how to explain before. How to add now a new company? How to call the viewAdd of other object? or addCompany method, must be on InciGest side, instead IGEmpresa? I misunderstood something? Janko Mivšek escribió: > Hi 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 < >>> [hidden email]> 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 >>>>> [hidden email] >>>>> http://lists.aidaweb.si/mailman/listinfo/aida >>>>> >>>> _______________________________________________ >>>> Aida mailing list >>>> [hidden email] >>>> 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:[hidden email] >>> " = >>> target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] >>> </= >>> 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:[hidden email]" >>> target=3D"_blank">[hidden email]</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 >>> [hidden email] >>> http://lists.aidaweb.si/mailman/listinfo/aida >>> >>> --===============1484104759==-- >>> >> _______________________________________________ >> Aida mailing list >> [hidden email] >> http://lists.aidaweb.si/mailman/listinfo/aida >> >> > > _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
In reply to this post by Giuseppe
Giuseppe Luigi Punzi wrote:
>> 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. Ok, I would suggest two things: 1. Can you put your image on-line so that it Aida app will be accessible to us too? Do you have a static IP on your computer? Or on your DSL router? If you have, we can setup a whole thing public and we could then much easier help you. 2. Let we start with something and you'll see, the pattern for this first case will be usable for all others. So, what do yo propose, having InciGest as root and let we start with list of customers for start. So, showing that list, showing each customer, and adding new customer. This pattern is very common in Aida and as I said, when you master it, you know almost everything :) Janko -- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
In reply to this post by Giuseppe
Le jeudi 05 juin 2008 à 17:23 +0200, Giuseppe Luigi Punzi a écrit : > I updated some things in my MC repository, but... > > I'm now in the problem I didn't how to explain before. > > How to add now a new company? How to call the viewAdd of other object? > or addCompany method, must be on InciGest side, instead IGEmpresa? Yes, it is a simple solution. in #viewImpresas : e addLinkTo: self observee text: 'Nueva Empresa' view: #add. and then add a #viewAdd method, which instanciates a new empresa. The #viewAdd method can also redirect to a view for the new empresa: IncigestApp>>viewAdd self redirectTo: (IGEmpresa new parent: self observee) view: #add Nico > > I misunderstood something? > > Janko Mivšek escribió: > > Hi 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 < > >>> [hidden email]> 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 > >>>>> [hidden email] > >>>>> http://lists.aidaweb.si/mailman/listinfo/aida > >>>>> > >>>> _______________________________________________ > >>>> Aida mailing list > >>>> [hidden email] > >>>> 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:[hidden email] > >>> " = > >>> target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] > >>> </= > >>> 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:[hidden email]" > >>> target=3D"_blank">[hidden email]</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 > >>> [hidden email] > >>> http://lists.aidaweb.si/mailman/listinfo/aida > >>> > >>> --===============1484104759==-- > >>> > >> _______________________________________________ > >> Aida mailing list > >> [hidden email] > >> http://lists.aidaweb.si/mailman/listinfo/aida > >> > >> > > > > > > _______________________________________________ > Aida mailing list > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida signature.asc (204 bytes) Download Attachment |
Now I'm more confused, and I think I broke something lol.
InciGest in its viewMain, calls Empresas link to show, #viewEmpresas thath lists all companies. If you click a company, then each company (an instance of IGEmpresa), calls the #viewMain when a company is clicked. (I'm using the tutorial as base). All right until here. The lists of companies (#viewEmpresas method), is under InciGest object, and I don't know where to call the viewAdd method. Under your instructions, now, the "New Company" link do this: e addLinkTo: self observee text: 'Nueva Empresa' view: #empresaAdd. The #viewEmpresaAdd do: viewEmpresaAdd self redirectTo: (IGEmpresa new parent: self observee) view: #add and on Class side of IGEmpresa I created #viewAdd with the form. But I get a DNU IGEmpresa >> parent: If I put #viewAdd on class side of IGEmpresaApp, then I got a DNU: UndefinedObject>>lastRequest I commited again for testing purposses. InciGest-glp.6 on http://www.lordzealon.com/mc I'm preparing my car to go to the psychiatric :D I'm sure is so easy, but I can't clear my mind. Nicolas Petton escribió: > Le jeudi 05 juin 2008 à 17:23 +0200, Giuseppe Luigi Punzi a écrit : > >> I updated some things in my MC repository, but... >> >> I'm now in the problem I didn't how to explain before. >> >> How to add now a new company? How to call the viewAdd of other object? >> or addCompany method, must be on InciGest side, instead IGEmpresa? >> > > Yes, it is a simple solution. > > in #viewImpresas : > > e addLinkTo: self observee text: 'Nueva Empresa' view: #add. > and then add a #viewAdd method, which instanciates a new empresa. > > The #viewAdd method can also redirect to a view for the new empresa: > > IncigestApp>>viewAdd > self redirectTo: (IGEmpresa new parent: self observee) view: #add > > Nico > >> I misunderstood something? >> >> Janko Mivšek escribió: >> >>> Hi 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 < >>>>> [hidden email]> 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 >>>>>>> [hidden email] >>>>>>> http://lists.aidaweb.si/mailman/listinfo/aida >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> Aida mailing list >>>>>> [hidden email] >>>>>> 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:[hidden email] >>>>> " = >>>>> target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] >>>>> </= >>>>> 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:[hidden email]" >>>>> target=3D"_blank">[hidden email]</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 >>>>> [hidden email] >>>>> http://lists.aidaweb.si/mailman/listinfo/aida >>>>> >>>>> --===============1484104759==-- >>>>> >>>>> >>>> _______________________________________________ >>>> Aida mailing list >>>> [hidden email] >>>> http://lists.aidaweb.si/mailman/listinfo/aida >>>> >>>> >>>> >>> >>> >> _______________________________________________ >> Aida mailing list >> [hidden email] >> http://lists.aidaweb.si/mailman/listinfo/aida >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Aida mailing list >> [hidden email] >> http://lists.aidaweb.si/mailman/listinfo/aida >> _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Le jeudi 05 juin 2008 à 18:12 +0200, Giuseppe Luigi Punzi a écrit : > Now I'm more confused, and I think I broke something lol. > > InciGest in its viewMain, calls Empresas link to show, #viewEmpresas > thath lists all companies. If you click a company, then each company (an > instance of IGEmpresa), calls the #viewMain when a company is clicked. > (I'm using the tutorial as base). > > All right until here. > > The lists of companies (#viewEmpresas method), is under InciGest object, > and I don't know where to call the viewAdd method. > > Under your instructions, now, the "New Company" link do this: > e addLinkTo: self observee text: 'Nueva Empresa' view: #empresaAdd. > > The #viewEmpresaAdd do: > viewEmpresaAdd > self redirectTo: (IGEmpresa new parent: self observee) view: #add > > and on Class side of IGEmpresa I created #viewAdd with the form. > > But I get a DNU IGEmpresa >> parent: code. If IGEmpresa doesn't have a #parent: method, then it will be self redirectTo: (IGEmpresa new) view: #add > > If I put #viewAdd on class side of IGEmpresaApp, then I got a DNU: > UndefinedObject>>lastRequest > No, view methods are never on class side. > I commited again for testing purposses. InciGest-glp.6 on > http://www.lordzealon.com/mc > > I'm preparing my car to go to the psychiatric :D > > I'm sure is so easy, but I can't clear my mind. > > Nicolas Petton escribió: > > Le jeudi 05 juin 2008 à 17:23 +0200, Giuseppe Luigi Punzi a écrit : > > > >> I updated some things in my MC repository, but... > >> > >> I'm now in the problem I didn't how to explain before. > >> > >> How to add now a new company? How to call the viewAdd of other object? > >> or addCompany method, must be on InciGest side, instead IGEmpresa? > >> > > > > Yes, it is a simple solution. > > > > in #viewImpresas : > > > > e addLinkTo: self observee text: 'Nueva Empresa' view: #add. > > and then add a #viewAdd method, which instanciates a new empresa. > > > > The #viewAdd method can also redirect to a view for the new empresa: > > > > IncigestApp>>viewAdd > > self redirectTo: (IGEmpresa new parent: self observee) view: #add > > > > Nico > > > >> I misunderstood something? > >> > >> Janko Mivšek escribió: > >> > >>> Hi 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 < > >>>>> [hidden email]> 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 > >>>>>>> [hidden email] > >>>>>>> http://lists.aidaweb.si/mailman/listinfo/aida > >>>>>>> > >>>>>>> > >>>>>> _______________________________________________ > >>>>>> Aida mailing list > >>>>>> [hidden email] > >>>>>> 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:[hidden email] > >>>>> " = > >>>>> target=3D"_blank">[hidden email]</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:[hidden email]" target=3D"_blank">[hidden email] > >>>>> </= > >>>>> 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:[hidden email]" > >>>>> target=3D"_blank">[hidden email]</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 > >>>>> [hidden email] > >>>>> http://lists.aidaweb.si/mailman/listinfo/aida > >>>>> > >>>>> --===============1484104759==-- > >>>>> > >>>>> > >>>> _______________________________________________ > >>>> Aida mailing list > >>>> [hidden email] > >>>> http://lists.aidaweb.si/mailman/listinfo/aida > >>>> > >>>> > >>>> > >>> > >>> > >> _______________________________________________ > >> Aida mailing list > >> [hidden email] > >> http://lists.aidaweb.si/mailman/listinfo/aida > >> > >> ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Aida mailing list > >> [hidden email] > >> http://lists.aidaweb.si/mailman/listinfo/aida > >> > > _______________________________________________ > Aida mailing list > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida signature.asc (204 bytes) Download Attachment |
In reply to this post by Giuseppe
I see two errors in your code:
IncigestApp>>viewEmpresaAdd self redirectTo: (IGEmpresaApp new parent: self observee) view: #add It should be: self redirectTo: IGEmpresa new view: #add And in IGEmpresaApp, why do you use nuevaImpresa inst var? your observee object is already a new empresa (created in #viewEmpresaAdd method). Cheers! Nico -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma clé PGP est disponible ici : http://nico.bioskop.fr/pgp-key.html _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida signature.asc (204 bytes) Download Attachment |
In reply to this post by Giuseppe
I quickly made some modifications to make it work, see the attached mcz
file. Cheers! Nico -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma clé PGP est disponible ici : http://nico.bioskop.fr/pgp-key.html _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
In reply to this post by Nicolas Petton
Yes, I corrected but I didn't commited yet.
nuevaEmpresa inst var was created because, like the tutorial, was needed. How can I referenced from #viewEmpresaAdd? Or I need to pass it as parameter? Cheers. Nicolas Petton escribió: > I see two errors in your code: > > IncigestApp>>viewEmpresaAdd > self redirectTo: (IGEmpresaApp new parent: self observee) view: #add > > It should be: > self redirectTo: IGEmpresa new view: #add > > And in IGEmpresaApp, why do you use nuevaImpresa inst var? your observee > object is already a new empresa (created in #viewEmpresaAdd method). > > Cheers! > > Nico > > ------------------------------------------------------------------------ > > _______________________________________________ > Aida mailing list > [hidden email] > http://lists.aidaweb.si/mailman/listinfo/aida > _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Free forum by Nabble | Edit this page |