-
1. Re: faclets popup
udo.krass Feb 17, 2006 1:50 PM (in response to udo.krass)got it:
<a href="#" onClick="window.open('popup_test.seam','exp','width=752,height=500,scrollbars=yes');">What is JBoss Seam?
:) -
2. Re: faclets popup
udo.krass Feb 17, 2006 2:09 PM (in response to udo.krass)I will be happy if somebody can tell me to do this with the commandLink tag...
-
3. Re: faclets popup
gavin.king Feb 17, 2006 3:04 PM (in response to udo.krass)Wouldn't you rather use an outputLink tag for that?
-
4. Re: faclets popup
udo.krass Feb 17, 2006 3:25 PM (in response to udo.krass)Thats what i want:
I have a datatable, e.g. the hotel-datatable and when i click on a hotelname, a popup will display all the hotelinformations. The popup is a new window without all the toolbar-stuff from the browser (as your popups in the bookings example). I've read that this is only supported by javascript.
In my mind it will be more comfortable.
So i need the index of the datatable to display in the popup the correct hotel.
A outputLink will not work well. A simple a-tag will not work, because it haven't the index.
I try to build that popup-stuff... -
5. Re: faclets popup
xiangya Mar 16, 2006 8:06 AM (in response to udo.krass)Hello,
I do a test for seam-booking example, like this:<h:commandLink action="#{hotelBooking.selectHotel}" target="_blank">View Hotel</h:commandLink>
just add target attribute for h:commandLink tag,then I get a blank browser window, and it seems to works fine.
I don't know if that satisfy your need.
Regards,
qinxian