Re: Minimized Window State NOT working-NOT SOLVED

2007-07-08 Thread Nils-Helge Garli
Hi! I just tried, and the proposed solution works nicely in pluto, even when a user minimizes another portlet. So it might be a container bug. Try your portlets in a different container and see if the problem persists, or attach a debugger and try to figure out what information is set on the requ

Re: Minimized Window State NOT working-NOT SOLVED

2007-07-08 Thread Tracy12
Yes it appeared everything is fine as per the following solution, but that is not the case. What happens is, This will work only for the portlet where user just minimized. If user tries to minimize another portlet the previous one get Expanded, It looks to me server is not detected the portlet ha

Re: How do I make a checkbox initially checked?

2007-07-08 Thread Fred Toth
Hi, Yes, it works fine if I use prepare() and create my own object. However, my understanding from the docs was that struts would create my object for me, based on hitting a null pointer. But that does not seem to be the case. Also, if I use the value="true" method, then my box is checked alw

Is the tooltip working in S2

2007-07-08 Thread tom tom
Hi, I got the following in S2, jsp. it shows nothing, infact when I saw the view source it shows nothing with regards to tooltip. Is there anything wrong in my usage, Cant I completely ingore the the tooltipConfig. Basically I want to give user a flavour of help where it says Enter display name

[S2] Wildcard characters in Action-validation.xml

2007-07-08 Thread Wei Xu
I plan to use Struts validation frame to validate my input fields. I want to konw if there is a way to use wildcard characters such as "*?" in my validtion.xml. For instance: My*Book 1 true Here, this fieldName could be "MyOldBook", "MyNewBook", "MyBook" etc. I nev

Action Based, Event Based Component Based ?

2007-07-08 Thread Mansour
I have been playing with struts for few month and I am comfortable with it now. One thing I keep on hear, and couldn't manage to understand what it 's. Many sites and articles compare struts and describe it as an action based. I know it uses actions but how does this make it better that event b

Re: Control Interceptor order

2007-07-08 Thread Chris Pratt
Others should definitely correct me if I'm wrong, but interceptors don't inject other interceptors, just actions. If you need access to the Session, just use the one in the ActionInvocation. (*Chris*) On 7/8/07, Richard Sayre <[EMAIL PROTECTED]> wrote: I added an Interceptor locally to one of

Control Interceptor order

2007-07-08 Thread Richard Sayre
I added an Interceptor locally to one of my Actions. This Interceptor implements SessionAware and has a setSession(Map session) method to get the session. The problem is when my interceptor runs session is null. I am assuming this is because the interceptor that populates the session aware obje

Re: How suppress the HTML INPUT from Struts2 Combobox?

2007-07-08 Thread Richard Sayre
The is the tag your looking for. Check the Doc here. http://struts.apache.org/2.x/docs/select.html On 7/8/07, Hubert Hers <[EMAIL PROTECTED]> wrote: Hi, According to the Struts2 (2.0.8) documentation a combo box is an HTML INPUT of type text and HTML SELECT grouped together to give you a com

Re: [ANN] Struts Downloads Skyrocket in 2007

2007-07-08 Thread Li
Great job. On 7/9/07, James Carr <[EMAIL PROTECTED]> wrote: congrats guys! On 7/8/07, Ted Husted <[EMAIL PROTECTED]> wrote: > [Apache Struts Group] Since its release in June 2001, Apache Struts > (struts.apache.org) has become the most popular web framework for > Java. Six years later, by any

Re: [ANN] Struts Downloads Skyrocket in 2007

2007-07-08 Thread James Carr
congrats guys! On 7/8/07, Ted Husted <[EMAIL PROTECTED]> wrote: [Apache Struts Group] Since its release in June 2001, Apache Struts (struts.apache.org) has become the most popular web framework for Java. Six years later, by any objective measure, Struts is still Java's most popular web framework

Re: issues with tiles with struts 2

2007-07-08 Thread Chris Pratt
Very true, I should have said or, not also. (*Chris*) On 7/8/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote: Chris Pratt wrote: > Also, make sure you define the tiles result-type in your struts.xml. if your package extends tiles-default, you don't need that. -- Robi > > > > > > >

Re: Data mingling across multiple popup windows when opened almost simultaneously from the same browser instance

2007-07-08 Thread Dave Newton
--- shamsnezami <[EMAIL PROTECTED]> wrote: > Please provide a solution to this problem? Don't use a session-scoped form if you're dealing with a single session-scoped form with the same name and hitting it with multiple requests from the same session and not somehow serializing / synchronizing tho

Re: cannot use certain form property names

2007-07-08 Thread Dave Newton
--- shamsnezami <[EMAIL PROTECTED]> wrote: > Property names, whose second character is in > uppercase, cannot be rendered on JSP using the > property name. For example If you have a property > named as sTxt, then you cannot use > > in the jsp. > Can anybody explain to me why is it so? What

Re: AW: How suppress the HTML INPUT from Struts2 Combobox?

