Sitemap

Amicuk Programming Answers

How to use xtags: when or xtags: if on variable id

-0001-11-30   Views:1

Advertisement

<!-- <xtags:variable id="data" context="<%=specs%>" select="//header/msds"/>           <a href="/DATA/<%=data%> target="#">MSDS</a> --> My problem is if the value of data is

<!-- <xtags:variable id="data" context="<%=specs%>" select="//header/msds"/>
          <a href="/DATA/<%=data%> target="#">MSDS</a>
-->
My problem is if the value of data is null it gives the error page not found in the explorer but I want to href to some html file that for this item data is not there(actually data is holding a pdf file name if no file is attched to this item then i want to display the not data vailable for this item
how I can use xtags: when
xtags:otherwise doing checking on the id data
Thanks

The replay answer
Advertisement
Thanks for response
I got the same code from xtags library but still the problem is
<xtags:choose>
<xtags:when test="firstName">
Hello <xtags:valueOf select="@firstName"/>
</xtags:when>
<xtags:otherwise>
Hello there friend
</xtags:otherwise>
</xtags:choose>
I am not clear that this firstname is the is id or what
I wanted to confirm that I have to use this whole code inside a xtage: variable
like for example my code is
*<xtags:variable id="msds" context="<%=specs%>" select="//header/msds"/>*
I have to validate msds that if it has some value go for it other was I can provide ahtml file displaing no file i sthere

Go to See the other 4 answers

How to use xtags: when or xtags: if on variable id

Category:DefaultRelease time:-0001-11-30Views:130

<!-- <xtags:variable id="data" context="<%=specs%>" select="//header/msds"/>           <a href="/DATA/<%=data%> target="#">MSDS</a> --> My problem is if the value of data is[More]

Oracle XTags?

Category:DefaultRelease time:-0001-11-30Views:130

Is anyone aware of a Java taglib similar to Jakarta's XTags but uses Oracle's parser rather than DOM4J? For those that are not familiar, XTags encapsulates useful logic for parsing XML, iterating nodes, retrieving values, and performing conditional l[More]

How to find the database table behind the xtags  varibles?

Category:DefaultRelease time:-0001-11-30Views:130

if in xtags we find that some varibles are not having the right data coming from xml -> database tables so how can we find out the names of database table behind it . <!-- <xtags:variable id="msds" context="<%=specs%>" s[More]

Xtags problem (weird one :-])

Category:DefaultRelease time:-0001-11-30Views:130

hi all in my jsp i use xtags, i iterate fith the forEach like this: <xtags:parse>                 <io:request url="<%=url%>" encoding="ISO-8859-1"/>             </xtags:parse>             <%int count=0;%>[More]

Clubbing two XMLs before display using xtags

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I need an approach to club two xmls one after the other and then parsing the new combined xml into xtags as the logic below to generate an html output. <xtags:style xml="<%=sXml%>" xsl="<%=sXsl%>"> <xtags:param[More]

XTags download missing.

Category:DefaultRelease time:-0001-11-30Views:130

Hi there, i am trying to download XTags from apache repository. But unfortunately i am getting *404* error. can you please suggest me some other source to download it. it is really my need of the hour.. Regards, A.From what I can tell, XTags was depr[More]

XTags If statement

Category:DefaultRelease time:-0001-11-30Views:130

Here's my XML document <?xml version="1.0" encoding="UTF-8" ?> - <rooms> <nextID>4</nextID> - <room id="000"> <RoomName>Theory1</RoomName> <capacity>40</capacity> <numC[More]

SIP Conversion - No longer able to make modem calls

Category:DefaultRelease time:2015-10-11Views:130

We are working to convert our voice network off of PRI's and on to SIP Trunks. Call Flow: ITSP—SIP—CUBE—H323—CUCM—H323—Branch Router(2911 or 2811)—Analog Device (Cash Advance Machine) on FXS port. All locations that have converted to SIP are now unab[More]

Auto-loading of figures using Tagged text

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Is there any possiblity to load the figures automatically while loading the InDesign tagged text files, but it's possible using XTags in Quark. Thanks, PraveenOk, no problem i found this help articles: https://support.mozilla.org/en-US/kb/how[More]

How to use JSP custom tag lib in PAR file?

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am trying to customize mastheaderpar file. For that I have downloaded relevant par file and making the changes accordingly. As part of the changes I would require to use JSP custom tag library in my par file. I have the TLD file and relevan[More]

Error in displaying JSP using Tomcat and xml

Category:DefaultRelease time:2015-10-11Views:130

Anybody out there can help me solve this problem??? I cant display the table... The error came out like dis : org.apache.jasper.JasperException: This absolute uri (http://jakarta.apache.org/taglibs/xtags-1.0) cannot be resolved in either web.xml or t[More]

Hot
I know there is a message saying that APEX questions should go to the appropriate forum. But from my experience APEX will not install on XE. there is a message to the effect that it is not installable/supported. Can someone advise if it is or is not [More]
Hi All, We have a requirement to enhance the search context node SEARCH ( Dynamic Query Object SVYQ ) of component SVY_S. But the enhancement category of Attribute Structure CRMST_QUERY_SVYIL is 'Can't be enhanced'. So we are adding value attributes [More]
Something that hasn't been talked about too much is CS4's new preflight feature. It is an excellent feature and has a lot of potential. However, I am hoping for some big improvements in CS5. It has great options for text where you can tell it to spec [More]
I have a table partitioned by hash. I want to make some updates (not on the partition key column and also not based on this column, i.e this column is not used in where clause). Do I need to specify partition name in the query? For a concrete example [More]
A friend's HP Pavillion zd7000 (laptop) does not connect to my Airport Extreme. I have two other laptop pc's connecting just fine wirelessly to the Airport Extreme. Also, I have an iMac connecting just fine wirelessly to the Airport Extreme. My frien [More]
Hello everybody! I don't know what does this DELETE instruction: DELETE /*+ BYPASS_UJVC */FROM (SELECT a.ROWID FROM TABLE1 a, TABLE2 b, TABLE3 c, TABLE4 d WHERE a.id_sipm = b.id_sipm AND b.id_sitr_pefe = c.id_sitr_pefe AND c.id_dece_400 = d.id_dece_4 [More]
Dear All, I have main 2 views and 2 window Views  : 1) Main 2) View for Poup Window : 1) Main 2) Window for Popup (Conatins the View for Popup) I have One Button on MAIN view on click of which I need to open one popup so for that I have written Below [More]
I have a chat application where AWT frames are being used for dialogs. I want that when the chat window is minimised to the Task bar , and a new message comes , there should be a blinking of the title bar or it whould maximise on its own.I can trap t [More]
I have a table which is defined like this. unique_number NOT NULL VARCHAR2(64), input_unique_number VARCHAR2(64), source_system VARCHAR2(40), end_system VARCHAR2(40), type VARCHAR2(32), date_time_sent TIMESTAMP(6), transaction_name VARCHAR2(60) type [More]
Hi all. In a redesign project we use a new structure for the bsp pages. Since the redesign every F4 help for dates is giving us a java script error. Row:      689 Column: 3 Error:     'document.all.sapDate.style' is NULL or no object Code:    0 URL:  [More]