Hi,
i'm a beninger in jstl and i have a problem. I use tilesDefinition.xml
in order to define the different frame of my page. I created a CSS
stylesheet and when I load my page, the style sheet work but not like I
want. And when I load only a frame the stylesheet runs ok. Is it a
struts conflit ?
Thanks for your help Adam, i found the solution with your method.
Adam Hardy wrote:
On 11/06/2003 11:40 AM Jean Charles Jabouille wrote:
Hi,
i'm a beninger in jstl and i have a problem. I use tilesDefinition.xml
in order to define the different frame of my page. I created a CSS
Hello
I have an XML file with content listed below:
- dan datum=2003-11-06
- spored kino=Planet Tus Celje
- film id=282 language=sl
naslov_siAmeriska pita: poroka/naslov_si
naslov_enAmerican Pie 2/naslov_en
zvrstKomedija/zvrst
urlhttp://www.planet-tus.com/film.php?id=282/url
-
Using the c:set .../ tag (or any other currently available tag for that
matter) is it possible to check if a parameter is not null and if so
populate the var OR if it is null, populate with an empty string?
Thanks,
Rod
c:choose
c:when test=empty param.name
c:set var=varName value=/
/c:when
c:otherwise
c:set var=varName value=value/
/c:otherwise
/c:choose
[EMAIL PROTECTED] wrote:
Using the c:set .../ tag (or any other currently available tag for that
matter) is it possible to check if a
I'm sure this question has been asked before, but I didn't see any sort of archive
here http://jakarta.apache.org/taglibs/index.html#MailingLists.
Is there an existing taglib or elegant way of specifying selected for a
selectoption?
Basically I want the HTML to look like this:
select
html:select supports it. if you have that select statement:
html:select property=startMonth
html:option value=0Jan/html:option
...
tomcat will automatically preselect the value for you depending on the value
set for startMonth on the form.
-james
-Original Message-
From:
Stored your month information in a scoped variable as a map, I would
recommend creating a static map that is a
org.apache.commons.collections.SequencedHashMap.
select name=startMonth
c:forEach items=monthMap var=month
c:choose
c:when test=${month.key == 10}
I hate it when I miss the simple stuff. Can I blame it on my cold medication?
Thanks. Working well.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 13:24
To: [EMAIL PROTECTED]
Subject: RE: Specifying SELECTED for an option
Guys,
I need to evaluate an EL expression that contains variables of variable
names. From the archives, it seems the way to do this is by accessing them
through the implicit objects pageScope, requestScope etc.
http://marc.theaimsgroup.com/?l=taglibs-userm=105730468108706w=2
However, I couldn't
Chaimungkalanot, Mark wrote:
Guys,
I need to evaluate an EL expression that contains variables of variable
names. From the archives, it seems the way to do this is by accessing them
through the implicit objects pageScope, requestScope etc.
Thanks for that.
While that didn't quite work, it did lead me on a path to something that
did. (I think I miscommunicated the Q a little)
One more thing, does this mean that I next . within []? So that:
c:out value='${map[object.value]}'/
Wouldn't work where map is a map and object is just a
12 matches
Mail list logo