<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>users@tapestry.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/tapestry-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/tapestry-users/</id>
<updated>2009-12-07T15:31:25Z</updated>
<entry>
<title>Re: Exception accessing T5 Registry from other servlet</title>
<author><name>Inge Solvoll &lt;inge.tapestry@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c7b14dd060912070711k5695039ekea4a2da7dab8b170@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7b14dd060912070711k5695039ekea4a2da7dab8b170@mail-gmail-com%3e</id>
<updated>2009-12-07T15:11:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Found something that seems to work by reading carefully through
TapestryModule.java, see code below. To me, it seems strange that I have to
do this. Do any of you guys see anything wrong with this?

  public void
contributeHttpServletRequestHandler(OrderedConfiguration&lt;HttpServletRequestFilter&gt;
configuration, @Inject @Symbol(SymbolConstants.CHARSET) final String
applicationCharset, @Primary final SessionPersistedObjectAnalyzer analyzer,
final RequestGlobals requestGlobals) {

    HttpServletRequestFilter storeRequestResponse = new
HttpServletRequestFilter() {

      public boolean service(HttpServletRequest servletRequest,
HttpServletResponse servletResponse, HttpServletRequestHandler handler)
throws IOException {
        Request request = new RequestImpl(servletRequest,
applicationCharset, analyzer);
        Response response = new ResponseImpl(servletResponse);
        requestGlobals.storeRequestResponse(request, response);
        return handler.service(servletRequest, servletResponse);
      }
    };

    configuration.add("StoreRequestResponse", storeRequestResponse,
"before:*");
  }


On Mon, Dec 7, 2009 at 2:35 PM, Inge Solvoll &lt;inge.tapestry@gmail.com&gt;wrote:

&gt; Thanks!
&gt;
&gt; Didn't work though. Tried running
&gt; requestGlobals.storeServletRequestResponse before asm.get(...), still same
&gt; error because requestGlobals.getRequest() is still null after storing
&gt; httprequest.
&gt;
&gt; I discovered that requestGlobals.getHTTPServletRequest() returns a live and
&gt; working request, while requestGlobals.getRequest() returns null. I also put
&gt; a breakpoint in TapestryModule "StoreIntoGlobals", and it is run before my
&gt; code.
&gt;
&gt; So, the Request and Response properties of requestGlobals aren't populated
&gt; when using the Registry from another servlet i think. Am I right? Is there
&gt; any way to make this work?
&gt;
&gt;
&gt;
&gt;
&gt; On Mon, Dec 7, 2009 at 1:16 PM, Thiago H. de Paula Figueiredo &lt;
&gt; thiagohp@gmail.com&gt; wrote:
&gt;
&gt;&gt; Em Mon, 07 Dec 2009 08:31:44 -0200, Inge Solvoll &lt;inge.tapestry@gmail.com&gt;
&gt;&gt; escreveu:
&gt;&gt;
&gt;&gt;  Hi!
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; Hi!
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt; Caused by: java.lang.NullPointerException
&gt;&gt;&gt;        at $Request_12568a717d3.getSession($Request_12568a717d3.java)
&gt;&gt;&gt;        at $Request_12568a717a6.getSession($Request_12568a717a6.java)
&gt;&gt;&gt;        at
&gt;&gt;&gt; org.apache.tapestry5.internal.services.SessionApplicationStatePersistenceStrategy.getSession(SessionApplicationStatePersistenceStrategy.java:38)
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; It looks like the Request wasnt. Try getting the RequestGlobals service
&gt;&gt; and invoking the storeServletRequestResponse() method before you use the
&gt;&gt; ApplicationStateManager.
&gt;&gt;
&gt;&gt; --
&gt;&gt; Thiago H. de Paula Figueiredo
&gt;&gt; Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
&gt;&gt; and instructor
&gt;&gt; Owner, software architect and developer, Ars Machina Tecnologia da
&gt;&gt; Informação Ltda.
&gt;&gt; http://www.arsmachina.com.br
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt;&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: dynamic access of images</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cop.u4kmityy18r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4kmityy18r83n@arsmachina%3e</id>
<updated>2009-12-07T14:00:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Mon, 07 Dec 2009 10:16:10 -0200, Chitrangada Sarkar  
&lt;Chitrangada.Sarkar@atosorigin.com&gt; escreveu:

&gt; working on a component,that needs multiple images,Is there any way to
&gt; dynamically retrieve all those images without hardcoding them.Can that be
&gt; done using AssetFactory?

Use AssetSource.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Exception accessing T5 Registry from other servlet</title>
<author><name>Inge Solvoll &lt;inge.tapestry@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c7b14dd060912070535k18f6d76ejdf5f40fada709b59@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7b14dd060912070535k18f6d76ejdf5f40fada709b59@mail-gmail-com%3e</id>
<updated>2009-12-07T13:35:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks!

Didn't work though. Tried running requestGlobals.storeServletRequestResponse
before asm.get(...), still same error because requestGlobals.getRequest() is
still null after storing httprequest.

I discovered that requestGlobals.getHTTPServletRequest() returns a live and
working request, while requestGlobals.getRequest() returns null. I also put
a breakpoint in TapestryModule "StoreIntoGlobals", and it is run before my
code.

So, the Request and Response properties of requestGlobals aren't populated
when using the Registry from another servlet i think. Am I right? Is there
any way to make this work?



On Mon, Dec 7, 2009 at 1:16 PM, Thiago H. de Paula Figueiredo &lt;
thiagohp@gmail.com&gt; wrote:

&gt; Em Mon, 07 Dec 2009 08:31:44 -0200, Inge Solvoll &lt;inge.tapestry@gmail.com&gt;
&gt; escreveu:
&gt;
&gt;  Hi!
&gt;&gt;
&gt;
&gt; Hi!
&gt;
&gt;
&gt;
&gt;&gt; Caused by: java.lang.NullPointerException
&gt;&gt;        at $Request_12568a717d3.getSession($Request_12568a717d3.java)
&gt;&gt;        at $Request_12568a717a6.getSession($Request_12568a717a6.java)
&gt;&gt;        at
&gt;&gt; org.apache.tapestry5.internal.services.SessionApplicationStatePersistenceStrategy.getSession(SessionApplicationStatePersistenceStrategy.java:38)
&gt;&gt;
&gt;
&gt; It looks like the Request wasnt. Try getting the RequestGlobals service and
&gt; invoking the storeServletRequestResponse() method before you use the
&gt; ApplicationStateManager.
&gt;
&gt; --
&gt; Thiago H. de Paula Figueiredo
&gt; Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
&gt; and instructor
&gt; Owner, software architect and developer, Ars Machina Tecnologia da
&gt; Informação Ltda.
&gt; http://www.arsmachina.com.br
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Exception accessing T5 Registry from other servlet</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cop.u4khppc018r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4khppc018r83n@arsmachina%3e</id>
<updated>2009-12-07T12:16:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Mon, 07 Dec 2009 08:31:44 -0200, Inge Solvoll &lt;inge.tapestry@gmail.com&gt;  
escreveu:

&gt; Hi!

Hi!

&gt;
&gt; Caused by: java.lang.NullPointerException
&gt; 	at $Request_12568a717d3.getSession($Request_12568a717d3.java)
&gt; 	at $Request_12568a717a6.getSession($Request_12568a717a6.java)
&gt; 	at  
&gt; org.apache.tapestry5.internal.services.SessionApplicationStatePersistenceStrategy.getSession(SessionApplicationStatePersistenceStrategy.java:38)

It looks like the Request wasnt. Try getting the RequestGlobals service  
and invoking the storeServletRequestResponse() method before you use the  
ApplicationStateManager.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>dynamic access of images</title>
<author><name>Chitrangada Sarkar &lt;Chitrangada.Sarkar@atosorigin.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c26676437.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26676437-post@talk-nabble-com%3e</id>
<updated>2009-12-07T12:16:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

working on a component,that needs multiple images,Is there any way to
dynamically retrieve all those images without hardcoding them.Can that be
done using AssetFactory?

I appreciate any help. :) 

Chitrangada Sarkar
-- 
View this message in context: http://old.nabble.com/dynamic-access-of-images-tp26676437p26676437.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: BeanEditForm - multi col?</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cop.u4kf9dfe18r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4kf9dfe18r83n@arsmachina%3e</id>
<updated>2009-12-07T11:45:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Mon, 07 Dec 2009 08:01:26 -0200, Jim O'Callaghan  
&lt;jc1000001@yahoo.co.uk&gt; escreveu:

&gt; Hi,

Hi!

&gt; I'm trying to maximise screen real estate in some pages and was  
&gt; wondering if
&gt; there is an easy way to make the BEF multi-col - even two col would do  
&gt; the trick - any getter annotations etc. to get it to close one div and  
&gt; start
&gt; another - thanks.

