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
d
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 reques
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.
.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:
> >
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 e
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 own
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.
---
This is how i am creating the form. am i missing any thing? please help
given ( like ) the label is not rendered!!
can you help me on solving this >?
On Mon, Jun 23, 2008 at 11:18 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Narayana S wrote:
>
>> Hi Dave,
>>
>> thanks for your reply, but when i use simple theme, my application
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.
---
This is how i am creating the form. am i missing any thing? please help
Hi,
please reply, i was kind of stuck because of this issue,.
On Wed, Jun 25, 2008 at 9:20 AM, Narayana S <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i am applying simple theme for my struts 2 page, when the theme is
> default it could read values from resource bundl
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 , [EMAIL PROTECTED]
Hi
o 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 laur
, 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 message
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, ActionClass-valication.xml
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:
> Narayan
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,
Thanks for your reply, but i am talking about UI screen, not a
table display. in the screen itself for every control i want to apply an
alternate back ground color. for example
these two should come with two different background colors.
On Thu, Jul 10, 2008 at 3:18 PM, Narayana
Hi,
I have extended Simple theme (by modifying XHTML theme),
implemented the column span for every control as given below.
it is working fine.
Now to pass these parameters directly within the textfield tag, i have
extended org.apache.struts2.views.jsp.ui.TextFieldTag and cr
> 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
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 cont
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
generat
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 i
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
> n
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..
:42 PM
> To: Struts Users Mailing List
> Subject: Re: disabling textfieldproblem
>
> 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,
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...
Showcase - UI Tag Example - Tree Example (Static)
*
function treeNodeSelected(
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 execut
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
is recognising struts-tags but not struts-dogo-tags
thanks 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
> As to dojo plug-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,
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
nod
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,
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 co
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 functionality
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 wa
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
pa
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
>
e most of us woke up. :-)
> (I 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:0
lient-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 default shows only root
> > node, but
> > 1. i want it to be shown extended
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 imple
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 ex
, doing a bunch of unneeded
> comparison). But I think there's little you could 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 wrot
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
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
as I know, it is not possible to expand tree widget server-side.
> Client-side, javascript can be used to open the tree, like so:var nodes =
> dojo.widget.manager.getWidgetsByType('struts:StrutsTreeNode');
> for( var i=0; i < nodes.length; i++){
> nodes[i].expand();
>
and();
>node.markSelected();
>document.DocumentListSelection.NodeID.value = <%=
> request.getSession().getAttribute("PreselectedCategory") %>;
>dojo.event.topic.publish('ListSelectionFilled');
> });
> Regards
> Jan
>
>
>
> Von: Narayana S
&
; I don't 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 rep
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 lin
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
-- in action
private String uploadContentType;
private String uploadFileName;
private File upload;
and getter setters for these properties. i am
yes
this is the form tag...
On Tue, Oct 21, 2008 at 4:25 PM, Ketil Holden <[EMAIL PROTECTED]>wrote:
> Have you set enctype on the form element?
>
> Like this:
>
> ??
>
>
> -Original Message-
> From: Narayana S [mailto:[EMAIL PROTECTED]
> Sent:
-interceptor.html
Thanks everyone.
On Tue, Oct 21, 2008 at 4:25 PM, Narayana S <[EMAIL PROTECTED]> wrote:
> yes
>
> enctype="multipart/form-data">
>
> this is the form tag...
>
>
> On Tue, Oct 21, 2008 at 4:25 PM, Ketil Holden <[EMAIL PROTECTED]>wro
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 h
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.
let
> > session".
> > Just use the session from ActionContext, don't use the servlet's.
> >
> > protected Map getSession() {
> > return ActionContext.getContext().getSession();//from
> > ActionContext
> > here!
> > }
> >
> >
Hi,
can any one please let me know where can i download struts 2 REST
showcase examples zip?
Thanks in advance.
57 matches
Mail list logo