body variable does not appear within assign in osb 12.1.3 - soa

as seen in the picture body variable does not appear. How can I to change this.

Related

Is it possible to bind properties to spans?

I created a Blazor fiddle for easier understanding.
On the left hand side, you see, what I have: There is an <input>, two <span>s that display values that depend on the <input> and a third <span> that displays the sum. The <span>s are editable but when I edit the values, the sum is not updated.
In the middle, you see, what I want: I changed two <span>s to <textarea>s and bound their contents to the properties Number3 and Number4. This enables me to have an updated sum not only when the <input> is changed but also when I enter a number in one of the <textarea>s.
These bindings work well with <textarea>s but not with <span>s. But I'd like to use <span>s, because no formatting is necessary (e. g. width and height) and depending on other conditions, the content should be editable or not. I realized this with contenteditable="#(UserIsLoggedIn ? "true" : "false")".
On the right hand side, I tried <span>s but a simple #bind="Number5" produces an error during run time because it is interpreted as attribute and the error is
Failed to execute 'setAttribute' on 'Element': '#bind' is not a valid attribute name.
So I tried #bind-value="Number5" #bind-value:event="oninput" but this only creates an attribute named value. In the dev tools I see, there is a <span value="2"></span> with size 0x0, because it is empty.
Is it possible to bind properties to <span>s just like I bound them to the <textarea>s? If not, can I make a textarea look like and behave (contenteditable="false") like a span?

Remove ant table header for a single column

I want to use example like this (from ant website) https://codesandbox.io/s/yw2y55?file=/demo.js:134-229,
but I need to remove what is 'Action' header here. Not just remove the word (which is easily done by leaving 'title' property empty), but I want that last column to be visible just where the data is, i.e. in data rows. Up in header, when you scroll it horizontally, I want other (scrolled) headers to be visible in place of the last header.
If I set 'display:none' in the browser inspector for the last column header, I get the desired behaviour pretty much, but how can I code this?
Ant-wise or maybe some custom css way?

How do I add a custom CSS image to the target background behind a given layer of text in Squarespace?

We are working on customising a website for our client in Squarespace (so that they can manage it on their own).
I've added a CSS style to the background of a layer of text, but it won't show up. I have imported the image to use into Squarespace and I have the URL.
I have also inspected the page element and found the id that I'm wanting to target to.
This is my code:
#yui_3_17_2_5_1465050472193_17704 {
background-image: url("http://static1.squarespace.com/static/55bed56ee4b04fdc6e0dd0d8/t/5752e43c22482e7d77f53e3b/1465050172750/Share+the+Love+Kids+Club.png")
}
Why does this not add the image I expect?
In Squarespace, currently, any ID starting with "yui" can/will change on page refresh. That is because such IDs are dynamically generated. Therefore, you should not rely on them for use in CSS or Javascript.
However, it is currently accepted that block IDs (ID's starting with "block-" do not change as long as the block is not removed or moved in a way that causes it to be removed (such as dragging a text block directly above/below another text block).
Therefore, you should instead locate the block ID of the block to which you want the CSS rule applied. If you need to target with even greater specificity, start with the block ID then add specificity from there. For example:
#block-yui_3_17_2_4_1443109442267_11866 {
background-image: url("http://static1.squarespace.com/static/55bed56ee4b04fdc6e0dd0d8/t/5752e43c22482e7d77f53e3b/1465050172750/Share+the+Love+Kids+Club.png")
}
If this still doesn't give you enough to get the problem solved, consider adding a link to the page in question, and stating which block/area on the page you want to target.
Additional Information/References:
https://answers.squarespace.com/questions/59297/how-do-i-discover-a-block-id.html
https://answers.squarespace.com/questions/10450/which-ids-should-i-target-for-my-css.html

BIRT Column Width not being Respected

I'm trying to create a BIRT report. The code and query side of it works just fine, but the display is rather wonky.
There's one column whose text contents are rather long, and instead of showing some text and allowing scrolling of the text (which is the behavior I'd like there), it simply shows up as a very vertically long text block; kinda ruins the report a bit. I've also tried setting the width on the column, but no dice there either. Any ideas?
Also, as an aside, how do I get the table's columns to have grid lines? I can do that on the rows, but I can't seem to figure out how to do that for the columns. If anyone has insight into that issue, it'd be appreciated.
Here's a screenshot of the issue
Here's my BIRT report XML, without headers and footers in order reduce characters
I think there is no way to use a scrollable view element inside your report, because the output by the default html-emitter is completely static (I would like to see a different answer if this should be wrong).
To your second Question about how to add a border to a column. Click into the cell of your table, click on "Border" inside the "Properties Editor" and select the borders you like to use. This should be repreated for all cells where you want to use the borders, because this configuration is not applied for a whole column but just for one cell. If you want a border for the whole column you need to setup the border for every cell in the column.
If you have already a data cell inside your table cell, you can use the outline view to select the table cell instead of the data cell:

Issue with "color_to_pick_list" sorting on Prestashop 1.6.1.3

I'm developing a Prestashop 1.6.1.3 webshop with the default "bootstrap" theme and have run into a problem with the preview of variation-values. It seems that the color "Red" and only that one gets mixed into the size-buttons. When manually removing every entry of the red variations it appears as expected, but after adding the red/size-combination manually it presents wrongfully again.
The list itself is made from a table without divs so it doesn't seem like a global css-rule could fix it. Each entry on the table does contain an ID though, e.g: color_242 or color_131 which seems to be unique in each product. However, not representative of the ID that I've chosen under creation of the value. Could this be used for a css-sorting rule?
Scrot of the issue at hand:
The link for the red color seems correct;
~/index.php?id_product=23&controller=product&id_lang=1#/48-ringstr-49/10-color-red
Size 55; (blue is set as default color)
~/index.php?id_product=23&controller=product&id_lang=1#/51-ringstr-55/14-color-blue
Color purple;
~/index.php?id_product=23&controller=product&id_lang=1#/48-ringstr-49/32-color-purple
I'd be grateful for any help or pointers in the right direction - thanks!

Resources