UIX/JSP: bug of the tag uix:tabBar
Please, can someone comment on the following behavior of the tag <uix:tabBar>:
The UIX/JSP tag <uix:tabBar> is commonly used together with the <uix:link>.
I cannot make the last one work in a more complex way but just using its attribute 'destination'.
For example, the tag <uix:link> has an attribute 'onClick' but it fails to work within the tag <uix:tabBar>. So in this example:
<uix:tabs>
<uix:tabBar >
<uix:link text="alert" onClick="alert('Test alert');" />
<uix:link text="Main" destination="UixEdit1.jsp />
</uix:tabBar>
</uix:tabs>
The link 'alert' is visible but doesn't work.
Maybe this should be solved by wrapping <uix:link> in something...
Yes, Juan it works fine outside the TabBar.
But, Adam it's not quite clear to me what you mean by the "javascript URLs".
The one thing I want is to make a row editing form divided into 2 tabs (instead of the one, generated by the wizard). So I have do form updates on the event "moving to other tab". Can you advise, how I can put any javascript inside the <tabBar>?
Thank you.
Similar Messages
-
How to get the JSP Name calling the Tag Library inside the Tag Library
Hi guys,
I have defined a Tag Library PenStart:
import javax.servlet.jsp.tagext.*;
public class PenStart extends TagSupport
public int doStartTag()
return EVAL_BODY_INCLUDE;
public int doEndTag()
return EVAL_PAGE;
}I have also defined the pentags.tld:
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>My Tag Library</description>
<tlib-version>1.0</tlib-version>
<short-name>pentags</short-name>
<tag>
<name>penstart</name>
<tag-class>com.srh.tag.PenStart</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>I am calling the tag library in my JSPs:
<%@ taglib uri="WEB-INF/pentags.tld" prefix="pen"%>
<pen:penstart/>Now in the doStartTag() I want to know the JSP which is using the tag. How can I do that?
ThankspageContext.getRequest().getRequestURI()
-
UIX JSP For Business Components
I am looking for option under Web Tier - UIX JSP For Business Components - Complete UIX JSP Application. I cannot see that option in Jdeveloper 10g which was avaialble in 9i. What is the turnaround for it.
I have an application which I wanted to convert it to jsp, so that I could deploy it on the web.
Thanks in advance.We removed the "complete application" wizard in JDeveloper 9.0.5 since the application it was generating was hard to customize. Check out the tutorials on the JDeveloper home page to see how to build a complete application.
-
I want a <lovField> on the uix/jsp page.
The problem is that the wizard brings up just a controller field on the page, but no LOV dialog into the project (though it is promised to be provided at the documentation).
Now I'm trying to use a 'lovcomp.jsp' provided with the JBO taglib instead.
Can anybody answer if Oracle has a similar .jsp for the UIX look&feel, or may be I should do something on the BC level for the corresponding dataitem would be rendered with the <bc4juix:InputRender> automatically?
Thanks in advance.I underscore that my case is UIX/JSP, not XML and there's no problem to get a <uix:lovField> on the page. The matter is that the dialog page for choosing an item from the LOV is not provided for the UIX case. But it is provided for the <jbo:InputSelectLOV>.
My temporary solution is a combination of these 2.
So i have the code like following:
<script src="/webapp/jsLibs/LovField.js" language="javascript"></script>
<uix:lovField
id="ClAdr1RegionNameLovField" name="ClAdr1RegionName" text='<%=( ((s = (String)ds_CurrentView.getRowSet().getCurrentRow().getAttribute("ClAdr1RegionName"))!=null)?s:"" )%>'
destination="javascript:launchLov('lovcomp.jsp', 'form1', 'ClAdr1RegionName', 'servo.TechSupportBC.TechSupportBCModule.TechSupportBCModuleLocal', 'RegionsView', 'RegionName', 'RegionName')">
</uix:lovField>
It works fine as the 'lovcomp.jsp' is grabbed by me from the <jbo:InputSelectLOV> analogue.
The one that doesn't suit me is that the 'lovcomp.jsp' has a wrong look&feel for UIX. So I wonder if there is a better one.
PS: By the way Ed, I suppose that the <jbo:InputSelectLOV> is working good, though I haven't tested. -
I recently moved from coldfusion 8 to coldfusion 9 but all the pages with cfgrid: is throwing the following error. Any suggestion would be of great help
coldfusion.jsp.JRunTagLibraryInfo$NoSuchAttributeException: The tag handler gridcolumn does not have a setter for the attribute autoExpand specified in the Tag Library Descriptor.
at coldfusion.jsp.JRunTagLibraryInfo.getPropertyType(JRunTagLibraryInfo.java:627)
at coldfusion.jsp.JRunTagLibraryInfo.buildTagInfo(JRunTagLibraryInfo.java:585)
at coldfusion.jsp.JRunTagLibraryInfo.getTag(JRunTagLibraryInfo.java:267)
at coldfusion.compiler.NeoTranslationContext.findTagName(NeoTranslationContext.java:346)
at coldfusion.compiler.NeoTranslationContext.isKnownTag(NeoTranslationContext.java:222)
at coldfusion.compiler.CFMLParserBase.isKnownTagName(CFMLParserBase.java:589)
at coldfusion.compiler.cfml40TokenManager.TokenLexicalActions(cfml40TokenManager.java:6704)
at coldfusion.compiler.cfml40TokenManager.getNextToken(cfml40TokenManager.java:6586)
at coldfusion.compiler.cfml40.getToken(cfml40.java:11879)
at coldfusion.compiler.CFMLParserBase.isTrivialAngleBracket(CFMLParserBase.java:707)
at coldfusion.compiler.cfml40.jj_3_1(cfml40.java:9392)
at coldfusion.compiler.cfml40.jj_3_2(cfml40.java:9460)
at coldfusion.compiler.cfml40.jj_3R_67(cfml40.java:9500)
at coldfusion.compiler.cfml40.jj_3_86(cfml40.java:8147)
at coldfusion.compiler.cfml40.jj_3R_92(cfml40.java:8584)
at coldfusion.compiler.cfml40.jj_3_85(cfml40.java:8641)
at coldfusion.compiler.cfml40.jj_2_85(cfml40.java:7619)
at coldfusion.compiler.cfml40.cfml(cfml40.java:4215)
at coldfusion.compiler.cfml40.cfif(cfml40.java:311)
at coldfusion.compiler.cfml40.cfml(cfml40.java:4224)
at coldfusion.compiler.cfml40.cfif(cfml40.java:311)
at coldfusion.compiler.cfml40.cfml(cfml40.java:4224)
at coldfusion.compiler.cfml40.cfelse(cfml40.java:442)
at coldfusion.compiler.cfml40.cfelseif(cfml40.java:374)
at coldfusion.compiler.cfml40.cfif(cfml40.java:314)
at coldfusion.compiler.cfml40.cfml(cfml40.java:4224)
at coldfusion.compiler.cfml40.start(cfml40.java:4664)
at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:667)
at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:648)
at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:401)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:343)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:144)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:418 )
at coldfusion.util.LruCache.get(LruCache.java:180)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java :362)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:591)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
at coldfusion.CfmServlet.service(CfmServlet.java:201)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)Thanks Vishu,
We are running Coldfusion 9 and attach is the sample code and error message.:
The tag handler gridcolumn does not have a setter for the attribute autoExpand specified in the Tag Library Descriptor.
The CFML compiler was processing:
A cfgrid tag beginning on line 39, column 18.
The error occurred in E:/Websites/DreData/sobrietytesting/main/Sobrietytesting/Admin/view_users.cfm: line 54
52 : hrefkey="member_id"
53 : bind="cfc:tabledisplay.browseAccessAcountRequests(,,,)"
54 : >
55 : -
How to using the script tag in uix/jsp?
Do i have to write in uix/jsp:
<uix:rawText>
<script type="text/javascript">
function doCheckForm()
</script>
</uix:rawText>
Or exists another tag that handles the javascripts without the "rawText" script?
MarcIf you are declaring a function, you dont need to add it under the rawText tag. It can be added with a simple script tag at the top of the page.
-
Difference between JSP tags & UIX tags
Hi Experts
wats the difference between JSP tags & UIX tags and why we use UIX tags??For information on UIX, please read the UIX Developer's Guide, linked from: http://otn.oracle.com/jdeveloper/904/help/
-
UIX/JSP - How to use the UIX Controller with UIX/JSP
After reading the UIX Developers Guide I am under the impression that I could use the UIX Controller with UIX/JSP pages. Is this correct and are there any available examples?
Bill G...It's correct, but I'm afraid we don't have much (read as "any")
documentation on how to do that - besides reading through the
gobs of Javadoc and guessing how to put it together.
Half of the problem is solved by registering JspPageDescriptions
on a PageBroker (e.g., UIXPageBroker) to tell the UIX Controller
to use a JSP to render a particular page, instead of a UIX XML
document.
The other half is getting the JSP to send requests back to
the UIX Controller. Depending on how you've chosen to name
your pages, create either a DefaultPageEncoder or ExtensionPageEncoder
inside your JSP, and use that to create destination URLs. -
There is no attibute "action" in tag uix:form
There is no attibute "action" in tag <uix:form>,
How to fire the other .jsp file while I submit the form?I'm not exactly sure what you mean here. Are you trying
to move to a different page when the form gets submitted?
Why not have a destination on the submitButton or whatever
means you are using the force the form to submit? -
Hi!!
How can i build a uix/jsp table on Jdev10G without bc4juix:table .
I need a table based on EmpVO with detail disclosure, but examples that i found it's with jbo, and haven't uix design...
TnxHi Eliseu,
In the JDeveloper 10g preview the JSP visual editor does not have any built in support for the UIX/JSP tag library to allow drag and drop from the Data Control palette.
Have you tried to build your page using UIX XML, which is the preferred way?
Thanks,
Jonas
JDeveloper Team -
Hi All,
We are using UIX JSP.
We need to put tooltips to the fields getting displayed in our pages. We put the text we want as the tip in the
'ToolTip Text' box in the 'ContrloHint' tab of the
Edit Attribute window.(Using the Structure Panel)
We did it for both the entity object and view object without success. Then we found in the 'Help' that it is
not supported in UIX JSP. I am quoting the following paragraph from the 'Help' in JDev.
"The following table lists the control hints and whether the various Business Components clients pick them up.
Hint BC4J Data Tags BC4J UIX Tags JClient JavaUI
LabelText yes yes yes
Tooltip yes no yes "
If it is not supported with UIX JSP, is there any workaround?
Thanks in Advance
Indicasee the thread
ToolTips of fields in UIX JSP -
How I can use struts with uix jsp
Hi,
I want to use struts with uix jsp but I don't know how to set value of uix tag attribut by struts tag
example :
I want to change:
<uix:globalHeader text="title" >
by
<uix:globalHeader>
<bean:message key="title" arg0="Browse"/>
</uix:globalHeader>
N.B: I tried to use the tag <boundAttribute> but doesn't works
Thanks in advance.Hi Ghazouani,
From your sample code it looks like you are trying to use the Struts <bean:message> to provide internationalized text for the links in your globalHeader component. Couple of comments on this particular issue:
- You'll need to add a <link> element to your globalHeader for each item that you want to display. So, instead of:
<uix:globalHeader>
<bean:message key="title" arg0="Browse"/>
</uix:globalHeader>
You'll want something which looks like this:
<uix:globalHeader>
<uix:link text="Browse"/>
</uix:globalHeader>
- If you want to bind the text for each link to some internationalized value which is pulled from a ResourceBundle, you should use the UIX JSP <bundle> data provider:
<uix:bundle name="l10n" class="your.Bundle"/>
<uix:globalHeader>
<uix:link textBinding="title@l10n"/>
</uix:globalHeader>
In general when mixing JSP tags from different tag libraries, you need to be careful that you honor the semantics of each tag library. For example, in this particular case, the <uix:globalHeader> expects to have <uix:link> children - using any arbitrary tag (like <bean:message>) is not necessarily going to produce the desired results.
As far as general UIX/Struts integration goes, we recommend using uiXML as a view for your Struts application. Check out the "Using uiXML with Struts" section of the UIX Developer's Guide for more info.
Andy -
UIX JSP equivalent for JSTL 'set'?
Is there a UIX JSP tag that performs an analogous function to the JSTL tag 'set'? I would like to be able to setup local variables so that I don't have to repeat extended expressions.
You can (generally) speaking use JSTL's set in UIX JSP pages, and (mostly) use JSTL JSP tags with UIX JSP tags.
So, you should just be able to use <c:set>.
The major complexity in integrating the two is remembering that JSTL sets and iterates immediately, but UIX JSP evaluates EL expressions only once the last UIX JSP tag completes. This doesn't cause much of a problem with <c:set> or <c:if>, but does cause some major problems with <c:forEach>.
(A very similar problem is encountered when using JSTL tags with Java Server Faces JSP tags, so this is just a painful fact-of-life.) -
JDev9i: BC4J JSP or UIX JSP?
Hi,
To develop a large JSP application, I read the document to
decide which one to use BC4J JSP or UIX JSP? but still not sure
which one to start. Any command from experienced JSP developer
would be a great help for me. Thanks.Hello,
Did you look at the section titled "Which Technology Should I
Use?" in the JDeveloper online documentation? It gives a fairly
decent idea on what you can do with the various pieces if
technology that form a part of the UIX framework. Given that you
are planning on building a huge application I am assuming that
you would be interested in a consistent look and feel across the
different pages of your application. UIX lends itself very well
to build such applications very easily. On the other hand if you
wanted to use JSPs, you could still use the UIX JSP tags which
provide JSP tags which are wrappers for the underlying UIX
elements. However, the UIX elements are much richer in terms of
functionality (attributes, etc.)
Hope this helps,
-Kishore
JDev Team -
How to use ShowValue within a UIX/JSP page to display an active link?
I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
However, I have not been able to do this using a UIX/JSP page.
Is it possible to use ShowValue within a UIX/JSP page to display an active link?
Thanks,
Bill GHi Juan,
I've done the following and it does not work for me;
--- snip ---
<uix:form name="form1" method="GET">
<bc4juix:Table datasource="ds1" >
<uix:columnHeaderStamp>
<uix:styledText textBinding="LABEL"/>
</uix:columnHeaderStamp>
<%--
<jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
<bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
</jbo:AttributeIterate>
--%>
<bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
<bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
<bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
<%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
<jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
<%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
<uix:rawText>
<jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
</uix:rawText>
<%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
<uix:contents>
<uix:rawText>
<jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
</uix:rawText>
</uix:contents>
--- snip ---
Bill G...
Maybe you are looking for
-
"edit" link from report to form does not show values
I created a report and an attached form on two different pages. The report is a query combining two tables with outer joins. When I click on the "edit" button on the report, I get forwarded to the form page. My problem: When I get forwarded to the fo
-
Short Slo Mo video imported to Aperture or iPhoto via cable (Air Drop not supported on my iMac): only the SloMo section imports. Not the rest. Any fixes?
-
See question above.
-
Why won't my MacBookPro shut down?
My 17" MBP works fine, but 2 nights ago it started to refuse to shut down, and it continues not to shut down and not to restart. It does, however, go to sleep. I'm concerned, and would like to fix whatever is wrong without bringing it to a Mac store,
-
Upgrade from OS 10.4.11 to OS X 5
Hi, I'm getting ready to upgrade to OS X.5. I have 4 gigs of memory and over 600 gigs of free HD space. I have a complete, bootable back-up. Everything is working fine. My question: Will doing an 'up-grade' work, or do I need to do an 'archive and in