Documentation on rw jsp tags
How can I get documentation on rw JSP tags?
Thanks
Murali,
Please refer to the JSP Tag Reference Chapter of online help at http://otn.oracle.com/reports/help/
Thanks
The Oracle Reports Team
Similar Messages
-
Hi,
I have several questions regarding this topic:
1) Does Weblogic 5.1 supports Custom Tags ? If so, are there any known
problems ?
2) Does Weblogic come with any tag libraries (for loops, if, etc) and where
can I get them ?
3) Are there any tag libraries out there (JRun, for example) that have been
successfully run on Weblogic ?
Any help would be much appreciated.
Thanks,
Jamie
As there seems to be general interest, a link would probably be a great
help.
Regards
Daniel Hoppe
-----Original Message-----
From: Michael Girdley [mailto:[email protected]]
Posted At: Friday, August 25, 2000 8:03 AM
Posted To: jsp
Conversation: Custom JSP Tags for Weblogic
Subject: Re: Custom JSP Tags for Weblogic
Please see the documentation:
http://www.weblogic.com/docs51/resources.html
Michael Girdley
BEA Systems Inc
"Jamie" <[email protected]> wrote in message
news:[email protected]...
> Update
> =======
>
> Weblogic Portal has some Tag libraries. I've downloaded the trial
version
> of
> the Weblogic Commerce Server. How do I get the tag libraries and use
them
> on WL 5.1 ?
>
> Answers to original post still wanted
>
> Thanks,
>
> Jamie
>
> Jamie <[email protected]> wrote in message
> news:[email protected]...
> > Hi,
> >
> > I have several questions regarding this topic:
> >
> > 1) Does Weblogic 5.1 supports Custom Tags ? If so, are there any
known
> > problems ?
> >
> > 2) Does Weblogic come with any tag libraries (for loops, if, etc)
and
> where
> > can I get them ?
> >
> > 3) Are there any tag libraries out there (JRun, for example) that
have
> been
> > successfully run on Weblogic ?
> >
> >
> > Any help would be much appreciated.
> >
> > Thanks,
> >
> > Jamie
> >
> >
>
>
-
Importing classes that implement jsp tags
I was making a custom JSP tag library. The tag functionality was implemented in
a class called, lets cay ClassA. I made the tld file and put it under the WEB-INF
directory. The class which implemented the functionality was placed under WEB-INF/classes
directory. I had the imported the tag library using the taglib directive. I was
getting an error which said "cannot resolve symbol". But when I in the JSP file
I imported the class file which implemented the taglib functionality the error
vanished. Is it necessary to import the class files even if the taglib is imported.
The documentation does not say so. Or is there some configuration I have to make.
I think was a side effect of the .jsp changing redeploys the web app in 6.0.
When the web app was redeployed your directory structure was reread and thus
it found your .tld.
Sam
"bbaby" <[email protected]> wrote in message
news:3b422db7$[email protected]..
>
> I was making a custom JSP tag library. The tag functionality was
implemented in
> a class called, lets cay ClassA. I made the tld file and put it under the
WEB-INF
> directory. The class which implemented the functionality was placed under
WEB-INF/classes
> directory. I had the imported the tag library using the taglib directive.
I was
> getting an error which said "cannot resolve symbol". But when I in the JSP
file
> I imported the class file which implemented the taglib functionality the
error
> vanished. Is it necessary to import the class files even if the taglib is
imported.
> The documentation does not say so. Or is there some configuration I have
to make.
>
>
-
Hi!
Can someone summarize for me additional custom WebLogic JSP tags available in
WLS 7, compared to WLS 6.1 or changes in functionality of existing custom WebLogic
JSP tags from WLS 6.1 to WLS 7.
Thanks,
Rahul.
I am afraid not. Becuase if you don't buy their product, they even don't let you use their classes of that product.
I tried to use a class inside CommerceServer, but they asked for the license all the time.
My suggestion is you can get some idea from that, but don't use it directly except you have their license.
"KhurramZ" <[email protected]> wrote:
>Hi all,
>Am experimenting with WL server 5.1 (eval version) and ejbs,jsp's.
>Also came across documentation of JSP Tag libraries of WL personalization
>server (in BEA website). (like <pz:..> , <cm:..>, <es:...>)
>
>Can I use those WLPS jsp tag libs in WLserver? Though I havent got WLPS ,and
>in fact will not be using it in future.
>
>Thanx in advance
>Khurram Z
>[email protected]
>
>
-
JSP tag collaboration with BI Beans
Hello!
We need to reorganize a dimension hierarchy in runtime during presentation. It's merely a matter of formatting. We use a tag handler that reeds its body doing some operations and puts a new content for body in page.
We tried this
====================
<My:BodyReaderTag>
<orabi:ListCombo renderAs="combo" autoSubmit="true" biList="${tagtest_dimMemList1_data}"/>
</My:BodyReaderTag>
====================
When doing this my tag grabs all content except the output from orabi:ListCombo. It seems like orabi:ListCombo does not push the JspWriter on the stack (by collaboration with orabi:BIBody tag). When, for testing purposes only, I removed the orabi:BIBody tag, I got the result I would like to get.
How can I get the output from orabi:ListCombo tag? Or if that is not possible, where can I find detailed information so I can create my own customized tag handlers that collaborates with BI Beans,
Thanks in advance,
MatsThe implementation of the <orabi:ListCombo> is based on UIX JSP tags technology. It uses an instance of oracle.cabo.ui.RenderingContext created earlier by the BIThinSession tag to do the actually rendering.
May I ask what are you trying to do with the <my:reformatter> tag? The ListCombo tag has attributes like "styleClass" and "inlineStyle" that can be used customize the look and feel of the content it renders. Also, we provide a set of built-in styles. Have you looked into whether you can use "styleClass" or "inlineStyle" attributes to satisfy your formatting needs?
Hope this helps,
Keith
Oracle Business Intelligence Product Management
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Beans http://www.oracle.com/technology/products/bib/index.html
Discoverer: http://www.oracle.com/technology/products/discoverer/
BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
BI Samples: http://www.oracle.com/technology/products/bi/samples/
Blog: http://oraclebi.blogspot.com/ -
Help! writing japanese using jsp tag extension
Hello Group !
I'm having problems implementing a simple jsp tag extension.
I've written a written a short code that is invoked in my tag (see below).
The code goal is to write two japanese letters. However, all I get are two
single-byte letters which my browser displays as '?'.
What should I do to make Weblogic write japanese and not Latin ?
Should I dynamically mess with the Locale ??
Any help would be highly appriciated.
Here's my piece of code:
public class myBlock extends javax.servlet.jsp.tagext.BodyTagSupport {
private void parseTagBody() throws IOException, JspException
ServletResponse response = (ServletResponse) pageContext.getResponse();
response.setContentType("text/html;charset=EUC_JP");
pageContext.getOut().write(38498);
pageContext.getOut().write(39745);
pageContext.getOut().flush();
Best,
Tal MoshaiovdataTable might help.
[example 1|http://www.javabeat.net/tips/46-hdatatable-java-server-faces-jsf.html]
[example 2|http://www.jsftoolbox.com/documentation/help/12-TagReference/html/h_dataTable.html] -
EP 6 SP2 and Domino JSP Tag library
I have been able to establish DIIOP connection between EP6 and Domino based on the workaround posted in this form. Calling the lotus.domino.* classes work just fine.
However I haven't been able to get EP6 to work consistently with the Domino JSP tag library.
Has anyone been successful in using the Domino JSP tag library?
Thanks for sharing any insights/workarounds.Hello Luc,
yes. Pls. perform the following steps:
(1) add a reference to the taglib in portalapp.xml component profile
<component name="default">
<component-config>
<property name="ClassName" value="com.test.LotusJSPTest">
</property>
<property name="SecurityZone" value="com.test/high_safety">
</property>
</component-config>
<component-profile>
<property name="lotusTagLibary" value="domtags.tld">
</property>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
</property>
</component-profile>
</component>
(2) add a reference in the JSP
<%@ taglib uri="lotusTagLibary" prefix="domino" %>
(3) then use the taglib as documented, e.g.:
<domino:session id="session1" host ="p70448.wdf.sap.corp:8000" user="*webuser">
<domino:db id="db1" dbname="portalchallenge.nsf" >
<domino:view id="view1" viewname="view103">
<domino:viewloop id="loop">
<tr>
<td style="border: 1px solid #000000; padding: 2px; text-align:right"><%=loop.getPosition('.')%></td>
<td style="border: 1px solid #000000; padding: 2px"><domino:item name="txt_KeywordCode"/></td>
<td style="border: 1px solid #000000; padding: 2px"><domino:item name="txt_Description"/></td>
<td style="border: 1px solid #000000; padding: 2px"><domino:item name="txt_List"/></td>
</tr>
</domino:viewloop>
</domino:view>
</domino:db>
</domino:session>
The easiest way to start is to make domtags.jar, domtags.tld, domutils.tld and NCSO.jar part of your portal application.
Regards
Michael -
How to get the values of an Array using JSP Tags
Hey guys,
I need some help. I've splited a String using
fn:split(String, delim) where String = "1,2,3,4" and delim is ,
This method returns an Array of splited Strings. how do i get the values from this array using jsp tags. I don't wanna put java code to achive that.
Any help would be highly appreciated
ThanksThe JSTL forEach tag.
In fact if all you want to do is iterate over the comma separated list, the forEach tag supports that without having to use the split function.
<c:set var="list" value="1,2,3,4"/>
<c:forEach var="num" items="${list}">
<c:out value="${num}"/>
</c:forEach>The c:forTokens method will let you do this with delimiters other than a comma, but the forEach tag works well just with the comma-delimited string. -
Error when run a simple sample using jsp tag
When i run a jsp using jsp tag, the tomcat gave me the following information:
Resolve entity failed-//Sun Microsystems,Inc.//DTD JSP Tag Library 1.2//EN http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
My tld file is:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>sample</short-name>
<uri>WEB-INF/sampleTag</uri>
<display-name>SampleTag</display-name>
<description>Sample TLD</description>
<tag>
<name>time</name>
<tag-class>com.sample.taglib.TimeTag</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>
Anybody can tell me why?
Thanks!!!It's strange bacause DTD is available under given address.
Which JSP version are you using?
Do you have any other tld file, which uses the same DTD version? Do tags define in it work properly?
Maby try to use 1.1 version of DTD?
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">But remember than version 1.1 has another node names (see http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd). -
Using scriplets in jsp-tag attribute
I have a strange problem with a custom taglibrary that I'm trying to write.
When I use the tag in a jsp like underneath the first outputs the right value (Welcome Hans), but the output of the second time shows: Welcome <%= test %>
This is a part of the JSP:
<% String test = "Hans"; %>
<arto:hello name="Hans" />
<arto:hello name="<%= test %>" />
I realy don't know how to let the tag display the value of the string in my jsp.
Can anyone give me some advice?
Thanks,
Hans
The files are:
import java.io.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class HelloTag extends TagSupport {
private String name;
public void setName(String name) {
this.name = name;
public int doStartTag() throws JspException {
try {
pageContext.getOut().print("Welcome " +name);
} catch (IOException ioe) {
throw new JspException("Error: IOException while writing to client");
return SKIP_BODY;
public int doEndTag() throws JspException {
return SKIP_PAGE;
The JSP:
<%@ taglib uri="arto" prefix="arto" %>
<%
String test = "Hans";
%>
<arto:hello name="<%= test %>" />
<arto:hello name="Hans" />
The TLD:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname></shortname>
<uri></uri>
<info></info>
<tag>
<name>hello</name>
<tagclass>HelloTag</tagclass>
<bodycontent>empty</bodycontent>
<info>Tag with Parameter</info>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
</taglib>In the tld for the name attribute, use
<rtexprvalue>true</rtexprvalue>
This specifies that the attribute value can be a run-time expression. Otherwise, the value is taken as a literal. -
Can't get out.print to work with XML jsp tags
<jsp:scriptlet>
if(ErrorTrap == true) {
out.println("<tr><td colspan=\"center\" align=\"center\">There was" an error while processing the form</td></tr>");
ErrorTrap = false;
</jsp:scriptlet>
I can't get this script to work with the XML stype jsp tags. It keeps telling me the <jsp> tags are untermintaed. Is there a special trick to fix this or do I have to use the non-XML type tags?Sorry, I didn't mean to put the extra " in the out.println text string. :-/
-
I am trying to create two frames in my JSP page . However it just displays a blank page on execution.
I am using following code to create frames:
<hbj:content id="myContext" >
<hbj:document>
<hbj:documentHead>
<frameset cols="100,*" border=1 frameborder="1">
<frame name="frame1"
src ="http://www.yahoo.com">
<frame name="frame2"
src= "http://www.google.com">
</frameset>
<hbj:documentHead>
</hbj:document>
</hbj:content>
ThanksNeeti,
Just get rid of JSP tags and put the frameset html on jsp page. It should work without JSP tags.
<html>
<frameset cols="100,*" border=1 frameborder="1">
<frame name="frame1"
src ="http://www.yahoo.com">
<frame name="frame2"
src= "http://www.google.com">
</frameset>
</html>
Message was edited by: Prakash Singh -
Problems in developing custom JSP tags
I have problems in debugging custom JSP tags. Sometimes the doStartTag is not called on tags but the doEndTag is called. I don't know why.
Thanks.Fahr--
A word of caution -- NetUI did not ship a JSP tag SDK in 8.x, and
we're making no compatibility guarantees for custom JSP tags written on
the 8.x release and future releases.
You can accomplish the same sort of functionality with a combination
of the <netui-data:getData> tag and JSTL 1.0. This solution would
probably provide similar functionality and be more future-proof relative
to JSTL and the NetUI tags currently being developed in Beehive.
Hope that helps.
Eddie
Fahr Vegnugen wrote:
We are in the midst of creating our own JSP tags to work with datasources.
In an example where you would need to compare two different datasources how would you do this?
ie.
<prefix:isGreater dataSource="{pageflow.column1}" dataSourceToCompare="{pageFlow.column2}" />
How would I evaluate what column2 is since the tag will only resolve one data source
this.evaluateDataSource();
Any pointers you can provide would be appreciated, or if there is a library of jsp tags that evaluate objects using datasources already created, that would even be better. -
Problem with boolean attribute of JSP tag
Hi,
I've being trying to use a custom JSP tag, which has a boolean attribute, declared in the TLD as follows:
<attribute>
<name>checked</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
The JSP code snippet is:
<ui:check checked="<%= myBean.isChecked() %>"/>
where myBean.isChecked() returns a boolean value (primitive type).
It works fine on some web containers, but it causes a JSP compilation error on Oracle9iAS 9.0.3 Java Edition, which looks like the following:
Method toBoolean(boolean) not found in class test. _jsp_taghandler_57.setChecked( OracleJspRuntime.toBooleanObject( toBoolean( myBean.isChecked())));
After decompiling the container's JSP parser, I found what I think it's a bug. The java class generated by the JSP parser does not define a toBoolean method, and neither do its superclasses. The method is defined on the OracleJspRuntime class! I think the correct code would have to be something like:
OracleJspRuntime.toBooleanObject(OracleJspRuntime.toBoolean(...))
If I'm correct, then the "convertExpression" method of the "oracle.jsp.parse.JspUtils" class must be changed, because it outputs such wrong code for not just boolean types, but for all the primitive types.
So, has anyone ever faced this problem before? Does it have a workaround, or a patch? Is it included on the bug fixes for the 9.0.4 release?
Thanks!Instead of:
out.println("<body onload ="+strAlert+">");
Try this:
out.println("<body onload =\""+strAlert+\"">");
Add two \" around the alert call. -
hi All,
I am receiving an error when i come to start a jsp page, it returns null pointer exception. so when I checked it is coming from the JSP tag Libraries. instead of the jsp libraries there is a null pointer exception . so any clue how to fix that ?
thanks
AmgadYes, marika, download the Jakarta JSTL implementation, unzip it, and put it everything in its /lib directory in your WEB-INF/lib. Then you can refer to the taglib in your JSPs like this:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>That's all you need to do. No <taglib> in your web.xml or anything else. - MOD
Maybe you are looking for
-
Why is my mom getting the error message for province when trying to create iTunes account when providing her credit card information?
-
Zen Vision:M 30GB Player Prob
The problem is that my Zen Vision:M 30GB Player is stuck in recovery mode. I turned it on the other day with no previous problems, and now it only goes to recovery mode. The player is detected when I plug it in, but it does not leave recovery mode. I
-
First french as3 app on the store + technicals comments !
hi my first app, Fortune cupcake is up on the store ( a simple app were you get an sentence everyday to help you making it, in you life ( not sure it 's good english)) http://itunes.apple.com/fr/app/fortune-cupcake/id421181253?mt=8&ls=1 I also make a
-
Safari won't even open, crashes every time.
For the last couple of days, every time I try to open Safari, it crashes with the "Safari quit unexpectedly" error. I have tried removing plug-ins, but there wasn't anything installed for weeks before the errors started.
-
Hi, When using ADT to test an application, where is the shared object file being located? I've searched my entire drive for *.sol files, and I cannot find one pertaining to my mobile app I'm testing with ADT. Any ideas? thx