2007-07-08 Thread Dave Newton
--- Hubert Hers <[EMAIL PROTECTED]> wrote: > By a 'normal' combobox I mean a combobox like in > javax.swing.JComboBox or as the HTML select. I'm still not getting you, I think. What functionality do you want that doesn't provide? d. > -Ursprüngliche Nachricht- > Von: Dave Newton [mailto

Re: Issues with Request scope

2007-07-08 Thread Dave Newton
--- pavan reddy <[EMAIL PROTECTED]> wrote: > I dont have a field for that variable in html form > infact that is bean for which i set form variable > values but the variable is declared in the > ActionForm. If you set a request-scoped bean value in an Action then that value will only live for the

Data mingling across multiple popup windows when opened almost simultaneously from the same browser instance

2007-07-08 Thread shamsnezami
Multiple Popup Windows Requirement: • There is a list of hyperlinks on a page and on click of each hyperlink a popup opens. So if user clicks on 10 hyperlinks then 10 popup opens. • Each popup displays a distinct data based on the received parameters. • The data displayed in the

cannot use certain form property names

2007-07-08 Thread shamsnezami
Property names, whose second character is in uppercase, cannot be rendered on JSP using the property name. For example If you have a property named as sTxt, then you cannot use in the jsp. Can anybody explain to me why is it so? -- View this message in context: http://www.nabble.

RE: How suppress the HTML INPUT from Struts2 Combobox?

2007-07-08 Thread Rios, Adrian
Hubert, Not sure if this is what you are looking for but you can try this. In the combobox, you can do something simple like the disabled option. --Select-- stuff goes in here.

AW: How suppress the HTML INPUT from Struts2 Combobox?

2007-07-08 Thread Hubert Hers
By a 'normal' combobox I mean a combobox like in javax.swing.JComboBox or as the HTML select. Hubert -Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 8. Juli 2007 17:27 An: Struts Users Mailing List Betreff: Re: How suppress the HTML INPUT from Stru

Re: Issues with Request scope

2007-07-08 Thread pavan reddy
I dont have a field for that variable in html form infact that is bean for which i set form variable values but the variable is declared in the ActionForm. Pavan - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Sunday, 8 July, 2007 11:29:13 A

Re: Issues with Request scope

2007-07-08 Thread Dave Newton
--- pavan reddy <[EMAIL PROTECTED]> wrote: > I have a situation where i set a form variable in > action execute method the scope of action is request > and when i try to submit my form i see the variable > to be null and it works in session scope Do you have a field for that variable on the HTML f

Re: How suppress the HTML INPUT from Struts2 Combobox?

2007-07-08 Thread Dave Newton
--- Hubert Hers <[EMAIL PROTECTED]> wrote: > According to the Struts2 (2.0.8) documentation a > combo box is an HTML INPUT of type text and HTML > SELECT grouped together to give you a combo box > functionality. Does anyone know if it is possible to > suppress the HTML INPUT? And if so, how? > >

[ANN] Struts Downloads Skyrocket in 2007

2007-07-08 Thread Ted Husted
[Apache Struts Group] Since its release in June 2001, Apache Struts (struts.apache.org) has become the most popular web framework for Java. Six years later, by any objective measure, Struts is still Java's most popular web framework. In February and March 2007, the group released both Struts 1.3.

Issues with Request scope

2007-07-08 Thread pavan reddy
I have a situation where i set a form variable in action execute method the scope of action is request and when i try to submit my form i see the variable to be null and it works in session scope >i understand that when first time request comes in the server sends in the >response and page ren

Re: issues with tiles with struts 2

2007-07-08 Thread Roberto Nunnari
Chris Pratt wrote: Also, make sure you define the tiles result-type in your struts.xml. if your package extends tiles-default, you don't need that. -- Robi (*Chris*) On 7/7/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote: Hello shahab. make sure you have all the tiles librari

Re: [S2] Interceptor Question (Thread Safety)

2007-07-08 Thread Rene Gielen
Ken, there is no problem at all since s2 interceptor instances, as well as action instances, are created per ActionInvokation, which means they are always operated in a single thread. Regards, Rene Hoying, Ken schrieb: From what I understand from reading the documentation, interceptors are sup

Re: Struts 2 - Array of Text Fields

2007-07-08 Thread Rene Gielen
With s2, you can do tabular forms quite elegantly. Although the page needs some updates (will try to get on this the next days), the basic principle is shown here: http://cwiki.apache.org/confluence/display/WW/Tabular+inputs You might want to make sure you understand type conversion principles be

Re: optionstransferselect tag

2007-07-08 Thread Rene Gielen
Bill Johnson schrieb: I'm having the same problem and it appears to be because the default theme is requiring DOJO to automatically select all the select options before submitting the form. I'm not sure if there is a JIRA bug opened for this or not, but there probably should be. The default (non-

Re: optionstransferselect tag

2007-07-08 Thread Rene Gielen
Bill Johnson schrieb: I'm having the same problem and it appears to be because the default theme is requiring DOJO to automatically select all the select options before submitting the form. I'm not sure if there is a JIRA bug opened for this or not, but there probably should be. The default (non-

Re: Struts 2 - Array of Text Fields

2007-07-08 Thread Rene Gielen
With s2, you can do tabular forms quite elegantly. Although the page needs some updates (will try to get on this the next days), the basic principle is shown here: http://cwiki.apache.org/confluence/display/WW/Tabular+inputs You might want to make sure you understand type conversion principles

Re: [S2] Interceptor Question (Thread Safety)

2007-07-08 Thread Rene Gielen
Ken, there is no problem at all since s2 interceptor instances, as well as action instances, are created per ActionInvokation, which means they are always operated in a single thread. Regards, Rene Hoying, Ken schrieb: From what I understand from reading the documentation, interceptors are

How suppress the HTML INPUT from Struts2 Combobox?

2007-07-08 Thread Hubert Hers
Hi, According to the Struts2 (2.0.8) documentation a combo box is an HTML INPUT of type text and HTML SELECT grouped together to give you a combo box functionality. Does anyone know if it is possible to suppress the HTML INPUT? And if so, how? Or if not, any advice how to implement in Struts2 a '

Re: [S2] Default Action

2007-07-08 Thread Chris Pratt
For anybody following this thread, I finally answered my own question by searching through the code. There is an undocumented struts.xml element that will allow you to redefine the default Action class that gets called when no class is specified on an action definition. It's not in the DTD, but