webwork

Configure velocity to render an object with something other than toString?

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...

How can I change my context root in WebWork?

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? ...

extjs and webwork: Show grid

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...

Atlassian JIRA Plugin Development: How to make variables available to velocity templates

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...

How to configure result types in struts2 (webwork)

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...

FreeMarker, WebWork Problem

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"/...

Webwork actions, the lifecycle of variables declared in the action class.

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...

Ignoring OPTIONS requests in WebWork

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 ...

where web framework webwork?, is it still being released periodically?

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 ...

List of Actions in WebWork1

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 ...