×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I noticed that nobody else has responded to this so here are some thoughts
from memory. Give it a whirl and if things don't exactly work out then
post back to the mailing list with your results and I'll think about what
else you could try.
First, just to clarify things a bit, the &{MENUOPT.value} is just
something that is translated by the WF conversion into a Java scriptlet in
the JSP to return the value for the field -- it is NOT JavaScript
If you are playing in JavaScript only then something like
&{MENUOPT.ref}.value.substr(whatever) might be similar to what you want
but in this case I suspect you will want to compose a Java scriptlet.
To figure out the Java scriptlet what you can do is first to the
conversion with the original &{MENUOPT.value} that you had and look in the
JSP to see what it produces. I think it may be something like
<%=RECORD.getFieldValueWithTransform("MENUOPT", some-transform)%>. So
then use that as the value in place of the &{MENUOPT.value} in the Web
Settings GUI and add a substring call to it much like
<%=record-of-menuopt.getFieldValueWithTransform("MENUOPT",
some-transform).substring(whatever) %>
I'm sure you were quick to notice that there are some pseudo substitutions
in the above.
Mike
Mike Hockings, P.Eng.
System i Application Development Tools - CODE/Designer & WebFacing !
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 905 413 3199
jwallroff@xxxxxxxxxxxxxxx
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
06/18/2007 06:11 PM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>
To
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>
cc
Subject
[WDSCI-L] Webfacing, adding a hyperlink to the web settings of a dds
file
Hello,
I'm trying to make a simple hyperlink in a dds file in my new Webfacing
project. This is the way WDSCi will make the Hyperlink
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.