I'd like to test the Sitemesh / FreeMarker full integration configuration
available in Struts 2.2.1, detailed on this page:
http://struts.apache.org/2.x/docs/sitemesh-plugin.html
BUT I'm new to using maven and can't seem to figure out how to modify my
pom.xml such that maven downloads the
Hi,
You must define it in repository section of your pom -
http://maven.apache.org/pom.html#Repositories
repositories
repository
idstruts-staging/id
urlhttps://repository.apache.org/content/repositories/orgapachestruts-014/url
layoutdefault/layout
/repository
Thank you Łukasz, I'm able to move forward now. I should point out that the
Sitemesh Plugin page (linked below) lacks information about decorators.xml,
which DOES seem to be required in order for the plugin to function. The
decorators.xml file can simply contain decorators / but it seems
Hi,
I'm having this strange error.
When I'm trying to read a property from my properties file with the
getText @ ActionSupport method I get this NPE and this message:
DEBUG com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor - Error
calling method through OGNL: object:
This seems like it should be beyond easy yet I still find my self
asking...
I my POJO has several GregorianCalendar objects.
In my JSP what is the best way to display a simple (year, month, day)
format?
Use Java in the JSP it self? Is there a good struts 2 tag for this... I
think if the
field
Same problem with me...
I want (through Struts 2 tags), a way to display date as three adjacent
(side-by-side) drop-down menus, one each for date,month and year. Normally
what will happen is: the three drop-down menus will be displayed in three
separate consecutive rows in the HTML table generated
Hi all,
i do it like that:
in my POJO GregorianCalendar field,
on my jsp text field + jquery calendar.
If You want to create date in some kind of predefined format
You can use Conventer for GregorianCalendar for your app.
Best greetings,
Paweł Wielgus.
2010/7/27 Reeshi Agrawal
Why don't use Struts tag s:date for date formatting?
in Action:
public GregorianCalendar getMyDate() {
return new GregorianCalendar();
}
in jsp:
s:date name=myDate format=d. M. HH:mm /
Michal
Hi all,
i do it like that:
in my POJO GregorianCalendar field,
on my jsp text field +
Another option that doesn¹t tie you down to the REST plugin is to use the
URL Rewrite Filter ( www.tuckey.org/urlrewrite/)
We¹ve been using this for a while without any issues.
Z.
Is there anyway we can use /client/{clientId}/business/{businessId} kind of
URLs in Struts 2.0?
-- AB
9 matches
Mail list logo