the original author
of that page and that's why it's a wiki :-)
Max Pimm wrote:
Solved.
I have downloaded and created the custom build from the dojo 0.4.0
release instead of dojo 0.4.2 and now all works well. From comparing
files i am pretty sure that 0.4.0 was the release u
confirm that.
We should also update the wiki
(http://cwiki.apache.org/S2WIKI/creating-a-custom-dojo-profile-for-struts-209.html)
to change all references to 0.4.2 to 0.4.0. I have access but perhaps
this should be approved by the developers first?
max
Max Pimm wrote:
I am using firebug and
the build fails.
Which is the dojo version that was used in the build of
struts2-core-0.011.jar?
Jeromy Evans wrote:
Max Pimm wrote:
I am trying to make a custom build of dojo for my application in
order to speed it up a bit.
(See threads "[s2] Struts head tag KILLS (> 10s) page lo
I am trying to make a custom build of dojo for my application in order
to speed it up a bit.
(See threads "[s2] Struts head tag KILLS (> 10s) page load time" and
"How to improve dojo performance in Struts 2.0.9")
I have followed the instructions for doing this are carefully as
possible from
You can call a static method using the OGNL syntax.
.
(More info can be found here
http://www.opensymphony.com/ognl/html/LanguageGuide/)
However i suggest you have a look at the s:date tag.
max
mleneveut wrote:
Hi all,
I just give up the datetimepicker component, due to a 2s more page lo
It would be a really nice touch if whoever maintains the maven project
for struts2 could include the source jars in the maven repositories.
max
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Using the regex field validator.
This is a regular expression that tests for a positive integer, it also
allows the field to be empty
^\d*$
This would be the same but not allow an empty field
^\d+$
Your field validator would look something like
My field s
If i use the ajax theme a script import is generated for the following 2
files in template/ajax/form.ftl:
src="${base}/dwr/interface/validator.js">
However i cannot find these javascripts in the struts-core jar.
I presume that i need to download dwr from getahead.org and copy the
resour
I have created an issue in JIRA.
(https://issues.apache.org/struts/browse/WW-2058)
max
Theo Platt wrote:
Thanks Max, I've just been looking at exactly the same area and I can
replicate the same error. It works fine in IE but fails in firefox.
I think you should enter it in JIRA.
Cheers
Theo
Hi,
in 2.0.8 the ajax template (template/ajax/autocompleter.ftl) is missing
the controlheader and footer. I noticed this when i wanted to generate a
label for my autocompleter text field. The autocompleter tag accepted
the label attribute but did not create the html label element.
I have add
The display of the date time picker works fine when i change the format.
However when the params interceptor tries to deserialize my form data
into java objects using OGNL it thinks that the field has format MM/dd/.
How should i tell the OGNL parser that my date format is different?
max
-
I'm using 2.0.8 and using client side validation which its almost
working perfectly.
Unfortunately the only obstacle is that i can't put hidden fields in my
form. The validation works correctly the problem is that the second time
i validate the same form (without sending it to the server) the
think that this may be different in the tree controller V3).
If implementing this is a hassle perhaps its not worth it, what do you
think.
max
Musachy Barroso wrote:
You can pass the content type as a parameter to dojo.bind (actually,
it is a
field inside the object passed as the parameter)
mu
Musachy Barroso wrote:
Ok, it is done (I was bored today :) ). Make sure that the object
returned
from the value stack, from the "root" expression is not null.
regards
musachy
On 6/27/07, Max Pimm <[EMAIL PROTECTED]> wrote:
Thanks a million. At the moment i'm not using the
chy
On 6/27/07, Max Pimm <[EMAIL PROTECTED]> wrote:
I'm using the JSON plugin in one of my actions with the documentation
that i've found here
(http://cwiki.apache.org/S2PLUGINS/json-plugin.html). My case is a
little different as i am not using SMD. I receive calls to the action
I'm using the JSON plugin in one of my actions with the documentation
that i've found here
(http://cwiki.apache.org/S2PLUGINS/json-plugin.html). My case is a
little different as i am not using SMD. I receive calls to the action
with parameters passed via the query string. Most of these paramete
't want to speak too soon, but if this goes ok perhaps i
could help add this functionality to showcase example.
max
Musachy Barroso wrote:
The tree works on 2.0.6/2.0.8 AFAIK, did you try the "tree" tag?
regards
musachy
On 6/26/07, Max Pimm <[EMAIL PROTECTED]> wrote
You can do this without explicitly accessing the output stream of the
HttpServletResponse.
1) In struts.xml define the result type of your action as a stream, you
can define content type here aswell
application/msword
2) In your action cl
I have seen that people are working on integrating the Dojo tree widget
into the 2.1 release. I'm using 2.0.6 release and am about to implement
the tree
widget in my app.
I'm new to dojo and haven't been able to find much official
documentation for this widget. I wondered if someone who has a
Correction... the last two lines of code in my previous mail should have
been (getting myStylesUrl by value not name!)
" />
not
" />
Max Pimm wrote:
Thanks for the respones.
Perhaps i didn't explain myself properly. What i'm really looking for
is a way to d
a context relative url and works fine but is a bit
cumbersome if i have to do it every time i need to generate a url
outside struts tags.
max
This works fine but h
Musachy Barroso wrote:
Or the scriptletless version:
musachy
On 6/21/07, Van Riper <[EMAIL PROTECTED]> wrote:
I am used to defining a base element in my pages but can't find the way
to define this with struts 2. All suggestions welcome.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm trying to set up the Struts 2.0.6 example blank application using the J4
distribution and i'm having problems using struts-tags.
Any jsp that uses this tag library (that is all jsp's that include the
line <%@ taglib prefix="s" uri="/struts-tags" %>) give compilation
errors (see below
23 matches
Mail list logo