When I mix JSTL 1.0 and JSTL 1.1 taglib declarations, it causes a ParseException on some of my servers, but not all of them.
Here is the block of code that's giving me trouble:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="TEXTVARIABL...
I have followed the instructions on the googlemaps website but I'm unable to get
any maps to show (attempting example 1 and 2)
I did the following
Added jar to web-inf/lib, included it in my jsp using the taglib
declaration (This should be correct since my IDE netbeans now
recognises the tag and makes it bold when used)
I then added t...
I have a custom tag, packaged into a library jar that is included in my web apps war file.
I get the following error:
An error occurred at line: 66 in the jsp file: /WEB-INF/jsp/portlet/portfolio/operations/operationsInfo.jsp
org.apache.jsp.tag.meta.form.WidgetFactory_tag cannot be resolved to a type
63: <c:forEach var="fldCfg" i...
Defining custom components in Facelets is easy and quick but there's one thing I can't figure out.
Is it possible with Facelets to define what attributes my custom component has? I.e: I've created a component which is used in such a way:
<blue:modalWindow id="editFeesWizard" width="500" height="440" title="Wizard">
and is defined i...
I've set up a Liferay community, along with a number of pages each defining there own set of portlets, themes and layouts. I want to be able to create links between these pages. For example given that I am at the top level page (lets call this 'home'), I want to link to another page (for example 'blog') from within one of my portlets.
I...
Dear all,
i m using dao design pattern in which i m returning a arraylist object ,inside object i can fetch by typecasting object into class and acees the getters like object.getName(),i want to itearate using a jstl tags.how can i do that.
...
I can't seem to use any of the grails ui plugins such as richui or grails-ui. I used grails install-plugin to install them, and grails list-plugins shows that they are correctly installed. However, whenever I use their provided taglibs in my views, I get this exception:
Tag [tabview] does not exist. No tag library found for namespace:...
Using tiles, spring web mvc and a lot of jsp files.
I need some tags with following logic:
<tl:append tag="script">
... javascript code ...
</tl:append>
This jsp tag would append javascript code to bottom of in the .
Just wanna have javascript in one place. Also, I wanna use such taglib for css styles and so on.
Are there any a...
Hi
I want to use two struts taglib in each other, something like this:
< s:property value="url-< s:property value="number"/>"/>
or
< s:property value="url-${number}"/>
but I got the following error in the second one:
According to TLD or attribute directive in tag file, attribute values does not accept any expressions.
Anybody h...
One of the things I liked about freemarker is that you can quickly create new macros that encapsulate complex html to make the pages smaller and more concise. Do I have to make tag libraries to do the same thing in grails, or is there a really light-weight syntax for achieving the same thing?
...
Is there any way too find out the current view (or gsp file) that is being executed?
RequestURI doesn't work due to URL Mappings and forwards.
I'm trying to retrieve resources dynamically based on the currently executing GSP file. For example, if product/view.gsp is being executed, I want to include product/view.css and product/view.js...
Struts seems to completely ignore the styleclass option for rendering the and associated options.
I have spent a good deal of time getting the CSS right for this website to shar on all the pages, but cannot get struts to play ball?
...
I have this code in a custom taglib that calls the GrailsUI Autocomplete tag:
def renderAutoComplete(uicName,isDisabled,theValue) {
params.tableId = 3 // THIS ISN'T AVAILABLE TO AUTO COMPLETE ACTION
out << gui.autoComplete(id:uicName,resultName:"lookUpData",controller:"lookupTable",action:"autoCompleteJSON") {}
}
Here's my ...
Hi
In Xcode, suppose that there is a framework named Foo. Inside the Foo.framework/Headers folder there are files File1.h and File2.h. The header file File1.h includes File2.h via the following directive:
#include <File2.h>
The Foo framework is a re-package of a C++ library not specifically targeted for the Mac.
Now suppose I have...
i'm trying to index an mp3 file with only one ID3 frame. using CLucene and TagLib. the following code works fine:
...
TagLib::MPEG::File file("/home/user/Depeche Mode - Personal Jesus.mp3");
if (file.ID3v2Tag()) {
TagLib::ID3v2::FrameList frameList = file.ID3v2Tag()->frameList();
lucene::document::Document *document = new lucene...
I've seen the TagLib Sharp example of how they read from a Gnome VFS, but does anyone know how or have sample code on how I can read an MP3 file from a website and get the ID3 info?
So say i have some MP3's and the link is like this: "http://myserver.com/indie/band1.mp3"
I'm trying to user TagLib Sharp to do this: http://developer.nove...
When I try to use custom taglibs in my webapp it doesn't work on OS X (or Windows), using Eclipse, and Run Jetty Run. When I WAR up the files and run them on my linux server running apache-tomcat-6.0.20, there is no problem. I'm using 3rd party custom taglibs without problems in both environments.
org.apache.jasper.JasperException: PWC6...
I'm developing an image rendering service that takes a bunch of query string parameters as arguments to render an image using Spring 3.0.3. I'm trying to validate the query string parameters and display errors if any exist.
Validation seems to be working just fine as the conditional statement on the BindingResult result parameter will ...
Hi!
We're building a JSP web application, which runs inside the Apache Felix OSGi container (the web app itself is a OSGi Bundle). Now, we're facing the following problem:
According to the JSP 2.0 Spec, TLD (taglib descriptors) no longer need to reside inside the web apps WEB-INF folder, but are loaded directly from the taglib's jar ME...
hi all
in struts1, this is <logic:match> tag to use [Regular Expression].
how can i use the function in struts2 tag ?
for example, i want to check a string begin with 'AA',
<s:if test="">
The string begin with 'AA'
</s:if>
Thank you
...