[richfaces-issues] [JBoss JIRA] Commented: (RF-1489) calendar tabPanel -> tab problem

Tomislav Jakopec (JIRA) jira-events at lists.jboss.org
Tue Dec 4 08:48:52 EST 2007


    [ http://jira.jboss.com/jira/browse/RF-1489?page=comments#action_12390444 ] 
            
Tomislav Jakopec commented on RF-1489:
--------------------------------------

here it is

<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="r"%>
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a"%>

<f:view>
	<html>
	<%@ include file="/core/predlozak/Glava.jsp"%>
	<body>

	<h:form id="forma">
		<%@ include file="/core/predlozak/Navigator.jsp"%>

		<!-- glavni panel -->
		<t:panelGrid id="glavniPanel" columns="2" width="100%"
			columnClasses="panelAkcijaPoruke,panelPodaci">

			<!-- Panel za akciju i poruke -->
			<t:panelGrid columns="1" styleClass="panelKolona">

				<!-- akcija -->
				<r:panelBar id="panelUvijeti" styleClass="panelAkcija">
					<r:panelBarItem label="#{messages['zajednicke.akcija']}">


						<t:panelGrid columns="3"
							columnClasses="siroko30,siroko40,siroko30" width="100%">
							<t:panelGrid columns="1" align="left" width="100%"
								cellpadding="0" cellspacing="0">
								<a:commandButton id="povratak" rendered="#{!binding.proslost}"
									title="#{messages['zajednicke.povratak']}"
									action="#{obradaZaposlenik.imaLiPromjene}"
									oncomplete="#{zaposlenik.promjenjen} ? Richfaces.showModalPanel('modalPanelPromjena') : ''"
									image="/slike/ikone/povratak.png" styleClass="gradualshine"
									onmouseover="slowhigh(this)" onmouseout="slowlow(this)" />
							</t:panelGrid>

							<%@ include file="/core/predlozak/akcija/PNS.jsp"%>
						</t:panelGrid>
						<t:panelGrid columns="1" styleClass="okvirPodatak">
							<t:panelGrid columns="1" width="100%">
								<t:outputText value="#{messages['zajednicke.osoba']}"
									rendered="#{zaposlenik.id == 0}" />
								<t:panelGrid columns="3" cellpadding="0" cellspacing="0"
									rendered="#{zaposlenik.id == 0}">
									<t:inputText value="#{traziOsoba.prezime}" size="10"
										id="SBTosoba" style="font-size: 10px;" onblur="this.value='';" />
									
									<t:graphicImage value="/slike/ikone/otvoriSifarnik.png"
										title="#{messages['zajednicke.traziOsoba']}"
										style="cursor:pointer">
										<a:support event="onclick" reRender="rrOsoba"
											action="#{traziOsoba.trazi}"
											oncomplete="Richfaces.showModalPanel('traziOsoba:traziOsoba');document.getElementById('traziOsoba:forma:prezime').focus();">
											<a:actionparam value="true"
												assignTo="#{traziOsoba.traziJedan}" />
											<a:actionparam value="" assignTo="#{traziOsoba.prezime}" />
										</a:support>
									</t:graphicImage>
								</t:panelGrid>

								<t:panelGrid columns="1" align="center" id="panelOsoba">
									<t:graphicImage url="#{zaposlenik.osoba.slika}" />
									<t:outputText styleClass="velikaSlova"
										value="#{zaposlenik.osoba.ime} #{zaposlenik.osoba.prezime}" />
									<t:outputText styleClass="velikaSlova"
										value="#{zaposlenik.osoba.jmbg}" />
									<t:outputText
										value="#{zaposlenik.osoba.prebivaliste.ulica} #{zaposlenik.osoba.prebivaliste.postanskiBroj} #{zaposlenik.osoba.prebivaliste.mjesto}" />

								</t:panelGrid>

							</t:panelGrid>
						</t:panelGrid>
						<t:panelGrid columns="2" rendered="#{zaposlenik.osoba != null}">
							<t:commandButton 
								image="/slike/ikone/spremiIdiNaNovi.png"
								action="spremiIdiNaNovi">
								<r:toolTip mode="client" followMouse="true" verticalOffset="30"
									horizontalOffset="-40" styleClass="tooltip" layout="block">
									<t:outputText escape="false"
										value="#{messages['maticni.zaposlenik.spremiIdiNaNoviOpis']}" />
								</r:toolTip>
							</t:commandButton>
							<t:panelGrid columns="1">
							<t:outputText value="#{messages['maticni.zaposlenik.datumVazenja']}"/>
							<r:calendar id="datumVazenja" value="#{zaposlenik.datumVazenja}"
								inputStyle="width: 90px" enableManualInput="true"
								oninputkeypress="return disableEnter(event);"
								datePattern="#{oper.postavkeOperatera.prikazDatuma}" />
								</t:panelGrid>
						</t:panelGrid>
					</r:panelBarItem>


				</r:panelBar>

				<!-- poruke panel-->
				<%@include file="/core/predlozak/Poruke.jsp"%>
				<!-- zavrsile poruke panel-->

			</t:panelGrid>
			<!-- zavrsio Panel za akciju i poruke -->
			<t:panelGrid columns="1" styleClass="panelKolona"
				rendered="#{zaposlenik.osoba!=null}">
				<r:tabPanel switchType="server" binding="#{tabPanel1}"
					style="margin: 0px; padding: 0px;">
					<r:tab name="osnovni"
						label="#{messages['zajednicke.osnovniPodaci']}">
						<r:panel bodyClass="panelTijeloPodaciTab">
				<r:spacer width="500"></r:spacer>
						</r:panel>
					</r:tab>
				</r:tabPanel>
			</t:panelGrid>
		</t:panelGrid>
		<!-- zavrsio panel za podatke -->

	</h:form>

	<%@ include file="/core/predlozak/Podnozje.jsp"%>
	</body>
	</html>
</f:view>


visualy you can also see at
http://80.80.61.252/kadrovska (java,java) workers -> search all, edit first, bottom left is calendar

> calendar tabPanel -> tab problem
> --------------------------------
>
>                 Key: RF-1489
>                 URL: http://jira.jboss.com/jira/browse/RF-1489
>             Project: RichFaces
>          Issue Type: Bug
>         Environment: jboss 4.2.2, RF 3.1.3 snapshot, win, firefox
>            Reporter: Tomislav Jakopec
>
>  have calendar on the left an tabpanel on the right. calendar is rendered behind tab and i can't select date on calendar.
> example
> http://popovac.hr/orka/calPanelProblem.jpg

-- 
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