tapestry-user@jakarta.apache.org
[Top] [All Lists]

RE: Popups containing tapestry pages

Subject: RE: Popups containing tapestry pages
From: "martin Holman"
Date: Tue, 12 Apr 2005 10:33:25 +0100
Hi, 

Saqib mentioned this component 

http://equalitylearning.org/Tassel/app?service=direct/1/Browse/viewCompo
nent&sp=SrobertzNewWindowLink

Martin

-----Original Message-----
From: Bocko [mailto:bogi@xxxxxxxxxx] 
Sent: 12 April 2005 10:05
To: Tapestry users
Subject: Re: Popups containing tapestry pages

 Hi,

I had similar problem. It's not popup, I activate new window on button
click. I solved this width help of JavaScript, like this:

<form>
<input type="button" value="new page"
onClick="window.open('/test/app?service=page/pageName')"
</form>

hire /test/app is path to your tapestry application as you specified in
web.xml

I know that this is not very nice solution, but it works.
If someone has better solution - width some tapestry component or
something
else, please tell us.

Also I am looking on how to bookmark tapestry pages to favorites. Anyone
know how to do this?

Thanks
Bogdan

> Hello all,
>
> I am very new to Tapestry so I apologies if the answer is obvious.
What
> I require is a popup to contain a Tapestry page from the same context
as
> the parent page. I've looked at PopupLink but this only seems to cater
> for none Tapestry pages such as external website/ help pages etc.
> DirectLink and ExternalLink do not seem allow for the creation of a
new
> browser instance.
>
> Has anyone else solved this problem? Do I have to create a custom
> component?



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: tapestry-user-help@xxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>