You can do that using CSS 3 and the nth-of-type() pseudoselector  
(http://reference.sitepoint.com/css/pseudoclass-nthoftype) to only clear  
the 2n &lt;div class="t-beaneditor-row&gt;, but Internet Explorer doesn't  
support it. The other solution would be change the CSS classes through  
Javascript.

BeanEditForm and BeanEditor are meant to be simple, so they don't support  
what you want out of the box.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Context missing in onUploadException</title>
<author><name>Massimo Lusetti &lt;mlusetti@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3ca6647e120912070324n61dbb411h6ef01fdc0349ef96@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca6647e120912070324n61dbb411h6ef01fdc0349ef96@mail-gmail-com%3e</id>
<updated>2009-12-07T11:24:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Sun, Dec 6, 2009 at 10:31 AM, Geoff Callender
&lt;geoff.callender.jumpstart@gmail.com&gt; wrote:

&gt; If a file upload triggers UploadException (eg. because file exceeds max size) then onUploadException(..)
is called without calling onActivate(..) first, so when we're in onUploadException(..) we
don't know the page context.
&gt;
&gt;  I want to redisplay the page, with exception message, but how can I redisplay if I don't
know the context?!?!  Any suggestions?
&gt;
&gt; Incidentally, the doco warns about this ( http://tapestry.apache.org/tapestry5/tapestry-upload/
) but doesn't give a solution.

I've always used another page for that purpose but that seems a nice
addition too. I would go and fire an issue at JIra.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Xing Group</title>
<author><name>Andy Clayton &lt;Andy.Clayton@darwinrecruitment.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c54718DFF0B21FB47BD155F7366D32FD702B26E7F9D@drl-ex-01.Darwin.local%3e"/>
<id>urn:uuid:%3c54718DFF0B21FB47BD155F7366D32FD702B26E7F9D@drl-ex-01-Darwin-local%3e</id>
<updated>2009-12-07T11:13:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Tapestry users,

I have recently started a new group on Xing for anyone who uses Tapestry.

If you are interested in joining this group then please follow this link www.xing.com/net/tapestry/&lt;http://www.xing.com/net/tapestry/&gt;
and select the join group button.

I look forward to seeing you there.


Mit freundlichen Grüssen / With best regards
Andy Clayton
Senior Consultant, Germany
Contract Division
Darwin Recruitment

[cid:image001.gif@01CA772E.494F3890]

W: 00 44 (0) 1277 637 038
M: 00 44 (0)  7595 412 903
F:  00 44 (0) 1277 636 244
E:  andy.clayton@darwinrecruitment&lt;mailto:andy.clayton@darwinrecruitment&gt;.com
W: http://www.darwinrecruitment.com&lt;http://www.darwinrecruitment.com/&gt;






  [cid:image002.jpg@01CA772E.494F3890] &lt;https://www.xing.com/profile/Andy_Clayton&gt; [cid:image003.jpg@01CA772E.494F3890]
&lt;http://www.linkedin.com/myprofile?trk=hb_side_pro&gt; [cid:image004.gif@01CA772E.494F3890]
&lt;skype:andy_clayton1?add&gt;


   [cid:image005.jpg@01CA772E.494F3890]



P Please consider the environment before printing this email
***************************************************************************************************************************************************************************************************
This e-mail transmission is strictly confidential and intended solely for the person or organisation
to whom it is addressed. It may contain privileged and confidential information and if you
are not the intended recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the sender as soon as possible
and delete the message. Please note that we are able to, and reserve the right to, monitor
e-mail communications passing through our network. The views expressed in this email are not
that of the company unless specified within the message. The inclusion of this footnote indicates
that the mail message and any attachments have been checked for the presence of known viruses.
If you have any comments regarding our policy please direct them to info@darwinrecruitment.com&lt;mailto:info@darwinrecruitment.com&gt;
***************************************************************************************************************************************************************************************************


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

</pre>
</div>
</content>
</entry>
<entry>
<title>Exception accessing T5 Registry from other servlet</title>
<author><name>Inge Solvoll &lt;inge.tapestry@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c7b14dd060912070231h13cab0a6n65b3293d5d919c93@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7b14dd060912070231h13cab0a6n65b3293d5d919c93@mail-gmail-com%3e</id>
<updated>2009-12-07T10:31:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!

I'm trying to integrate my T5 IOC Registry with the non-T5 part of our
application. But when I try to actually use services that are perthread and
depend on session data, I get the error listed below. It seems that the
request or the session hasn't been initialized properly for the request.
This is a request for a page that is in my "ignoredPaths" list, so it is
ignored by tapestry. Is that the reason why I get this error? Or is it
perhaps affected by the order of my servlet filters?


Caused by: java.lang.NullPointerException
	at $Request_12568a717d3.getSession($Request_12568a717d3.java)
	at $Request_12568a717a6.getSession($Request_12568a717a6.java)
	at org.apache.tapestry5.internal.services.SessionApplicationStatePersistenceStrategy.getSession(SessionApplicationStatePersistenceStrategy.java:38)
	at org.apache.tapestry5.internal.services.SessionApplicationStatePersistenceStrategy.get(SessionApplicationStatePersistenceStrategy.java:44)
	at $ApplicationStatePersistenceStrategy_12568a717d2.get($ApplicationStatePersistenceStrategy_12568a717d2.java)
	at org.apache.tapestry5.internal.services.ApplicationStateManagerImpl$ApplicationStateAdapter.getOrCreate(ApplicationStateManagerImpl.java:45)
	at org.apache.tapestry5.internal.services.ApplicationStateManagerImpl.get(ApplicationStateManagerImpl.java:126)
	at $ApplicationStateManager_12568a717ce.get($ApplicationStateManager_12568a717ce.java)
	at our.application.tapestry5.services.UserWrapperImpl.getUser(UserWrapperImpl.java:16)
	at $UserWrapper_12568a71857.getUser($UserWrapper_12568a71857.java)
	at our.application.tapestry5.services.MyServiceImpl.isEnabled(MyServiceImpl.java:41)



Here's the service implementation with the error:

public class UserWrapperImpl implements UserWrapper {

private final ApplicationStateManager asm;

  public UserWrapperImpl(ApplicationStateManager asm) {
    this.asm = asm;
  }

  public User getUser() {
    return asm.get(User.class);
  }

}


</pre>
</div>
</content>
</entry>
<entry>
<title>BeanEditForm - multi col?</title>
<author><name>&quot;Jim O'Callaghan&quot; &lt;jc1000001@yahoo.co.uk&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cFAEHJELALKNHIABLBHJLMEHNEAAA.jc1000001@yahoo.co.uk%3e"/>
<id>urn:uuid:%3cFAEHJELALKNHIABLBHJLMEHNEAAA-jc1000001@yahoo-co-uk%3e</id>
<updated>2009-12-07T10:01:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I'm trying to maximise screen real estate in some pages and was wondering if
there is an easy way to make the BEF multi-col - even two col would do the
trick - any getter annotations etc. to get it to close one div and start
another - thanks.

Regards,
Jim.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: zone id as property expression ?</title>
<author><name>&quot;DH&quot; &lt;ningdhcn@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cC45CA8DD7B714602AC3995472604C21E@GIHD792%3e"/>
<id>urn:uuid:%3cC45CA8DD7B714602AC3995472604C21E@GIHD792%3e</id>
<updated>2009-12-07T08:47:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&lt;t:zone t:id="static name" id="${zoneName}" t:update="show"&gt;

Finally id in the Dom would be the one 'id'.

DH
http://www.gaonline.com.cn

----- Original Message ----- 
From: "Gunnar Eketrapp" 
To: "Tapestry users" &lt;users@tapestry.apache.org&gt;
Sent: Monday, December 07, 2009 4:43 PM
Subject: zone id as property expression ?


&gt; Hi!
&gt; 
&gt; I would like to do the following ..
&gt; 
&gt; &lt;t:zone t:id="${zoneName}" t:update="show"&gt;
&gt; 
&gt; ... but T5 doesnt seem to like property expressions in the id attriute.
&gt; 
&gt; Anyone?
&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>zone id as property expression ?</title>
<author><name>Gunnar Eketrapp &lt;gunnar.eketrapp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c157c89240912070043jee90f0fg690c2323596ad5fe@mail.gmail.com%3e"/>
<id>urn:uuid:%3c157c89240912070043jee90f0fg690c2323596ad5fe@mail-gmail-com%3e</id>
<updated>2009-12-07T08:43:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!

I would like to do the following ..

&lt;t:zone t:id="${zoneName}" t:update="show"&gt;

... but T5 doesnt seem to like property expressions in the id attriute.

Anyone?


</pre>
</div>
</content>
</entry>
<entry>
<title>Invoking javascript when a zone is updated</title>
<author><name>Gunnar Eketrapp &lt;gunnar.eketrapp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c157c89240912062314n330e944frb797f1525479619e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c157c89240912062314n330e944frb797f1525479619e@mail-gmail-com%3e</id>
<updated>2009-12-07T07:14:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!

I have a "AddThis" section within a zone that I am updating.

A zone update does not execute the javascript section and my question
is if anyone has a workaround for this?

One could argue to move the section out of the zone but as the design is
made
that is not so easy.

Is there a way to solve this in a zone?

Thanks in advance!
Gunnar Eketrapp



                &lt;!-- AddThis Button BEGIN --&gt;
                &lt;div class="formfield1"&gt;
                    &lt;div class="addthis_toolbox addthis_default_style"&gt;
                        &lt;a class="addthis_button_facebook"&gt;&lt;/a&gt;
                        &lt;a class="addthis_button_email"&gt;&lt;/a&gt;
                        &lt;a class="addthis_button_favorites"&gt;&lt;/a&gt;
                        &lt;a class="addthis_button_print"&gt;&lt;/a&gt;
                        &lt;span class="addthis_separator"&gt;|&lt;/span&gt;
                        &lt;a href="
http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a9d08b0037a968d"
class="addthis_button_expanded"&gt;More&lt;/a&gt;
                    &lt;/div&gt;
                    &lt;script type="text/javascript" src="
http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a9d08b0037a968d
"&gt;&lt;/script&gt;
                &lt;/div&gt;
                &lt;!-- AddThis Button END --&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>How to override service with @Maker?</title>
<author><name>Jun Tsai &lt;jun.tsai@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c86d374e30912062230i8647324md6d01899422167ec@mail.gmail.com%3e"/>
<id>urn:uuid:%3c86d374e30912062230i8647324md6d01899422167ec@mail-gmail-com%3e</id>
<updated>2009-12-07T06:30:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi,all
  I have tow service;

  @Maker(Local.class)
  public static CacheManager buildLocalCacheManager(){
  }
  @Maker(Memcache.class)
  public static CacheManager buildMemcacheCacheManager(){
  }


now,I want to override the MemcacheCacheManager service,How to do?

thanks.

-- 
regards,
Jun Tsai


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Access the Tapestry IoC from another servlet</title>
<author><name>&quot;DH&quot; &lt;ningdhcn@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c8F1F922EBB2548349B7DEF679D9719B1@GIHD792%3e"/>
<id>urn:uuid:%3c8F1F922EBB2548349B7DEF679D9719B1@GIHD792%3e</id>
<updated>2009-12-07T06:18:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
ServletContext context = FilterConfig.getServletContext();
context.getAttribute(TapestryFilter.REGISTRY_CONTEXT_NAME);

See TapestryFilter, hope that helps.

DH
http://www.gaonline.com.cn

----- Original Message ----- 
From: "Mike Leonardo" 
To: &lt;users@tapestry.apache.org&gt;
Sent: Monday, December 07, 2009 2:08 PM
Subject: Access the Tapestry IoC from another servlet


&gt; Hello!
&gt; 
&gt; I'm writing an application that has both a T5 web app and also a Restlet servlet in the
same project. So T5 is the servlet-filter and the Restlet is an actual servlet. To allow both
to co-exist I've configured the T5 AppModule to ignore anything with /rest/ at the beginning
of the request - and that all works fine.
&gt; 
&gt; The issue is that I would really like to use the Tapestry IoC from the web app in my
Restlet servlets. Is there anyway to do this? I tried following the instructions for non-web
registry creation (added the code to the restlet initialization) and got the message:
&gt; 
&gt; "[ERROR] internal.SerializationSupport Setting a new service proxy provider when there's
already an existing provider.  may indicate that you have multiple IoC Registries."
&gt; 
&gt; So I think the Restlet actually sees the registry from the web app running. Is that true
- and if so can I get access to it?
&gt; 
&gt; Sorry, I'm a bit new to all this configuration.
&gt; Thanks for any help!
&gt; 
&gt; Michael Leonardo
&gt; - iFactory Software Engineer
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt; 
&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Access the Tapestry IoC from another servlet</title>
<author><name>Mike Leonardo &lt;mikeleo@ifactory.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c4326750.1421260166087881.JavaMail.root@camelot.ifactory.com%3e"/>
<id>urn:uuid:%3c4326750-1421260166087881-JavaMail-root@camelot-ifactory-com%3e</id>
<updated>2009-12-07T06:08:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello!

I'm writing an application that has both a T5 web app and also a Restlet servlet in the same
project. So T5 is the servlet-filter and the Restlet is an actual servlet. To allow both to
co-exist I've configured the T5 AppModule to ignore anything with /rest/ at the beginning
of the request - and that all works fine.

The issue is that I would really like to use the Tapestry IoC from the web app in my Restlet
servlets. Is there anyway to do this? I tried following the instructions for non-web registry
creation (added the code to the restlet initialization) and got the message:

"[ERROR] internal.SerializationSupport Setting a new service proxy provider when there's already
an existing provider.  may indicate that you have multiple IoC Registries."

So I think the Restlet actually sees the registry from the web app running. Is that true -
and if so can I get access to it?

Sorry, I'm a bit new to all this configuration.
Thanks for any help!

Michael Leonardo
- iFactory Software Engineer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Help with ZoneUpdate</title>
<author><name>Josh Canfield &lt;josh@thedailytube.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cf2a580750912061550m10e7fac4o876d35e300b747c5@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf2a580750912061550m10e7fac4o876d35e300b747c5@mail-gmail-com%3e</id>
<updated>2009-12-06T23:50:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; The Zone raises a JS event when is updated.

You're right, my bad. I was looking at the form injector when I
replied. It doesn't raise an event and so I used the show hack. I'm
using ZONE_UPDATED_EVENT for my zones...

Josh

On Sat, Dec 5, 2009 at 1:35 AM, Juan E. Maya &lt;maya.juan@gmail.com&gt; wrote:
&gt; The Zone raises a JS event when is updated. This is explained in the
&gt; Zone documentation:
&gt;
&gt; http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html
&gt;
&gt; "After the client-side content is updated, a client-side event is
&gt; fired on the zone's element. The constant Tapestry.ZONE_UPDATED_EVENT
&gt; can be used to listen to the event."
&gt;
&gt; You just need to provide a Prototype listener for that event in your page.
&gt;
&gt; On Sat, Dec 5, 2009 at 7:04 AM, Ashwanth Kumar &lt;ashwanth.kumar@gmail.com&gt; wrote:
&gt;&gt; Thanks Josh,
&gt;&gt;
&gt;&gt; That worked like a charm!! I dont know if there could be anything better
&gt;&gt; than this?? :)
&gt;&gt;
&gt;&gt;  - Ashwanth Kumar
&gt;&gt;
&gt;&gt;
&gt;&gt; On 12/5/09, Josh Canfield &lt;josh@thedailytube.com&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; Last time I was hunting around for a solution for this I came up with this:
&gt;&gt;&gt;
&gt;&gt;&gt; Tapestry.ElementEffect.myshowfunc = function(element) {
&gt;&gt;&gt;    // do special stuff
&gt;&gt;&gt;    return new Effect.Highlight(element);
&gt;&gt;&gt; }
&gt;&gt;&gt;
&gt;&gt;&gt; &lt;t:zone show="myshowfunc"/&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; There may be a better method that I'm not aware of though.
&gt;&gt;&gt;
&gt;&gt;&gt; Josh
&gt;&gt;&gt;
&gt;&gt;&gt; On Fri, Dec 4, 2009 at 5:04 PM, Ashwanth Kumar &lt;ashwanth.kumar@gmail.com&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt; &gt; Hi,
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; I've a question. How do i invoke a custom JS from the Page, immediately
&gt;&gt;&gt; &gt; after a ZoneUpate!
&gt;&gt;&gt; &gt; For instance, i need to apply a markitUp on a TextArea, after it has been
&gt;&gt;&gt; &gt; created by the ZoneUpdate event in Tapestry.
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt; How do i invoke it sync with the ZoneUpdate. Currently i use the onClick
&gt;&gt;&gt; &gt; event of the TextArea to show, but its not good enough. So, asny help
&gt;&gt;&gt; &gt; regarding this would be appreciated!
&gt;&gt;&gt; &gt;
&gt;&gt;&gt; &gt;  - Ashwanth Kumar
&gt;&gt;&gt; &gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; --
&gt;&gt;&gt; TheDailyTube.com. Sign up and get the best new videos on the internet
&gt;&gt;&gt; delivered fresh to your inbox.
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt;&gt;&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt;
&gt;



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Customize markup of client side validation</title>
<author><name>Piero Sartini &lt;lists@pierosartini.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c200912070028.52459.lists@pierosartini.de%3e"/>
<id>urn:uuid:%3c200912070028-52459-lists@pierosartini-de%3e</id>
<updated>2009-12-06T23:28:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; You would need to implement your own ValidationDecorator. I just thought
&gt; of it yet. It would be a better solution to your specific problem. There
&gt; were some messages in this mailing list about it. The Tapestry sources are
&gt; other nice places to see some examples about it.

