in strut 1.X,
.
search result not exist
but, in struts 2,
how can i use the same method to check
in struts 2, try to do following:
a. use beds;
private ArrayList bedanalysis;
private String bed_id;
public String execute() throws Exception {
/* db initial, get session etc */
beds=service.Beds(); /* service is call
i am aware that in struts 2, when define an action, it could be
public class XXX implement Action
or
public class XXX extends ActionSupport
what is the difference b/w above two? in other words, in what kind of scenario,
pick which one?
tks in advance
john
tks for ur reply,
but i expect when build calendar list in the action class, can assign the
element of list(calendar) with clickable feature or highlight color, for
example, the pop calendar display as following
S M T W T F S
1 2 3 4 5 6 7
9 10
but Tuesday (2) color n
set the value with JS e.g.
function setValue() {
var picker = dojo.widget.byId("picker");
//string value//figure out where the value is then use
dojo.widget.byId("DateID").setValue('new value') e.g.
picker.setValue('2007-01-01'); //notice the tick marks for constants
//Dat
Which version of struts are you using? If you using 2.1.6 and above, you
need to have the struts-dojo lib and there is a tag include with It is something like struts extensions.
You also need to include this..
http://struts.apache.org/2.1.6/docs/datetimepicker.html
Rgds,
Satya
On Sat, Apr
tks, it works after i put
my new question:
is it possible to mark some of display/pop calendar cell with special color and
clickable link?
In real word, any of display date could associate special event or customer
order ...etc.
what is the approach could be?
tks in advance
--- On
Hello everybody,
i'm new here and I'm looking for help concerning my Struts2 conversion
problem.
Quick explanation:
I have "LectureAction" which implements ModelDriven interface and
has method to create particular lectures. in my bean Lecture I have fields
such like that:
@Id
john lee wrote:
is
You're using < S2.1 I assume?
Are you using the tag as mentioned in the
docs [1]?
Dave
[1] http://struts.apache.org/2.0.11/docs/datetimepicker.html
-
To unsubscribe, e-mail: user-unsubscr...@struts.a
which jars did you put?
i've a only ear that contains both ejb and web (struts) application.
tomorrow i'll try to do something (if i've some time, is easter) and
put the exceptions.
thanks
2009/4/11 Ignacio de Córdoba :
>
> Hi, I use JDeveloper but I just ad jars in the standard tiles and struts
>
is
but just display "calendar" only, nothing display on the right side
i tried the complex way, define action class
public class DateBean extends ActionSupport {
public String execute() throws Exception {
setTodayDate(new Date());
return SUCCESS;
}
private Date t
tks very much, it works after change var to id.
Also, have further question need to bother you similar to it
same bean class
public class Bed {
private String bed_id;
public String getBed_id() {return bed_id;}
public void setBed_id(String bed_id) { this.bed_id=bed_id; }
}
same action
tks for both of u try to help me
the above works, and print the value of bed_id
but, the following still not works
and running result complain the "var" tag
please advise, tks in advance
john
--- On Fri, 4/10/09, Dave Newton wrote:
From: Dave Newton
Subject: Re
On Sat, Apr 11, 2009 at 7:57 AM, Wendy Smoak wrote:
> Is there a page on upgrading from 2.0 to 2.1, like we used to have
> here http://wiki.apache.org/struts/StrutsUpgrade ?
In #struts I got a pointer to this page:
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-
I was afraid to suggest you might have something wrong in the pom ;)
musachy
On Sat, Apr 11, 2009 at 11:23 AM, Wendy Smoak wrote:
> On Sat, Apr 11, 2009 at 8:12 AM, Musachy Barroso wrote:
>> It seems like it is using an old version of xwork I would say.
>
> Looking in WEB-INF/lib, yes, it's us
Hi, I use JDeveloper but I just ad jars in the standard tiles and struts
distributions without any changes. Anyway, what is your exception when
trying to start the web-app? Maybe you should start there. Look at the
missing class and ensure it is in a jar inside WEB-INF/lib. Also, how do you
deploy
On Sat, Apr 11, 2009 at 8:12 AM, Musachy Barroso wrote:
> It seems like it is using an old version of xwork I would say.
Looking in WEB-INF/lib, yes, it's using xwork-2.0.7. Thanks!
I'm not sure why we have that declared separately in the pom... seems
like it should be a transitive dependency o
It seems like it is using an old version of xwork I would say.
musachy
On Sat, Apr 11, 2009 at 10:57 AM, Wendy Smoak wrote:
> Is there a page on upgrading from 2.0 to 2.1, like we used to have
> here http://wiki.apache.org/struts/StrutsUpgrade ? I looked on the
> new wiki and didn't find anythi
Is there a page on upgrading from 2.0 to 2.1, like we used to have
here http://wiki.apache.org/struts/StrutsUpgrade ? I looked on the
new wiki and didn't find anything, nor does Google turn up anything
useful.
I tried just changing the version from 2.0.14 to 2.1.6 in the
Continuum build, and the
Hi,
Have you got a list of the libraries or a blank-simply application
that contains struts2 tiles2 and ejb3 extension.
i usually use netbeans, do you put the library inside web-inf/lib and
put these libraries into the project? nothing else?
thanks.
2009/4/10 Ignacio de Córdoba :
>
> Hi there,
>
20 matches
Mail list logo