Accordion Primefaces不适用于IPAD需求建议

时间:2013-05-07 03:43:46

标签: facebook ipad jsf-2 primefaces

我有一个使用手风琴,桌面浏览器和Android浏览器的facebook应用程序chrome手风琴完全正常工作但是当我在IPAD上运行它时,手风琴primefaces不会崩溃。我在这件事上需要一些建议或意见..请帮忙!这是我的代码:

<h:form>
                <p:accordionPanel dynamic="true">
                    <p:tab title="#{bundle.basicInfo}" titleStyle="width:580px;">
                        <h:panelGrid columns="2" cellpadding="5">
                            <h:outputLabel value="#{bundle.licensed_by}"/>
                            <h:outputText value="#{userController.licenseType()}" title="#{bundle.licensed_by}"/>                            

                            <h:outputLabel value="#{bundle.register_type}"/>
                            <h:outputText value="#{userController.registrationType()}" title="#{bundle.register_type}"/>                            

                            <h:outputLabel value="#{bundle.register_name}"/>
                            <h:outputText value="#{userController.selected.registerName}" title="#{bundle.register_name}"/>

                            <h:outputLabel value="#{bundle.register_name_yomigana}"/>
                            <h:outputText value="#{userController.selected.registerNameYomigana}" title="#{bundle.register_name_yomigana}"/>

                            <h:outputLabel value="#{bundle.email}"/>
                            <h:outputText value="#{userController.selected.email}" title="#{bundle.email}"/>

                            <h:outputLabel value="#{bundle.registered_date}"/>
                            <h:outputText value="#{userController.selected.registeredDate}" title="#{bundle.registered_date}">
                                <f:convertDateTime pattern="yyyy/MM/dd HH:mm:ss" />
                            </h:outputText>

                            <h:outputLabel value="#{bundle.last_visit_date}"/>
                            <h:outputText value="#{userController.selected.lastVisitDate}" title="#{bundle.last_visit_date}">
                                <f:convertDateTime pattern="yyyy/MM/dd HH:mm:ss" />
                            </h:outputText>
                        </h:panelGrid>
                    </p:tab>
                    <p:tab title="#{bundle.profile_picture}" titleStyle="width:580px;">
                        <h:panelGrid columns="2" cellpadding="5">
                            <h:outputLabel value="#{bundle.profile_picture}"/>
                            <p:graphicImage style="margin-left: 100px; width: 180px; height: 180px;" height="180" width="180" value="#{userController.picture}"/>
                        </h:panelGrid>
                    </p:tab>
                    <p:tab title="#{bundle.moreInfo}" titleStyle="width:580px;">
                        <h:panelGrid columns="2" cellpadding="5">
                            <h:outputText  value="#{bundle.name_roman}"/>
                            <h:outputText value="#{userController.selected.nameRoman}" title="#{bundle.name_roman}"/>

                            <h:outputText value="#{bundle.sex}"/>
                            <h:outputText value="#{userController.gender()}" title="#{bundle.sex}"/>

                            <h:outputLabel   value="#{bundle.phone_number}"/>
                            <h:outputText value="#{userController.selected.phoneNumber}" title="#{bundle.phone_number}"/>

                            <h:outputLabel value="#{bundle.birth_date}"/>
                            <h:outputText value="#{userController.selected.birthDate}" title="#{bundle.birth_date}">
                                <f:convertDateTime pattern="yyyy/MM/dd" />
                            </h:outputText>

                            <h:outputLabel value="#{bundle.height}"/>
                            <h:outputText value="#{userController.selected.height} cm" title="#{bundle.height}"/>

                            <h:outputLabel value="#{bundle.weight}"/>
                            <h:outputText value="#{userController.selected.weight} kg" title="#{bundle.weight}"/>

                            <h:outputLabel value="#{bundle.blood_type}"/>
                            <h:outputText value="#{userController.selected.bloodType}" title="#{bundle.blood_type}"/>

                            <h:outputLabel value="#{bundle.prefecture_born_at}"/>
                            <h:outputText value="#{userController.selected.prefectureBornAt}" title="#{bundle.prefecture_born_at}"/>

                            <h:outputLabel value="#{bundle.alma_matter}"/>
                            <h:outputText value="#{userController.selected.almaMatter}" title="#{bundle.alma_matter}"/>

                            <h:outputLabel value="#{bundle.languages}"/>
                            <h:outputText value="#{userController.selected.languages}" title="#{bundle.languages}"/>

                            <h:outputLabel value="#{bundle.pref1}"/>
                            <h:outputText value="#{userController.selected.prefActiveAt1}" title="#{bundle.pref1}"/>

                            <h:outputLabel value="#{bundle.pref2}"/>
                            <h:outputText value="#{userController.selected.prefActiveAt2}" title="#{bundle.pref2}"/>

                            <h:outputLabel value="#{bundle.pref3}"/>
                            <h:outputText value="#{userController.selected.prefActiveAt3}" title="#{bundle.pref3}"/>

                            <h:outputLabel value="#{bundle.charge_weekday1}"/>
                            <h:outputText value="#{userController.selected.chargeWeekday1}" title="#{bundle.charge_weekday1}"/>

                            <h:outputLabel value="#{bundle.charge_weekday2}"/>
                            <h:outputText value="#{userController.selected.chargeWeekday2}" title="#{bundle.charge_weekday2}"/>

                            <h:outputLabel value="#{bundle.charge_weekday3}"/>
                            <h:outputText value="#{userController.selected.chargeWeekday3}" title="#{bundle.charge_weekday3}"/>

                            <h:outputLabel value="#{bundle.charge_holiday1}"/>
                            <h:outputText value="#{userController.selected.chargeHoliday1}" title="#{bundle.charge_holiday1}"/>

                            <h:outputLabel value="#{bundle.charge_holiday1}"/>
                            <h:outputText value="#{userController.selected.chargeHoliday2}" title="#{bundle.charge_holiday2}"/>

                            <h:outputLabel value="#{bundle.charge_holiday3}"/>
                            <h:outputText value="#{userController.selected.chargeHoliday3}" title="#{bundle.charge_holiday3}"/>

                            <h:outputLabel value="#{bundle.belongs_to}"/>
                            <h:outputText value="#{userController.selected.belongsTo}" title="#{bundle.belongs_to}"/>

                            <h:outputLabel value="#{bundle.home_course}"/>
                            <h:outputText value="#{userController.selected.homeCourse}" title="#{bundle.home_course}"/>

                            <h:outputLabel value="#{bundle.age_start_golf}"/>
                            <h:outputText value="#{userController.selected.ageStartGolf}" title="#{bundle.age_start_golf}"/>

                            <h:outputLabel value="#{bundle.years_experience}"/>
                            <h:outputText value="#{userController.selected.yearsExperience}" title="#{bundle.years_experience}"/>

                            <h:outputLabel value="#{bundle.average_stroke}"/>
                            <h:outputText value="#{userController.selected.averageStroke}" title="#{bundle.average_stroke}"/>

                            <h:outputLabel value="#{bundle.hollinones}"/>
                            <h:outputText value="#{userController.selected.hollinones}" title="#{bundle.hollinones}"/>

                            <h:outputLabel value="#{bundle.best_score}"/>
                            <h:outputText value="#{userController.selected.bestScore}" title="#{bundle.best_score}"/>

                            <h:outputLabel value="#{bundle.match_experience}"/>
                            <h:outputText value="#{userController.selected.matchExperience}" title="#{bundle.match_experience}"/>

                            <h:outputLabel value="#{bundle.sponsored_club_maker}"/>
                            <h:outputText value="#{userController.selected.sponsoredClubMaker}" title="#{bundle.ViewUserTitle_sponsoredClubMaker}"/>

                            <h:outputLabel value="#{bundle.sponsored_ball_maker}"/>
                            <h:outputText value="#{userController.selected.sponsoredBallMaker}" title="#{bundle.ViewUserTitle_sponsoredBallMaker}"/>

                            <h:outputLabel value="#{bundle.sponsored_wear_maker}"/>
                            <h:outputText value="#{userController.selected.sponsoredWearMaker}" title="#{bundle.sponsored_wear_maker}"/>

                            <h:outputLabel value="#{bundle.study_under}"/>
                            <h:outputText value="#{userController.selected.studyUnder}" title="#{bundle.study_under}"/>

                            <h:outputLabel value="#{bundle.hobby}"/>
                            <h:outputText value="#{userController.selected.hobby}" title="#{bundle.hobby}"/>

                            <h:outputLabel    value="#{bundle.favorite_food}"/>
                            <h:outputText value="#{userController.selected.favoriteFood}" title="#{bundle.favorite_food}"/>

                            <h:outputLabel value="#{bundle.dislike_food}"/>
                            <h:outputText value="#{userController.selected.dislikeFood}" title="#{bundle.dislike_food}"/>

                            <h:outputLabel value="#{bundle.carry}"/>
                            <h:outputText value="#{userController.selected.carry}" title="#{bundle.carry}"/>

                            <h:outputLabel value="#{bundle.best_club}"/>
                            <h:outputText value="#{userController.selected.bestClub}" title="#{bundle.best_club}"/>

                            <h:outputLabel value="#{bundle.course_of_hit_ball}"/>
                            <h:outputText value="#{userController.selected.courseOfHitBall}" title="#{bundle.course_of_hit_ball}"/>

                            <h:outputLabel value="#{bundle.theory}"/>
                            <h:outputText value="#{userController.selected.theory}" title="#{bundle.theory}"/>

                            <h:outputLabel value="#{bundle.brief_comment}"/>
                            <h:outputText value="#{userController.selected.briefComment}" title="#{bundle.brief_comment}"/>

                            <h:outputLabel value="#{bundle.lesson_remarks}"/>
                            <h:outputText value="#{userController.selected.lessonRemarks}" title="#{bundle.lesson_remarks}"/>
                        </h:panelGrid>
                    </p:tab>
                </p:accordionPanel>

                <h:panelGroup layout="block" style="margin-bottom: 10px;">
                    <h:panelGroup>
                        <p:commandButton action="#{userController.viewEdit}" value="#{bundle.editButton}"></p:commandButton>
                        <p:commandButton onclick="confirmation.show()" value="#{bundle.deleteButton}"/>
                    </h:panelGroup>
                </h:panelGroup> 
                <p:confirmDialog id="confirmDialog" message="Delete Acoount ?"  
                                 header="Deleting Account" severity="alert" widgetVar="confirmation">  
                    <p:commandButton id="confirm" value="Yes Sure" oncomplete="confirmation.hide()"  
                                     action="#{userController.deleteUser()}" />  
                    <p:commandButton id="decline" value="Not Yet" onclick="confirmation.hide()" type="button" />   
                </p:confirmDialog>  
            </h:form>

我需要表格......

0 个答案:

没有答案