Re: Generic search pop up

2010-05-05 Thread Paweł Wielgus
Hi Stephane, personally i would do it with div managed by jquery, this div can be result of search action displayed by one or many jsp's. So it would like this: user clicks somewhere on the page to search, div shows up with empty result and search text field, user writes some text in search text fi

Re: input fields with dynamic names

2010-05-05 Thread Mario Lipinski
Am 04.05.10 06:37, schrieb Robert Graf-Waczenski: > Have your Action method getAuthorizedOptions() return something like a > Hashtable, where MyBean is your inner thingy with methods > setWhateverProperty() and getWhateverProperty(). Then your iterator > incantation as below: Thx. This also helped

Generic search pop up

2010-05-05 Thread Stephane Cosmeur
Hello struts users ! I am building a web application whose users will often need to search many diffrent kind of entity. To find it they will have the choice between to click on the element through a table (not really convinient when there are many entity) or to find it by a search on the name wit

Re: [s2] broken documentation in web site

2010-05-05 Thread hernan gonzalez
It seems quite probable that all will get fixed when the docs are regenerated. Can somebody force a full regeneration? On Wed, May 5, 2010 at 12:00 PM, Lukasz Lenart wrote: > 2010/5/5 Lukasz Lenart : >> Hmm something strange, the code is there but highlighting doesn't >> work any more :-( > >

Re: Where is the documentation for Struts tags ....

2010-05-05 Thread Dale Newfield
On 5/5/10 9:58 AM, RogerV wrote: I'd be happy to contribute I'd think the best place is: https://cwiki.apache.org/confluence/display/WW/Struts+2+Form+Tags I forget what hoops you have to jump through to get a working wiki account...if it doesn't "just work" when you try to register you might

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Dale Newfield
I believe that your problem isn't with execAndWait -- it's with the chain result type. The way that execAndWait works is that there's only one job runnable at a time in any given session with any given action name. The intermediate requests don't need the arguments as it's just using the acti

Re: [s2] broken documentation in web site

2010-05-05 Thread Lukasz Lenart
2010/5/5 Lukasz Lenart : > Hmm something strange, the code is there but highlighting doesn't > work any more :-( Here it is -> https://issues.apache.org/jira/browse/INFRA-2638 but I have no clue how to solve that :P Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http:/

Re: [s2] broken documentation in web site

2010-05-05 Thread Lukasz Lenart
2010/5/5 Lukasz Lenart : > It looks like that something went wrong during exporting to html, > please check the source -> > https://cwiki.apache.org/confluence/display/WW/Stream+Result Hmm something strange, the code is there but highlighting doesn't work any more :-( Regards -- Łukasz http

Re: [s2] broken documentation in web site

2010-05-05 Thread Lukasz Lenart
2010/5/5 hernan gonzalez : > Since several days ago, the docs in the webpage of Struts2 are badly > broken, in particular the examples and code. > > Examples > > https://cwiki.apache.org/WW/stream-result.html > http://struts.apache.org/2.x/docs/stream-result.html > http://struts.apache.org/2.x/docs

[s2] broken documentation in web site

2010-05-05 Thread hernan gonzalez
Since several days ago, the docs in the webpage of Struts2 are badly broken, in particular the examples and code. Examples https://cwiki.apache.org/WW/stream-result.html http://struts.apache.org/2.x/docs/stream-result.html http://struts.apache.org/2.x/docs/writing-interceptors.html Compare the l

Re: Where is the documentation for Struts tags ....

2010-05-05 Thread RogerV
DNewfield wrote: > > Sorry you had such difficulty. If you have any specific suggestions for > the documentation, please help us improve it so that it can better help > the next person... > I'd be happy to contribute my sample .jsp and action.java code that will illustrate how to get the

Re: Where is the documentation for Struts tags ....

