Hm... I don't see any option for now... extending annotation is a nice
thing, can you register a ticket in JIRA?
2014-05-30 17:53 GMT+02:00 Dimitris Mouchritsas
:
> Hi all,
>
> I'm using struts2-core 2.3.16.3 along with struts2-json-plugin and I have
> the following problem:
>
> I have an entity
Hello Lukas
Thanks for your response but the issue is not with tag. As
mentioned in my question, I would like use custom tag , etc.
in action in addition to the tag. Hope the questions makes sense
now.
Please suggest if there is a possibility to implement such feature in
Struts 2.3.x
Thanks i
I have no idea if it is possible or not, but you can use like this
${['key1','key2','key3']}
2014-06-03 11:42 GMT+02:00 Janardhana Pagadala :
> Hello Lukas
>
> Thanks for your response but the issue is not with tag. As
> mentioned in my question, I would like use custom tag , etc.
> in action
Hello,I would like to use properties (*) written in an external file, and read
them only once.
Do I have to use ApplicationAware, or something else.
Whatever, could you give examples please ?
(*) some properties like JDBC or LDAP connection's parameters.
Thanks
Chris
Hi Chris,
I'm not sure if struts has a feature that would read property files and put
them in the Application scope for you automatically.
You can have a look at
http://commons.apache.org/proper/commons-configuration/userguide/user_guide.html
which will allow you to read the properties file. Then
Struts 1 uses a DTD which doesn't allow custom elements in the
configuration... or does it? I have never seen this before.
Cheers,
Paul
On Tue, Jun 3, 2014 at 4:57 AM, Lukasz Lenart
wrote:
> I have no idea if it is possible or not, but you can use like this
>
> ${['key1','key2','key3']}
>
>
I am using struts 2.1.8. I am extending the
"org.apache.struts2.components.Select" tag and writing my own "select.ftl"
(freemarker template).
I need to iterate over the parameter "parameters.list" twice.
Example:
<@s.iterator value="parameters.list">
loop1
<@s.iterator value="parame
Maybe you found a bug. Hopefully Struts cleans up its iterator when the tag
finishes. Maybe you can look into the source code to find out for us.
Cheers,
Paul
On Tue, Jun 3, 2014 at 12:17 PM, Matt Williams <
mattwms1998...@yahoo.com.invalid> wrote:
>
> I am using struts 2.1.8. I am extending
Consider below action class with three action mappings. Two of them are
annotated with a custom annotation `@AjaxAction`
public class MyAction extends ActionSupport{
@Action("action1")
@AjaxAction //My custom anotation
public String action1(){
}
Just get the action and check for the annotation.
On Jun 3, 2014 1:41 PM, "Alireza Fattahi"
wrote:
> Consider below action class with three action mappings. Two of them are
> annotated with a custom annotation `@AjaxAction`
>
> public class MyAction extends ActionSupport{
>
> @Action("
Thanks Marc, I think it's the simplest solution.
2014-05-30 18:36 GMT+02:00 Marc Michele :
> This is simple:
>
> public class MyAction extends ActionSupport {
> private String myParam;
>
> public String getMyParam() {
> return myParam;
> }
>
> public void setMyParam(String
Hi,
I'm developing an an application to conduct Online Examinations. Lots of
table displays are used in every module. for example Questions, Exam,
Results, etc,
I have a form which saves a question to db.
My Scenario is Following I Have three types of Questions
1. Single choice
2. Mutiple Choice
3
12 matches
Mail list logo