ailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
*/
public void setMessage(String message) {
this.message = message;
}
}
i've this error:
2009-04-15 13:49:28,500 DEBUG
[org.jboss.deployment.WebAppParsingDeployer] (HDScanner) Error during
deploy:
vfszip:/C:/Documents%20and%20Settings/Stefano/Documenti/Uni/Corr
gt;
>
> Thanks
> Regards
> Elyes
>
--
Stefano
;>> Note that the contents of this page are actually fairly freakin' horrible
>>>> and should not be done on a grownup application. But the instructions
>>>> are
>>>> right there and easy to find.
>>>>
>>>> jk
>>>&g
2009/5/21 Paweł Wielgus :
> global forward
thanks,
but i definide in struts my interceptors in this way:
in order to use the interceptors only when namespace is /admin/*
but the interceptor is never called!
ideas?
thanks
--
Stef
Hi all.
i've a little problem.
I've a EJB inside my session, i take it from a jsp and print out some
values:
now, this value is a double. and struts print 2.0E09
how can i print 2.0. so the entire number without exponent?
thanks
--
Stefano
to have 2 decimal
and the number without the exponential?
--
Stefano
gards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
--
Stefano
at 18:00, Jon Pearson wrote:
>
> should work (check
> http://www.opensymphony.com/ognl/html/LanguageGuide/staticMethods.html
> for OGNL for calling static methods)
>
>> -Original Message-
>> From: Stefano Tranquillini [mailto:stefano.tranquill...@gmail.com]
Hi all,
i'm using struts 2 with jsf-plugin on jboss 4.2.3-GA.
When I run some dummy examples everything goes well, following the
example at: http://struts.apache.org/2.x/docs/jsf-plugin.html
my configuration is:
struts.xml
-
Hi all,
i'm trying to use richfaces with struts2 and jsf-plugin...but it doesn't
work ... someone can help?
I've added this to my web.xml:
faces
javax.faces.webapp.FacesServlet
1
JspSupportServlet
org.apache.struts2.views.JspSupp
Hi Martin,
thanks for you reply: the jsf plugin is here:
http://struts.apache.org/2.x/docs/jsf-plugin.html
is one of the bundled plugin.
Il giorno dom, 18/07/2010 alle 11.30 -0400, Martin Gainty ha scritto:
> 2 different architectures
> JSF does NOT have a FE controller..struts does
> JSF does
05.55 +, Frans Thamura ha scritto:
> That will be awesome that componen can mix with action
> --Original Message--
> From: Jyoo
> To: user@struts.apache.org
> ReplyTo: Struts Users Mailing List
> Subject: RE: Struts2 - JSF Plugin - Richfaces
> Sent: Jul 27, 201
Hi,
i tried to integrate struts2 with richfaces, without luck! Also tried to
integrate icefaces, same results!!
How do you integrate myfaces? You have a "helloworld".war to share so i
can take a look!!
ciao
Il giorno ven, 30/07/2010 alle 11.33 +0200, Alejandro García Gil ha
scritto:
> Hi
> I wa
Servlet.java:249)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
it seems to not load the tld file.
Yes, i'll try to use, but the ejb with annotation gives me a
nullpointer exception.
i've to call the ejb using the old style jndi call.
On Fri, Apr 10, 2009 at 15:25, Lukasz Lenart
wrote:
> 2009/4/10 Stefano :
>> in struts1 what's the way to use EJB3.0?
>>
&g
odies, Guice should very easy to set up]
>
>
>
> --- On Fri, 4/10/09, Stefano Tranquillini
> wrote:
>
>> From: Stefano Tranquillini
>> Subject: Re: Struts and EJB 3
>> To: "Struts Users Mailing List"
>> Received: Friday, April 10, 2009, 2:39
coder forgot that
> there can be a parent class which also has de Annotation().
> Where are you putting those struts jars so that jboss webapps don't find
> them? I put them in WEB-INF/lib without any problems.
>
> Regards,
> Ignacio
>
>
> Stefano Tranquillini wrot
file so to isolate layers (model <->
> view)
>
>
> Stefano Tranquillini wrote:
>>
>> 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
jsp
this is the tiles.xml (WEB-INF/tiles.xml)
http://struts.apache.org/dtds/tiles-config_2_0.dtd";>
where is the error?
On Sat, Apr 11, 2009 at 20:39, Stefano Tranquillini
wrote:
> which jars did you put?
> i've a only ear that contains both ejb
utor.java:907)
>> at java.lang.Thread.run(Thread.java:619)
>>
>>
>>
>> this is the libraries:
>>
>> commons-beanutils-1.7.0.jar
>> commons-chain-1.2.jar
>> commons-collections-3.2.jar
>> commons-digester-1.8.jar
>> commons-fileupload-1
Someone can explain me how to use (and find) the ejb3 plugin for sturts2?
thanks folks
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
lugin"
>
> In the 2 first links you'll find the plugin and the doc page about it. I
> personally use a the JBoss plugin, which includes a cache. I've extended it
> to do lookups annotated on parent classes.
>
> Try which ever fits you and write here abut any concrete p
this.message = message;
}
}
i've this error:
2009-04-15 13:49:28,500 DEBUG
[org.jboss.deployment.WebAppParsingDeployer] (HDScanner) Error during
deploy:
vfszip:/C:/Documents%20and%20Settings/Stefano/Documenti/Uni/Corrente/WebArchitectures/jboss-5.0.0.GA/server/default/deploy/WAP-Shop.ear/WAP-Sho
9 at 13:52, Stefano Tranquillini
wrote:
> Hi,
> i've done this:
>
> web.xml
>
>
> http://java.sun.com/xml/ns/javaee";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://j
meone had this problem?
>>
>
> --
> View this message in context:
> http://www.nabble.com/Struts-2.1.6-conversion-problem-with-java.util.Date-tp23004386p23011063.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Someone has a simply example to show?
thanks
On Wed, Apr 15, 2009 at 14:01, Stefano Tranquillini
wrote:
> If i put the configuration of the interceptor inside struts.xml i've
> no error message, but when i recall the ejb.method() i've a
> nullPointException
>
> java.
the right position of the ejb).
thanks anyway folks.
On Thu, Apr 16, 2009 at 15:33, Stefano Tranquillini <
stefano.tranquill...@gmail.com> wrote:
> Someone has a simply example to show?
>
> thanks
>
> On Wed, Apr 15, 2009 at 14:01, Stefano Tranquillini
> wrote:
> >
>
> value="%{key.substring(key.indexOf('[')+1,key.indexOf(']'))}"/>
> //howto convert r3 to a
> integer?
>
>
>
> Thanks for any help
>
> Uwe
>
>
>
>
>
>
> -----
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
--
Stefano
see this thing:
* your email is not valid *
- name
- surname
- email
thanks.
--
Stefano
On Fri, Apr 17, 2009 at 20:29, Security Management <
list-subscripti...@secmgmt.com> wrote:
> field errors
i don't know what is field-errors.
--
Stefano
:37, Terry Gardner wrote:
>
> use addFieldError("fieldName","message");
>
> like:
>
> addFieldError("email",surname + ": invalid email address");
>
> The infrastructure marries this with the field named "email".
>
>
> On A
upport in your actions.
>
>
>
> -Original Message-
> From: Stefano Tranquillini [mailto:stefano.tranquill...@gmail.com]
> Sent: Friday, April 17, 2009 2:40 PM
> To: Struts Users Mailing List
> Subject: Re: Display action errors above the field
>
> a k.
&g
the error?
how i can use the namespace in the action?
the project works but returns a WARN and i don't want warn.
thanks
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
i found and modified!
thanks
On Sat, Apr 18, 2009 at 15:16, Dave Newton wrote:
> Stefano Tranquillini wrote:
>>
>> How can i change how struts display the errorrs?
>>
>> can i set that display in a red rectangle or something like this?
>>
>> i ought modi
.
in struts2 i can't find a guide or tutotiral that explain these steps.
PS: i've a sessionEJB, i can use that class to keep track about my
information, or i've to create a sessionStrutBean and put all the
information inside this bean?
how can i put and get bean in a action?
t
essible setters on your action-model, OGNL will graph those data onto
> your action-model. I would recommend a quick Google search for tuorials and
> docs to get a better understanding of the framework.
>
> Peace,
> Scott
>
> On Sat, Apr 18, 2009 at 8:29 AM, Stefano Tra
oAdd,quantity)) {
return SUCCESS;
} else {
return ERROR;
}
this action return ALWAYS ERROR: Customer is always set to NULL.
stateful usaually doesn't store information?
or i miss something?
--
Stefano
ue --> true
21:27:51,671 INFO [STDOUT] setTrue true
21:27:52,265 INFO [STDOUT] value --> true
21:27:52,265 INFO [STDOUT] setTrue true
what appends?
On Mon, Apr 20, 2009 at 18:31, Stefano Tranquillini <
stefano.tranquill...@gmail.com> wrote:
> Hi all.
>
> i've a problem w
Hi all
i've a hashmap that contains object and a value(int).
i would display all the value of the object:
x
and a value calculated at runtime that is a moltiplication of:
and
how can i do that?
thanks
--
Stefano
.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
--
Stefano
gt;
> > -Wes
> >
> > --
> > Wes Wannemacher
> > Author - Struts 2 In Practice
> > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> > http://www.manning.com/wannemacher
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>
--
Stefano
but i've only to display in a jsp the results, when i use that value i
compute it by the ejb.
On Tue, Apr 21, 2009 at 22:51, Dave Newton wrote:
> Stefano Tranquillini wrote:
>
>> The right solution is to calculate and insert in a new bean the elements
>> and
>> its
Because the items are stored in hashmap item contains the
prize.
so, to know the total for each item i've to multplay item.prize with
quantity.
no more else.
On Wed, Apr 22, 2009 at 14:01, Dave Newton wrote:
> Stefano Tranquillini wrote:
>
>> but i've only to displa
t; wrote:
>
> > Are there any examples that show how to do pagination in struts2?
> >
> > I would like to do pagination where we call the DB again when the user
> > clicks on one of the page numbers.
> >
>
--
Stefano
emm i've a list in my session called items.
so i'd write
a ok, i'd understand, now works.
anyway, how can i create the page number below?
On Thu, Apr 23, 2009 at 17:40, Bhaarat Sharma wrote:
> u have to first create TestList for the code to work
>
> On Thu, Apr 23, 2
isplaytag.sf.net"; prefix="display" %>
the result is:
Nothing found to display.
On Thu, Apr 23, 2009 at 17:52, Stefano Tranquillini
wrote:
> emm i've a list in my session called items.
>
> so i'd write
> a ok, i'd understand, now works.
>
> anyway,
eferencing, as well as if the
> variable is empty.
>
> eg.
>
> On 23 Apr 2009, at 17:11, Stefano Tranquillini wrote:
>
>> i done this:
>>
>> this is the class taht create the list
>>
>> private List items = new ArrayList();
>> pr
page context.
> Your example of displaytag is missing :
>
> (before the display tag)
>
> Denis.
>
> On Thu, Apr 23, 2009 at 1:01 PM, Stefano Tranquillini <
> stefano.tranquill...@gmail.com> wrote:
>
>> i've done a pagination by myself.
>> is an
h-two-values-tp23272838p23272838.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
--
Stefano
--
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>>
> no thats not it, it's that the same class gets loaded twice, because as
> Lukasz said (thx again by the way) , I used the codebehind plugin and the
> conventions plugin. They both load the class.
>
> So, I tried to just remove codebehind. The error is gone now, but I got a
> new one.
> I'm tryin to solve this issue now, if I can't seem to move foreward I'll
> write again
>
> Thanks alot, everyone
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
--
Stefano
uts, sruts goes back to the input page,
the list become empty and in the page no item is display.
how can i store the list in order to have its inside my page after the
error?
PS: if i set required="true" at a field, struts doesn't check if this value
is present or not? what meaning has this property?
--
Stefano
On Sat, May 9, 2009 at 00:49, Dave Newton wrote:
> Stefano Tranquillini wrote:
>
>> i've a form. i've some field that are double type. if i put a string
>> inside
>> these fileds struts automatically check the incorrectness of the type. ok!
>> but, inside
d as a
collection/array/map/enumeration/iterator type. Example: people or
people.{name} - [unknown location]
ideas?
On Sat, May 9, 2009 at 14:19, Stefano Tranquillini
wrote:
>
>
> On Sat, May 9, 2009 at 00:49, Dave Newton wrote:
>>
>> Stefano Tranquillini wrote:
>>>
&
ion,
> you could do this.setCategory(cat) -- and then your JSP would work fine.
>
in previous version i've done whith a parameter. but if there's an
automatic error discovered by struts the categories disappears.
ognl don't check automatic inside session?
> On Tue, May
same problem anyway
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
play it in a jsp?
thanks folks
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
>> public InputStream getAttachmentStream() throws
>> SQLException {
>> return (attachment==null ? null :
>> attachment.getBinaryStream());
>> }
>>
>> public void setAttachmentStream(InputStream
>> attachmentStream)
>>
he url like:
http://localhost:8080/WAP-Shop-war/admin/showAddItem.action i see the
page and i don't see the string: i'm the filter!
where's the fault?
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
he struts filter is catching the request first and dispatching it before it
> ever reaches the admin filter.
>
> On 20 May 2009, at 09:37, Stefano Tranquillini wrote:
>
>> Hi all.
>> i need to block the path /admin/ for all the pepole. only the people
>> logged in as
in the framework you've chosen.
>
> Struts' interceptors are a very powerful AOP-style pattern that I think are
> sometimes overlooked and aren't emphasised enough...
>
> [1] http://struts.apache.org/2.x/docs/writing-interceptors.html
>
> On 20 May 2009, at 13:42, St
al-forwards" must be declared.
2009/5/21 Stefano :
> 2009/5/21 Paweł Wielgus :
>> global forward
>
> thanks,
>
> but i definide in struts my interceptors in this way:
>
>
>
>
>
>
> in order to use the interceptors only
in package /admin and adding this
interceptor at new.stack?
2009/5/21 Stefano Tranquillini :
> thanks,
>
> but i definide in struts my interceptors in this way:
>
>
>
>
>
>
> in order to use the interceptors only when namespace is /admin/*
>
>
edirect' the call to MyDifferentAction.action from the
interceptor?
I've seen that there is action chaining but this require to know at build
time the name of the actions i want to redirect to, but i know the name only
at runtime and
I hope i was clear :) sorry for my english.
--
Stefano Corallo
nformation to call the action i want
--
Stefano Corallo
On Wed, May 27, 2009 at 9:07 AM, Chris Pratt wrote:
> Sort of. The way that I've achieved something similar to what you seem to
> be asking is to define a bunch of Global Results in struts.xml that define
> common actio
Hi Dale,
i think that this is the only one solution. Thanks guys for your reply.
--
Stefano Corallo
On Wed, May 27, 2009 at 4:59 PM, Dale Newfield wrote:
> Stefano Corallo wrote:
>
>> I know the global result, but is unusefull for this purpose. The problem
>> is
>>
Yes i know that, very appreciate this clarification :)
--
Stefano Corallo
On Wed, May 27, 2009 at 5:25 PM, Dale Newfield wrote:
> Stefano Corallo wrote:
>
>> i think that this is the only one solution. Thanks guys for your reply.
>>
>
> If you don't have a base
Hi all.
i want to do a thing. When a user do the login (i've the login in the left
part of the web site, so in each pages the user can do the login) i want to
redirect he at the pages that was visit before the login.
how can i do that? (no JS)
--
Stefano
Hi all.
i've a little problem.
I've a EJB inside my session, i take it from a jsp and print out some
values:
now, this value is a double. and struts print 2.0E09
how can i print 2.0. so the entire number without exponent?
thanks
--
Stefano
pass a url instead
the SUCCESS or ERROR etc string?
2009/6/4 Paweł Wielgus
> Hi Stefano,
> add some kind of information about the page loging form is on, inside
> the login form, then in login action resolve where to come back. It
> can be also achieved by remebering the last request u
2009/6/5 Paweł Wielgus
> Hi Stefano,
> Action execute method result is a string but that is only a result name,
> result can be a redirect to anything You want.
> Read more about resut types in struts2.
have u got an example or a tutorial about how to return an url?
>
I tried to use request and URI but:
- i'm not able to have some result from this command.
- how can i set this value inside the session from a jsp.
thanks.
--
Stefano
these outputs? (i think, (i done a fast check in the
log file) is only in the command (cmd), not in the log file).
--
Stefano
Hi all.
there's a possibility inside a jsp to display only the first 100 chars
or the first 10 words of a string?
if i have a long string, can i display only the first 100 chars
directly in a jsp without modification in action or something like
that?
thanks
--
St
a better solution, especially
> since this is a pretty general problem.
> jk
>
> On Mon, Jun 22, 2009 at 11:37 AM, Stefano Tranquillini <
> stefano.tranquill...@gmail.com> wrote:
>
> > Hi all.
> > there's a possibility inside a jsp to display only the first 100 ch
On Mon, Jun 22, 2009 at 17:46, Jon Pearson wrote:
> String.format("%.100s", s);
how can i put this thing in the jsp?
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands,
double quotes,
> here's a fix:
>
>
>
>> -Original Message-
>> From: stefano.tranquill...@gmail.com
>> [mailto:stefano.tranquill...@gmail.com] On Behalf Of Stefano
>> Sent: Monday, June 22, 2009 12:07 PM
>> To: Struts Users Mailing List
>> Sub
at 18:00, Jon Pearson wrote:
>
> should work (check
> http://www.opensymphony.com/ognl/html/LanguageGuide/staticMethods.html
> for OGNL for calling static methods)
>
>> -Original Message-
>> From: Stefano Tranquillini [mailto:stefano.tranquill...@gmail.com]
give the fully qualified name.
but, i don't understand how to call the min method of math is i.e.
@method(min(100,1000)) ?? or what else?
thanks
--
Stefano
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.or
o places. He told me to quit
> going
> to those places."
>
> On Mon, Jun 15, 2009 at 8:11 PM, Stefano Tranquillini <
> stefano.tranquill...@gmail.com> wrote:
>
> > I tried to use request and URI but:
> > - i'm not able to have some result from this
t;%@ taglib uri="/struts-tags" prefix="s"%>
sampleAJAX
autoComplete="true"/>
Now running but the list in autocompleter doesn't appear.
Why? What's my mistake?
Thank you in advance
Stefano
-
I think in the URL
http://struts.apache.org/2.x/docs/ajax-tags.html
say how work in 2.1
but I suppose Ajax should work since 2.0
Stefano
- Original Message -
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Friday, November 16
Hi,
I'm using autocompler with ajax theme
as in this example:
...
..
If I put theme="ajax" as attribute of autocompleter tag as the example
the label is not visible in HTML rendered.
I I dont use the attribute theme in
t? we loose the powerful of the EJB?
thanks all.
--
Stefano
Hello,
there is a way to have menu
using tags in Struts2
or we must use external tags libraries?
Thanks
Stefano
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi everybody,
I decided to post here, after I searched a solution for three hours or so.
Can you post an URL (or an advice, or an example) in which is explained how to
override initialize() or reset() DynaActionForm methods?
The problem: to set properties of my form, I have to put it in session
86 matches
Mail list logo