2010-05-05 Thread Dale Newfield
On 5/5/10 2:57 AM, RogerV wrote: The final clue! I changed my jsp to; checkbox?selectedroles=ROLE_ADMIN&selectedroles=ROLE_USER&selectedroles=ROLE_UBER&__multiselect_selectedroles= is sent. I saw an exception being thrown "No such method for setSelectedRoles(String) and the message Very

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Robert Graf-Waczenski
Am 05.05.2010 12:42, schrieb Yiorgos Panayiotakis: Thank you, Though I have little experience in web development I was aware of that, but I avoided using sessions due to the fact that a user could open multiple tabs in a browser and issue multiple requests that would belong to the same session. S

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Yiorgos Panayiotakis
Thank you, Though I have little experience in web development I was aware of that, but I avoided using sessions due to the fact that a user could open multiple tabs in a browser and issue multiple requests that would belong to the same session. So if he tried to refresh an older request this would

Re: Where is the documentation for Struts tags ....

2010-05-05 Thread RogerV
Alex Rodriguez Lopez wrote: > > > Roger, > you can use a list as setSelectedRoles(List selectedRoles) that > will get filled with multiple Strings, this way you can iterate it > easily without having to split the comma separated string. > Yes, you're absolutely correct. Struts will auto-tr

Re: [VOTE] Move future struts releases to apache's Nexus Pro instance

2010-05-05 Thread Lukasz Lenart
And the task for Infra https://issues.apache.org/jira/browse/INFRA-2682 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: [VOTE] Move future struts releases to apache's Nexus Pro instance

2010-05-05 Thread Lukasz Lenart
Hi all! As the Vote passed, I'm going forward! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-m

Re: s:checkboxlist help

2010-05-05 Thread Upasana Sharma
thanks for the response the issue is solved as On Wed, May 5, 2010 at 2:41 PM, Sébastien Domergue < sebastien.domer...@c-s.fr> wrote: > Hi, > > the label attribute is only used to render the label of the group of > checkboxes. It is not used in an iterative way. In order to access to your

Re: s:checkboxlist help

2010-05-05 Thread Sébastien Domergue
Hi, the label attribute is only used to render the label of the group of checkboxes. It is not used in an iterative way. In order to access to your .properties file, you have to build your list in your action then give it in list attribute. Regards Sébastien Le 05/05/2010 10:56, Upasana Sh

Re: ExecAndWait interceptor parameters lost

2010-05-05 Thread Alex Rodriguez Lopez
Hi, you can store data in session and retrieve it later on. Data stored in session is persisted through requests. ActionContext.getContext().getSession(); http://struts.apache.org/2.1.8.1/struts2-core/apidocs/com/opensymphony/xwork2/ActionContext.html Hi, I have an issue in my code that I

s:checkboxlist help

2010-05-05 Thread Upasana Sharma
But the key value is not passed to getText() The idea is to just initialize the keys in the checkboxlist and fetch the corresponding display text from .properties file Thanks in advance

ExecAndWait interceptor parameters lost

2010-05-05 Thread Yiorgos Panayiotakis
Hi, I have an issue in my code that I can't resolve and I would appreciate your help. I am using the struts2 execAndWait interceptor when I submit a form on my site. Below is the relevant struts.xml snippet /jsp/unscheduled.jsp

Re: Where is the documentation for Struts tags ....

2010-05-05 Thread Alex Rodriguez Lopez
Em 05-05-2010 07:57, RogerV escreveu: So if it's looking for a string, let's make sure you're giving it one, and not the .toString of an empty map that it got from your prepare method: I must admit I don't understand what you expect this to submit, or how that should become a map -- there a

Re: s:select help

2010-05-05 Thread Upasana Sharma
i am too trying to do the same thing using checkbox but the key value is not passed to getText() if you come up with some way to achieve this please let us know thanks in advance On Tue, May 4, 2010 at 6:33 PM, RogerV wrote: > > > > Upasana Sharma wrote: > > > > listValue="%{getText('myCat