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
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
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
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
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
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
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
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
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
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
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
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
>
>
>
>
>
>
>
--- 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
--- 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
--- 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
--- 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
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
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.
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.
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
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
--- 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
--- 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?
>
>
[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.
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
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
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
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
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-
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-
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
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
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 '
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
34 matches
Mail list logo