6,716 questions
Score of 0
1 answer
62 views
Velocity 1.7 nested block macros
anyone have examples using the #@macro_name syntax to call a macro? looks like it only works with $bodyContent according to https://velocity.apache.org/engine/1.7/user-guide.html#velocimacros but wasn'...
Advice
0
votes
1
replies
83
views
Is there a way to define a component or fragment of elements and reuse it multiple times, all in the same JSF page?
The title pretty much sums it up.
I'm aware of the possibility of creating your own custom tags with ui:composition, or having multiple ui:insert with the same name, but they all require defining the ...
Score of 0
0 answers
42 views
Why is <c:if test="#{MyBean.myFunction()}"> rendering multiple times in my xhtml file?
I have a large xhtml file, below the imports there is a component that should only render when a test from a Bean returns true.
<c:if test="#{MyBean.myFunction()}">
<div id=&...
Score of 0
0 answers
61 views
JSF composite component field not working from ui:include inside another composite component
Java 21 and Wildfly 37.0.0:
Seeing this weird thing where I'm creating a new composite component, but the field passed into it is null when residing inside a <ui:include> within another ...
Score of 1
1 answer
69 views
Selection on expanded row in DataTable is not working
Describe the bug:
In my attached code I have a parent table with multiple rows (rows are expandable) when I expand it and try to select a sub-row, it doesn't get selected,
Note: both parent table and ...
Score of 0
1 answer
79 views
Variables getting stuck on values in my script [closed]
My web page is designed to allow people to use HSL or RGB gauges to play around with colours.
However, if you use the RGB gauges to find a colour that corresponds to a CSS colour name, or use the ...
Score of 0
1 answer
102 views
Layout shift despite specifying width and height in CSS
I’m getting a really bad layout shift when a large image mentioned below is loaded. I’m using an (X)HTML5 figure element, and its figcaption shows first near the top of the window, then when the image ...
Score of 0
0 answers
115 views
PHPword images that are in HTML not adding to the word document
I have a template word document with a placeholder that needs to be replaced by HTML code. That HTML code has test wrapped images as well. Ill break down my requirement and the issue below.
...
Score of 0
1 answer
54 views
Why might lmxl insert <p> tags when parsing my xhtml file?
I'm very new to working with HTML/XML so forgive me if I don't include something important.
I have an xhtml file that I'm trying to parse using the Python lmxl library. The goal is to place the result ...
Score of 2
1 answer
105 views
For accessibility, do I need to use lang="" as well as xml:lang="" attributes in XML (XHTML5)?
For accessibility, do I need to write lang="xx" as well as xml:lang="xx" attributes in XML (XHTML5) to indicate human natural language and language changes? I am always writing XML ...
Score of 0
1 answer
301 views
Issues with Inline CSS Converting HTML to PowerPoint using XHTMLtoPPTX
I am trying to convert HTML content into PowerPoint slides using the XHTMLtoPPTX library, but I am encountering this issue:
Inline CSS Styles Not Applying Correctly:
Some CSS styles, particularly ...
Score of 0
1 answer
95 views
How to sum up values in XML
I have an XML file with tournament data and want to calculate the total points for each team. Here’s the XML:
<tournoi date="2012-12-12">
<match date="2012-12-20" ...
Score of 0
1 answer
156 views
Splitting one row of data into two when exporting a SQL result into HTML
I have a result set in SQL Server (simplified and with fewer rows):
Name
Last Sale
Delivery Details
Call Date
Details
Smith
2024-06-13
Parcels go to side dr
2024-08-19
Enquiry re stk
Smith
2024-06-13
...
Score of 0
1 answer
166 views
ESEF XHTML - schemaRef
Hi I am currently trying to learn how ESEF works and i have some questions about the link:schemaRef Element.
Please correct me when I am wrong at any point as I am still learning :)
In general the ...
Score of -1
2 answers
204 views
How to get correct tab order with nav at end of document, using only xhtml and css
My nav element is positioned at the end of the document for accessibility reasons, and positioned at the top of the screen using CSS. Because of the document order, I suspect that the nav links will ...