Laurie,
I have done it. Thank you very much. I would like to appreciate your
efforts done for me.
I would like to work with you to solve problems. If possible then we would
meet u through net.
Vijay
On 5/25/07, Laurie Harper [EMAIL PROTECTED] wrote:
Perhaps something like the following,
Dave
I have done it.
Thank you.
Vijay
On 5/24/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Vijay Prajapati [EMAIL PROTECTED] wrote:
You can solve this problem without s:subset.
Oh, thanks; I thought I had to solve this with
s:subset.../ I sure am sorry it's taken me so long;
I'm a
Jeromy,
This can not worked according to your suggestion. There are bug in
Struts 2.0.6.
This bug is solved in Struts 2.0.8 and still this version in development
mode. So whenever it will relese then It would be solved.
Just try it and if u have other solution then tell me.
Vijay
On 5/24/07,
Do you not need s:head theme=ajax/ or am I missing the point... ;-)
mraible wrote:
I'm trying to get s:datepicker to work in AppFuse. I'm using Struts
2.0.6. When I add the code below to a JSP, I get a 404 (via Firebug) for
the following files:
Vijay,
For the last time, the doubleId attribute of optiontransferselect works
in struts 2.0.6. I provided you with code from a live system that uses
it to set the style of the second select as an ALTERNATIVE to
doubleCssClass and doubleCssStyle.
The doubleCssClass and doubleCssStyle
Just a thought, have you checked the final output is valid HTML and there
aren't any mismatched tags?
Firefox has a pretty good plug-in which helps with this at
https://addons.mozilla.org/en-US/firefox/addon/60
-Original Message-
From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED]
Hi Charbel,
If you are using s:a hrefs:/a, try to use instead of this the simple
HTML tag a href/a, and tell me if this works (I don't know why this
happens, but I found this solution).
Cheers
Jordi Rubio Moreno
-Mensaje original-
De: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED]
I have some kind of errors in the showcase app I just cleaned/recompiled :
in IE 6 :
DEBUG: DEPRECATED: dojo.event replaced by dojo.event.* -- will be removed
in version: 0.5
DEBUG: DEPRECATED: dojo.io replaced by dojo.io.* -- will be removed in
version: 0.5
DEBUG: failed loading
L.S.,
I have managed to get this working by defining all actions in a base
package and afterwards extending that base package to add the namespace
(e.g. /nl). Is there a way to translate the namespace part for static
resources (images, css, ...) so that nl/theme/main.css is actually being
I have a dual select box problem - Select control-A needs to trigger an event
which update Select control-B. Using the s:div tag, I can get the desired
result by having a separate page which contains just a duplicate of Select
Control-B, and is updated by the Action-update method. Now I
I am working on customer search function for my first struts2 webapp.
My search page has a few option selection fields.
In struts 1.x I would normally create a prepareCustomerSearchAction
responsible for populating lists of options for selection fields and a
searchCustomerAction that retrieved
--- Ray Clough [EMAIL PROTECTED] wrote:
[Ajaxy stuff]
You may want to explore Dojo's listenTopics and
notifyTopics; you can define quite a bit of behavior
based on a DIV load etc.
It's discussed in an S2 context at:
http://struts.apache.org/2.x/docs/ajax-tags.html
(That page needs
I couldn't even get to the site earlier, seems OK now.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted
Husted
Sent: 25 May 2007 12:40
To: Struts Users Mailing List
Subject: Re: [ANN] Starting with Struts2 Book
Is anyone else having trouble logging
When i was implementing the fileupload via the interceptor, using default
settings ( i.e. the jakarta stuff as specified in default.properties ), I found
that i had to go get two jar files for this to work, commons io and commons
fileupload. I was just wondering why these wouldn't be
Is anyone else having trouble logging into the InfoQ site?
On 5/24/07, Ian Roughley [EMAIL PROTECTED] wrote:
I am pleased to announce the release of the mini-book Starting with
Struts2 from InfoQ.com.
Starting with Struts2 is aimed at those who are new to Strut2, and
those familiar with MVC
I was able to register and download it yesterday.
Ted Husted wrote:
Is anyone else having trouble logging into the InfoQ site?
On 5/24/07, Ian Roughley [EMAIL PROTECTED] wrote:
I am pleased to announce the release of the mini-book Starting with
Struts2 from InfoQ.com.
Starting with
Do I get a prize for reporting the first typo :)...
On Page 64 there's a code snippet which reads;
ww:iterator value=peopleList status=stat
s:property value=peopleList[#stat.index].id /
s:property value=peopleList[#stat.index].name /
s:property value=peopleList[#stat.index].age /
Hi, I´d like to show a warning message(alert) before erase a record .
s:submit value=Erase
preInvokeJS=confirm('Confirm ?'); /
Is preInvokeJS deprecated ? I have to use : executeScripts=true ? I need
an example to do this ...
Thanks
--
View this message in context:
Hello Don,
Thank you very much for your response and yes s:submit
method=processMyForm ... works quite well. Nevertheless, I would like to
see a more RESTful behavior implemented into Struts2 for the actions.
Don, what would be the best way to proceed from here. As a start shall I go
ahead and
You could do it in S2, just like you said you would do it in S1, writing to
the output stream, without requiring a page for it (not that I'm advising to
do so ;) ).
musachy
On 5/25/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Ray Clough [EMAIL PROTECTED] wrote:
[Ajaxy stuff]
You may want to
On 25/05/07, Musachy Barroso [EMAIL PROTECTED] wrote:
Use notifyTopics instead.
I've been trying to do this for ages (display a confirmation dialog
when the user is about to do something irrevokable) and it never
occured to me to use Ajax :-( Is there any example code anywhere?
Regards
Use notifyTopics instead.
musachy
On 5/25/07, Pedro Herrera [EMAIL PROTECTED] wrote:
Hi, I´d like to show a warning message(alert) before erase a record .
s:submit value=Erase
preInvokeJS=confirm('Confirm ?'); /
Is preInvokeJS deprecated ? I have to use :
In show case there are, it is quite simple (not AJAX technically, but
javascript)
s:submit notifyTopics=/topics ...
script
dojo.event.topic.subscribe(/topics, function(data, type, event)){
if (type == before) {
//do something
//to cancel set event.cancel = true;
}
});
/script
On
I'm running into some strange behavior when using s:include and
jsp:include with Struts actions as the include target.
If I put s:include value=someActionName.do/ or jsp:include
page=someActionName.do/ I get a completely blank page with no error
messages.
It works fine if I include a jsp
I am new to Struts2 and have a question in regards to accessing
properties from Java classes outside of the Action. If I would like to
utilize the concept of package.properties property files. Is there
already classes available that I can easily utilize to access these
properties?
Thanks in
I am not using any s:a href .../ tags...
My output is valid HTML...I did a very simple test page with a couple of
form fields...and still the same issue...h...
-Original Message-
From: Jordi Rubio Moreno [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 2:54 AM
To: Struts Users
Well, I couldn't figure out why the include tags don't work, but I did find:
s:action name=actionName executeResult=true/ which seems to do the trick.
Josh
On 5/25/07, Josh Vickery [EMAIL PROTECTED] wrote:
I'm running into some strange behavior when using s:include and
jsp:include with Struts
Try struts tiles :)
-Original Message-
From: mjohnson [mailto:[EMAIL PROTECTED]
Sent: 24 May 2007 22:59
To: user@struts.apache.org
Subject: Struts2 Portlet support
I also posted this in the WebWork forum.
We have succesfully developed a large application that supports
milllions of
I have an autocompleter like this:
s:autocompleter name=states
id=states
theme=simple
autoComplete=false
showDownArrow=false
searchType=startstring
forceValidOption=true
I am having a hard time differentiating between when I need a package
and when I need a namespace...
Can anyone shed some light on this???
Thanks,
Charbel
Actually, Dave, I think the page needs a lot more than reorganizing :~() It
needs substantial re-writing and expansion with better/more examples and
clearer/more complete descriptions. Especially the dojo.event.topic.xxx
function parameters (this looks like function pointers, but I don't
I am a wee bit confused on this one.
I have my Account bean, with a boolean field:
private boolean billerSame = false;
along with a getter and setter, obviosuly.
On my form I have:
s:checkbox key=payment.billerSame /
I submit the form and see this on the console for Tomcat:
SEVERE:
For 2.1, the documentation for each tag will be on its own page, and we'll
just keep things that are common to all tags on that page(topics,
configuration, etc), in the meantime feel free to edit it :)
regards
musachy
On 5/25/07, Ray Clough [EMAIL PROTECTED] wrote:
Actually, Dave, I think the
Is there any way to get a behavior like post back in struts?
If not, is there any interest in writing an interceptor that will
emulate this ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
try:
dojo.widget.byId(autocompleter_id).setSelectedValue(value);
I can't try it myself now, but that's the only method that seems to set a
value in the autocompleter widget.
musachy
On 5/25/07, Scott Nesbitt [EMAIL PROTECTED] wrote:
I have an autocompleter like this:
s:autocompleter
doh. Thanks. The issue with starting in ww and moving to struts :-)
/Ian
Al Sutton wrote:
Do I get a prize for reporting the first typo :)...
On Page 64 there's a code snippet which reads;
ww:iterator value=peopleList status=stat
s:property value=peopleList[#stat.index].id /
2.1 is going to ship with 0.4.2 or 0.4.3, as for 0.9 we don't have any
estimated time.
musachy
On 5/25/07, Scott Nesbitt [EMAIL PROTECTED] wrote:
That does not seem to do anything for me.
After reading this:
http://trac.dojotoolkit.org/ticket/1451
It looks like setSelectedValue() is going
We've gotten it to work by having the action method write to the output
stream and return null. This is by far the best solution I've seen yet, but
it is a little unsatisfying from an architectual point of view. It would be
more satisfying to have a Topic-based solution, but I can't see how to
Can you use the autocompleter tag? You can link 2 of them easily.
musachy
On 5/25/07, Ray Clough [EMAIL PROTECTED] wrote:
We've gotten it to work by having the action method write to the output
stream and return null. This is by far the best solution I've seen yet,
but
it is a little
--- Skip Hollowell [EMAIL PROTECTED] wrote:
I get the first input, but the second hidden one?
That is obviously where the error is coming from,
but
why/how? I do have validate turned on, so is that
how the extra field is getting generated for
checkboxes?
OK Dave, feel free to show me
Hi, all.
Another newbie question on Struts. I am having an issue
in getting my .jsp names to match with those in the ActionForm
class and was after some help.
The error coming back from Tomcat is
Exception in JSP: /search.jsp:56
53: /tr
54: logic:iterate id=result name=searchForm
By the way the property dataProvider.data in the widget is a hash of the
key and the values, so you could find the right value, and then set it in
the 2 inputs for the comobox (the visible and the hidden ones). I logged a
ticket for it:
https://issues.apache.org/struts/browse/WW-1945
musachy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I've taken more than a couple stabs at trying to do this and failed.
Miserably enough that I'm not going to even attempt to post my efforts
here.. they're really ugly.
What I'm trying to create is a form that folks that are not all that
Say, now we are talking! This page says exactly how
to do that:
http://www.nabble.com/R%C3%A9f.-:-Re:-Initial-Value-of-a-ComboBox-t2641746.html
I tried it and it works great.
Thanks for the pointer, Musachy.
Scott
--- Musachy Barroso [EMAIL PROTECTED] wrote:
By the way the property
Something you might consider, the Date object not only contains the
time, but also the date.
Joda - http://joda-time.sourceforge.net/ - is a good API for time
structures. Far superior to the Date class in Java, because it has:
- LocalTime class that represents time only.
- Period class for
I don't have any working code now, but I think you can do it like this:
(1) add your list as an array on the form.
private YourBean[] yourlist = null;
public YourBean[] getYourlist() {
return yourlist;
}
public void setYourlist(YourBean[]
I don't think autocompleter will cut it for us, as we have to make the
choices available in 2 drop-downs. I have an example, which I would be
happy to post, but I don't know the how/where of that. I also have a very
nifty menu using JSCookMenu populated from an xml file. This is (IMHO :~))
) a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
... let's pretend there are no nested forms involved in this.
If I have an input box such that:
html:text property=ndays_rq/
is there a way for user input to that input box to drive the dynamic
creation (display? rendering?) of other form elements
No you need a getName() getter method in your ResultBean javabean class.
Regards,
Niniva
probertm [EMAIL PROTECTED] wrote:
Hi, all.
Another newbie question on Struts. I am having an issue
in getting my .jsp names to match with those in the ActionForm
class and was after some help.
--- Peter L. Berghold [EMAIL PROTECTED] wrote:
If I have an input box such that:
html:text property=ndays_rq/
is there a way for user input to that input box to
drive the dynamic creation (display? rendering?) of
other form elements such as:
html:text property=day_1_rq/
html:text
Hi,
I checked out the struts2 trunk from svn and imported the struts
projects via import projects. I see a list of projects: api, core,
struts2-codebehind-plugin, ... I have an M2_REPO variable setup.
core and api build without errors, but all of the plugin projects fail
to build because
It's so strange. If the hidden field is generated to solve the problem of
submitting checkboxs' values unchecked , the filed should look like this:
input type=hidden name=payment.billerSame value=true/
By the way, where is the AsPayor come from? What's the strategy used by S2
to generate the
52 matches
Mail list logo