Must admit i've also never used it! It was contibuted by Sam, there's probably a good change he was using it with direct links... or links of some form...
Anyway, looking at the generated html of http://opencomponentry.com:8080/tacos/dojo/GridExample.html I just wonder what happens if you provide html markup for a cell's data... Perhaps you could then have link using the href that the direct service can generate for you - when given the right arguments. On 5/1/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote:
Ah.. okey.... then I dont need to feel stupid ;-) Jessek wrote: > > Oh sorry ....You must be talking about the Tacos Grid component. I have no > idea on that one... > > On 5/1/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote: >> >> >> Hi Jesse, >> I looked at the link and I must say that I still don't get it.... >> How will I wrap my content into a directLink in the grid component? >> >> I have the method from the demo app: >> >> public Object getGridData() >> { // source >> List results = new ArrayList(); >> DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd", >> getLocale()); >> for (int i = 0; i < 100; i++) { >> Map map = new HashMap(); >> map.put("stringColumn", "String " + i); >> map.put("intColumn", new Integer(i * 10)); >> map.put("floatColumn", "" + ((i * 100) + (float) ((float) i / >> (float) (i + 1)))); >> Calendar cal = Calendar.getInstance(); >> cal.add(Calendar.DATE, i); >> map.put("dateColumn", dateFormat.format(cal.getTime())); >> results.add(map); >> } >> return results; >> } >> >> What do I need to change here for making a new column in the end with a >> directLink? >> I am really thankfull for any pointers or example you can help me with. >> Thanks >> Jacob >> >> >> >> >> >> Jessek wrote: >> > >> > You could probably do something similar to the example found at the >> bottom >> > of this page: >> > >> > >> http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/table.html >> > >> > Just wrap a DirectLink around whatever you want linked. >> > >> > On 5/1/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> Hi, >> >> is there a way of creating a link for each row in the grid component >> that >> >> goes to a listener? I am working in Tapestry 4.0.2 and Tacos 4.0.1. >> >> >> >> Thanks, >> >> Jacob >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/Grid-Component-question-tf3676754.html#a10274287 >> >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > Jesse Kuhnert >> > Tapestry/Dojo team member/developer >> > >> > Open source based consulting work centered around >> > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Grid-Component-question-tf3676754.html#a10275618 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Jesse Kuhnert > Tapestry/Dojo team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > -- View this message in context: http://www.nabble.com/Grid-Component-question-tf3676754.html#a10275740 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting