you may write a struts tag or jspTaglib,
regards,
mead
On 2011-5-22, at 7:29, Dave Newton wrote:
> Why not just put the lists in a map or collection?
>
> Dave
> On May 21, 2011 7:21 PM, "inception" wrote:
>> Hi...
>>
>>
>> I want to hold
it's nothing about s2, you just use javascript ajax to request you user list
from Server side, every 5min.
Regards,
Mead
On Sun, May 1, 2011 at 1:42 AM, newbee7 wrote:
> I am new into struts2,
> I wanted to create a page having two section(upper, lower) . In upper
> screen
a class:NewCompositeClass.java
Regards,
Mead
Hello Karthick,
you can use some plug-in:
http://code.google.com/p/struts2-jquery/wiki/Validation
or Jquery validate plug-in:
http://jquery.bassistance.de/validate/demo/
Regards,
Mead
On Thu, Dec 30, 2010 at 2:33 PM, wrote:
>
> Any body tell be how to do jquery filed validation using
you can use JsonLib, following is the usage.
http://json-lib.sourceforge.net/usage.html
I do not really clear your requirement, if you provide a example would be
better.
Regards,
Mead
On Sat, Dec 18, 2010 at 5:58 AM, Ken McWilliams wrote:
> build a url with parameters so I can return it a
Hello,
1,convert the munber into string in the jsp/view page.
2,write a JSTL to render that dataType by your self.
Regards,
Mead
On Tue, Dec 7, 2010 at 10:25 AM, Yanto Bong wrote:
> Hi Li,
>
> thanks...unfortunately we already use this model in many places and we need
> to hav
Hello Knight,
I think you can change the Value-Object(Model obj), modify the get method
code:
if(this.value.equal("")){
this.value=null;
or
this.value=0
}
You can pass a Value-Object to server side, instead of Json-Text formation.
Regards,
Mead
On Mon, Nov 22, 2010
---Maybe you can add a property in your action which return the current
---date. And reference this property in your validation configuration.
You mean, I shall add a property in the request-Scope, then retrieve it by
EL expression?
I will have a try, Thank you.
Regards,
Mead
On Fri, Nov 19
shall be ${min}---${max}
Regards,
Mead
On Thu, Nov 18, 2010 at 8:04 PM, Dave Newton wrote:
> Dave
While, I add the default interceptor into that action, everything work fine.
But I am also do not know why,Ha ha...
Thank you, all...
Regards,
Mead
On Thu, Nov 18, 2010 at 2:19 PM, Mead Lai wrote:
> interceptor
anyone get this bug before?
Thank you in advance...
Regards,
Mead
n the Action
${list[0].name}, I can get first item from List, and display the name=
'admin';
but
${list[titleID].name} is showing Error on page.
How can I get the "adminTitle.name" on the page, by the certain
"adminTitle.id"
The following code run fine.
:
but
:
it show nothing...
What shall I do to pass the "this.titleID" in the Action into the struts2
Regards,
Mead
Appreciate all of you very much.
Is the "/struts/optiontransferselect.js" included in the struts-core.jar?
I am confused why the "optiontransferselect.js" was not automatically
imported/generated into HTML page.
I config the "struts.theme = simple" for entire project
caught
ReferenceError: moveSelectedOptions is not defined
IndexAction_index.action:298<http://localhost:8080/sysmanage/groupmanage/IndexAction_index.action>Uncaught
ReferenceError: moveSelectedOptions is not defined
Regards,
Mead
On Sat, Nov 6, 2010 at 3:37 PM, Li Ying wrote:
> "no obje
right, set a property in Action.
private String color;
private String css;
then generate get/set.
...
Regards,
Mead
Thanks for you reply.
There is a JavaScript Error, shows"no object found", and I checked the page
HTML source, found there was no JavaScript files included.
Than I add a tag , it cause a exception " no freeMark
template found". It seems the tag was obsolete.
Regards,
Mead
Hi All,
I am now using tag with simple theme.
It shows two select-list fine, but if I click the button to move the items,
it doesn't work.
Any clue can help me?
Now I am trying to write a double-select with JQury & HTML.
Thank you in advance.
Regards,
Mead
add the tag to check the objects on that page.
Regards,
Mead
Why not using the tag, I haven't use the tag like that, which a
form nested another form.
Regards,
Mead
On Thu, Oct 28, 2010 at 7:51 AM, Maurizio Cucchiara <
maurizio.cucchi...@gmail.com> wrote:
> The first form doesn't contains enctype attribute. Did you try to set
>
xList.java, then
it will work, maybe.
I am not sure about that, I am also got the same problem, when creating
myself Tag. Good Luck.
Regards,
Mead
On Sun, Oct 10, 2010 at 6:04 AM, Burton Rhodes wrote:
> I ended up not having to create a new tag. I simply overrode the
> current template
Hello Li,
Thank you for your help, I think I shall ask this question in the
dev-mail-list, Maybe I will get the answer.
Regards,
Mead
I mean in the modified "struts-tags.tld":
checkboxlist
org.apache.struts2.views.jsp.ui.CheckboxListTag
JSP
It seems nothing changed about the tag-class
Hello all,
I am trying to create my struts2 UI-Tag too.
Did you change the
org.apache.struts2.views.jsp.ui.CheckboxListTag
to your rewritten the Tag-class and the correspond CheckboxList yet?
Regards,
Mead
The same error, I have modified the extends class to BaseUI
JasperException: /demo.jsp(14,4) Attribute theme invalid for tag hello
according to TLD
I ref the ui.CheckBox.java, but confused me. Thanks for your replies,
All of them inspirit me very much. I will look insight source.
Appreciate you.
Thank you again.
Any Demo or tutorial? I search all of the Struts2 document, but find
nothing.
1.2
lab
/lab
"Lab Tags"
hello
lab.struts2.taglib.HelloTag
JSP
id
false
false
name
true
false
tcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1235)
Regards,
Mead
}
public boolean end(Writer writer) {
return true;
}
@Override
public boolean usesBody() {
return false;
}
}
Regards,
Mead
If you want to record the ServerError, like ServletException, you can config
the Tomcat Server logging, ref the document from Apache.org
Regards,
Mead
On Wed, Oct 6, 2010 at 10:44 PM, Dave Newton wrote:
> What do you have your log levels configured as? For struts, xwork, and
> OGNL?
&g
try the tag
on the page
Regards,
Mead
On Wed, Oct 6, 2010 at 9:37 PM, Darren Karstens wrote:
> Hi,
> I can't seem to get any errors to appear when struts goes wrong
> (action trying to set/get an attribute that doesn't exist etc). I have
> the commons-logging-1.1.jar f
Hello Dave,
Thanks for your response so quickly.
It is running fine, but show a blank page.No data in the page.
There are some "conversion"-examples in "struts2-showcase-2.1.8.1" package;
And they are seems working good.
Regards,
Mead
t;Convert-class" way.
Thank you very much.
Regards,
Mead
ation() in that method;
bind
AnoterMethod(){
if(!validateForm_MyAction()){return;}
//Here do your validation
return myValidation()
}
Regards,
Mead
the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
BestRegards,
Mead
http://yayisoft.com
Lily T
ams specified
> (firstName, age, height, lastName).
>
>
>
> The downside is I can't use the tag, because it's not in
> proper "form" tags. All of the or tags allow
> nearly the same functionality, except only 1 value can be returned,
> rather than all
don't like the theme.
On Fri, Nov 7, 2008 at 11:48 AM, ryan webb <[EMAIL PROTECTED]> wrote:
> Can anyone share to me some of the things you like about
> Struts 2 as well some of the things you don't like about struts 2?
>
> Thanks!
>
--
BestRegards,
Mead
htt
is any other way to get "constant" value in JSP?
--
BestRegards,
Mead
http://yayisoft.com
Bill Vaughan - "The tax collector must love poor people, he's creating so
many of them."
:
> >
> http://www.nabble.com/-S2--Preserving-messages-across-a-Redirect-in-Struts-2-tp18245061p20322352.html
> > Sent from the Struts - User mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
--
BestRegards,
Mead
http://yayisoft.com
Bill Vaughan - "The tax collector must love poor people, he's creating so
many of them."
in the
> > imageUpload method,
> > and I inspect the values of uploadedImage, imageContentType and
> > imageFilename they are all null, so the interceptor has not called the
> the
> > setters like I was expecting it to. As far as I can tell, this agrees
> with
> &g
r (and thus use GET method), the action will work
> as well.
> Thank you for your suggestions.
>
>
>
>
>
> Mead Lai wrote:
> >
> > . How can i write an action, that only serves GET /
> > POST requests.
> >
> >
> > or
> >
> >
> >
.com/-S2--actions-responding-only-to-POST-GET-methods-tp20200721p20200721.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additiona
------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
BestRegards,
Mead
http://yayisoft.com
Rita Rudner - "I wonder if other dogs think poodles are members of a weird
religious cult."
T5440 Server is server, not pc.
The common PC we have, is less than 4G memory.
2008/10/22 Paweł Wielgus <[EMAIL PROTECTED]>
> Hi Mead,
> yes there are,
> just looking at the sun offer, T5440 Server -> 512G.
>
> Best greetings,
> Paweł Wielgus.
>
> 2008
;
> Harden
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
BestRegards,
Mead
http://yayisoft.com
George Burns - "When I was a boy the Dead Sea was only sick."
d-xml_2.4_doc.zip&64621261
>
>
> https://sourceforge.net/project/downloading.php?group_id=110612&use_mirror=&filename=ximpleware_extended_2.4.zip&99532507
>
>
> -
> To unsubscribe, e-mail: [EMAI
o. so any one can please tell me the best way
> to access the uploaded file and store that into database? any links or
> information on how can this be achevied will help me.
>
> thanks in advance.
>
--
BestRegards,
Mead
http://yayisoft.com
Joan Rivers - "The first time I see a jogger smiling, I'll consider it."
to read the selected items in the action ?
> thanks
>
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
--
BestRegards,
Mead
http://yayisoft.com
Rita Rudner
I use can't find the blank String(""), like ''
On Mon, Oct 20, 2008 at 3:31 PM, Mead Lai <[EMAIL PROTECTED]> wrote:
> like this format?
> Show something here
> Thank you very much.
>
>
> On Mon, Oct 20, 2008 at 3:26 PM, Al Sutton <[EMAIL P
like this format?
Show something here
Thank you very much.
On Mon, Oct 20, 2008 at 3:26 PM, Al Sutton <[EMAIL PROTECTED]> wrote:
> I use
>
> username neq null
>
> or
>
> usename eq null
>
> Al.
>
> Mead Lai wrote:
>
>> Hi All,
>>
>> S
Hi All,
Show something here
Show something here
which is right Tag above?
I heared, It can't use like that expression after 2.0.11version, really?
Any feedback is appreciated.
--
BestRegards,
Mead
http://yayisoft.com
Bob Hope - "A James Cagney love scene is one where he lets the
I did a test a minute age.
The jsp Page is impossible to get the value in the inlcluded action,
but "actionTagAction" can get params from the jsp.
May everyone now is in bed now.
thx.
On Mon, Oct 20, 2008 at 10:21 AM, Mead Lai <[EMAIL PROTECTED]> wrote:
> use Tag.
>
>
age, which include "actionTagAction", access the values in the
"actionTagAction" context?
such as actionTagAction.property1.
--
BestRegards,
Mead
http://yayisoft.com
Gerald R. Ford - "I know I am getting better at golf because I am hitting
fewer spectators."
> Struts2.1.2Beta with codebehind and rest plugin with Apache tomcat 6.0.18,
> Thanks.
>
> ---
> Thanks!
>
>
> Mobile: +086-15864011231
> Website:http://www.openmotel.cn
> http://www.vvthumb.com
> GTalk:[EMAIL PROTECTED] &l
--
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Want-to-make-dropdown-%28%3Cs%3Asel
e they
> were to success, when they finally gave up!"
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
BestRegards,
Mead
http://yayisoft.com
Helen Hayes - "Age is not important unless you're a cheese."
oid setIndex(int index) {
this.index = index >= 0 && index <= this.getNum() ? index : 0;
}
On Mon, Oct 13, 2008 at 4:44 PM, Lukasz Lenart <[EMAIL PROTECTED]
> wrote:
> 2008/10/13 Mead Lai <[EMAIL PROTECTED]>:
> > well, It's not work,
> &
and setters (for Page and for Index)
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Action: failed
Status: 5.1.1
-- Forwarded message --
From: "Mead Lai" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Date: Mon, 13 Oct 2008 16:22:06 +0800
Subject: Re: How to pass params with 'URL herf'
--
BestRegards,
Mead
http://yayisoft.c
;
}
}
--BestRegards,
Mead
On Mon, Oct 13, 2008 at 4:15 PM, Lukasz Lenart <[EMAIL PROTECTED]
> wrote:
> 2008/10/13 Mead Lai <[EMAIL PROTECTED]>:
> > How to pass params with 'URL herf'?
> > well, the params data wanne pass to Model's property.
> > such,
ery time there is a change.
> >
> > But maybe that is the reason - it's certainly not underneath WEB-INF on
> the
> > file
> > system.
> >
> >
> > Regards
> > Adam
> >
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
--
BestRegards,
Mead
http://yayisoft.com
Charles M. Schulz - "All you need is love. But a little chocolate now and
then doesn't hurt."
my struts tag is :
12
Index Page
and the url gen .action?page.index=12
can't set model value "page.index" in myAction
How shall I do wiht this?
--
BestRegards,
Mead
http://yayisoft.com
Helen Hayes - "Age is not important unless you're a cheese."
How to pass params with 'URL herf'?
well, the params data wanne pass to Model's property.
such, I have a "page" object in myAction, with get and set method.
public class myAction{
private Page page;
}
public class Page{
public int index;
public int next;
}
my struts tag is :
12
Index Page
How to pass params with 'URL herf'?
well, the params data wanne pass to Model's property.
such, I have a "page" object in myAction, with get and set method.
public class myAction{
private Page page;
}
public class Page{
public int index;
public int next;
}
my struts tag is :
12
Index Page
ag is :
12
Index Page
and the url gen .action?page.index=12
can't set model value "page.index" in myAction
How shall I do wiht this?
--
BestRegards,
Mead
http://yayisoft.com
Mel Brooks - "Tragedy is when I cut my finger. Comedy is when you fall into
an open sewer and die."
uts tag is :
12
Index Page
and the url gen .action?page.index=12
can't set model value "page.index" in myAction
How shall I do wiht this?
--
BestRegards,
Mead
http://yayisoft.com
Spike Milligan - "All I ask is the chance to prove that money can't make me
happy."
additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
BestRegards,
Mead
http://yayisoft.com
Imelda Marcos - "I did not have three thousand pairs of shoes, I had one
thousand and sixty."
reply
>
> and how i can get this parameter in my addattribute action java file
>
> using actioncontext or what?
>
>
>
>
> Mead Lai wrote:
> >
> > > class="com.docmgmt.struts.actions.attribute.SaveAttribute">
> >attri
OTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
BestRegards,
Mead
http://yayisoft.com
Milton Berle - "If opportunity doesn't knock, build a door."
.11.2
>
> can anybody gives me a way?
> thanks in advance
>
>
>
> --
> View this message in context:
> http://www.nabble.com/how-to-pass-parameter-in-next-action-tp19851255p19851255.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>
use servlet the get the html, create the item name from database;
then use servlet request get the value in the html, the name of buttons U
can get from database 2.
I think it's simple than others.
--
BestRegards,
Mead
http://yayisoft.com
Jack Benny - "I don't deserve this aw
Thanks very much, I think I shall write a struts tag by myself!
On Thu, Sep 4, 2008 at 9:21 PM, Gabriel Belingueres
<[EMAIL PROTECTED]>wrote:
> I believe is not possible to add an event to an tag using the
> tag.
>
> 2008/9/4, Mead Lai <[EMAIL PROTECTE
struts2 tags:
get the HTML code:
id0
id1
id2
but how to insert javascript function in the id1
like that:
id2
On Thu, Sep 4, 2008 at 10:12 AM, Mead Lai <[EMAIL PROTECTED]> wrote:
> Maybe the question is not clarity clear!
>
> if write Html code in the jsp page, it can
+redirect&btnG=Buscar&meta=
>
> 2008/9/3 Mead Lai <[EMAIL PROTECTED]>:
> > Hi,
> > struts2 How to get a option item which can invoke a
> > javascript-function?
> >
> > the final HTML code show to browser is like following:
> >
> >
e
it can invoke a action or redirect another URL?
It's Ajax Tag can do this?
--
BestRegards,
Mead
http://yayisoft.com
people or people.{name} - [unknown location]
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518)
Thanks for U answer.
--
BestRegards,
Mead
http://yayisoft.com
/WEB-INF/web/user/login.jsp
My app config like that. It's ok.
Haven't get this problem.
On Sat, May 17, 2008 at 3:59 AM, Jim Kiley <[EMAIL PROTECTED]> wrote:
> False alarm, please ignore. Sheesh.
>
> On Fri, May 16, 2008 at 2:50 PM, Jim Kiley <[EMAIL PROTECTED]> wrote:
>
>> Hey gang,
>>
>> I'm do
List type
On Sun, May 4, 2008 at 7:51 PM, venkat reddy <[EMAIL PROTECTED]> wrote:
> I'm using struts 1.2.7
>
> I've a poll-posting-form in adminstrator section of my application. format
> of the form is as follows.
>
> pollsubject: String
> lastDate:String
> choice1:String
> choice2:String
>
just input the URL of Action in the path="someAction":
On Fri, May 2, 2008 at 9:02 AM, bhaarat Sharma <[EMAIL PROTECTED]> wrote:
> Hi
>
> I started struts with struts 2 but currently am in a project which is using
> struts 1
>
> we have tags like these
>
> type="org.cipe.c
chnology.net
luck,
####
Mead
[EMAIL PROTECTED]
#
On Wed, Apr 30, 2008 at 6:53 PM, ramk.fmk <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to build a simple login application using struts, spring and
> hibernate. I have created a registration
read the struts.xml files, and phrase it
On Wed, Apr 30, 2008 at 5:50 AM, Volker Karlmeier <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello struts freaks,
>
> i would like to implement a rights management for my application. Therefore
> I need to retrieve a
Exception starting filter action2
2008/04/29 00:59:30 | at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles
from upstair Infomtion, I think it's the problem of filter named "action2"
Xml files couldn't be found by the filter.
try 2 heck the struts.xml fi
I have an issue I haven't been able to solve for some time and now the Strut-EL
documentation states "Many of the non-porting decisions were based on the fact
that the JSTL expression language itself provides the same functionality".
Scenario: I have JSP pages that are dynamically included in
82 matches
Mail list logo