ValidationDecorator looks like the right tool for the job, thanks a lot!

	Piero

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Customize markup of client side validation</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cop.u4jhn3dw18r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4jhn3dw18r83n@arsmachina%3e</id>
<updated>2009-12-06T23:17:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Sun, 06 Dec 2009 20:52:17 -0200, Piero Sartini &lt;lists@pierosartini.de&gt;  
escreveu:

&gt; Hi Thiago,

Hi!

&gt; Thanks for the hint. I've thought in this direction as well but was not  
&gt; sure if it would be possible at all. I like the mixin strategy because  
&gt; writing myown components seems to duplicate lots of the  
&gt; tapestry-components.. or do I miss s.th.?

You would need to implement your own ValidationDecorator. I just thought  
of it yet. It would be a better solution to your specific problem. There  
were some messages in this mailing list about it. The Tapestry sources are  
other nice places to see some examples about it.

&gt; About the mixin I have some questions:
&gt;  * where would you add it? On the fields or on the form?

It would be easier in the fields.

&gt;  * How do I remove / replace the tapestry-generated error popups with  
&gt; the in-place error message?

I don't know, but maybe you can use CSS for that.

&gt;  * Do I need to re-invent the client-side stuff?

I don't know.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Customize markup of client side validation</title>
<author><name>Piero Sartini &lt;lists@pierosartini.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c200912062352.17390.lists@pierosartini.de%3e"/>
<id>urn:uuid:%3c200912062352-17390-lists@pierosartini-de%3e</id>
<updated>2009-12-06T22:52:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Thiago, 

