Just curious, if there is an API that could create absolute URL of the given
page?
Looking at Link interface, there IS a method createAbsoluteURI(), but it
creates only URI, not URL meaningful for outside world. Still this kind of
API would be very useful, for example for RSS feeds, mail notificat
> Reading your original message again, you said that you used writeRaw(). It
> doesn't work because Tapestry expects to have a root element. Using a single
> MarkupWriter.writeRaw() call doesn't generate a root element. MarkupWriter
> doesn't parse what writeRaw() writes, so it just knows when the
Em Sat, 12 Dec 2009 07:36:43 -0200, Ilya Obshadko
escreveu:
That is, no way to do that using MarkupWriter? Could you explain why?
I've wrote a quick test and yes, you can use MarkupWriter to generate a
page. I previously thought that it wasn't possible. I've learned something
today. Nic
Thanks, sorry for being so dumb! I used the setter of the value attribute's
object to set the name and then display it!
- Ashwanth Kumar
On Sat, Dec 12, 2009 at 5:27 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Em Sat, 12 Dec 2009 09:07:51 -0200, Ashwanth Kumar <
> ashwanth.
Hi,
My suggestion is to generate some sort of LIST in backend using that ID's
and than to use that list as source for loop component.
Loop is designed to work with collection of items, so best is to give
collection to handle it.
Hope this helps
Bojan Cincur
Ashwanth Kumar wrote:
>
> Hi,
>
>
Em Sat, 12 Dec 2009 09:07:51 -0200, Ashwanth Kumar
escreveu:
Hi,
Hi!
I'm currently trying to create looping structure in one of my pages. The
source attribute is an object (an entity).
It is an object that must be an array or an Iterable (Collection, List,
...).
The entity, has a v
Hi,
I'm currently trying to create looping structure in one of my pages. The
source attribute is an object (an entity). The entity, has a value, which
refers to the ID of the other Entity's reference. Its like i've a column -
postedBy - this has UID (an Integer) from another entity. My question is
That is, no way to do that using MarkupWriter? Could you explain why?
I've already read about onActivate () and TextStreamResponse, but tried to
avoid it.
Using template to form RSS output is unfortunately not an option in my case.
On Fri, Dec 11, 2009 at 10:49 PM, Thiago H. de Paula Figueiredo <