This content has been marked as final. Show 7 replies
It just hasn't been done yet, I could use it as well and will try and get it in a future version.
Actually we should probably have some sort of item template that can be applied to items and item types as well or extend the label template to wrap items instead of just sit in front of them. All sorts of ways to get the same effect just a matter of choosing the right one.
Yes, an item template makes a lot of sense. For quick page layout, what would be even more useful is to to be able to refer to items using say their sequence number in substitution string #ITEM_NN#. If a page/region template could refer to items in this way, that would make page layout almost WYSIWYG and very fast.
In order to hide the label of the item along with the item itself, I had to edit the label template to add a id="#CURRENT_ITEM_NAME#_label"
Is there a way to achieve the same thing using the parentNode technique you mention below? Or would that hide the TD and mess up the layout?
Where pNd is a node id or a node object. It cascades up the DOM from the given item to the containing table row then hides/shows toggles it. Very useful in 'most' cases.'
For your example your way seems the best to me.
Message was edited by:
Actually we should probably have some sort of itemI am looking for this very feature right now. This post is from 2005 so I'm hoping there are now ways to accomplish this. I will continue to hunt around the forum as well.
template that can be applied to items and item types
as well or extend the label template to wrap items
instead of just sit in front of them.
My specific issue is that we are interested in putting a help icon after the input item. There are label templates which have help built into them, but label templates don't wrap around the item (not that I know of) and there are POST TEXT ELEMENT attributes attached to items, but it would be a maintenance nightmare to change the POST TEXT ELEMENT attribute of every item if or when we make a change to the help model.
I imagine one method would be to create a Shortcut Shared Component of the generic code and then simply refer to that Shortcut in the POST TEXT ELEMENT of the items that need the help icon.
Any other suggestions? Is there a new feature that I am not aware of? We are on ApEx 3.1. By the way, item templates would rock.