&gt; I can think of two ways: using your own component to get the validation
&gt; errors from the ValidationTracker or write a mixin that rewrites the
&gt; generated DOM.

Thanks for the hint. I've thought in this direction as well but was not sure 
if it would be possible at all. I like the mixin strategy because writing my 
own components seems to duplicate lots of the tapestry-components.. or do I 
miss s.th.?

About the mixin I have some questions:
 * where would you add it? On the fields or on the form? 
 * How do I remove / replace the tapestry-generated error popups with the in-
place error message?
 * Do I need to re-invent the client-side stuff?

Lots of questions, sorry...

Best regards,

	Piero


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Customize markup of client side validation</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cop.u4jbdiyj18r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4jbdiyj18r83n@arsmachina%3e</id>
<updated>2009-12-06T21:01:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Sun, 06 Dec 2009 18:10:24 -0200, Piero Sartini &lt;lists@pierosartini.de&gt;  
escreveu:

&gt; Hello,

Hi!

&gt; I want to overwrite the markup that is generated from tapestry for  
&gt; client side validation.

I can think of two ways: using your own component to get the validation  
errors from the ValidationTracker or write a mixin that rewrites the  
generated DOM.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Customize markup of client side validation</title>
<author><name>Piero Sartini &lt;lists@pierosartini.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c200912062110.24125.lists@pierosartini.de%3e"/>
<id>urn:uuid:%3c200912062110-24125-lists@pierosartini-de%3e</id>
<updated>2009-12-06T20:10:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I want to overwrite the markup that is generated from tapestry for client side 
validation. To be more detailed, I need to integrate the forms.css of the YAML 
css framework:
http://www.yaml.de/en/dokumentation/css-bausteine/formularbaukasten.html

To use it the right way, it is not enough for me to overwrite the .t-error and 
.t-error-icon styles, but I need to change what markup is generated if there 
is an error.

Also I want to get rid of the popup boxes. The final markup should look like 
this:
---- code ----
&lt;div class="type-text error"&gt; 
                &lt;strong class="message"&gt;My error message!&lt;/strong&gt; 
                &lt;label for="fieldName"&gt;FieldText&lt;/label&gt;
                &lt;input type="text" name="fieldName" id="fieldId" size="20"/&gt; 
&lt;/div&gt; 
---- code ----


What would you suggest how to accomplish this?

Thanks in advance,

	Piero

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tapestry - hibernate problem</title>
<author><name>blueboy6 &lt;blueboy6@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c26667111.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26667111-post@talk-nabble-com%3e</id>
<updated>2009-12-06T17:37:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

My mapping are ok, because yesterday I used eager fetching on all collections
and it worked, I just removed every eager mappings and create criteria for
all one level criteria, problem is when I try to go deeper...

It seams that problem is that session is closed when I try to fetch data...
It seeams that tapestry is closing hibernate sessions automatically. 

Someone told me to implement open session in view... Any suggestion about
that matter? 

Tnx for your fast answers :)


bouil wrote:
&gt; 
&gt; Hi,
&gt; 
&gt; You should check your mapping to be sure the many-to-one relationship 
&gt; between "comment" and "user" is correct, and verify your database table 
&gt; "comment" contains an existing foreign key to the user table.
&gt; 
&gt; Best thing to do is to run your Criteria in a JUnit test.
&gt; 
&gt; Nicolas.
&gt; 
&gt; 
&gt; Bojan Cincur a Ã©crit :
&gt;&gt; Hi all,
&gt;&gt; 
&gt;&gt; I have a little problem.
&gt;&gt; 
&gt;&gt; I'm using hibernate criteria to fetch list of objects that I want to
&gt;&gt; display
&gt;&gt; in loop component. (enclosed in my commentModule component)
&gt;&gt; 
&gt;&gt; Criteria criteria = getManager().createCriteria(CommentBean.class);
&gt;&gt; criteria.setFetchMode("user",FetchMode.JOIN);
&gt;&gt; 
&gt;&gt; this criteria should return list of commentBean objects and associated
&gt;&gt; user
&gt;&gt; object (as said in hibernate documentation),
&gt;&gt; 
&gt;&gt; BUT
&gt;&gt; 
&gt;&gt; when i call in loop element comment.user.username to optain username of
&gt;&gt; user
&gt;&gt; that posted comment I get this error:
&gt;&gt; 
&gt;&gt; Render queue error in Expansion[PropBinding[expansion
&gt;&gt; collaborators/Details:commentsmodule(comment.user.username)]]: Property
&gt;&gt; 'user' (within property expression 'comment.user.username', of
&gt;&gt; me.xxx.xxx.components.CommentsModule@eaabad) is null.
&gt;&gt; 
&gt;&gt; I tried all sorts of thing but I'm not sure what to do next... Is this
&gt;&gt; problem with tapestry and is there some sort of work around?
&gt;&gt; 
&gt;&gt; 
&gt; 
&gt; 
&gt; 
&gt;  
&gt; 

-- 
View this message in context: http://old.nabble.com/Tapestry---hibernate-problem-tp26664444p26667111.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to insert &lt;tfoot&gt; in a Grid</title>
<author><name>Christian Riedel &lt;christian-riedel@gmx.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c4B1BE112.30405@gmx.net%3e"/>
<id>urn:uuid:%3c4B1BE112-30405@gmx-net%3e</id>
<updated>2009-12-06T16:51:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks for the example, Thiago.

I modified your code it to make it work with my example.
Now, to make my tml[1] work I edit the mixin[2] to render the foot-block 
and then move it to the right place.
I had to use two less beautifull workarounds. The first one was that 
marker tag. Although the documentation sais the "MarkupWriter is more 
like a cursor into the DOM tree" I didn't find out how to get the 
cursor's position. So that's why there is a marker tag. Now I can find 
the previously rendered tfoot-block and grid-table, which are relative 
positioned to the marker.

Then comes my second workaround. Initially I wanted to call 
tfoot.moveToBottom(gridTable); but that causes a stack overflow because 
this move-method does not delete Node#nextSibling, only the previous 
lastChild's nextSibling - which was null. The nextSibling of the Element 
"tfoot" in my code points to the grid-div! So this causes some 
endless-loop. Is this worth a Jira?

Anyway, as my code is not perfect, yet, I'd appreciate any suggestions 
for improvement :)


