Hi John,
I had the same problem with excludeProperties, what worked for me is to
add the param to the
interceptor-ref tag and NOT to the result:
true
.*Collection
Best regards,
Andras.
john.c.cartwri...@noaa.gov wrote:
Hello All,
I'm trying to use jsonplugin 0.32 w/ struts 2.0.14
Hi,
I have created a validator called "SameValueValidator", this worked both
client-side and server side, this was for struts2.0.x so I don't know
how will work with the latest struts (and if it works with annotations).
If You are interested here it is:
SameValueValidator.java:
---
Hi,
I have encountered the following problem in Struts 2.0.11.2:
I'm using the tag and I added a required validator on it.
If the field is empty the client side validation is trying to call
"addError" as expected
but then a javascript alert shown: "do not validate:".
This is happening in th
Hi,
I think the easiest way would be to copy from struts2-core-xx.jar the
validation.js based on the theme and put it in your source package folder .
So example I took template/css_xhtml/validation.js from struts.jar and I
modified the javascript function:
function addError(e, errorText)
{
}
H
Hi,
As I see you include different jspf in each tab, can you try to use the
"href" attribute to load the content of each
tab and see if there is a difference in the performance?
See here about the "href" attribute:
http://struts.apache.org/2.0.11.2/docs/tabbedpanel.html
Best regards,
Andras.
Hi,
Only in this case is not working with the parameter "indice" or none of
the parameters (in other actions) are set?
Can you try to use Integer instead of int? For me it works with Integer.
Best regards,
Andras.
-
To unsubs
Hi,
I'm trying to return a list of Objects that are retrieved with Hibernate.
In these Objects i have a lot of collections like ex: groupsCollection,
bookmarksCollections etc.
All of these are of type java.util.Collection.
How can I tell in the excludeProperties to not to load these objects?
I
Musachy Barroso wrote:
Take a look at the docs: http://cwiki.apache.org/S2PLUGINS/json-plugin.html
Hi,
I have checked the docs of course before posting.
Currently my config is like this:
true
.*Collection
But the JSONWriter still goes and inspects a lot of Objects that I
don't wa
Musachy Barroso wrote:
In the result only.
I just added some more debug messages to JSONWriter and it seems the
excludeProperties is set only if is declared
at 'interceptor-ref':
true
.*Collection
If I declare it at 'result' than the excludeProperties will be NULL in
JSONWriter.
Hi,
Can you set the log level to DEBUG to see what the interceptors say?
Something like:
log4j.category.com.opensymphony=DEBUG
BR, Andras
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Hi,
Probably the project uses also tiles and "appl-list.page" is a tiles
definition.
Look for an xml file that has "tiles" in his name.
BR,
Andras.
[EMAIL PROTECTED] wrote:
Hi to all,
I´m new to struts and i have to reconfigure an existing struts
application.
I´m just looking in the stru
Hi,
You need to add required="true" than Struts will add the "*" automatically.
BR,
Andras.
taj uddin wrote:
Hi,
In my application, the textfield label name should be appended with "*". I tried
to add the string (*) to my label name using labelSeparator attribute. In my eclipse it shows
t
Hi Marc,
I might be wrong if I misunderstood your question, as I understood
you can run fine your app
with Tomcat but not with Apache.
You need to add a connector to Apache in order to forward all *.do
requests to Tomcat, this can be done
in many ways but probably the best is mod_jk:
ht
I don't use CPanel but check on the web for CPanel servlets support:
http://www.google.com/search?hl=en&q=cpanel+servlets&btnG=Search
BR,
Andras.
Cappelletti Marc wrote:
Hi Andras,
Thanks for your answer, it seems that your answer matches what I've found on
the web.
But as far as I know, on
Hi,
A HTML input of type file can't have a default value. This is a security
issue.
BR,
Andras
elyes sallem wrote:
Hello,
in a form, a define a
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Hi,
I have used the json-plugin also and as I understood it will read the
excludeProperties from the interceptor-ref and not from the result:
Example:
true
.*Collection
I don't know if this is the case only when enableSMD is set to "true".
BR,
Andras.
John Cartwright wrote:
Hello All
Hi,
If Struts 2.0.14 still uses dojo 0.4 than the problem (and the fix) is
described here:
http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/firefox-3-and-struts-2-theme-ajax-render-issues#comment-17067
BR,
Andras
Tom Pop wrote:
Hello,
I have page with datetimepicker and deb
Hi,
I think this is the same problem with dojo 0.4:
http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/firefox-3-and-struts-2-theme-ajax-render-issues#comment-17067
BR,
Andras
Balbo wrote:
I'm trying to use a datetimepicker in my struts 2.0.16 application but
"dojo is not define
Yes, there are 2 files (InjectEJB.java,EJB3Interceptor.java) that are
visible at
"Browse the Source code"
or you can do an anonymous SVN checkout:
svn checkout */http/*://struts2ejb3.googlecode.com/svn/trunk/
struts2ejb3-read-only
BR,
Andras
Fernandes Celinio SGCF wrote:
Hello Lukasz,
Can y
Hi,
I'm trying to use the sx:datetimepicker with Struts 2.1.6.
The datetimepicker is embedded in a form with theme="css_xhtml".
I did not find a way to set for the datetimepicker the theme explicitly
and right now it generates a table row (tr) for the datetimepicker while
other
form eleme
Hi,
You need to use the not the .
BR,
Andras.
Ignacio de Córdoba wrote:
Hi there,
I am trying to use DateTimePicker with struts 2.1.2
I get the following error:
¿Any ideas? ¡Thanks!
Expression parameters.pushId is undefined on line 24, column 6 in
template/ajax/a-close.ftl.
The problematic i
Hi,
Try to specify the includeProperties at the
definition and not at the result type.
BR,
Andras
john.c.cartwri...@noaa.gov wrote:
Hello All,
I'm having trouble getting the json-plugin 0.32 to behave as I'd
expected. The action is exposing a List of objects annotated as
"@JSON(name="ite
Hi,
The problem is most probably that dojo.xhrGet is not available in the
dojo version that comes
with Struts 2.0.x ( dojo 0.4)
You must make sure to use only dojo functions that are avail. in ver. 0.4.
See here more details:
http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/w
Hi,
This is a little bit off-topic because it's related more to Dojo
than Struts.
But anyway: do you get back something in your "data" object in function
load()?
If you know that you are returning javascript do not send the
tag (only the javascript)
Hi,
You could try to use the ContentPane Widget and load the response into
it however I did not try this
so I'm not 100% sure if it will work.
See here:
http://dojotoolkit.org/book/dojo-book-0-4/part-4-more-widgets/advanced-contentpane-usage
and notice the "executeScripts" property.
BR,
Andras
25 matches
Mail list logo