Hi All,
Need quick help. I need to display label with tool tip.
But not sure, if strust 1.2 has any label UI, which can be used.
Appreciate your help.
Thanks,
Pankaj
tion
> libs.
>
> DisplayTag is open-source, BTW.
>
> Dave
> On May 11, 2011 7:48 AM, "Pankaj Gupta" wrote:
> > Hi,
> >
> > But I am looking for Pagination in Struts framework specifically.
> >
> > Thanks,
> > Pankaj
> >
&g
page size for that
>
> On Wed, May 11, 2011 at 3:25 PM, Pankaj Gupta >wrote:
>
> > Hi All,
> >
> > Is there any way Jaakata /SUN library or any api in struts which can be
> > used
> > to
> > implement pagination.
> >
> >
> > I su
Hi All,
Is there any way Jaakata /SUN library or any api in struts which can be used
to
implement pagination.
I suggested Display tag and Page Loader, but since they are not open source,
not ssociated with Jakarta/Sun, user is not agreeging to it?
Any suggestions would be appreciated?
Thanks
Hi,
I am using struts 1.3. I have kept jsp folder parallel to WEB-INF folder.
Inside jsp pages I have images folder, where I am keeping the images
referred by jsp.
In jsp I giving src of images as as : "images/image-1".
So when I access the jsp directly, then I can see the images.. But if try
Hey,
I tried it out
But it didn't worked.
I tried
name="users(${u_rowNum})
.access_lvl_types_id"/>
But this was also of not much help. Sic eit didn't selected a radio button
by default
I want by default a value of radio button to be pre selected when a jsp page
comes up.
Hey,
I tried it out
But it didn't worked.
I tried
name="users(${u_rowNum}).access_lvl_types_id"/>
But this was also of not much help. Sic eit didn't selected a radio button
by default
I want by default a value of radio button to be pre selected when a jsp page
comes up.
I
tions Developer
> Nuvox Communications
>
>
>
> > From: Pankaj Gupta <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> > Date: Wed, 14 Nov 2007 10:42:20 +0530
> > To:
> > Subject: How to preselect a radio button in Struts 2
> >
> > Hi,
>
Hi,
I am working on Struts 2 and I want to preselect a radio button.
If somebody can let me know how to go about it.
Regards,
Pankaj
Yes I want to style the actual checkbox and not just the text.
regards,
Pankaj
On 4/11/07, James Mitchell <[EMAIL PROTECTED]> wrote:
Bolded text
Or, did you mean to style the actual checkbox?
--
James Mitchell
On Apr 11, 2007, at 4:37 AM, Pankaj Gupta wrote:
> Hi,
>
Hi,
I am using html:checkbox option to display a check box in disabled mode.
This causes the checkbox to be greyed out. Can somebody please tell me how
can I show it in bold font and disabled at the same time.
regards,
Pankaj
ct
Re: Issue: using logic:iterate to display rows and html:button to
distinguish one of them
What do you get when you try it?
(*Chris*)
On 11/7/06, Pankaj Gupta <[EMAIL PROTECTED]> wrote:
>
> I am facing the same problem. I am trying to use the onclick approach
but
> not a
I am facing the same problem. I am trying to use the onclick approach but
not able to make it work. The parameter I pass to the javascript method does
not work. The problem is that the java parameter is not resolved to a value
here.
regards,
Pankaj
On 10/26/06, Chris Pratt <[EMAIL PROTECTED]>
Hi All,
I am unable to pass a java parameter to a javascript method. Can you
please tell whats going wrong. Here is my code:
regards,
Pankaj
Hi,
I want to do client side validation for file upload such that if the file
does not exist or the field is left blank it should show an error. Please
suggest how I can do that.
regards,
Pankaj
den field in JSP
Pankaj,
You shouldn't be setting both the value and the property attributes of
html:hidden
-Richard
Pankaj Gupta wrote:
> Hi,
>
> In a JSP, I am iterating over a collection and want to set a hidden
field
> with the value of one of the properties of the obj
Hi,
In a JSP, I am iterating over a collection and want to set a hidden field
with the value of one of the properties of the objects contained in
hashtable. I am using the following code for that. Can somebody suggest
what is going wrong.
regards,
Pankaj
hi,
please tell me how can i validate an ip address. Validation needs to eb both
client side as well server side.
regards
hi,
i have an array object in my Action Form which i display on the jsp page
using iterate. I want to validate those fields using struts validator
framework as "required field" & "integer". What should i write in
validation.xml to achieve the same?
regards,
Bhasker
Hi,
Can anyone suggest a good Struts book covering advanced Struts topics and
covering Struts 1.2.
regards,
Pankaj
Hi All,
I want to limit the number of user sessions to 25. Is it possible to do
it directly through tomcat configurations? If yes, then are the sessions
limitations per applications deployed or on the whole?
regards,
Pankaj
Hi All,
I am facing some problems with tiles usage. Can you please help.
1.) I have 3 different JSP's displayed as 3 tile components. Is it
possible that the three JSPs be refreshed independently of others?
2.) If this is not possible what is the alternative approach.
regards,
Pankaj
--
wrote:
why not use CSS?
On 7/17/06, Pankaj Gupta <[EMAIL PROTECTED]> wrote:
Hi All,
I want to create a custom tag which wraps the plain html font tag in
such a way that it fetches the color of the font to be displayed on a
pre-configured severity level. Can anyone pl suggest how can I d
Hi All,
I want to create a custom tag which wraps the plain html font tag in
such a way that it fetches the color of the font to be displayed on a
pre-configured severity level. Can anyone pl suggest how can I do that.
regards,
Pankaj
-
Hi All,
I am passing parameters to my JSP like:
contextRelative="false"/>
and reading the parameter using logic:present tag which is not working:
< bean:message key = "activeTitle"/>
However if I do the same thing using scriptlets:
<% if(request.getParameter("isActive") != null
n action to specifically display
the jsp file and use a redirect to that action.
Keep in mind I'm no expert and could be completely wrong about this one.
James
Pankaj Gupta wrote:
> Hi All,
>
> I have specified redirect="true" in my action forwards but tomcat
> fails
Hi All,
I have specified redirect="true" in my action forwards but tomcat fails
to find the jsp. I have kept all my jsp's in WEB-INF/jsp folder so as to
avoid direct jsp access. Please suggest how can I make redirect to work.
regards,
Pankaj
--
Yes
Samere, Adam J wrote:
Did you set the input attribute on your action mapping in
struts-config.xml ?
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 8:55 AM
To: Struts Users Mailing List
Subject: Re: Server side validation not
Yes I did.
Krishna, Hari wrote:
did u put properly in jsp
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 6:13 PM
To: Struts Users Mailing List
Subject: Server side validation not working
Hi All,
I am using server side validation
Hi All,
I am using server side validation in my application. The problem is that
when validate() returns an ActionErrors object, the page displayed
becomes blank. I have no clue as to why this is happening. There is no
javascript error or exception thrown.
Pl Help.
regards,
Pankaj
Hi All,
I want to use same JSP for reading and editing - meaning that if I pass
an attribute like read=true all text fields should be disabled. How can
I do it? How can I specify a parameter in my forward like
contextRelative="false"/>
contextRelative="false"/>
regards,
Pankaj
-
Hi All,
I am facing a strange problem and have no clue about it. As soon as I
invoke my application, instead of the requested page I see a lot of
weired code like:
* @param form The form validation is taking place on. */ function
validateFloatRange(form) { var isValid = true; var focusField
-- Forwarded message --
From: Pankaj Gupta <[EMAIL PROTECTED]>
Date: Jun 28, 2006 11:03 AM
Subject: [OT] How to specify classpath for an application
To: user@struts.apache.org
Hi All,
I want to specify a config folder in my classpath which will not be part of
my war fil
}
if (result == false) {
errors.add(field.getKey(),
Resources.getActionMessage(validator, request, va, field));
}
return result;
}
Maybe it's not the best you can found on the web! Use it at your own risk.
Pankaj Gupta wrote:
Is there a validati
Hi All,
I want to specify a config folder in my classpath which will not be part of
my war file. Can you please suggest how can I do that? I want to place my
config files outside the war file for anyone to modify it.
regards,
Pankaj
Hi All,
Is there any way to provide the statistics features provided by the
javax.management.j2ee.statistics package in struts?
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Hi,
Can you please suggest how can I display key and value(both) from a
hashtable in my jsp. Currently I am using the following approach but it
prints only the value and not the key.
name="match" property="value"/>
regards,
Pankaj
--
that would be difficult to do with the kind of design that we have. I
need it in JSP only. If you can suggest a way of making a custom tag for
it, it would be great.
Lance Semmens wrote:
Can you do this in you action then have an isEnabled() method on your
component?
Pankaj Gupta wrote:
Hi
Hi All,
I want to call a method of an object in session scope that would check
whether the component I wish to display on my JSP should be enabled or
disabled. Can you please suggest how I can do that without using java
scriptlets in my JSP.
regards,
Pankaj
-
Use ActionMessages in place of ActionErrors.
See:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
regards,
Pankaj
[EMAIL PROTECTED] wrote:
Hi,
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
Act
I am using html:submit for creating 4 sumit buttons. The requirement is to
make them of same size. can anyone suggest how to do that?
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
I am trying to display error message in JSp page using the following:
The code in my validate method is:
errors.add("invalidDate", new ActionMessage( endDate + " must be greater
than " + startDate ));
return errors;
Any clue whats wrong?
regards,
Pankaj
Hi,
I am facing a problem with prepoulating the form. I am using following code
to prepopulate the form in my Action class:
Vector eventTypes = new Vector();
eventTypes.add(new LabelValueBean("StartFailure", "Value 0"));
eventTypes.add(new LabelValueBean("LowMemory", "Value 1"));
request.setAttr
Hi All,
Can some one please suggest that how can I display the serial no. in my
table using the index of logic:iterate tag.
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
Hi,
I am using Myeclipse for building my struts application. The problem
that I am facing is that when I try creating a Striuts 1.2 action, it
gives an error that the project is 1.1 compatible and cannot allow 1.2
action class. Can you please suggest how can I change the project to 1.2
compli
Hi All,
I am using the following i my struts-config. The problem is that when
the validations fail the application is not able to forward to the input
form as the contextRelative param is not false for it(I have no idea how
it can be done). Please suggest what should be done.
type=
Is there a validation-rule for time(hh:mm:ss format) as it exists for
date in struts validator framework? If not, has anyone implemented it? I
dont want to reinvent the wheel.
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL P
I need to call a method from the action class that periodically
refreshes my page in struts application automatically. Can someone
please suggest how to do it?
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
8, @: [EMAIL PROTECTED]
Linpro AS - Leading on LinuxTel: +47 21 54 41 00/02
Vitaminveien 1AFax: +47 21 54 41 01
PB 4 Grefsen, 0409 Oslo WWW: http://www.linpro.no/
Pankaj Gupta wrote:
How can I specify a default value for a text field and also read it
from application resources. I do
How can I specify a default value for a text field and also read it from
application resources. I dont want to read it from form bean though.
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi,
Please suggest how can I specify which value(s) to be displayed as
selected by default in html:select tag, when specified through
collection attribute.
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Hi,
Can anyone please suggest how can I access
ApplicationResources.properties from my Action class. Specifically I
want to read the labels for my LabelValueBean object from the
application resources.
regards,
Pankaj
-
T
If a user copies the URL displayed in the browser after login, and
pastes it in a new browser window, his page gets displayed. How can I
prevent such a behavior.
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Can you please suggest some good plugin for eclipse for me.
regards,
Pankaj
Andy Dailey wrote:
I have been using struts for quite a while now (4 years) and am
wondering if there are any decent drag and drop capabilities within any
of the current IDE's that allow easy development of applications
Hi,
I wish to display some components like buttons and links conditionally
meaning if the user is a basic operator, he should not see a submit
button and a link on his page otherwise if a user is an advanced
operator he should be allowed to see it. Can somebody please suggest how
should I do it.
, since the field is not
hidden from the user (he/she can see it by viewing the page source)
and it is easily spoofed. Not all of the requests you get need to come
from your forms, anyone with telnet can send you hand-crafted GET/POST
requests.
Inactive hide details for Pankaj Gupta <[EM
Hi,
I want to implement a feature in struts wherein nobody can open a page
directly by copying the url and pasting it in a new browser window.i.e.
any page of the application can only be reached through login page. If
the user pastes the url in the browser, he is redirected to the login
page.
tag to
determine if the user is in some role.
-- Paul
--- Pankaj Gupta <[EMAIL PROTECTED]> wrote:
Hi All,
I am new to struts and have a basic question. I am making an application
and I want that all the pages should be accessed through the menu items
only.i.e. if a user copies the
Hi All,
I am new to struts and have a basic question. I am making an application
and I want that all the pages should be accessed through the menu items
only.i.e. if a user copies the url in the browser the page should not
get loaded. How can I enforce such a security?
Another question is ho
59 matches
Mail list logo