Wee inconsistency in region template "Form Table Attributes"
In the region template definition there is a field for specifying form table attributes. If I specify table attribute(s) they work as expected. If I then add an item type of "Stop and start table" to the region, the custom attributes are not used in the subsequent tables.
It's a minor thing... perhaps this can be fixed (or has been fixed) in 3.0?
Atul:
I dont know what the 'Alternate Source' is
In the Source section set
Source value or expression to be the name of the database column that has the URL (company_url)
Post calculation Computation to be '<a h ref="' || :pxx_company_url || '">' || :pxx_company_url || '</a>'; where pxx_company_url is the page-item name.
I have specified 'h ref' instead of 'href' so that the forum software doesnt mess up the post.
Varad
Similar Messages
-
Editing Region of Query Table (Attribute Set)
Hi,
I've tried to create a query and results table however, in the attribute set of the region items, I cannot find any attribute sets which concur to the objects i have created previously. I opted to leave the attribute set field to blank, but when i run my xml i get the following error. Please assist.
oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for Schema_EO.
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2637)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)
at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2728)
at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6425)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1893)
at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)
at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1509)
at oracle.apps.fnd.framework.webui.OATableHelper.prepareForFormSubmit(OATableHelper.java:1110)
at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:413)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1049)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processFormRequest(OAFlowLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:408)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:985)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at oracle.jbo.server.EntityDefImpl.createBlankInstance(EntityDefImpl.java:1174)
at oracle.jbo.server.ViewRowImpl.createMissingEntities(ViewRowImpl.java:1532)
at oracle.jbo.server.ViewRowImpl.init(ViewRowImpl.java:236)
at oracle.jbo.server.ViewDefImpl.createBlankInstance(ViewDefImpl.java:1050)
at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1007)
at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2886)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)
at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2728)
at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6425)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1893)
at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:206)
at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1509)
at oracle.apps.fnd.framework.webui.OATableHelper.prepareForFormSubmit(OATableHelper.java:1110)
at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:413)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1049)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processFormRequest(OAFlowLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:408)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:985)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)I've tried to create a query and results table Is your requirement to create a search page...? Please use a querybean for the saame. You can find the instructions in the dev. guide.
-
How do I enable a URL link in a form ( region template = Form Region )?
Here is a simplification of what I have :
Table : company_info
company_name varchar(2000) ,
company_url varchar(2000)
Sample data
Row : Oracle , http://www.oracle.com
In the Form, I wish to display the company name in a column and the url in another column BUT with the URL enabled i.e. clicking on the link should enable redirecting the page to the URL.
By default, I can display the data in a form as is. I tried the data massaging options of 'sql query' etc in the field details to manipulate the ouput to generate the ( <a href="+url in question"+>+url_in_question+ </a> ) syntax but couldn't get it active.
I tried creating a view on the table and having an additional column with the url embedding but that did not work in the form either.
Any suggestions ?
I am on version : 3.0.1.00.08
Thanks,
AtulAtul:
I dont know what the 'Alternate Source' is
In the Source section set
Source value or expression to be the name of the database column that has the URL (company_url)
Post calculation Computation to be '<a h ref="' || :pxx_company_url || '">' || :pxx_company_url || '</a>'; where pxx_company_url is the page-item name.
I have specified 'h ref' instead of 'href' so that the forum software doesnt mess up the post.
Varad -
Any way to create a form region without html table tags?
I'm trying to make a report region that can have the selected row turn into a form for editing the row data and it's almost working ok this way:
PL/SQL Dynamic Content region 1: TABLE tag, header row and data rows before the selected row, and last TR and TD tags
form region: the selected row
PL/SQL Dynamic Content region 2: /TD and /TR tags, data rows after the selected row and /TABLE tag
That makes the whole form appear in one cell of the table. I would like to put each form item in its' own cell in the "master" table but that would require first getting rid of the table tags (class="formlayout") that are always generated around form items. Any chance?Hello,
I'd have to see your exact example but using javascript one way you can do it is put your form table in a hidden div then you can use javascript to adjust the tags you want , grab the modified dom object then put in the table you want.
You can also use a modified version of this maybe [http://apex.oracle.com/pls/otn/f?p=11933:77]
if you could put an example of what you have on http://apex.oracle.com] it will be easier to give you some suggestions. Also you need to be careful when moving form items around an APEX page. Form items in random places can cause unpredictable results.
Regards,
Carl
blog : [http://carlback.blogspot.com/]
apex examples : [http://apex.oracle.com/pls/otn/f?p=11933:5] -
ERROR: spry:region or spry:detailregion attribute has no data set!
here's the basics...
i'm running fusebox for php (if that makes any difference)
i'm also reusing the same gallery for multiple fuseactions,
and using my circuit.xml file to set the var $gallery
depending on which fuseaction has been called.
the photos already exist in a database and full size and
thumbs have already been created by imagemagick
i plan on writing a script that uses imagemagick to get the
dimensions of the imagefiles and saves them to four respective new
columns in my db table (so i hope the problem isn't related to the
height attributes not being set in my xml.... let's hope it's
somthing else, ok?)
i'm creating my datasets like this
quote:
var dsGallery = new Spry.Data.XMLDataSet("/index.php",
"gallery", { method: "POST", postData: "do=m.get<?php echo
$gallery ?>Gallery", headers: { "Content-Type": "text/xml" });
var dsPhotos = new Spry.Data.XMLDataSet("/index.php",
"gallery/photos/photo", { method: "POST", postData:
"do=m.get<?php echo $gallery ?>Gallery", headers: {
"Content-Type": "text/xml"});
the output xml is perfect... here's an example
http://www.inkincnewyork.com/index.php?do=m.getFlashGallery
since i'm reusing the gallery, and have no need for the
dsGalleries related functionality i did this.
using the long way of referencing each piece of data, just to
make sure it's all kosher
quote:
<div id="thumbnails" spry:region="dsPhotos dsGallery">
<div spry:repeat="dsPhotos"
onclick="HandleThumbnailClick('{ds_RowID}');"
onmouseover="GrowThumbnail(this.firstChild,
'{dsPhoto::photo/@thumbwidth}', '{dsPhoto::photo/@thumbheight}');"
onmouseout="ShrinkThumbnail(this.firstChild);"><img
id="tn{ds_RowID}" alt="thumbnail for {dsPhoto::photo/@thumbpath}"
src="{dsGallery::thumbnail/@base}{dsPhoto::photo/@thumbpath}"
width="24" height="24" style="left: 0px; right: 0px;"
/></div>
<p class="ClearAll"></p>
</div>
but i am now getting this error
spry:region or spry:detailregion attribute has no data set!
for each XMLDataSet
anyone have any ideas?A few things I noticed when looking at your sample source
above:
The "Content-Type" should be the type for the post data, not
what you expect to get back. So in your case, you should be using:
"Content-Type": "application/x-www-form-urlencoded";
which is the default type so you don't really have to pass it
to the constructor unless you are posting something other than that
type.
Next, your {ds_RowID} data references are missing the data
set prefix. If you use more than one data set for a given region,
you need to use the prefix to make sure you are getting the
ds_RowID from the correct data set.
The error: "spry:region or spry:detailregion attribute has no
data set!" tells me that the data sets are not defined at the time
Spry first processes the region. Are your data sets being created
in a script tag in the head? Or are you creating them in some
function that gets fired off at a specific time?
--== Kin ==-- -
Region template "Box w/inline Title1" wraps in Firefox despite "nowrap"
Hi,
I wonder who can explain/help me to sort out the Firefox behaviour wrapping the title whereas IE6.0 does not wrap the title in the region template "Box w/inline Title1"
Template extract:
'<'div style="margin-left:30px;margin-right:30px;width:100%;text-align:left;"'>'
'<'div class="boxInlineTitle" nowrap="nowrap" '>'#TITLE#'<'/div'>'
'<'div class="boxInlineTitleMain"><table class="std"'>''<'tr'>'
' <'td style="text-align:right;white-space:nowrap;"'>''<'table'>'TIA
BernhardChange this -
<div class="form" ">
to this -
<div class="form">
and this -
div.form {
text-align: center;
font-size: small;
border:0;
white-space: nowrap;
to this -
div.form {
width:450px;
margin:0 auto;
font-size: small;
border:0;
white-space: nowrap; -
Column value substitution in tabular form element attributes
We started to discuss this at Re: Tabular form with Ajax
I also mentioned this at Re: how to make only some rows editable in html db.
but thought that this deserves its own thread.
In Doug's sample Sudoku application in that thread, he uses #COLUMN# substitution in the Form Element Attributes and it works fine, but in my example page at http://htmldb.oracle.com/pls/otn/f?p=24317:219 I used the same technique and no matter what I do, the #COLUMN# substitution is not expanded by the Apex engine.
This is driving me nuts, any ideas why it works in one application but not in another?
ThanksHm, you might be right.
I copied your row template and modified it at http://htmldb.oracle.com/pls/otn/f?p=24317:219
The styling looks terrible, not sure why, the template is simply
<tr>
<td class="t10data">#EMPNO_DISPLAY#</td>
<td class="t10data">#ENAME#</td>
<td class="t10data">#JOB#</td>
<td class="t10data">#MGR#</td>
<td class="t10data">#HIREDATE#</td>
<td class="t10data">#SAL#</td>
<td class="t10data">#COMM#</td>
<td class="t10data">#DEPTNO#</td>
</tr>I had a lot of trouble getting this to work because the wizard generated tabular form appends 2 hidden fields containing the PK and the row-checksum to the last (editable?) field on each row. If the last editable field has #COL# substitution, it expands the substitution and forgets to close the INPUT tag thus causing malformed HTML (I think this is a bug in the rendering engine).
The readonly condition is sal>1000 which now works. The SAL>1000 fields are now readonly.
But now the update process is broken. If I enter a number in the first blank SAL field (empno=3641) and click Submit, I get no errors but the change is not saved. Wonder why.
Hopefully, Scott (Spadafore) will take mercy on our amateurish experiments and give us some definitive answers soon!
Thanks. -
Skillbuilders_super_lov plugin with Modal region template
Hi ,
I am using Report and form (IR) , i called form when i press in create button by this code
javascript:openModal('region id')and make the form region as modal region template , in the form i use skillbuilders_super_lov plugin .
when i open the LOV plugin it appear like this image
http://s13.postimage.org/k2zqekwzb/LOV.png
i need help
Ahmed,Dears ,
if the problem with template or any thing related css file .. can any one help me ? -
'Scrollable Content Region' - Region Template - Anybody used successfully?
I have just implemented a "Data Load" function which is the OOTB page type in apex 4.2 which allows the end user to go through a wizard and import csv data into a table.
When the user is viewing the data to be imported - they have to scroll across the length of the screen (depending on how many columns you are loading).
I noticed there is a Region template called "Scrollable Content Region". I tried applying this template to my region, and when this didn't work, to a container region.
The scrollbars appear (horizontally and vertically) but they are greyed out as the region is still at max width and you have to use the browser to scroll instead.
I think this looks untidy as the header colour-styling ends, as well as other regions being stretched.
Has anyone used this successfully before?
Amanda.Hi Amanda,
What I've done with this region is edit the template and change the style for the div.uRegionContent. You'll see that it says "overflow: scroll", I change it to "overflow: auto", this way the scroll bars will only show when they are needed.
The other useful thing is to remove the hardcoded height and define it on a per region basis.
So, if my region ID (STATIC_REGION_ID) is empRegion then the height can be defined as:
#empRegion > .uRegionContent {height: 600px;}
Of course you could do this without modifying the region by adding !important.
#empRegion > .uRegionContent {height: 600px!important; overflow: auto!important;}
Hope this helps.
Thanks
-Jorge -
Hi all,
I am using Two Level Tabs Page Template in my application, and have used all the region templates (from 01 to 08) in my page. I still need a space for 1 more region template. Can i make a new region template of my own??If so how can it be done?
With Regards,
Neha SharmaRegion #'s 1 thru 8 are not really the equivalent of region templates. Those are placeholders for different display areas on the various pages.
Each one displays in a specific area of the page depending on the theme and page template that you're using. These region numbers are used for things like sidebars, tabs, main report or form regions, etc...
You are also able to include many report or form regions (or other regions) in a single display region.
In my 5 or so years of using Apex I have never had the need to try to create a new display region. And I don't think there's a way you can actually do it.
Why don't you let us know what you want to accomplish and you're sure to get some suggestions.
Earl -
DW8 Template/Form problems
Hi
I have a problem I need help with. I've attached the code
from my DW8 template. I insert this small 'html' form and it messes
up my template view. The form is for viewers to subscribe to our
newsletter. Please have a look and try and see where I need to make
my corrections.
ps: when I upload the page/website everything is fine, its
just the view in DW design--it's almost like when I put the form in
the table, the entire table collapses.
please be explicit with directions--I'm not a professional
web designer.
HELP!> www.aahalton.org
the nested tables aren't easy to sight read in a few minutes.
What i think is the problem-
One- should have <form> and </form> around the
JumpMenu select list.
Two- the other form, it is across several table cells.
Instead of the opening form tag being in the first TD with a
form field in
it, the form tag should open before the <table> tag
that contains the form
fields, and close after </table>
In short- the tags are nested wrong.
<table>
<tr>
<td>
<form></td>
<td></form></td>
</tr>
</table>
<form><table>
<tr>
<td></td>
<td></td>
</tr>
</table></form>
<table>
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
hi,
could any body update me what is the main difference between table and template in smartforms.
Regards,
Koti ReddyTable exteds dynamically.
Template is fixed in size.
template is Output of a table containing static data
these are the Possible direct successors-All except window, page, table,
and template nodes
Table - Output of a table containing application
data and these are the Possible direct successors-as with template node
Template is used for proper allignment of data which table is used for displaying multiple data.
We can say Template is for static data and Table is for dynamic data.
Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-
Name- Krishna Company- WIPRO Location- Chennai
Desig- S/W Native - Mumbai
Then for proper allighnment we can create a template and split that into 3 columns and 2 rows and create text elements for each cell display a proper allighned data at the output.
When we include a template inside a loop it gives the same property as a table.
When we have mutiple data which is to be extended to the next page like when we display all employee details in a company we use table.
Table has 3 sections , HEADER, ITEM ,FOOTER
The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.
SmartForms Useful links
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm -
1. What is the correct method of creating a template form and inheriting the template form for User interface consistency?
I want to use the REMOVE PATH method and somehow it does not seem to work... Please help me someone...
2. I am confused as to how to start... What standard triggers (and objects) should I use in my template form?1. standard's in your Template form
You have to create some property clases , visual attributes, an example block and
standard triggers for key strokes and the related code for those triggers. You can also have some general program units in which you can standsize the window settings.
If you look in the Oracle Tools dir where Oracle is installed you will find some examples for templates.
2. When you say remove path Oracle will look in your Forms40_path variable as where to go and look for the referenced objects.
So, where ever you are saving your files the name of that dir should be appended in that path.
NT : path can be found by going to REGEDIT
95 : It is set in the .ini file in Oracle Bin -
IF statement for navigation in a Region Template
I have a region template where I display links to nodes in the current level.
Example:
level 0 nodes: About Us, Employees, Contact Us, Investors
level 1 nodes of About Us: Fun Stuff, Photos, History
level 2 nodes of History: 1910, 1920,1930
So if I was in the section/level About Us>History my region template would display links to 1910,1920,1930. I know there is a fragment that does this for me but what I need is a little more custom.
What I want to do is is write an if statement in the region template that says something like:
If (currentlevel has children)
display childrenlevelNodes
else
display parentlevelNodes
endif
Any ideas? I am a beginner when it comes to Idoc.Actually I got it working. Someone before me was using some code but it wasn't working exactly how I wanted. So I incorporated their code back in after your help with the childNodeId thing and now it works!!
<!--$childLevel = level-->
<!--$curLevel = level-->
<!--$childNodeId = ssGetRelativeNodeId(siteId, nodeId, "child")-->
<!--$parentNodeId = ssGetRelativeNodeId(siteId, nodeId, "parent")-->
<!--$originalNodeId = nodeId, drewOne = "", originalNodeParentId = ssGetRelativeNodeId(siteId, nodeId, "parent") -->
<ul>
<li>
<!--$if (childNodeId)-->
<!--$childLevel = level + 1-->
<!--$endif-->
<!--$loop SiteStudioNavNodes-->
<!--$if (level eq childLevel) and ((originalNodeId eq parentNodeId) or (originalNodeParentId eq parentNodeId))-->
<!--$hideIt = ""-->
<!--$hideFrom = ssGetNodeProperty(SiteStudioNavNodes.nodeId, "hideFromRegion")-->
<!--$showOnlyIn = ssGetNodeProperty(SiteStudioNavNodes.nodeId, "showOnlyInRegion")-->
<!--$if showOnlyIn-->
<!--$if showOnlyIn like ("*" join region join "*")-->
<!--$else-->
<!--$hideIt = 1-->
<!--$endif-->
<!--$endif-->
<!--$if hideFrom and (hideFrom like ("*" join region join "*"))-->
<!--$hideIt = 1-->
<!--$endif-->
<!--$if not hideIt-->
<!--$if drewOne-->
<!--$endif-->
<!--$label-->
<!--$drewOne = 1-->
<!--$endif-->
<!--$endif-->
<!--$endloop-->
</li>
</ul> -
Hi,
I tried to compile a EJB3 application in JDev 10.1.3.0.4 Studio version, but the compiler
complains about the table attribute of the @JoinTable annotation.
The following code is not accepted:
* Retrieve the list of clubs this player played for
* @return List of clubs this player played for
@ManyToMany(fetch=EAGER,targetEntity=nl.company.contractadmin.Club.class)
@JoinTable(table=@Table(name = "CONTRACTPERIOD")
joinColumns = {@JoinColumn(name = "PYR_ID",
referencedColumnName = "ID")}
inverseJoinColumns = { @JoinColumn(name = "CUB_ID",
referencedColumnName = "ID")
public Collection getClubs() {
return clubs;
public void setClubs(Collection<Club> clubs){
this.clubs=clubs;
This code compiles in the EA release of JDev 10.1.3..
Can anyone tell me if there is something changed in the implementation of EJB3??On the latest build of JDeveloper, the backspace key mapping is still NOT WORKING. I've been trying to fix this since the early access release, but I failed.
Backspace key is already mapped by default, but still not working.
Did I missed something during the installation here? The installation documentation said that I should only extract the archive then edit the jdev.conf file to set the JDK to use.
I already pointed my installed JDK and JDeveloper's JDK but the backspace is still not working.
Help!
Maybe you are looking for
-
My HPE-390t machine currently has 2 x 1 TB regular HDD's in them in a RAID 1 configuration (so I get total space of around 1 TB only). It is also running Windows 7 Ultimate 64-bit. However, I'd like to re-purpose it as an Ubuntu server, but have the
-
Change date help icon inside table
Hello, I've created a new theme and I've changed the date help icon(Theme Editor/Simple Elements/Labels and Fields). I can see new icon in portal but when displaying it from a cell inside a table, it displays the standard icon. Please, I need to show
-
IE script error rendering DataSet. JSP
IE console catches the error as: SCRIPT600: Unknown runtime error SpryData.js, line 1269 character 4 The dataset is to be displayed in a table. IE displays the table, but instead of data, it displays each <td> as {dataSetName::columnName}
-
Hi gurus, i have an issue for you, I have configured pricing procedure to enable the system to post net value to sales revenue after trade discount. for this i used alternative cal.type 2-net value in pricing procedure to a net total dummy condition
-
Data base driver for hp pavillion 6700
my system sound is not working base system device softtware is not avaliable hp pavillion 6700 for window 7