[1] example.tml snippet


    &lt;t:grid source="source" t:mixins="GridFooter"&gt;
        &lt;p:foot&gt;
            &lt;tfoot&gt;
                &lt;tr&gt;
                    &lt;td colspan="3"&gt;
                        Some Footer
                    &lt;/td&gt;
                &lt;/tr&gt;
            &lt;/tfoot&gt;
        &lt;/p:foot&gt;
    &lt;/t:grid&gt;


[2] GridFooter.java


@MixinAfter
public class GridFooter {
   
    @Parameter(name = "foot", defaultPrefix = BindingConstants.LITERAL)
    private Block foot;

    Object beginRender(MarkupWriter writer) {
        return foot;
    }

    @AfterRender
    void rewriteDOM(MarkupWriter writer) {

        // first workaround caused by the lack of xpath knowledge
        Element marker = writer.element("marker");
        writer.end();

        final Element tfoot = findNextElementByTag("tfoot", 
childElements(marker.getContainer()), 0);
        final Element gridDiv = firstSibling("div", tfoot);
        final Element gridTable = firstChild("table", gridDiv);
       
        // 2dn workaround: copy tfoot because moving it directly causes 
a stack overflow
        Element e = writer.element("tfoot");
        e.raw(tfoot.toString().replace("&lt;tfoot&gt;", 
"").replace("&lt;/tfoot&gt;", ""));
        writer.end();
       
        e.moveToBottom(gridTable);
       
        tfoot.remove();
        marker.remove();
    }

    private List&lt;Element&gt; childElements(Element element) {

        List&lt;Element&gt; elements = new ArrayList&lt;Element&gt;();

        for (Node node : element.getChildren()) {

            if (node instanceof Element) {
                elements.add((Element) node);
            }

        }

        return elements;

    }

    private Element firstChild(String tag, Element element) {

        Element firstChild = null;

        List&lt;Element&gt; children = childElements(element);

        for (Element child : children) {

            if (child.getName().equals(tag)) {
                firstChild = child;
            } else {
                firstChild = firstChild(tag, child);
            }

            if (firstChild != null) {
                break;
            }

        }

        return firstChild;

    }

    private Element firstSibling(String tag, Element element) {
        Element firstSibling = null;

        List&lt;Element&gt; siblings = childElements(element.getContainer());

        Element sibling = null;
        for (int i = 0; i &lt; siblings.size(); i++) {
            sibling = siblings.get(i);
           
            if (sibling.equals(element)) {
                firstSibling = findNextElementByTag(tag, siblings, i++);
                break;
            }
        }

        return firstSibling;
    }

    private Element findNextElementByTag(String tag, List&lt;Element&gt; 
siblings, int start) {
        if(siblings.size() &lt;= start) return null;

        Element e = siblings.get(start);
       
        if(e.getName().equals(tag)) return e;
       
        return findNextElementByTag(tag, siblings, ++start);
    }

}


Howard Lewis Ship schrieb:
&gt; Remember that the Grid can sometimes only take you so far; if you look
&gt; at its implementation, you'll see that much of it is driven by
&gt; reusable sub-components.
&gt;
&gt; I expect, in 5.2, to create an AbstractGrid that will be easier to
&gt; subclass and extend.
&gt;
&gt;   
I know, but there is so much nice functionality in the Grid that I don't 
want have copy-pasted into some custom component. I rather write some 
Frankenstein-Mixin than copy-paste your work ;)
An AbstractGrid would be nice!

Christian
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tapestry - hibernate problem</title>
<author><name>Nicolas Bouillon &lt;nicolas@bouil.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c4B1BC3F7.4000708@bouil.org%3e"/>
<id>urn:uuid:%3c4B1BC3F7-4000708@bouil-org%3e</id>
<updated>2009-12-06T14:47:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

You should check your mapping to be sure the many-to-one relationship 
between "comment" and "user" is correct, and verify your database table 
"comment" contains an existing foreign key to the user table.

Best thing to do is to run your Criteria in a JUnit test.

Nicolas.


Bojan Cincur a Ã©crit :
&gt; Hi all,
&gt; 
&gt; I have a little problem.
&gt; 
&gt; I'm using hibernate criteria to fetch list of objects that I want to display
&gt; in loop component. (enclosed in my commentModule component)
&gt; 
&gt; Criteria criteria = getManager().createCriteria(CommentBean.class);
&gt; criteria.setFetchMode("user",FetchMode.JOIN);
&gt; 
&gt; this criteria should return list of commentBean objects and associated user
&gt; object (as said in hibernate documentation),
&gt; 
&gt; BUT
&gt; 
&gt; when i call in loop element comment.user.username to optain username of user
&gt; that posted comment I get this error:
&gt; 
&gt; Render queue error in Expansion[PropBinding[expansion
&gt; collaborators/Details:commentsmodule(comment.user.username)]]: Property
&gt; 'user' (within property expression 'comment.user.username', of
&gt; me.xxx.xxx.components.CommentsModule@eaabad) is null.
&gt; 
&gt; I tried all sorts of thing but I'm not sure what to do next... Is this
&gt; problem with tapestry and is there some sort of work around?
&gt; 
&gt; 




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Tapestry - hibernate problem</title>
<author><name>Christian Riedel &lt;christian-riedel@gmx.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c4B1BB48C.8030503@gmx.net%3e"/>
<id>urn:uuid:%3c4B1BB48C-8030503@gmx-net%3e</id>
<updated>2009-12-06T13:41:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,
Looks more like an issue with your criteria. Have you tried to use 
FetchMode.EAGER instead?

Christian



Bojan Cincur schrieb:
&gt; Hi all,
&gt;
&gt; I have a little problem.
&gt;
&gt; I'm using hibernate criteria to fetch list of objects that I want to display
&gt; in loop component. (enclosed in my commentModule component)
&gt;
&gt; Criteria criteria = getManager().createCriteria(CommentBean.class);
&gt; criteria.setFetchMode("user",FetchMode.JOIN);
&gt;
&gt; this criteria should return list of commentBean objects and associated user
&gt; object (as said in hibernate documentation),
&gt;
&gt; BUT
&gt;
&gt; when i call in loop element comment.user.username to optain username of user
&gt; that posted comment I get this error:
&gt;
&gt; Render queue error in Expansion[PropBinding[expansion
&gt; collaborators/Details:commentsmodule(comment.user.username)]]: Property
&gt; 'user' (within property expression 'comment.user.username', of
&gt; me.xxx.xxx.components.CommentsModule@eaabad) is null.
&gt;
&gt; I tried all sorts of thing but I'm not sure what to do next... Is this
&gt; problem with tapestry and is there some sort of work around?
&gt;
&gt;
&gt;   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: forward to page after delay</title>
<author><name>&quot;Juan E. Maya&quot; &lt;maya.juan@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cf050ff3b0912060420j520aa20am20428d07e343461b@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf050ff3b0912060420j520aa20am20428d07e343461b@mail-gmail-com%3e</id>
<updated>2009-12-06T12:20:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
yes, obviously the meta-tag is the best option. It just didnt' come to my mind.
Thank you Ulrich for pointing this out.

On Sun, Dec 6, 2009 at 10:24 AM, Stephan Windmüller
&lt;stephan.windmueller@cs.tu-dortmund.de&gt; wrote:
&gt; Juan E. Maya wrote:
&gt;
&gt;&gt;&gt; I m new in tapestry and try to create confirmation page A which
&gt;&gt;&gt; redirects to page B after 5 seconds. Something like: "Your login was
&gt;&gt;&gt; successful. Now You will be redirected to the indexpage."
&gt;&gt; I think the best way simpler way is to have a javascript that opens
&gt;&gt; page B after X seconds.
&gt;
&gt; And what will happen if the user has disabled JavaScript?
&gt;
&gt;  -&gt; Nothing
&gt;
&gt; That is doubtless not the thing which the page author wants to happen.
&gt;
&gt; - Stephan
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Tapestry - hibernate problem</title>
<author><name>Bojan Cincur &lt;blueboy6@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c78e018350912060419i715bd1eeo2d3ca9eb14290791@mail.gmail.com%3e"/>
<id>urn:uuid:%3c78e018350912060419i715bd1eeo2d3ca9eb14290791@mail-gmail-com%3e</id>
<updated>2009-12-06T12:19:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

I have a little problem.

I'm using hibernate criteria to fetch list of objects that I want to display
in loop component. (enclosed in my commentModule component)

Criteria criteria = getManager().createCriteria(CommentBean.class);
criteria.setFetchMode("user",FetchMode.JOIN);

this criteria should return list of commentBean objects and associated user
object (as said in hibernate documentation),

BUT

when i call in loop element comment.user.username to optain username of user
that posted comment I get this error:

