Is there a way to configure Velocity to use something other than toString() to convert an object to a string in a template? For example, suppose I'm using a simple date class with a format() method, and I use the same format every time. If all of my velocity code looks like this:
$someDate.format('M-D-yyyy')
is there some configuratio...
I am currently working on a huge web application consisting of JSPs. Also i use WebWork framework.
Until now the context root of my application was "/". Now I want to change that to "nstat".
How should I handle the relative and absolute calls from my JSPs?
...
Basically I have two questions:
1)
I have a ext, webwork(struts 2) application. In the legacy application, it uses grid to show a table.
In one jsp files: it has following two lines:
listFilterWindows: $H(),
treeListFilterWindows: $H(),
I am wondering are there anybody in this forum knows what this '$H()' mean?
It is referenced by f...
FAIR WARNING: this question is going to be pretty tough to answer unless you have experience with JIRA and have access to their source (enterprise users).
Greetings all,
I am writing a plugin which extends AbstractIssueSelectAction. I noticed that ${issue.summary}, etc are all available from within my velocity template, however, there...
I'm writing a new result type for struts2 (aka webwork) and I can't figure out how to configure the result type.
The configuration should include stuff like TEMPLATE_PATH or REFRESH_INTERVAL etc, e.g. those are global configuration options per the result type, not per specific action.
The result configuration looks like that:
<result-ty...
I have a web application written using freemarker, webwork and java. Now when user clicks on "getReport", java code returns the string variable (named "otchet") which contains the whole report in plain text and the following page is displayed:
simple.ftl:
<#if (otchet?exists)>
${otchet}
<#else>
<@ww.text name="report.none"/...
Hi all,
I'm using the webwork framework (JIRA plugin development) and was wondering about the lifecycle of the variables in the action class.
I have a few private variables in the action class that are set when during the doDefault() method.
These are used in the input view to set up jqGrid columns and then when the user has entered s...
Hi,
Our WebWork application is getting OPTIONS requests from Excel 2007. These are causing errors because they are encoding the ampersands! We'd like to just tell WebWork to ignore these OPTIONS requests.
Is there a way to do this?
Thanks,
Alex
...
Hi all,
I interested using webwork 2, after great experience on struts 1.2 on previous project. But after I checked on link text
the latest release is 2007, and the few documentation tutorial status "is in progress".
anybody know, is it still being developed or released periodically?
Thanks in advance.
Regards,
Mr.K
...
How can I access a list of all active Webwork actions (as defined in actions.xml or xwork.xml) programmatically (in java) during runtime? Note: The application may be extended by plugins which may also 'register' their own actions to the application.
Thanks a bunch
...