Christian Bollmeyer wrote:
Laurie Harper schrieb:
Nope. You can't, for it has set rtexprvalue to false :-) Minor
Ugh; <jsp:attribute/> might still work...
thing, you can change that if you grab the tld file from the jar.
For resolving the other issues, you have to alter the code. Hm.
The source distribution doesn't contain the resources, but you
can get them from the jar (META-INF and /lib directories, IIRC).
The 'wrong links' issue stems from the use of getRequestURL()
throughout which is a rather common issue. This should easily be
Ah, right, yeah, that'd be a pain.
overridable by adding an "url" attribute or s/th. Same is true
for the listener (resources location) which should also be
configurable IMHO. Generally, the Java part is not overly complex,
but I'm a little bit short of time currently, and taglib develop-
ment is not exactly my main field of expertise. Perhaps someone
should contact the author :-)
Heh, yeah, and move further discussion on this thread to the appropriate
list too ;-)
Experimented some more, being able to rebuild the library from
the sources and packaging everything to a .jar file now. Wow,
with rtexprvalue set to true, I can dynamically generate the
tabTitle via EL (tabTitle="${somebean.someproperty}"). Still,
I can't say something like tabTitle="<fmt:message key='tab.title'/>";
might be a JDeveloper 10.1.3 EA restriction with nested tags
or generally illegal, I forgot.
Generally illegal, JSP doesn't allow custom tags withing custom tag
attributes.
L.
-- Chris.
That one, I think, can be dispelled: tab titles are set with the
tabTitle attribute, so you can just pass in a value retrieved from
your message resources. Admittedly it'd be nice if it was 'Struts
aware' and supported a tabTitleKey attribute, though.
L.
Christian Bollmeyer wrote:
Ah, another important issue I forgot: the tab titles are 'fixed'
and therefore not i18n-capable, neither via resource bundles
nor <fmt:message>.
-- Ch.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]