Render queue error in Expansion[PropBinding[expansion
collaborators/Details:commentsmodule(comment.user.username)]]: Property
'user' (within property expression 'comment.user.username', of
me.xxx.xxx.components.CommentsModule@eaabad) is null.

I tried all sorts of thing but I'm not sure what to do next... Is this
problem with tapestry and is there some sort of work around?


-- 
Bojan Ä†inÄ‡ur
email blueboy6@gmail.com
Skype bojan.cincur


</pre>
</div>
</content>
</entry>
<entry>
<title>Context missing in onUploadException</title>
<author><name>Geoff Callender &lt;geoff.callender.jumpstart@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c127955AB-0DE7-4716-843E-FBB49334B1B2@gmail.com%3e"/>
<id>urn:uuid:%3c127955AB-0DE7-4716-843E-FBB49334B1B2@gmail-com%3e</id>
<updated>2009-12-06T09:31:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
If a file upload triggers UploadException (eg. because file exceeds max size) then onUploadException(..)
is called without calling onActivate(..) first, so when we're in onUploadException(..) we
don't know the page context. 

 I want to redisplay the page, with exception message, but how can I redisplay if I don't
know the context?!?!  Any suggestions?

Incidentally, the doco warns about this ( http://tapestry.apache.org/tapestry5/tapestry-upload/
) but doesn't give a solution.

Cheers,

Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: forward to page after delay</title>
<author><name>=?ISO-8859-1?Q?Stephan_Windm=FCller?= &lt;stephan.windmueller@cs.tu-dortmund.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c4B1B783D.80401@cs.tu-dortmund.de%3e"/>
<id>urn:uuid:%3c4B1B783D-80401@cs-tu-dortmund-de%3e</id>
<updated>2009-12-06T09:24:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Juan E. Maya wrote:

&gt;&gt; I m new in tapestry and try to create confirmation page A which
&gt;&gt; redirects to page B after 5 seconds. Something like: "Your login was
&gt;&gt; successful. Now You will be redirected to the indexpage."
&gt; I think the best way simpler way is to have a javascript that opens
&gt; page B after X seconds.

And what will happen if the user has disabled JavaScript?

 -&gt; Nothing

That is doubtless not the thing which the page author wants to happen.

- Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: T5 actionlink, ajax zone and user onclick handler</title>
<author><name>Kalle Korhonen &lt;kalle.o.korhonen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c7281ca710912051715v1b441f32i29ab0ddb29c6f87b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7281ca710912051715v1b441f32i29ab0ddb29c6f87b@mail-gmail-com%3e</id>
<updated>2009-12-06T01:15:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, Apr 29, 2008 at 9:14 AM, Chris Lewis &lt;chris_lewis@bellsouth.net&gt; wrote:
&gt; Unfortunately I can't think of a clean workaround for that. The issues
&gt; are all in the javascript and how events are dispatched and handled.
&gt; Basically it comes down to 2 problems:

This is an old thread but found it when I run into a similar issue.

&gt; 1) The W3C does not mandate even handler ordering, so if you register a
&gt; handler before another there is no guarantee that it will actually fire
&gt; before the other. Lame.

I wouldn't say it's lame, it's just the way it is. No other event
system I know of would ever allow ordering event handlers. In fact,
treating all handlers equally allows an option for executing them in
parallel (even if current Javascript engines don't do that).

&gt; 2) Stopping the DOM event only stops it's propagation to subsequent DOM
&gt; elements and not subsequent handlers. So that means that even if you
&gt; knew your handler would fire first, stopping the event will not stop the
&gt; zone handler from firing.
&gt; Coincidentally my tests show that the mixin's JS handler is fired first,
&gt; but that's no guarantee. If it was then you could override the

First of all, thanks for the well-written wiki page Chris, it's very
informative. I'd think the right way to solve the problem is to use
event propagation as intended. That is, in the case of confirm(), you
should target the element inside of your actionlink - for example:

&lt;t:actionlink t:id="deleteLink" t:zone="zoneToUpdate"&gt;&lt;span
id="confirmDelete"&gt;delete&lt;/span&gt;&lt;/t:actionlink&gt;

Then add a handler for the nested element:
Event.observe($('confirmDelete'), 'click', function(event) {if
(!confirm('are you sure to delete this record ?')) event.stop();});
to stop the event from being propagated to the actionlink handler.

You could probably attach the confirm mixin to an Any component
outputting a span. If you put a button inside, it'd be even easier
since you could just do onclick="return confirm(...);". Unfortunately
it's not possible, or at least not trivial, to create a mixin that you
could attach to the parent element but make it listen to a "click"
event of a nested element - and I don't think it would be cool if the
mixing would programmatically modify the parent element (since that's
how I see you could get it done if you really wanted to).

Kalle

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Help with ZoneUpdate</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cop.u4g7lfx318r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4g7lfx318r83n@arsmachina%3e</id>
<updated>2009-12-05T17:45:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Sat, 05 Dec 2009 15:28:33 -0200, Ashwanth Kumar  
&lt;ashwanth.kumar@gmail.com&gt; escreveu:

&gt; Can you give me an example? I'm new to, Prototype!

Regarding events, take a look at  
http://www.prototypejs.org/api/event/observe

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Help with ZoneUpdate</title>
<author><name>Ashwanth Kumar &lt;ashwanth.kumar@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c1d61ee590912050928n47bff453ja29d2a1c186c73ae@mail.gmail.com%3e"/>
<id>urn:uuid:%3c1d61ee590912050928n47bff453ja29d2a1c186c73ae@mail-gmail-com%3e</id>
<updated>2009-12-05T17:28:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hey,

Can you give me an example? I'm new to, Prototype!

Thanks
 - Ashwanth Kumar

On Sat, Dec 5, 2009 at 3:05 PM, Juan E. Maya &lt;maya.juan@gmail.com&gt; wrote:

&gt; The Zone raises a JS event when is updated. This is explained in the
&gt; Zone documentation:
&gt;
&gt;
&gt; http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html
&gt;
&gt; "After the client-side content is updated, a client-side event is
&gt; fired on the zone's element. The constant Tapestry.ZONE_UPDATED_EVENT
&gt; can be used to listen to the event."
&gt;
&gt; You just need to provide a Prototype listener for that event in your page.
&gt;
&gt; On Sat, Dec 5, 2009 at 7:04 AM, Ashwanth Kumar &lt;ashwanth.kumar@gmail.com&gt;
&gt; wrote:
&gt; &gt; Thanks Josh,
&gt; &gt;
&gt; &gt; That worked like a charm!! I dont know if there could be anything better
&gt; &gt; than this?? :)
&gt; &gt;
&gt; &gt;  - Ashwanth Kumar
&gt; &gt;
&gt; &gt;
&gt; &gt; On 12/5/09, Josh Canfield &lt;josh@thedailytube.com&gt; wrote:
&gt; &gt;&gt;
&gt; &gt;&gt; Last time I was hunting around for a solution for this I came up with
&gt; this:
&gt; &gt;&gt;
&gt; &gt;&gt; Tapestry.ElementEffect.myshowfunc = function(element) {
&gt; &gt;&gt;    // do special stuff
&gt; &gt;&gt;    return new Effect.Highlight(element);
&gt; &gt;&gt; }
&gt; &gt;&gt;
&gt; &gt;&gt; &lt;t:zone show="myshowfunc"/&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; There may be a better method that I'm not aware of though.
&gt; &gt;&gt;
&gt; &gt;&gt; Josh
&gt; &gt;&gt;
&gt; &gt;&gt; On Fri, Dec 4, 2009 at 5:04 PM, Ashwanth Kumar &lt;
&gt; ashwanth.kumar@gmail.com&gt;
&gt; &gt;&gt; wrote:
&gt; &gt;&gt; &gt; Hi,
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; I've a question. How do i invoke a custom JS from the Page,
&gt; immediately
&gt; &gt;&gt; &gt; after a ZoneUpate!
&gt; &gt;&gt; &gt; For instance, i need to apply a markitUp on a TextArea, after it has
&gt; been
&gt; &gt;&gt; &gt; created by the ZoneUpdate event in Tapestry.
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt; How do i invoke it sync with the ZoneUpdate. Currently i use the
&gt; onClick
&gt; &gt;&gt; &gt; event of the TextArea to show, but its not good enough. So, asny help
&gt; &gt;&gt; &gt; regarding this would be appreciated!
&gt; &gt;&gt; &gt;
&gt; &gt;&gt; &gt;  - Ashwanth Kumar
&gt; &gt;&gt; &gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; --
&gt; &gt;&gt; --
&gt; &gt;&gt; TheDailyTube.com. Sign up and get the best new videos on the internet
&gt; &gt;&gt; delivered fresh to your inbox.
&gt; &gt;&gt;
&gt; &gt;&gt; ---------------------------------------------------------------------
&gt; &gt;&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; &gt;&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: T5 - MarkupWriterListener</title>
<author><name>&quot;Thiago H. de Paula Figueiredo&quot; &lt;thiagohp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cop.u4g33nlc18r83n@arsmachina%3e"/>
<id>urn:uuid:%3cop-u4g33nlc18r83n@arsmachina%3e</id>
<updated>2009-12-05T16:29:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Em Sat, 05 Dec 2009 10:55:57 -0200, Daniel Jones &lt;dan@murieston.com&gt;  
escreveu:

