Hi,
i am overriding the struts UI controls for my role based UI rendering.
based on user role i have to decide few attributes of UI component like
editability,visibility etc. for that i have implemented logic required. to
achieve this i am extending TextFieldTag and in the overriding method
Hi,
can any one please let me know where can i download struts 2 REST
showcase examples zip?
Thanks in advance.
request(){
return ServletActionContext.getRequest();
}
On Wed, Nov 5, 2008 at 12:05 PM, Narayana S [EMAIL PROTECTED]
wrote:
Hi,
i am using apache Tomcat 6.0.3, struts 2.1.2, and jdk 1.6. can any
one help me solving this issue?
Thanks in advance.
On Tue
Hi Greg,
Excellent work. i am looking for the same solution. i tried
implementing your interceptor , but it is throwing exception ...
java.lang.UnsupportedOperationException: Don't use default servlet
session.
near session.setAttribute(ACTION_MESSAGES_KEY,actionMessages);
can you
Hi,
i am using apache Tomcat 6.0.3, struts 2.1.2, and jdk 1.6. can any
one help me solving this issue?
Thanks in advance.
On Tue, Nov 4, 2008 at 7:06 PM, Greg Lindholm [EMAIL PROTECTED] wrote:
Ganesh123 wrote:
Excellent work. i am looking for the same solution. i tried
Hi,
i am new to struts 2, want to use file upload control. once the file
is uploaded i want to store its content into the database, i didn't work on
the file upload previously also. so any one can please tell me the best way
to access the uploaded file and store that into database? any
Hi Thanks for your reply,
but when i submit my form it is not setting value for the upload
properties. this is how my code is ...
-- in jsp
s:file name=upload label=Attachment/
-- in action
private String uploadContentType;
private String uploadFileName;
private File upload;
and
...
??
-Original Message-
From: Narayana S [mailto:[EMAIL PROTECTED]
Sent: 21. oktober 2008 12:31
To: Struts Users Mailing List
Subject: Re: File Upload into database
Hi Thanks for your reply,
but when i submit my form it is not setting value for the upload
properties
name=basicStack/
http://cwiki.apache.org/WW/file-upload-interceptor.html
Thanks everyone.
On Tue, Oct 21, 2008 at 4:25 PM, Narayana S [EMAIL PROTECTED] wrote:
yes
s:form action=CreateIssue theme=qxhtml method=POST
enctype=multipart/form-data
this is the form tag...
On Tue, Oct 21
) %;
dojo.event.topic.publish('ListSelectionFilled');
});
Regards
Jan
Von: Narayana S
Gesendet: Di 07.10.2008 12:23
An: Struts Users Mailing List
Betreff: Re: Tree default expanded ??
Hello.
Please any one tell me a solution to this problem? can we do this
in struts? if not suggest me another
know. One thing to try might be to run the expansion script after
you're sure the tree widget has been rendered.
Jukka
On Wed, Oct 1, 2008 at 9:19 AM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
Thanks for your reply, i tried this code but it is returning
nodes.length as zero though i
any one who worked on tree control plz give some helping hand
On Fri, Sep 26, 2008 at 3:34 PM, Narayana S [EMAIL PROTECTED] wrote:
Hi
Is it possible to display a tree expanded by default?
I am using struts 2.1.2 dojo-plugin to create the tree structure. any one
used tree...plz
do about that other than
possibly throwing you own exception which could arguably be better in
performance that those operations.
Only a thought!
Narayana S wrote:
Hi
i missed my previous email about the same topic, one guy helped me
to
implement struts UI tag customization. i
Hi
Is it possible to display a tree expanded by default?
I am using struts 2.1.2 dojo-plugin to create the tree structure. any one
used tree...plz help me
Hi
i missed my previous email about the same topic, one guy helped me to
implement struts UI tag customization. i could extend the Bean and Tag
classes to implement the required behavior.
now based on some value from the database i want to stop rendering of the
control itself. means for
Hi,
i have a requirement of extending the struts 2 control tags like text
field, check box, select. i want to add a new attribute to the component,
which will allows to identify certain properties like visibility,
editability, label text from the database and render the component.
to
]wrote:
As far as I know, there is no way to set some nodes already extended
server-side. You can open the nodes you want client-side using javascript,
however.
On Fri, Sep 12, 2008 at 6:48 AM, Narayana S [EMAIL PROTECTED]
wrote:
Hi Jim,
Thanks for your reply, tree control
did any one see this email please help me
On Thu, Sep 11, 2008 at 10:17 AM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
now i am working with tree control, when i load the tree i want to load
it default extended and what ever the node id i pass that should be
activated. how i can achieve
have no idea what the answer to your question is, I have not used the
tree control at all -- but what have you tried? Can you share your code
with
us so that we can help point you in the right direction?)
jk
On Thu, Sep 11, 2008 at 5:08 AM, Narayana S [EMAIL PROTECTED]
wrote:
did any one
Hi,
now i am working with tree control, when i load the tree i want to load
it default extended and what ever the node id i pass that should be
activated. how i can achieve this using struts 2.1 version. and one more
thing is when i select a node in the jsp page itself i have to find out the
Hi,
i am working with tree control, recently i have upgraded to version
2.1. tree control is working fine for me after up-gradation.but i want to
retain the state of the tree between different requests. can any one give me
some example code using version 2.1 to implement dojo
Hi,
Can any one please reply to this email ?
On Thu, Sep 4, 2008 at 3:29 PM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
i am working with tree control, recently i have upgraded to version
2.1. tree control is working fine for me after up-gradation.but i want to
retain the state
Hi,
Issue is solved and migration is successful with respect to tree
control, i found solution in code pencil blog.
Have a nice time.
On Thu, Aug 21, 2008 at 6:44 PM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
i was using struts 2.0.11 and we know tree control is having some
in advance.
On Wed, Aug 20, 2008 at 4:00 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- On Wed, 8/20/08, Narayana S wrote:
i am right now working on struts 2 tree component, as we have some
issues with the events of this tree version, some where i found that
using struts pojo plug-in will solve
-in, for example dojo plugin can be found inside the
struts-2.1.2-lib.zip archive which can be downloaded from the link above.
And you must put the struts2-dojo-plugin-2.1.2.jar file under your lib (ie.
/WEB-INF/lib) folder.
**
Regards.
On Thu, Aug 21, 2008 at 10:27 AM, Narayana S [EMAIL PROTECTED
Hi,
i was using struts 2.0.11 and we know tree control is having some
issues in that version, so i want to migrate to struts 2.1. for that i
removed struts 2.0.11 jars and replaced them with 2.1 version files, and
also copied struts-dojo-plugin-2.1.2.jar. still i couldn't trace the tree
Hello,,,
Can any one please reply to this mail
On Thu, Aug 21, 2008 at 7:05 PM, Stephan Schröder [EMAIL PROTECTED]wrote:
some example i tried on struts-blank-2.1.2 it is working and recognizing
events and responding. am i missing any imp step in migration, is that
Hi,
i am right now working on struts 2 tree component, as we have some
issues with the events of this tree version, some where i found that using
struts pojo plug-in will solve this issue, but i couldnt find any url to
download the dojo plugin, can you please tell me how and where i can
Hi,
in my project i need to use a tree control, i have started looking
at tree tag of struts, but though i wrote some event handle, it is not at
all executing any events. he is the part of code...
head
titleShowcase - UI Tag Example - Tree Example (Static)/title
s:head theme=ajax
Did any one see this mail ? :(
On Thu, Aug 7, 2008 at 12:52 PM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
in my project i need to use a tree control, i have started looking
at tree tag of struts, but though i wrote some event handle, it is not at
all executing any events. he
According to html, browser will not send the disabled fields to the
server along with the request headers. So you've to send that value in
the form of a hidden value.
Regards,
ManiKanta
Narayana S wrote:
Hi,
i have a text field, with disabled property set to TRUE, and when
i
coming
Hi,
i have a text field, with disabled property set to TRUE, and when i
coming back to the same page with some error messages for the other fields,
it is missing the textfield value, it is not retaining like the non-disabled
fields
where i am missing?
plz help me..
Hi,
In my form I have employee number, name, and roles, here employee number
and name are text fields and roles is a checkboxlist, to generate the list
boxes i had a map called rolesMap in my action class, as well i have a set
called userRoles that specifies the items to be selected.
*jsp*
Hi,
Please discard this email. as my action mapping is wrong it is behaving
like this, now i could fix the issue.
Sorry.
On Thu, Jul 17, 2008 at 4:03 PM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
In my form I have employee number, name, and roles, here employee
number and name are text
Hi,
I am new to struts 2. my page is having a list which is dynamically
generated by action, so while calling the jsp page itself from a menu, I am
calling URL /mymodule1/EditEmployee.action, which is mapped to
EditEmplyeeAction.java. first time when i am generating the page I am
Thanks Dave and Lukasz,
i got the concept, and solved the issue.
Thank you very much.
On Tue, Jul 15, 2008 at 4:47 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- On Tue, 7/15/08, Narayana S [EMAIL PROTECTED] wrote:
I am new to struts 2. my page is having a list which
should come with two different background colors.
On Thu, Jul 10, 2008 at 3:18 PM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
as per my requirement, i have to apply two different colors to
alternate rows.can any one guide me how to extend theme to implement this?
Hi,
I have extended Simple theme (by modifying XHTML theme),
implemented the column span for every control as given below.
s:textfield label=Trucker name=truker size=70
s:param name=labelcolspan value=%{2} /
s:param name=inputcolspan value=%{6} /
/s:textfield
it is working
class
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: Narayana S [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 11:40 AM
any one please reply to this... i am kind of stucked
On Mon, Jul 14, 2008 at 11:49 AM, Narayana S [EMAIL PROTECTED] wrote:
Hi,
I have extended Simple theme (by modifying XHTML theme),
implemented the column span for every control as given below.
s:textfield label=Trucker name
Hi,
as per my requirement, i have to apply two different colors to
alternate rows.can any one guide me how to extend theme to implement this?
Hi Jeromy and Lukasz,
Thanks for your reply, the information provided by you is
really helpful. i could understand well about validation framework with your
explanation.
Thanks a lot.
On Mon, Jun 30, 2008 at 1:45 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
Narayana S wrote:
Hi
Hi,
as per my understanding, we can implement validations in struts 2 in the
following ways...
1. overriding validate() method in Action class
2. writing ActionClass-validation.xml file
3. using validator annotations
validate method implements declarative security,
PROTECTED] wrote:
--- On Fri, 6/27/08, Narayana S [EMAIL PROTECTED] wrote:
but here it introduced one more problem, with the xhtml
theme we get the field level validation error messages below
the individual control, but the simple theme is not giving any
validation error messages. to get
the s:label to work the same way, but
the s:textfield to generate no label (because the simple theme doesn't do
that). If that's what you're seeing, that's the correct behaviour. If you
are seeing something different, you need to describe exactly what that is.
L.
Narayana S wrote:
Hi
Hi Laurie / Dave,
can you please help on this?
-- Forwarded message --
From: Narayana S [EMAIL PROTECTED]
Date: Tue, Jun 24, 2008 at 3:12 PM
Subject: Re: Struts Themes Problem - help
To: Struts Users Mailing List user@struts.apache.org, [EMAIL PROTECTED]
Hi laurie
] wrote:
Narayana S wrote:
Hi Dave,
thanks for your reply, but when i use simple theme, my application is
not getting any values from resource bundle..
How is it failing? Note that the 'simple' theme generates a lot less
markup, and doesn't generate everything the other themes do. Are I18N
Hi,
i used struts 2 default theme to develop the pages. but recently i got
the CSS from the designer now i need to apply those styles to my project.
the problem is when i change theme to simple, it is not letting me to read
values from properties file(Resource bundle). how can i apply my
Hi,
i am applying simple theme for my struts 2 page, when the theme is
default it could read values from resource bundle, after i changed theme to
simple, it couldn't read the values from the resource bundle.
s:form action=SimpleAction method=post theme=simple
s:label
Hi,
i am new to struts 2, developed sample application that is using
resource bundle, i could configure application and labels are perfectly
displayed with the values retrived from the resource bundle. The problem is
here struts 2 is applying it's own styles to my page, i want to give my
Newton [EMAIL PROTECTED] wrote:
--- On Sun, 6/22/08, Narayana S [EMAIL PROTECTED] wrote:
The problem is here struts 2 is applying it's own styles to
my page, i want to give my own styles instead of using struts
default styles,
The easiest answer is to just supply your own CSS styles. You
.views.jsp.ui.TextFieldTag*, i want to add a new attribute
to the text field tag.
can you tell me, how i can implement this?
Thanks in advance.
On Thu, Jun 5, 2008 at 6:45 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- On Thu, 6/5/08, Narayana S [EMAIL PROTECTED] wrote:
in my application, i have
Hi,
in my application, i have a requirement of implementing field level
customization, like locking the field, hiding the field etc.. to achieve
this i am planning to extends struts-tags tag library functionality. can
any one give any idea of how to do this?
Thanks in advance.
Hi,
i am having one link in a page. when i click on the link, i am
going to the other page with some request level attribute. in the second
page i have one update button, when i press that button, after performing
some action and should return back to the 1st page along with same
54 matches
Mail list logo