function openWindow(element)
| {
| var vWinUsers =
window.open("<userPicker.resetQuery>?formId=projectAddForm&multiSelect=&element='
+ element, 'UserPicker',
'status=yes,resizable=yes,top=100,left=200,width=580,height=750,scrollbars=yes');
| vWinUsers.opener = self;
| vWinUsers.focus();
| }
| </script>
| <input name="pm" />
| <a href="javascript:openWindow('pm');">
| <h:graphicImage url="/img/filter_public.gif"
border="0"
| height="16" width="16" align="absMiddle"
| title="Select a user"
| />
| </a>
Which code shall i replace <userPicker.resetQuery> with?
if i use <h:commandLink action="#{hotelBooking.selectHotel}"
target="_blank">View Hotel</h:commandLink>, how to control the
window's size like "top=100,left=200,width=580,height=750"?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025111#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...