&gt; Thanks for your reply Thiago.

You're welcome!

&gt; The mixin method would work I guess but what I'm trying to do is remove  
&gt; the 'name' attribute generated by the Form component (because it is not  
&gt; valid in the Strict Doctype).

You can decorate and advise the MarkupWriterFactory service to do that.  
Anyway, I don't know if there's a JIRA for that alrady. If not, please  
post one.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: forward to page after delay</title>
<author><name>oskar_a &lt;s3746578@mail.inf.tu-dresden.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c26655985.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26655985-post@talk-nabble-com%3e</id>
<updated>2009-12-05T14:14:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

OMG...thats so easy :jumping:
Thanks a lot.


Ulrich StÃ¤rk wrote:
&gt; 
&gt; &lt;meta http-equiv="refresh" content="5; URL=http://URL.of/target/page/"&gt;
&gt; 
&gt; Don't forget to provide a link in case the user's browser doesn't follow 
&gt; redirects.
&gt; 
&gt; Uli
&gt; 
&gt; oskar_a schrieb:
&gt;&gt; Hi,
&gt;&gt; I m new in tapestry and try to create confirmation page A which redirects
&gt;&gt; to
&gt;&gt; page B after 5 seconds. Something like: "Your login was successful. Now
&gt;&gt; You
&gt;&gt; will be redirected to the indexpage."
&gt;&gt; 
&gt;&gt; I tried to realize this in the onActivate() method with Thread.sleep or
&gt;&gt; (java.util.Timer) but it doesn't woks. I takes 5 seconds to load the
&gt;&gt; (index)page but in this time I don't see the confirmation page :(
&gt;&gt; 
&gt;&gt; Thanks for help and sorry for my bad english.
&gt;&gt; --
&gt;&gt; best regards
&gt;&gt; Oskar
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/forward-to-page-after-delay-tp26655834p26655985.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: forward to page after delay</title>
<author><name>=?ISO-8859-15?Q?Ulrich_St=E4rk?= &lt;uli@spielviel.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c4B1A692A.80201@spielviel.de%3e"/>
<id>urn:uuid:%3c4B1A692A-80201@spielviel-de%3e</id>
<updated>2009-12-05T14:07:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&lt;meta http-equiv="refresh" content="5; URL=http://URL.of/target/page/"&gt;

Don't forget to provide a link in case the user's browser doesn't follow 
redirects.

Uli

oskar_a schrieb:
&gt; Hi,
&gt; I m new in tapestry and try to create confirmation page A which redirects to
&gt; page B after 5 seconds. Something like: "Your login was successful. Now You
&gt; will be redirected to the indexpage."
&gt; 
&gt; I tried to realize this in the onActivate() method with Thread.sleep or
&gt; (java.util.Timer) but it doesn't woks. I takes 5 seconds to load the
&gt; (index)page but in this time I don't see the confirmation page :(
&gt; 
&gt; Thanks for help and sorry for my bad english.
&gt; --
&gt; best regards
&gt; Oskar


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: forward to page after delay</title>
<author><name>&quot;Juan E. Maya&quot; &lt;maya.juan@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3cf050ff3b0912050601w4fb8e287pe130277e3086a6c5@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf050ff3b0912050601w4fb8e287pe130277e3086a6c5@mail-gmail-com%3e</id>
<updated>2009-12-05T14:01:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think the best way simpler way is to have a javascript that opens
page B after X seconds.

On Sat, Dec 5, 2009 at 2:54 PM, oskar_a &lt;s3746578@mail.inf.tu-dresden.de&gt; wrote:
&gt;
&gt; Hi,
&gt; I m new in tapestry and try to create confirmation page A which redirects to
&gt; page B after 5 seconds. Something like: "Your login was successful. Now You
&gt; will be redirected to the indexpage."
&gt;
&gt; I tried to realize this in the onActivate() method with Thread.sleep or
&gt; (java.util.Timer) but it doesn't woks. I takes 5 seconds to load the
&gt; (index)page but in this time I don't see the confirmation page :(
&gt;
&gt; Thanks for help and sorry for my bad english.
&gt; --
&gt; best regards
&gt; Oskar
&gt; --
&gt; View this message in context: http://old.nabble.com/forward-to-page-after-delay-tp26655834p26655834.html
&gt; Sent from the Tapestry - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>forward to page after delay</title>
<author><name>oskar_a &lt;s3746578@mail.inf.tu-dresden.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c26655834.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26655834-post@talk-nabble-com%3e</id>
<updated>2009-12-05T13:54:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,
I m new in tapestry and try to create confirmation page A which redirects to
page B after 5 seconds. Something like: "Your login was successful. Now You
will be redirected to the indexpage."

I tried to realize this in the onActivate() method with Thread.sleep or
(java.util.Timer) but it doesn't woks. I takes 5 seconds to load the
(index)page but in this time I don't see the confirmation page :(

Thanks for help and sorry for my bad english.
--
best regards
Oskar
-- 
View this message in context: http://old.nabble.com/forward-to-page-after-delay-tp26655834p26655834.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: T5 - MarkupWriterListener</title>
<author><name>Daniel Jones &lt;dan@murieston.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c26655420.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26655420-post@talk-nabble-com%3e</id>
<updated>2009-12-05T12:55:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Thanks for your reply Thiago.

The mixin method would work I guess but what I'm trying to do is remove the
'name' attribute generated by the Form component (because it is not valid in
the Strict Doctype).  I don't want to add a mixin to every form in my
application.  Is there any way that I can register this with the framework
when the application starts?  I.e. get hold of the MarkupWriter so that I
can call its setListener method?

Daniel


Thiago H. de Paula Figueiredo wrote:
&gt; 
&gt; Em Fri, 04 Dec 2009 13:08:57 -0200, Daniel Jones &lt;dan@murieston.com&gt;  
&gt; escreveu:
&gt; 
&gt;&gt; How do I register my implementation with the framework? I've tried a  
&gt;&gt; number of things in AppModule which didn't work.
&gt; 
&gt; Try creating a mixin that adds your MarkupWriterListener to the  
&gt; MarkupWriter in ints setupRender() method.
&gt; 
&gt; -- 
&gt; Thiago H. de Paula Figueiredo
&gt; Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
&gt; and instructor
&gt; Owner, software architect and developer, Ars Machina Tecnologia da  
&gt; InformaÃ§Ã£o Ltda.
&gt; http://www.arsmachina.com.br
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/T5---MarkupWriterListener-tp26635916p26655420.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ZoneUpdater -&gt; null strings ...</title>
<author><name>Gunnar Eketrapp &lt;gunnar.eketrapp@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tapestry-users/200912.mbox/%3c157c89240912050224t9eb7d21w4de12f0d8fef306a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c157c89240912050224t9eb7d21w4de12f0d8fef306a@mail-gmail-com%3e</id>
<updated>2009-12-05T10:24:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!

I just copied the JumpStart example ... i.e. copied ZoneUpdater.java +
ZoneUpdater.js.

My html is also using jquery in noConflict() mode.

My tml looks like ...

.tml
====
&lt;t:textfield t:id="username" t:mixins="zoneUpdater"
zone="usernameZone" event="usernameChanged"  clientEvent="keyup"
onfocus="ClearTextbox(this, '${message:username}');"
onblur="RestoreTextbox(this, '${message:username}');" /&gt;
&lt;t:textfield t:id="alias"  t:mixins="zoneUpdater" zone="aliasZone"
event="aliasChanged"  clientEvent="keyup" onfocus="ClearTextbox(this,
'${message:alias}');" onblur="RestoreTextbox(this,
'${message:alias}');" /&gt;

Currently I have added a "dummy" in my action methods which works.

But it would be nice to sort it out.

/Gunnar

2009/12/5 Inge Solvoll &lt;inge.tapestry@gmail.com&gt;

