[richfaces-issues] [JBoss JIRA] Assigned: (RF-684) Calendar posistions wrong.

Aleksej Yanul (JIRA) jira-events at lists.jboss.org
Fri Dec 28 10:16:45 EST 2007


     [ http://jira.jboss.com/jira/browse/RF-684?page=all ]

Aleksej Yanul reassigned RF-684:
--------------------------------

    Assignee: Aleksej Yanul  (was: Pavel Yaschenko)

> Calendar posistions wrong.
> --------------------------
>
>                 Key: RF-684
>                 URL: http://jira.jboss.com/jira/browse/RF-684
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Ilya Shaikovsky
>         Assigned To: Aleksej Yanul
>             Fix For: 3.1.0
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> 	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
> 	xmlns:f="http://java.sun.com/jsf/core"
> 	xmlns:h="http://java.sun.com/jsf/html"
> 	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
> 	xmlns:ui="http://java.sun.com/jsf/facelets">
> <ui:composition template="/templates/common.xhtml">
> 	<ui:define name="body">
> 			<a href="javascript:Richfaces.showModalPanel('_panel',{left:'auto', top:'auto'})">
> 				Show Modal Panel
> 			</a>
> 			<h:commandButton value="Open" type="button" onclick="javascript:Richfaces.showModalPanel('_panel',{left:'auto', top:'auto'})"/>
> 			<h:outputLink value="#" onclick="javascript:Richfaces.showModalPanel('_panel',{left:'auto', top:'auto'},{param1,'test'})">Open</h:outputLink>
> 		<rich:modalPanel id="_panel" showWhenRendered="true" left="300" top="300">
> 			<f:facet name="header">
> 				Facelets header
> 			</f:facet>
> 			<h:form id="mpform">
> 			<rich:calendar popup="true"/>
> 				<h:inputText id="input"></h:inputText>
> 				<h:outputLink value="#" onclick="document.getElementById('mpform:input').focus()">Set</h:outputLink>				
> 			</h:form>
> 			<h:form>
> 				<a4j:commandButton value="close via ajax" oncomplete="javascript:Richfaces.hideModalPanel('_panel')"></a4j:commandButton>
> 			</h:form>
> 			<f:verbatim>
> 				<a href="javascript:Richfaces.hideModalPanel('_panel')">
> 					Hide Modal Panel 1
> 				</a>
> 			</f:verbatim>
> 		</rich:modalPanel>
> 		<script type="text/javascript">
> 			//<![CDATA[
> 			function windowclose(){
> 				if (document.getElementById('mpform:error')==null){
> 					Richfaces.hideModalPanel('_panel');
> 				};
> 			};
> 			function fillField(){
> 				if (!(document.getElementById('mpform:input')==null)){
> 					document.getElementById('mpform:input').value=event.parameters.param1;
> 				};
> 			};
> 			
> 			//]]>
> 		</script>
> 		<h:form>
> 		<h:commandButton value="set" type="button" onclick="document.getElementById('mpform:input').focus"></h:commandButton>
> 		<h:commandButton action="inputname" value="main"></h:commandButton>
> 		</h:form>
> 	</ui:define>
> </ui:composition>
> </html>
> Calendar positioned not relatively to mp but MP offcets added.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list