Thanks in advance Gavin :-) Regards, Mahendra
-----Original Message----- From: Gavin Lei [mailto:gavingui2...@gmail.com] Sent: Wednesday, August 15, 2012 8:24 PM To: Tapestry users Subject: Re: Lightweight TapestryTools update site Yeah, i am working for this feature, it will be available in the coming week. I will post here once it is available 2012/8/9 Athneria, Mahendra <mahendra.athne...@atos.net>: > Hi Gavin, > > Thanks for the reply. It would be great if you can add that feature too. I > want to see the list of components from jar to the auto complete list. > > Thanks Gavin, > > Regards, > Mahendra > > -----Original Message----- > From: Gavin Lei [mailto:gavingui2...@gmail.com] > Sent: Wednesday, August 08, 2012 6:54 PM > To: Tapestry users > Subject: Re: Lightweight TapestryTools update site > > Hi Athneria, > > This feature support only custom components in project's source > directory, not consider components in jars, maybe i should also add > jars support. > > 2012/8/7 Athneria, Mahendra <mahendra.athne...@atos.net>: >> Hi Gavin, >> >> I took the update and trying to test the custom components support feature >> with different prefix. >> I have some doubts regarding the same. >> >> A) - We have a nice editor in which developer enters mapping :> - we can >> only edit the custom components by right click on the project. And when I >> click on (+) button I can only see the packages from my project only. I am >> not able to see the components package from different libraries. So how I >> can do the same. I tried to achieve the same by editing "components.tcc" >> file. Below is the example. >> >> <?xml version="1.0" encoding="UTF-8"?> >> <root> >> <packages> >> <package prefix="y" path="net.awl.tapestry5.kawwa.components"/> <!-- path is >> of components path of my libraries --> >> </packages> >> <components> <!-- Breadcrumb is components inside my libraries --> >> <component id="Breadcrumb" name="Breadcrumb" text="Breadcrumb" prefix="y" >> path="net.awl.tapestry5.kawwa.components"/> >> </components> >> </root> >> >> Even thought I am not able to get the " Breadcrumb " name when I press >> "ctrl+space" on tml file. >> >> Any idea Gavin?? >> >> Regards, >> Mahendra Athneria >> >> >> -----Original Message----- >> From: Gavin Lei [mailto:gavingui2...@gmail.com] >> Sent: Monday, August 06, 2012 6:21 PM >> To: Tapestry users >> Cc: Igor Drobiazko >> Subject: Re: Lightweight TapestryTools update site >> >> >> Hi all, >> >> In TapestryTools' components auto-complete feature, by default only >> components defined in these two packages are in the list: >> >> 1.org.apache.tapestry5.corelib.components (Tapestry 5's build-in components) >> 2.app-package.components, whereby app-package is the applications root >> package defined in the web.xml (Tapestry web application's root >> components) >> >> Now, I have add custom components support for TapestryTools. It means >> besides these components, TapestryTools support also custom components >> with different prefix with "t:". It allow you to provide >> autocompletion for custom components from different libraries, and we >> have a nice editor in which developer enters mapping: >> >> x: org.example.components >> y: org.acme.lib.components >> >> In this mapping, a library prefix is mapped to a component package. >> So, every component from org.example.components package would have x >> prefix. For example: >> >> <span t:type="x/MyComponent"></span> >> <span t:type="y/Foo"></span> >> >> This feature is alreay available in TapestryTools' update site [1], >> and you can find detailed guide about this feature and the "Custom >> components mapping editor" here [2] (It is in Section 7). >> >> Looking forward to your feedbacks about TapestryTools and this new >> feature, thanks. >> >> [1] http://tapestrytools.googlecode.com/svn/TapestryTools/ >> [2] >> http://code.google.com/p/tapestrytools/wiki/Install_Guide_Lightweight_TapestryTools >> -- >> --------------------------------- >> Best Regards >> Gavin Lei (雷银) >> Email: gavingui2...@gmail.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org > > > > -- > --------------------------------- > Best Regards > Gavin Lei (雷银) > Email: gavingui2...@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org -- --------------------------------- Best Regards Gavin Lei (雷银) Email: gavingui2...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org