We all know UCM Stellent never really follows standards.. Sigh..
So when it comes to trying to call a field to set an event against it in javascript it can be quite tricky as the field IDs are dynamically generated..
If your not using any JS frameworks like JQuery and want a simple solution to be able to get the desired form field to set an event against it - here is what I do:
Create a custom component i.e. BS_Extras
Update the std_edit_entry resource by creating a new std_edit_entry and using the include super.
Now what this does is set a simple JS variable “fieldname_ID” to the ID of the form field.
<@dynamichtml std_edit_entry@>
<$include super.std_edit_entry$>
<script type=”text/javascript”>
var <$fieldName$>_ID = ‘<$js(fieldId)$>’;
</script>
Now to grab your custom field all you need to do is:
document.getElementById(fieldName_ID);
Alternatively if you have JQUERY installed you dont need to set the above custom component you could just grab the form field by name like this:
$(’input[name="' + fieldName+'"]‘);
Last month I was over at the Oracle offices in Reading; redeveloping the Avitek Sample Portal working to achieve a design that would be more appealing to future clients and help show the potential of what could be done with WebCenter.
We all know that Oracle always provide powerful functionality over aesthetics and a good interface design.
Those sales guys must have a pretty hard job selling Webcenter over Sharepoint - I mean if you weren’t technically minded and Microsoft first came in and did a demo of sharepoint and then Oracle came in and demo`d Webcenter - I know who I`d choose purely on looks.
Unfortunately, I don’t have any screens of the Avitek development, but here are a few of a reskin of spaces which I used as a bases for the Avitek development.
So whats next for me and Webcenter.. Well, I have been fortunate to be given a copy of Webcenter 11g Handbook - so its been used for weekend and bed time reading; there’s alot of good guides in it. A full review on this will be coming soon, but it’s definitely got to be a book on your shelf. During February, I’ve been taken on to assist migration of a Sharepoint project to Webcenter - this is going to be my first client project with Webcenter - its going to be good and cant wait to see the challenges that lie ahead of me.. Keep an eye out and I`ll let you know how it goes.
Happy new year bloggers!!
Unfortunately I came down with the dreaded swine flu.. not a great start for me in the new year.. sigh..
But I`m just about mended and coming out of quarantine..
Anyways.. Its a new year and new things to do and explore..
For you Oracle guys..
Check out
And for those people working ahead of all the rest running opera 10.5a and using the latest Tech to develop with…
This has to be checked out!
Gordon: Flash Runtime with Javascript!
Unfortunately I couldn’t get it to work in IE ![]()
But I`m sure its only a matter of time..And it sucks a bit too much memory for my liking..
It uses html 5 to write out the flash as dynamically updated svg tags so no need for flash support..
It will even work on an iphone, but I think it will probably be a bit slow because of how resource intensive this is on browsers..
Happy Christmas everyone.
Wishing you all a great New Year!
I`m currently partying in Romania - but hope to be back depending on the snow in January
ok, the more I looked at the pMenu Skin I did a couple days ago the more I disliked it.
So I have created a new one..
Hopefully you`ll agree its a little bit better and not as amateuristic as the previous one
