Hi,
We are using struts 2.0.6 with AJAX development features, we got couple of
s:div ..s, in our page inside the tabbed panel
.
We want to do some lazy loading, which means when someone clicks the div,
inside the tabbed panel,we need to load some data for that corresponding page,
At the
Hi,
We are using struts2 2.0.6 and now we have a requirement to have some Access
Control into it,
That is we got some functions points and each ROLE got different access rigts
against each function, if someone login to the System the UI will be presented
based on these configurations.
What I
Hi,
We use struts2 2.0.6 and
we have the following, when the user click one of the
tabs (div s), I want to know which div id is focussed
or clicked, so I went I head and had javascippts
functions(onClick, onFocuss) within s:div but they
are not getting called,
Is this a bug, How can know
]
wrote:
tom tom wrote:
Thanks Jeromy,
Is there any reason why YUI datagrid instead of
dojo
1.1 grid,
Isn't it risky to depend on YUI datagrid,
Thanks
Moving to YUI datagrid is no riskier than moving to
Dojo 1.1. They're
both good libraries. Dojo 1.1 is very different
best practice for this.
My first objective is to have dojo Grid inside a jsp,
with CRUD/sorting and pagination
And
Link this Grid with the Struts 2 Action classes,
Is there any practices to follow to achieve, is this
doable
Thanks
--- Jeromy Evans [EMAIL PROTECTED]
wrote:
tom tom wrote
Hi,
Has anyone got any editable grid e.g dojo 1.1
(supports CRUD) working with server side Struts2
action classes.
or any other grid working with struts2,
If so, will it be possible to share some samples,
We are in the process of finding a intelligent AJAX
based DATA grid working with struts2
Thanks Jeromy,
Is there any reason why YUI datagrid instead of dojo
1.1 grid,
Isn't it risky to depend on YUI datagrid,
Thanks
--- Jeromy Evans [EMAIL PROTECTED]
wrote:
tom tom wrote:
Thanks Jeromy,
If we use direct dojo calls (dojo 1.1) without
using
struts ajax tags
, it is a
framework, with widgets and events,
How can individual struts tags support the entire
event model, am confused, isnt it a good idea to
provide the practices to use dojo directly to utilize
the full dojo features.
Thanks
--- Jeromy Evans [EMAIL PROTECTED]
wrote:
tom tom wrote:
Hi,
In order
Hi Jeromy,
Sorry, I forgot one more question,
Eventhough we use dojo 1.1 directly, we need to have
dojo.js, wouldn't this conflict with the one which
comes as part of struts bundle
--- Jeromy Evans [EMAIL PROTECTED]
wrote:
tom tom wrote:
Hi,
In order to leverage the full capabilities
Hi,
In order to leverage the full capabilities of dojo 1.1
(latest) with the latest stable struts version. What
exactlyt the best practice.
The things we concerned are as followes
1) Will there be a conflict in the different dojo
versions in struts 2.0.11 and dojo 1.1
2) Will it impact any
Hi,
Is portlet Ajax examples are demonstrated in
struts2-portlet-2.0.11.1.war in the distribution.
I can see some pages but can't see the functionality
in the main index
Thanks
Be a better friend,
PROTECTED]
wrote:
tom tom wrote:
Hi,
What exactly the benefits of moving from struts
2.0.6
to
2.0.11.
Mainly important bugfixes and security fixes. There
are few new features.
2.0.x - 2.1 provides better ajax tags and new
plugins.
As far as the Ajax support is concerned
://www.satyam.com.ar/yui/DataGrid.html
It supports client-side and server-side pagination
and sorting:
http://developer.yahoo.com/yui/datatable/
tom tom wrote:
Thanks I will have a look, Lot of grids got the
limitation to have combo boxes in the Grid,
If any such Grid someone knows
Hi,
Instead of directly using DOJO 1.x, did you think
about
enhancing the ftl with a new theme type
Thanks
--- umesh awasthi [EMAIL PROTECTED] wrote:
Thanks Jeromy for the rply
we will try to impliment DOJO 1.x along with struts2
some point i want to confirm if u have any exp using
dojo
Hi,
What exactly the benefits of moving from struts 2.0.6
to
2.0.11.
As far as the Ajax support is concerned, we do have a
requirement to have a editable grid,
Is this facilitated within struts 2?
What is the best way to achieve it.
Thanks
Hi,
We have portlet based ajax application written using
struts 2.0.6, With the introduction of the struts
2.0.11 we can see lot of bugs have been resolved.
We would like to start the next project using struts
2.0.11, both application will co exist in the same
tomcat server.
Will there be any
Have one log4j setting for all the projects,
Thanks
--- Clark O'Brien [EMAIL PROTECTED] wrote:
Setting the freemarker_update_delay improved
performance for sure.
Hate to ask such a simple question but just own do I
change the devMode option and logging - my log4j.xml
has ERROR set for
private data, and an logged in
admin user can access
the admin console.
Regards,
Muhammad Momin Rashid.
tom tom wrote:
what exactly you are trying to do?
--- Muhammad Momin Rashid [EMAIL PROTECTED]
wrote:
Hello Everyone,
I am looking for a tutorial for integrating JAAS
that as well.
Thanks
--- Nils-Helge Garli [EMAIL PROTECTED] wrote:
In the next release, there will be *Aware interfaces
for the portlet objects.
Nils-H
On 9/13/07, tom tom [EMAIL PROTECTED] wrote:
Yes in theory you are correct, but in side a S2
portlet (which implements ServletRequestAware
what exactly you are trying to do?
--- Muhammad Momin Rashid [EMAIL PROTECTED] wrote:
Hello Everyone,
I am looking for a tutorial for integrating JAAS
into my Struts 2 +
Hibernate Application. Can anyone point me to the
right resources?
Is JAAS the best way to go, or there are
Hi,
If you are developing portlets with struts2
I doubt *Aware interfaces work properly, you have to
do it differently.
For example How we get a handler for Http request or
session is not via *Aware interfaces for portlets.
--- j alex [EMAIL PROTECTED] wrote:
Hi,
In the Struts 2 docs, it's
application etc?
hope this helps
--- Chris Pratt [EMAIL PROTECTED] wrote:
On 9/12/07, tom tom [EMAIL PROTECTED] wrote:
If you are developing portlets with struts2
I doubt *Aware interfaces work properly, you have
to
do it differently.
I don't know of anything that would preclude you
Hi,
In S2, how can we import a remote URL or file inside a
JSP.
JSTL I think we can use c:import, what is the S2
equivalent of that.
Thanks,
Ready
for the edge of your seat?
Check out tonight's top
, but
complement it in ways that are useful. There are
several tags that do
overlap with JSTL, such as the iterator tag, but
they are kept mainly
to keep backwards-compatibility.
Don
On 9/4/07, tom tom [EMAIL PROTECTED] wrote:
Hi,
In S2, how can we import a remote URL or file
inside
Yes we got it working on production, works fine, there
are tiny little areas you need to work out,
What we did was struts2 portlets, which is one step
ahead to the applications,
Looks good so far,
But have a look at the bug I raised recently. Look
for the forum.
Other than that, with
Hi,
We got a S2 application on https, but
as recommende we use the Redirect Action Result to
forward to another action but
the issue is it changes the scheme from https to http.
Can someone let me know why this is all about.
Thanks,
or anything else) and see if
the window state
is reported differently.
I'll also bring the issue up on the uPortal mailing
lists and see if
we can get any further there.
Nils-H
On 7/23/07, tom tom [EMAIL PROTECTED] wrote:
In my opinion, I hardly believe this is something
to
do
try is to create a plain
JSR168 portlet (not
using S2/struts-bridge or anything else) and see if
the window state
is reported differently.
I'll also bring the issue up on the uPortal mailing
lists and see if
we can get any further there.
Nils-H
On 7/23/07, tom tom [EMAIL PROTECTED
We are using uPortal 2.5.3.
We still can't figure why it returns wrong window
states.
Waiting for a reply,
Thanks
--- Nils-Helge Garli [EMAIL PROTECTED] wrote:
Which version of uPortal are you using?
On 7/19/07, tom tom [EMAIL PROTECTED] wrote:
Hi,
We got some portlets developed
as we may be
wrong.
Thanks,
--- Nils-Helge Garli [EMAIL PROTECTED] wrote:
Which version of uPortal are you using?
On 7/19/07, tom tom [EMAIL PROTECTED] wrote:
Hi,
We got some portlets developed using S2 running of
uPortal.
It looks like When we switch between Window states
Hi,
We got some portlets developed using S2 running of
uPortal.
It looks like When we switch between Window states and
try to print window states in JSR168Dispatcher it
prints window states incorrectly.
For e.g When I minimize a portlet it says the window
states is minimized but when I maximize
))
{
super.render(request, response);
}
Nils-H
On 6/26/07, tom tom [EMAIL PROTECTED] wrote:
When a portlet is in MINIMIZED window state,
the
portlet should only render
minimal output or no output at all.
Ealier we were using struts-bridge for portlet
development
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
because you have the list, you can do the following
s:checkboxlist
label=TEST LIST
list=manyNames
name=CommonName/
You dont need to iterate
--- Andreja [EMAIL PROTECTED] wrote:
Thank you very much Sharad, that WORKS! :]
Just for the archive, this is
Hi,
I have the following iterator
s:iterator value=#session.testDTOs id=testObj
s:url id=testUrl action=testView
s:param name=testId
value=#testObj.scholarshipId/s:param
/s:url
above expression get evaluated correctly but
in the same iterator I got the following but this
Before anything try model driven interface if you are
not doing any portlet developments.
Thanks,
--- [EMAIL PROTECTED] wrote:
Hi All,
As there is no concept of Action form beans in
struts 2.0 we have to define
the field attributes in the Action class.
I am using the same action class
is placed on the top of the value stack).
Although, if you
are explicitly defining the object (via id and
#test) there shouldn't be
a problem.
/Ian
tom tom wrote:
Hi,
I got three iterations which I tried as below in
the
jsp, First two and Array of certain DTO and last
Yes this definitely is a bug to me,
How can I make a JIRA issue for this, what is the URL,
I Dont think we can go to production with this issue,
Is there a way to get a patch for this,
Should we have to wait for the next release ?
Thanks,
--- Dave Newton [EMAIL PROTECTED] wrote:
--- tom
Hi,
What did you mean by
is an issue iff you're
using an id
What else can I use to get the value inside an
Iterator?
Thanks
--- Dave Newton [EMAIL PROTECTED] wrote:
--- tom tom [EMAIL PROTECTED] wrote:
WHAT it prints is following Issue is for the 4th
index also it prints test
index is variable, without introducting a scriptlet
with int i=0 and the have i++, Is there any other
inbuild way?
Thanks
--- Dave Newton [EMAIL PROTECTED] wrote:
--- tom tom [EMAIL PROTECTED] wrote:
What did you mean by
is an issue iff you're using an id
What else can I use
Value of the arry is
s:property /
br
/s:iterator
tom tom wrote:
I did further investigation,
I think this is a bug, I think this is a very
scary
bug.
You dont need three iterators, I could reproduce
this
very easily,
In your action class have the following
Hi,
I got three iterations which I tried as below in the
jsp, First two and Array of certain DTO and last
iterator is a String array. There is no jsp
compilation error, but the issue is it produced
misleading results.
Is there any limitation in S2 for the depth of the
iteration. Is this way of
When a portlet is in MINIMIZED window state, the
portlet should only render
minimal output or no output at all.
Ealier we were using struts-bridge for portlet
development, there it was showing no output for the
MINIMIZED window state, also I have seen lot of other
portlet development
Hi,
Can some one let us know, how to define a Custom
filter which would do what the
org.apache.struts2.dispatcher.FilterDispatcher does
but in addition it checks a Cetain attribute (e.g.
Window State) and shows nothing if a certain criteria
is met.
Is this something possible.? or How can I have
Hi,
In Struts2 portlets development, It looks to us that
the minimize does not work as expected, When we presss
the minimize button instead of minimizing it shows the
same content.
to my understanding it should not render anything at
all.
We trying this on uPortal.
Can some one else try these
Hi,
Is it possible to use Map-backed forms in S2.
Existing application using the Map-backed form doesnt
seem to work with S2,
Thanks
Got a little couch potato?
Check out fun summer activities for
Hi,
As we dont have ActionForms seperately as in Struts
1.X.
We introduce member variables in the Action classes.
All our jsp field elements are mapped to these member
variables.
The question we have is, What exactly the life cycle
and scope of these Actions and Member variables, When
it will
from
the datetimepicker tag
until 2.1.
regards
musachy
On 6/20/07, tom tom [EMAIL PROTECTED] wrote:
Hi,
Can someone let us know the limitations of using
DOJO
library with S2 provided AJAX features.
What exactly these limitations are?
Any references or articles would
), an others that extend the dojo
ones to add
functionality (autocompleter, datepicker,
timepicker, tree, treenode)
musachy
On 6/20/07, tom tom [EMAIL PROTECTED] wrote:
When it comes to custom widgets, what is the
support
from the S2 framework, what is the best way to
access
those via S2
Hi,
I have a action class which get called by two ways in
two different pages.
1) As a href
2)As part of a form submission
In the action class I forward to another action
instead of a jsp via the forward, hence struts.xml
looks as follows.
(note: testSetup action defined in the struts.xml)
will
be easier.
musachy
On 6/20/07, tom tom [EMAIL PROTECTED] wrote:
What is the best way(best practice) to have the
widgets that doesn't supported by the Struts2,
Should I write a custom tag or call natively?
--- Musachy Barroso [EMAIL PROTECTED] wrote
Hi,
Can someone let us know the limitations of using DOJO
library with S2 provided AJAX features.
What exactly these limitations are?
Any references or articles would be advantageous.
Thanks,
Lalitha
Hi,
In S1.x as we got reset method is ActionForm we used
to reset the corresponding property in the ActionForm,
hence it correctly reflects what user did when
submitting.
In the absense of the Action Forms, What is the best
practice to sort this out in S2.
Thanks
I have the following in the jsp
s:select
name=testForm.inputAnswer
list=#session.question.answers
listKey=answer
listValue=answer
/
in the action class there is a instance variable
find my answers below
You're trying to assign a String to an array which
would give you an
error
But it nicely work with S1 eventhough it has been left
in S2, I can't figure is out why these little features
are left over. It got lot of benefits,
for e.g if that feature there i can use the
Yes I tried the following
s:select
name=testForm.inputAnswer[0]
list=#session.question.answers
listKey=answer
listValue=answer
/
but it doesnt work, also I gave multiple=true that
also doenst work.
Thanks
--- Jeromy Evans [EMAIL PROTECTED]
wrote:
tom tom
What exactly the tag you are using,
Better to use the url tag with param which does the
encoding properly
Thanks
--- Mike Jennings [EMAIL PROTECTED] wrote:
Can anyone tell me why this is happening to me. I
am using jdeveloper 10g
as my development platform.
I want to call a action with a
I can't see any clean() method in the ActionSupport,
I am using struts 2.0.6.
Is there any other way to do this.
Thanks,
--- Rikard [EMAIL PROTECTED] wrote:
Hi well in webwork i use the clean(); method of the
class ActionSupport i
think its the same in S2. Just make a reset() method
in
Hi,
In struts 1.x. we had reset method in the action forms
to do the final cleanup before the form data get
populated.
It helped quite well with occasions like check boxes.
Please let us know what is the same equivalent in
struts 2. How can we achieve the same.
Thanks,
.
tom tom wrote:
Yes you are right,
Even though action attribute doesnt get evaluated
value attribute does,
but that is of no use as it does not create the
URL
string to suite with Portal env.
The biggest concern is why the action attrbute of
URL
tag doesnt evaluate
Hi,
What are the constants for the portletUrlType
attribute in Struts 2 url tag.
Thanks
Boardwalk
for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's
economy) at Yahoo! Games.
Hi,
I got a form with following syntax
s:form action=testAction method=POST
s:textfield name=testForm.testId size=10
value=%{testForm.testId}/s:textfield
s:submit value=Search
name=testForm.btnSubmit/s:submit
When I press the submit it gives the following
exception, all the
)
2. Alternatively, work-around it by using the href
attribute:
s:url id=url href=${actionName}.action
href definitely does work.
tom tom wrote:
Hi,
We are experiencing that action attribute of the
s:url tag is not evaluating the expressions.
For e.g Inside a interator if we
-not
evaluating the action attribute of url tag
--- Dave Newton [EMAIL PROTECTED] wrote:
--- tom tom [EMAIL PROTECTED] wrote:
for the second one there is no href
attribute for the URL tag hence doesnt work.
The value attribute creates the href if the
action
attribute isn't used.
d
I code differently because this is a
portlet,(I havent done it yet)
Does S2, UI tag syntax changes based on it is Web or
Portlet
Thanks,
--- Laurie Harper [EMAIL PROTECTED] wrote:
Did you try this?
s:url id=url action=%{testID.actionName}/
L.
tom tom wrote:
Hi,
One page we
Hi,
I just wanted to integrate some JSTL features to my
existing S2 application,
I followed the following steps
1)copied jstl-1.1.2.jar to WEB-INF lib directory
2)had following in the jsp
%@ taglib prefix=c
uri=http://java.sun.com/jsp/jstl/core; %
%@ taglib prefix=fmt
uri=http://java.sun.com/jsp/jstl/fmt; %
%@ taglib prefix=fn
uri=http://java.sun.com/jsp/jstl/functions; %
--- Musachy Barroso [EMAIL PROTECTED] wrote:
you also need standard.jar:
http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi
musachy
On 5/22/07, tom tom [EMAIL
Hi,
We are experiencing that action attribute of the
s:url tag is not evaluating the expressions.
For e.g Inside a interator if we want to get dynamic
action names from the interator and assign into the
action tag of the s:url tag it just prints the text
as it is without evaluating.
Even tried
Hi,
One page we got a Iterator containing the Action
Names, which means Actions names are not known
earlier,
How can we retrieve the value inside the URL tag.
How can we retrieve the dynamic action names like this
in S2
that is in s:url tag how to give a dynamic action
value from the iterator
In Struts 1.x we achieved the following by html:el
tag
--- tom tom [EMAIL PROTECTED] wrote:
Hi,
One page we got a Iterator containing the Action
Names, which means Actions names are not known
earlier,
How can we retrieve the value inside the URL tag.
How can we retrieve the dynamic
Hi,
Has any one successfull getting ScopedModelDriven with
session scoped form beans,
I tried several times and it failed, the values only
remains for request scope, it get reset each time.
Is this a bug.
Plese let us know how to proceed.
Thanks
Hi,
We have the following in the struts 1.x
html:text property=studentId size=7
maxlength=7/
when I try to convert this to S2 I can't see the size
and the maxlength properties
for e.g.
s:text name= id=/s:text
What I can see is only name and id attributes only.
I thought S2 tag library got
Works but the values get reset all the time, doesnt
stay in the session scope, if I update form in the one
action class and if I try to retrieve from the other
action class the values has been lost.
Should I have to do any extra things
--- Dave Newton [EMAIL PROTECTED] wrote:
--- tom tom
to do?
Thanks,
Hf
On 4/11/07, tom tom [EMAIL PROTECTED] wrote:
Works but the values get reset all the time,
doesnt
stay in the session scope, if I update form in the
one
action class and if I try to retrieve from the
other
action class the values has been lost.
Should
should I have the following in my jsp
s:hidden name=S2_CONVERSATION_ID
value=%{conversationId} /
Let me know?
Thanks,
Lalitha
--- tom tom [EMAIL PROTECTED] wrote:
Yes I know we can do this,
but the argument is the previous struts ActionForm
sharing across many action classes is achieved
property methods in the
desired scope.
On 4/4/07, tom tom [EMAIL PROTECTED] wrote:
Thanks,
Any samples or documenation around for me to
refer.
I followed this
http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html
but didnt work.
Thanks
My suggestion is, try hypercontent, and have jstl
import pointing to the hypercontent resource,
This is something I can give u a hand.
But hypercontent does not use any struts 2.
thanks.
--- Jim Young [EMAIL PROTECTED] wrote:
Anyone have any ideas on Content Management Software
and using
try any of these, dont get confused with jstl, also be
careful using % vs #
s:if test=%{statement}Hello World/s:if
s:if test=statementHello World/s:if
let us know if further problem exists
Thanks
--- joey [EMAIL PROTECTED] wrote:
I thought it may be like this:
s:if test=statement}Hello
yet.
Thanks,
--- Nils-Helge Garli [EMAIL PROTECTED] wrote:
As mentioned, this is not possible in a container
independant manner.
I would recommend that you consider refactoring your
code so it uses
Map objects instead, as xwork/struts 2 does.
Nils-H
On 3/26/07, tom tom [EMAIL
that is in the
same web
application.
Nils-H
On 3/23/07, tom tom [EMAIL PROTECTED] wrote:
Hi,
In my porlet I got the following
public class MyProfileAction extends ActionSupport
implements ServletRequestAware
Hence I implemented the public void
setServletRequest
Hi,
In my porlet I got the following
public class MyProfileAction extends ActionSupport
implements ServletRequestAware
Hence I implemented the public void
setServletRequest(HttpServletRequest arg0) {
but what I can see is arg0 is null. What is the reason
for this.
How can get hold to the
Hi,
How can I convert the following struts 1.x to struts
2.0.6.
ActionError actionError = new ActionError();
ActionMessage actionMessage = new
ActionMessage(error.test.error1);
actionErrors.add(ActionErrors.GLOBAL_MESSAGE,
actionMessage);
above is in a action class and error.test.error1 is
the
approach
Thanks
--- tom tom [EMAIL PROTECTED] wrote:
Hi,
What is the struts 2.0.6 equivalent for the empty
check
for the following
c:if test=${empty
sessionScope.myBean.myProperty}
do something /c:if
Thanks
Hi,
Can some body let me know why following is not working
s:a href=s:url action=myInfor.studentProfile/
span id=blue
Personal Details
/span
/s:a
can't we have s:a href like this. but this works with
a href=s:url
Hi,
What is the struts 2.0.6 equivalent for the empty
check
for the following
c:if test=${empty sessionScope.myBean.myProperty}
do something /c:if
Thanks
TV dinner still cooling?
Check out Tonight's Picks
it
there.
Nils-H
On 3/16/07, tom tom [EMAIL PROTECTED] wrote:
Hi,
I implemented the following interface
org.apache.struts2.interceptor.SessionAware;
hence implemented the
public void setSession(Map session) method and did
add
the following attribute
session.put(NAME,USER1
Hi,
I implemented the following interface
org.apache.struts2.interceptor.SessionAware;
hence implemented the
public void setSession(Map session) method and did add
the following attribute
session.put(NAME,USER1);
and in my jsp I have the following
s:property value=#session.NAME/ br
It
some limitations.
- You can't generate a complete HTML document, only
what's between the
body tags of what would have been a regular web
app.
Otherwise, you should be able to build it as a
normal Struts 2 app.
Nils-H
On 3/14/07, tom tom [EMAIL PROTECTED] wrote:
We were alble
Hi,
How can we set the session variables which we used to
do in stuts 1.x. and thereafter access in the jsps.
e.g.
session.setAttribute(NAME,USER11);
and in jsp
logic:equal name=NAME value=USER11
This message is for user 1
/logic:equal
How can we access to the session, should it
We were alble to successfully deploy the struts 2.06
portlet sample on our portal container which is
uPortal.
What we want to know is Can we write the portlet
applications simillar to the Struts 2.0.6 web
applications(not portlets).
Does Struts 2.0.6 portlets got limitations compared to
the
90 matches
Mail list logo