lic static singleton instance of
> itself. Lets call it C. (Remember, OGNL can reference static fields)
> public static final Constants C = new Constants();
>
> 2. [...]
And what if, as from my above explained example, you have an
*interface*, not a class...?
Maxx
--
ause this
resource bundle system is provided by the Java Properties class.
see: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Back on this:
>
> testValue = // print 1
>
>
> testValueName = // print
> testValue
>
> // print nothing!!!
> testValue (via xxxName) =
Still no idea...?
Maxx
-
Try using the "Dozer" library on Sourceforge ( http://dozer.sourceforge.net/ )
It's test worth and even if it lacks some complex-hierarchy features,
it's far advanced from BeanUtils (indeed, it uses BeanUtils for basi
the same parameter (what seems
to be commonly argued in this situation), why setting the value for a
single String field in an Action do not lead to this exception?!
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I just asked this a week or two ago... it's imminent but not 100% confirmed.
Seems it needs to be "qualified" before getting available as a "GA".
The only alternative is building it by our own using Maven.
Maxx
---
nd went to be replaced by XWork as part
of Struts2.
Check: http://blogs.opensymphony.com/webwork/2007/04/webwork_225_released.html
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
kage.www.bean.MyBean
CreateIfNull_myList=true
Thanks for your help!
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Strangely it first freezes my browser. Re-testing it now and it's working.
I also thought the three dots could come from a shortened url, while
it's effectively not.
Apologies.
Maxx
-
To unsubscribe, e-mail: [EMAIL
On Thu, Feb 21, 2008 at 2:03 AM, Jeromy Evans
<[EMAIL PROTECTED]> wrote:
> Just thought I'd mention that Dave followed this up for you in struts-dev:
> http://www.nabble.com/StrutsStatics...-td15595866.html
Just to let you know this link does not work (seems incomplete).
---
Thanks for your answer.
I partially fixed this, noticing the square brackets notation is the
same for Lists and Maps, which is not so clear on the related doc page
(I posted a comment about this, having had a conversion with Dave
Newton about this in a more recent thread on the mailing-list), as
w
http://jira.opensymphony.com/browse/XW-564
As it seems both (XWork 2.1.0 & current Struts2 GA = 2.0.11) are
incompatible - I tested it, some XWork classes moved or disappeared -,
I don't really know what to do actually.
Any ideas...?
Thanks,
Maxx
Version Notes 2.1.0 (due Oct. 29 2007)
http://str
several times. And
unfortunately, it lacks some more explicit examples. And in my case it
does not work, while I applied everything described in the famous
page: http://struts.apache.org/2.0.11/docs/type-conversion.html
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Feb 16, 2008 1:57 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Maxx <[EMAIL PROTECTED]> wrote:
> > I seriously doubt it is actually really working like
> > presented in the Struts doc.
>
> I have a three-deep nested structure with a map between IDs and obje
Hello,
I seriously doubt it is actually really working like presented in the
Struts doc.
As explained in a previous email today (entitled "Unable to make Type
Conversion work in Struts2"), I'm currently facing a problem with this
"Type Conversion" in a very *simple*
ething
with the OGNL expressions but could not found what...)
Greets,
Maxx
PS: the doesn't display anything, but if you move the
testList under a JavaBean (e.g. TestBean) and you change testList to
testBean.testList as OGNL value everywhere it's used (esp. for the
iterator), it displa
OK, understood. Did you try what I advised you?
To make it clear, what is the JSP code of the other links/actions..?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Currently searching, I found something that might be related : it's a
security fix about "recursive OGNL parsing"
http://struts.apache.org/2.x/docs/s2-001.html (related to WebWork bug WW-2030).
As I can read:
*As of XWork 2.0.4, the OGNL parsing is changed so that it is not recursive*
... is my pr
omeSubMap[Y](Z).subObj.fieldName
... you have to enter the WHOLE object path as "name" of the input field.
That IS the problem :-p
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
egories,
fields...) presented in my JSP (to sum up things).
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ng about now ?
If, as said above, it's within the other urls generated in your JSP,
it's the same schema : generate them with the tag and
"includeParams=none" parameter.
If you want to change this globally (it really helps!), set in your
struts.properties th
NL "prefix" with a simple set
and then for each property call use something like
%{#myPrefix + 'fieldName'}
But unfortunately I'm unable to make it work at the moment.
Could please someone explain me what I'm doing wrong?
Thanks,
Maxx
-
ing system you put
> your report in and not Struts Jira?
Well, I thought it might be related to the use of Struts2 tags/taglib,
and then related to the translation into JSP's java code.
But hey, I'm gonna try the Eclipse thing.
Thanks,
Maxx
--
expected
- Syntax error on token "}", delete this token
I first thought it could be due to the &
tags not handling properly exceptions.
But as there's seem to have no syntax error when putting both files
(JSP & JSPF) in the same folder, I'm getting du
Of course the label can't be hidden as it's not the same element.
It may also depend on the theme you're using. By default it's the
xhtml one, and as this theme creates additional stuff around
(which is really annoying and shouldn't be default IMHO), what you're
doing is only hiding the inner stuf
In a JSP, it's quite easy, you just have to use a nested
inside the tag refering to your message, e.g.
(of course if item is available through your action via a getItem()
method - same for property "name" on your "item")
For the Freemarker thing, I unfortunatel
Hello,
Good idea, but when it's about "annotations", is it about Java 5?
How to handle/use this in Java (1.)4 ?
Thanks,
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!!! ;)
http://struts.apache.org/2.x/docs/url.html
Greets,
Maxx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
28 matches
Mail list logo