Dojo 1.0
Mon, 11/05/2007 - 14:31 — alex
Today is the day the Dojo has been working toward steadily for more than 3
years: Dojo 1.0.
--
View this message in context:
http://www.nabble.com/-ANN-OT--Dojo-1.0.0-release-tf4770042.html#a13644271
Sent from the Struts - User mailing list archive at
Hi,
Can any body explain the following to me, I don't quite grok it. I have
added a property value via my action
ActionContext ctx = ActionContext.getContext();
ctx.put(contextKey, developer.page.logout);
In the jsp I have the following:
1 s:property value=%{contextKey}/
2 s:property
Hello,
I have a code to upload a file using FromFile and
html:file property=photoLink accept=image/jpeg,image/gif /
I would like to add a remove button to the file.
How do I do it?
Thanks
Odelya
-
To unsubscribe, e-mail:
On Nov 7, 2007 7:54 PM, Lalchandra Rampersaud
[EMAIL PROTECTED] wrote:
I would like to integrate ajax within a struts app, but I have no idea how
to go about doing that.
The key point is that when a script makes an Ajax request (XHR), the
server doesn't know it came from a script, and handles
Working with Struts 2.0.x as an MVC framework has been a very enjoyable
experience. Working with Struts 2.0.x with the built-in Dojo
integration has been a frustrating experience to say the least.
Looking at the 2.x docs, I see that the struts-dojo-tags taglib
On Oct 22, 2007 8:47 AM, Martin Wilmes [EMAIL PROTECTED] wrote:
On Monday 22 October 2007 15:39:49 [EMAIL PROTECTED] wrote:
Hi! This is the ezmlm program. I'm managing the
user@struts.apache.org mailing list.
I'm working for my owner, who can be reached
at [EMAIL PROTECTED]
To
There was a good suggestion about using the MessageStoreInterceptor, but I am
really trying to avoid using Session-based storage for my application,
having been indoctrinated into the RESTful camp at the 2007 Colorado
Software Summit :)
I just discovered that both actions (the one that gets the
I want to iterate over the dataColumns to get the value from each
dataColumn.
I am trying to add S2 to an existing project. So the Vector code is old,
circa 2001.
Thanks for you help.
newton.dave wrote:
--- Justin Frost [EMAIL PROTECTED] wrote:
private String value;
Hello,
i want to use the swapper with dynamic filled values, like this:
uiwidgets:swapper id=swapper boxWidth=150 divStyle=border:2 solid
#017fff; boxStyle=color:#ff;
logic:iterate id=element name=databean property=employeevector
option value=TESTbean:write name=element
I would suggest you to view the javawebparts tools
(http://javawebparts.sourceforge.net/)
After integration, you can render a calendar like this:
html:form action=type in your action styleId=projectForm
html:text property=begin /
html:button property=beginbutton value=calendar
Hi,
I have a text in Oracle DB separated to new lines.
I would like to write it in the bead:write with the lines separated as in
HTML.
So I added a method in the bean propert:
public String getBody() {
String convertedBody =
IOTextUtil.convertPlainTextToHTML(body);
You can download the test build:
http://people.apache.org/builds/struts/2.1.0/
But beware that no vote has been called to declare its quality. IMHO it
won't be more than beta.
Ciao
Antonio
2007/11/8, Crocker, Patrick [EMAIL PROTECTED]:
Working with Struts 2.0.x as an MVC framework has been a
So your container heirarchy is...
Report
- contains a Vector of ReportRow (called headerRow)
- contains a Vector of ReportCell (called dataColumn)
Shouldn't this just be a matter of a couple of nested loops? Something
like...
s:iterator value=report.getHeaderRow()
s:iterator
Hi
new to 2.0 ajax tags so I need some help on tree tag.
I am trying to build tree and since it rather big one I would like to get data
from server incrementally -- only when I click on tree node. I found tree docs
at http://struts.apache.org/2.x/docs/tree.html and at the very bottom of the
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
enthucoder wrote:
I am validating a condition : Input should not contain any of these
characters %,(,)
And to achieve this my RegEx is : ^[^(\%|\(|\))]+$
That should be: ^[%()]*$
(using + instead of * at the end adds the restriction that the field
must contain at least one
Dale Newfield wrote:
enthucoder wrote:
I am validating a condition : Input should not contain any of these
characters %,(,)
And to achieve this my RegEx is : ^[^(\%|\(|\))]+$
That should be: ^[%()]*$
D'oh! That should be: ^[^%()]*$
-Dale
Gunnar Hillert wrote:
Thanks for your helpful post! Interestingly, this also works with redirect
actions.
Hrm...
The javadoc for ServletActionRedirectResult says:
This result uses the ActionMapper provided by the ActionMapperFactory
to redirect the browser to a URL that invokes the specified
Just to be clear, this is not a release in the
strict sense of the word; it is currently a test
build.
Dave
--- Pedro Herrera [EMAIL PROTECTED] wrote:
I´m using 2.1 release. No problems...(to me). Dojo
plugin is working very
well !!!
Herrera
Crocker, Patrick-2 wrote:
Justin Frost wrote:
s:iterator value=report.headerRow
s:iterator value=dataColumns
th
s:property value=value/
/th
--- Dale Newfield [EMAIL PROTECTED] wrote:
So it is clearly indicated that redirectAction is
recommended over redirect, but I neither
understand why, nor quite what it is that this
result type does...
Precisely for the reasons stated; it adds a layer of
abstraction that understands action
And it will probably stay that way. We just wanted to get something
out for people to try, while we work toward applying the rest of the
outstanding patches. So far, we're about half-way through that
process.
* https://issues.apache.org/struts/browse/WW/fixforversion/21863
Of course even with
Dale Newfield wrote:
So it is clearly indicated that redirectAction is recommended over
redirect, but I neither understand why, nor quite what it is that this
result type does...
If so, the new request needs to have the same URL (which must be encoded)
no matter which result type generated
--- Gary Affonso [EMAIL PROTECTED] wrote:
The debug tag is poorly documented, I think it
requires the dojo library. Or something. :-)
You can't tell me that
http://struts.apache.org/2.x/docs/debug.html isn't the
acme of documentation (I'll add something).
In any case, no, it doesn't require
This is the jsp I am using with no success. I thought it would be straight
forward.
Obviously I am missing something.
s:iterator value=report.headerRow
s:iterator value=dataColumns
th
I´m using 2.1 release. No problems...(to me). Dojo plugin is working very
well !!!
Herrera
Crocker, Patrick-2 wrote:
Working with Struts 2.0.x as an MVC framework has been a very enjoyable
experience. Working with Struts 2.0.x with the built-in Dojo
integration has been a frustrating
swaddee wrote:
I recently started using struts 2 by experimenting with webwork and then
moving to struts 2. I want to produce some charts using jfreechart. After
getting the example
(http://wiki.opensymphony.com/display/WW/JFreeChartResult) to work using
the webwork framework I tried it
To continue, the first one (probably; I'm still a
little fuzzy on OGNL sometimes) works because if a
property isn't found in the action it will continue
looking on the stack until it finds it or runs out.
Now, as to why #2 doesn't work, I'm a little hazier
on that: perhaps when OGNL has an
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 load time and
How to improve dojo performance in Struts 2.0.9)
I have followed the instructions for doing this are carefully as
I believe the OP mentioned that the port was changed
on one of the server instances.
However, there are also several other ports that might
conflict depending on the setup, so it's still a good
idea to do a sanity check on port assignments.
That said, this is really better address on a
The problems should be thrown up in the logs, when you start the Tomcat.
My first guess would be, both instances are pointing to the Default port
i.e. http 8080.
You would need to change the default port to a different port .
Shabada, Gnaneshwer [EMAIL PROTECTED]
11/08/2007 12:02 PM
Hello
I am going off the topic, but wanted to know if you gurus out there tried to
install multiple instances of Tomcat on single windows XP machine. I
downloaded the zip file and extracted then created two diff folders for 2
intended tomcat instances under my main installation dir. Copied conf,
in OGNL there is always an object that is the root, so %{name} is
actually calling root.getName(). The # is used to reference
something else than the root. In your views, your action will be the
OGNL root (unless some tag pushes something to the stack), to refer to
your property you would need
Here is what I figured out so far.
headerRow is a vector of ReportCell, not ReportRow.
So for the headerRow I had to create a getHeaderRow method in my action
class.
public Vector getHeaderRow(){
Report report = getReport();
return report.getHeaderRow();
Can you paste the entire struts.xml ; ensure that you have :
package name=mypackage extends=struts-default,jasperreports-default
On Nov 7, 2007 8:51 PM, carmi_cd [EMAIL PROTECTED] wrote:
hi actually i tried using that tutorial and got a pdf with no data in it
only
page and column titles.
here is the complete struts.xml
struts
package name=apps namespace=/apps
extends=struts-default,jasperreports-default
!-- APPLICATION/GENERAL actions here --
action name=Logout class=apps.Logout
result
Hi All
I write a simple self PlatformActionSupport to let it's children can
redirect to result start when url like *!start.action, but when i
test my code, i find some works fine, some doesn't!
[ Father PlatformActionSupport ]
@SuppressWarnings(serial)
public abstract class
Hello,
Most likely your logon action is failing validation
and trys to find the input result (which doesn't
exist).
If you have action methods that should not be
validated you have several options, including:
- create method-specific (action alias specific)
validations
- exclude additional
can we see your copy of apps/reports/templates/hr004.jrxml
M--
- Original Message -
From: carmi_cd [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, November 08, 2007 8:31 PM
Subject: Re: [S2] ArrayList of Object as datasource in JasperReports
here is the complete
thanks very much again!
i forgot i add a validation module!
thanks!
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 2007年11月9日 10:59
To: Struts Users Mailing List
Subject: Re: [S2] Action can not redirect with extend pattern?
Hello,
Most likely your logon
???
--- TANG Xigen [EMAIL PROTECTED]
wrote:
thanks very much again!
i forgot i add a validation module!
thanks!
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 2007Äê11ÔÂ9ÈÕ 10:59
To: Struts Users Mailing List
Subject: Re: [S2] Action can not
Dave Newton wrote:
result name=success type=redirectAction
param name=actionNamemySuccess/param
param name=fooId${fooId}/param
param name=barId${barId}/param
/result
Arguably, yes, and for a couple of reasons. Off the
top of my head I don't recall what will happen if the
param isn't
42 matches
Mail list logo