&gt; The $N is probably a client encoding of null.
&gt;
&gt; Are you passing a context to the mixin? The provided context seems to be
&gt; [null, 'XXX'], where XXX is replaced by your real value on the client.
&gt;
&gt; On Sat, Dec 5, 2009 at 12:49 AM, Gunnar Eketrapp
&gt; &lt;gunnar.eketrapp@gmail.com&gt;wrote:
&gt;
&gt; &gt; When I added a dummy param to my event method the field string started to
&gt; &gt; come ...
&gt; &gt;
&gt; &gt; [DEBUG] pages.Register [ EXIT] onUserNameChanged [Block[....Register.tml,
&gt; &gt; line 152]]
&gt; &gt; [DEBUG] pages.Register [ENTER] onUserNameChanged(null, "xzd")
&gt; &gt;
&gt; &gt; But where does the $N come from ?
&gt; &gt;
&gt; &gt; /Gunnar
&gt; &gt;
&gt; &gt; 2009/12/5 Gunnar Eketrapp &lt;gunnar.eketrapp@gmail.com&gt;
&gt; &gt;
&gt; &gt; &gt; Hi!
&gt; &gt; &gt;
&gt; &gt; &gt; This is sent from my client when I pressed an 'a' in the username field
&gt; &gt; ...
&gt; &gt; &gt;
&gt; &gt; &gt;     http://localhost:8080/sv/register.username:usernamechanged/$N/a
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; ... and I don't understand the $N part. Could that be the problem !?
&gt; &gt; &gt;
&gt; &gt; &gt; /Gunnar
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; 2009/12/4 Inge Solvoll &lt;inge.tapestry@gmail.com&gt;
&gt; &gt; &gt;
&gt; &gt; &gt; Hi!
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; To begin with, use firebug to track requests sent to the server on
&gt; your
&gt; &gt; &gt;&gt; keypresses. See what the urls look like, and if they contain the
&gt; strings
&gt; &gt; &gt;&gt; you
&gt; &gt; &gt;&gt; expect.
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; Inge
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; On Fri, Dec 4, 2009 at 1:26 PM, Gunnar Eketrapp
&gt; &gt; &gt;&gt; &lt;gunnar.eketrapp@gmail.com&gt;wrote:
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; &gt; Hi and thanks for the reply! Sorry for being stupid but in the
&gt; &gt; JumpStart
&gt; &gt; &gt;&gt; &gt; example ...
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; http://202.177.217.122:8080/jumpstart/examples/javascript/ajaxonevent
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; ... the methods below gets called for each keypress with the actual
&gt; &gt; &gt;&gt; field
&gt; &gt; &gt;&gt; &gt; content.
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;        Object onFirstNameChanged(String firstName) {
&gt; &gt; &gt;&gt; &gt;                _firstName = firstName;
&gt; &gt; &gt;&gt; &gt;                return _nameZone.getBody();
&gt; &gt; &gt;&gt; &gt;        }
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;        Object onLastNameChanged(String lastName) {
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;                _lastName = lastName;
&gt; &gt; &gt;&gt; &gt;                return _nameZone.getBody();
&gt; &gt; &gt;&gt; &gt;        }
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; My event methods are called for each key but are passed null
&gt; strings.
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; What have I missed?
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; Here are parts of my code ..
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; .tml
&gt; &gt; &gt;&gt; &gt; ====
&gt; &gt; &gt;&gt; &gt;        &lt;div class="formfield-wide"&gt;
&gt; &gt; &gt;&gt; &gt;                &lt;t:textfield t:id="username" t:mixins="zoneUpdater"
&gt; &gt; &gt;&gt; &gt; zone="usernameZone" event="usernameChanged"  clientEvent="keyup"
&gt; &gt; &gt;&gt; &gt; class="formfield-wide-input" onfocus="ClearTextbox(this,
&gt; &gt; &gt;&gt; &gt; '${message:username}');" onblur="RestoreTextbox(this,
&gt; &gt; &gt;&gt; &gt; '${message:username}');" /&gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;        &lt;/div&gt;
&gt; &gt; &gt;&gt; &gt;        &lt;div class="formfield-wide"&gt;
&gt; &gt; &gt;&gt; &gt;        &lt;t:zone t:id="usernameZone"&gt;${usernameMessage}&lt;/t:zone&gt;
&gt; &gt; &gt;&gt; &gt;        &lt;/div&gt;
&gt; &gt; &gt;&gt; &gt;        &lt;div class="formfield-wide"&gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;                &lt;t:textfield t:id="alias"  t:mixins="zoneUpdater"
&gt; &gt; &gt;&gt; &gt; zone="aliasZone" event="aliasChanged"  clientEvent="keyup"
&gt; &gt; &gt;&gt; &gt; class="formfield-wide-input" onfocus="ClearTextbox(this,
&gt; &gt; &gt;&gt; &gt; '${message:alias}');" onblur="RestoreTextbox(this,
&gt; &gt; &gt;&gt; &gt; '${message:alias}');" /&gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;        &lt;/div&gt;
&gt; &gt; &gt;&gt; &gt;        &lt;div class="formfield-wide"&gt;
&gt; &gt; &gt;&gt; &gt;        &lt;t:zone t:id="aliasZone"&gt;${aliasMessage}&lt;/t:zone&gt;
&gt; &gt; &gt;&gt; &gt;        &lt;/div&gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; .java
&gt; &gt; &gt;&gt; &gt; ======
&gt; &gt; &gt;&gt; &gt;        @Log
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;        Object onUserNameChanged(String userName) {
&gt; &gt; &gt;&gt; &gt;                this.username = userName;
&gt; &gt; &gt;&gt; &gt;                return usernameZone.getBody();
&gt; &gt; &gt;&gt; &gt;        }
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;        @Log
&gt; &gt; &gt;&gt; &gt;        Object onAliasChanged(String alias) {
&gt; &gt; &gt;&gt; &gt;                this.alias = alias;
&gt; &gt; &gt;&gt; &gt;                return aliasZone.getBody();
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;        }
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; /Gunnar
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; 2009/12/4 Thiago H. de Paula Figueiredo &lt;thiagohp@gmail.com&gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt; Em Fri, 04 Dec 2009 08:46:31 -0200, Gunnar Eketrapp &lt;
&gt; &gt; &gt;&gt; &gt; &gt; gunnar.eketrapp@gmail.com&gt; escreveu:
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt;  Hi!
&gt; &gt; &gt;&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt; Hi!
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt;  I just copied Inge's ZoneUpdater and by magic my registration
&gt; page
&gt; &gt; &gt;&gt; &gt; &gt;&gt; startedto recieve events for each key pressed in the field
that I
&gt; &gt; had
&gt; &gt; &gt;&gt; &gt; &gt;&gt; instrumented with it.
&gt; &gt; &gt;&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; &gt; &gt;&gt; BUT by some reason the string passed is null and I must have
&gt; missed
&gt; &gt; &gt;&gt; &gt; &gt;&gt; something.
&gt; &gt; &gt;&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt; If you don't submit the form, the entered values will not be
sent
&gt; to
&gt; &gt; &gt;&gt; the
&gt; &gt; &gt;&gt; &gt; &gt; page.
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt;  When I look at the JumpStart example I noticed that the field
&gt; names
&gt; &gt; &gt;&gt; have
&gt; &gt; &gt;&gt; &gt; &gt;&gt; underscores in them in the java class.
&gt; &gt; &gt;&gt; &gt; &gt;&gt; Is this needed ?
&gt; &gt; &gt;&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt; No. This is just a convention that some people use.
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt; --
&gt; &gt; &gt;&gt; &gt; &gt; Thiago H. de Paula Figueiredo
&gt; &gt; &gt;&gt; &gt; &gt; Independent Java, Apache Tapestry 5 and Hibernate consultant,
&gt; &gt; &gt;&gt; developer,
&gt; &gt; &gt;&gt; &gt; &gt; and instructor
&gt; &gt; &gt;&gt; &gt; &gt; Owner, software architect and developer, Ars Machina Tecnologia
da
&gt; &gt; &gt;&gt; &gt; &gt; Informação Ltda.
&gt; &gt; &gt;&gt; &gt; &gt; http://www.arsmachina.com.br
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; &gt;&gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
&gt; &gt; &gt;&gt; &gt; &gt; For additional commands, e-mail: users-help@tapestry.apache.org
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt; &gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt; &gt; --
&gt; &gt; &gt;&gt; &gt; [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
&gt; &gt; &gt;&gt; &gt; Allévägen 2A, 132 42 Saltsjö-Boo
&gt; &gt; &gt;&gt; &gt;
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; --
&gt; &gt; &gt; [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
&gt; &gt; &gt; Allévägen 2A, 132 42 Saltsjö-Boo
&gt; &gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; --
&gt; &gt; [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
&gt; &gt; Allévägen 2A, 132 42 Saltsjö-Boo
&gt; &gt;
&gt;



-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo


</pre>
</div>
</content>
</entry>
</feed>
