Grid in calendar when inside panel

Locked
pfroy
Posts: 49
Joined: 09 Sep 2015, 18:20

24 Jan 2016, 08:31

Hi,

Can someone explain me why calendar get grid lines as soon as I put it inside a p:panel? If I use regular JSF layout component I don't get those grid lines. Calendar should keep it's theme default. Volt theme don't add grid lines on calendar normally.

Thanks

Code: Select all

<p:panel header="Informations">
	<p:calendar pattern="yyyy/MM/dd" value="#{faultController.selected.faultDate}" title="#{bundle.EditFaultTitle_dateCreation}" required="true" mode="inline"/>
</p:panel>
Image
Primefaces 12.0
Jakarta Faces 4.0
Oracle JDK 17
Payara 6.2023.6
Jakarta EE 10.0

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

25 Jan 2016, 12:06

I tested with your sample code, but I didn't see a problem like in your screenshot.
My screenshot;
Image

Code: Select all

<div class="Container100">
            <div class="Card">
                <div class="Container100">
                    <h:form>
                        <p:panel header="Informations">
                            <p:calendar pattern="yyyy/MM/dd" required="true" mode="inline"/>
                        </p:panel>
                    </h:form>
                </div>
            </div>
        </div>

pfroy
Posts: 49
Joined: 09 Sep 2015, 18:20

25 Jan 2016, 21:25

aragorn wrote:I tested with your sample code, but I didn't see a problem like in your screenshot.
My screenshot;
Image

Code: Select all

<div class="Container100">
            <div class="Card">
                <div class="Container100">
                    <h:form>
                        <p:panel header="Informations">
                            <p:calendar pattern="yyyy/MM/dd" required="true" mode="inline"/>
                        </p:panel>
                    </h:form>
                </div>
            </div>
        </div>
Interesting... I tested also your code in simple use case and the calendar display properly. The bug I reported happened in a specific form I was designing couple of days ago. I'll stay aware if it happens again and post more details about my form design.

Thanks a lot
Primefaces 12.0
Jakarta Faces 4.0
Oracle JDK 17
Payara 6.2023.6
Jakarta EE 10.0

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

26 Jan 2016, 09:42

Thanks for the update;)

Locked

Return to “Volt”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest