While I prefer displaytag, there is also valuelist:
http://valuelist.sourceforge.net
Regards,
David
-Original Message-
From: Lixin Chu [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 2:26 AM
To: Struts Users Mailing List
Subject: Re: about pagination
struts itself does not
struts itself does not (need to) handle pagination.
for displaytag, you can check
http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html
Hi,
Try setting the attribue useLocalEncoding of to true or false.
sometimes it would help.
Thanks,
Nuwan
- Original Message -
From: "Venkata Phani Kumar" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, September 21, 2006 5:14 AM
Subject: parameter value is not
That's a standard URLEncoding conversion. There are very few
non-alphanumeric characters that are allowed in a URL and that's the
properly encoded URL. If you use it as is and check the value of the email
parameter (with request.getParameter("email")) in the action mapped to
edituser.do, you sho
YOU CANT CHECK B'COZ JAVASCRIPT DOSENT ALLOW U TO READ THE FILE ON DISC.
You can do
1.
//it causes that no user can enter data manually, rather he has to
select using brows button
2. check in javascript wheather that field is empty or not
-Original Message-
From: Abhimanyu Koul [mailto:[
Hi Brainne,
do you have any idea about these ready made library for pagination.
beacuase i also require the same.
thnx,
Venkata phanikumar.g
- Original Message -
From: "Kim Brianne Go" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, September 21, 2006 6:35 AM
Subject
hi,
I am trying to display some hyper links which links to same action called
'edituser.do'.
adding to that i have pass the user email id as parameters.
To achieve that i am using following code.
every thing is fine but the link is looking like this
/edituser.do?email=mail%40mail.com
Infact
hai,
I want to display form values. In this value i have one imagewhen i am click
the button i want to open new browser window.In this window i wanti.
I want to display all values with images.How to acheive this.
thanks and regards
gomes
Laurie, absolutely, use the required validation. I do that for my
applications. Since he was specifically talking about length of an
array, there is no such validation; but as long as a valid is present,
it was submitted.
Laurie Harper wrote:
Can't you just use the 'required' validation rule?
Yamilka,
You might want to try using a ready made library for this like display
tag or extreme components, so you don't have to reinvent the wheel.
Brian
On 9/21/06, yamilka vallejo ramos <[EMAIL PROTECTED]> wrote:
hi, does anybody know how to work with Struts 1.1 and pagination???
---
You use the same form in both actions, and you chain them without a
redirect, so the request parameters are applied to your form again
when you forward to PrepareAction.
Struts repopulates your form with request parameters, so if the
parameter is mentioned in the request and it is emply, Struts w
Can't you just use the 'required' validation rule? Or possibly a
validwhen with something like *this* != null and *tihs*.length >= 1?
Admittedly I haven't tried either, though.
L.
Paul Benedict wrote:
I've always wanted this feature myself. However, no such validation
exists.. but if you writ
The problem is a little more fundamental than that :-) the onclick
attribute would need to be specified as
onclick="<%="hilightButton2('"+myval+"')"%>"
or something equally ganky.
L.
Paul Benedict wrote:
myval must be a server side Java variable. Do you have this value
declared and with a va
Well, without knowing what the various beans are or the exact error
message, it's hard to guess what the problem may be... Is the bean
referenced by requestScope[param.formName] a dyna form by any chance? In
that case you would want something like
${requestScope[param.formName].map.uiCtrlLab
Thanks for your responses.
can someone help me with this please. Thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: form-property value set in dispatch action is lost
Date: Tue, 19 Sep 2006 16:53:57 -0400
sorry, it was a
On 9/20/06, yamilka vallejo ramos <[EMAIL PROTECTED]> wrote:
please did somebody ever test:
In this example, the property "value", of the beans in orglist are orgIds
and the "labelProperty" property is the name to display. When you are in
your action class the first time, the orgId st
hi, does anybody know how to work with Struts 1.1 and pagination???
I would use a tile. The tile controller can retrieve information from
the request and add it to a list kept in session scope. The tile,
itself, can display that list as breadcrumbs.
> -Original Message-
> From: Darren Hall [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 20, 2006
Chris Pratt wrote:
That's basically what the Struts bean: taglib and JSTL c: (core) taglib's
are for. Give them a look.
(*Chris*)
c:set looks like it will work. I figured bean:... would have all I
need, but IIRC some tags were deprecated because of some of the jsp:XXX
tags.
Thanks,
Scott
Struts 1.2.9
Tomcat 5.0.28
Java 1.4.2
Basically, if the session times out or tomcat is restarted (I think
re-start of the web app would probably do it) and sessions aren't being
serialized (This happens when they are too I think) AND the app is left
on a page with a form containing an indexed pro
That's basically what the Struts bean: taglib and JSTL c: (core) taglib's
are for. Give them a look.
(*Chris*)
On 9/20/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
Is there a Struts (1.3.5) alternative to the tag?
works fine when it's close to the tag,
but when it's farther down the page,
You may even try and do something more dynamic, like use Ajax calls
upon page loads, and that would keep things clean.
Just a thought ...
Scott
On 9/20/06, Darren Hall <[EMAIL PROTECTED]> wrote:
Thanks Leon.
I've already started implementing an action hierarchy.
Before I started down this r
Thanks Leon.
I've already started implementing an action hierarchy.
Before I started down this road, I just wanted to make sure I wasn't doing
more work than I needed to. =)
-D
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Is there a Struts (1.3.5) alternative to the tag?
works fine when it's close to the tag,
but when it's farther down the page, Oracle's JSP translator might put
the setProperty translation in a separate method than the bean
declaration in the output .java file. Kind of like this (simplified
I don't know about a preferred way, but as I had to implement the
breadcrumbs, I had too choices, do it in the base action (which fits
perfectly for this kind of processing) or, if you don't have a
baseaction in your action hierarchy, use a servlet filter.
regards
Leon
On 9/20/06, Darren Hall <[
Thanks for the response but I had tried that and it does not work.
${requestScope[param.formName].uiCtrlLabel[entry.key]}
gives and error of "unable to find a value for uiCtrlLabel in object of
class "blank.blank..etc..formname" using operator '.'"
Laurie Harper wrote:
>
> Bob wrote:
>> I have
I would recommend Series5 as it runs Linux
http://www-03.ibm.com/servers/eserver/iseries/software/os/
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to w
Hello,
I have entered a new environment where the hardware is a iSeries 5
application server. I am trying to figure out an entry point to begin
creating a webapp within this environment. Since the db2 database is
integrated and there are apparently other issues, I was hoping someone
may have expe
My lack of Struts knowledge is showing here, but -
I need to move data from my action object to my jsp through some sort of
value object (probably a bean). For example, my web application will use
breadcrumbs at the top of the body of nearly every page. This information
will need to be updated on
Hi,
The codeczar team is pleased to announce the 1.0-beta release of the
i18n component. i18n-admin is a web interface to manage
internationalized content within your struts-based web applications.
This release provides the following improvements over 1.0-alpha:
* language usability enhancem
please did somebody ever test:
In this example, the property "value", of the beans in orglist are orgIds
and the "labelProperty" property is the name to display. When you are in
your action class the first time, the orgId string property of your form
bean will be null or blank. In subseq
Martin Kindler wrote:
Thank you Balwinder and Patil!
For all those who are as stupid as I am the solution is very simple:
onsubmit='open("", "outputWindow", "menubar=false, toolbar=false");'
target="outputWindow">
Martin
-Ursprüngliche Nachricht-
Von: Balwinder [mailto
Thank you Balwinder and Patil!
For all those who are as stupid as I am the solution is very simple:
Martin
> -Ursprüngliche Nachricht-
> Von: Balwinder [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 20. September 2006 14:04
> An: Struts Users Mailing List
> Betreff: Re: AW: Action ou
For that u have to go for manually in javascript
-Original Message-
From: Martin Kindler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 4:38 PM
To: 'Struts Users Mailing List'
Subject: Action output in new window without menu/toolbar
Hi
I am using Struts 1.2.x and try to
Martin Kindler wrote:
Thanks,
but how do I use it with a form?
I have in my html-code
Martin
-Ursprüngliche Nachricht-
Von: Balwinder [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 20. September 2006 13:17
An: Struts Users Mailing List
Betreff: Re: Action output in new window wi
Thanks,
but how do I use it with a form?
I have in my html-code
Martin
> -Ursprüngliche Nachricht-
> Von: Balwinder [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 20. September 2006 13:17
> An: Struts Users Mailing List
> Betreff: Re: Action output in new window without menu/toolbar
>
Martin Kindler wrote:
Hi
I am using Struts 1.2.x and try to achieve the following:
on a page I have a form whose action calls a Struts action. The result shall
be displayed in a new window.
No problem so far. But:
The new window should have no menu- and toolbar.
Is this possible? and if, how?
Hi
I am using Struts 1.2.x and try to achieve the following:
on a page I have a form whose action calls a Struts action. The result shall
be displayed in a new window.
No problem so far. But:
The new window should have no menu- and toolbar.
Is this possible? and if, how?
Martin
---
On 9/20/06, Raghuveer <[EMAIL PROTECTED]> wrote:
/***
***
* Function name : checkFile
* Description : This function is to stop the user from entering a
file
name
* Input :
* Output:
**
/***
***
* Function name : checkFile
* Description : This function is to stop the user from entering a file
name
* Input :
* Output:
THANK YOU A LOT FOR THE INPUT!
YOU HELPED ME A LOT
Starki
-- Initial Header ---
>From : "Li" [EMAIL PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc :
Date : Wed, 20 Sep 2006 16:44:46 +0800
Subject : Re: Getting the server-port fr
You can :
1. write your own servlet request processor by inheritating existed one.
2. you can write a listener
3. you can write a intercepter (e.g. can be used before processing all post
requests)
4. you can write a tag handler
(this one is light weight solution, but on suitable if visitors hack
THANK YOU!
Now I have in mind to make a filter, with
a static boolean,
that enjures the just the very first request
is handled.
Is this a good idea?
What is the best possbility to handle just the first request
in a web-application?
THANKS A LOT
STARKI
> you can set init parameters in your we
you can set init parameters in your web.xml, or a helper class (a bean) that
will be loaded to your session when application started.
On 9/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I guess so...
If you are using specific vendor products like BEA WebLogic, you can use
the Startup Clas
I guess so...
If you are using specific vendor products like BEA WebLogic, you can use
the Startup Classes to do the job for you.
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61-0411-354
Thank you for your answer
I'm trying to write the
Servername and the Port of the application
in the database at the earliest moment
possible, so what would you recommend?
Is the ContextListener the wrong choice?
Nice greetings Starki
-- Initial Header ---
>From : [EMAIL PR
You might pick one of the options:
1. Have some Init Params in web.xml to store the server name and port.
Inside your contextInitialized() method, use
ServletContextEvent.getServletContext().getInitParameter()
to access them.
2. User Servlet Container Vendor APIs to extract the infor
HI!
No I want to write the server name and port
where the applikation is running
in the
Database within the ContextInitialized Event!
Is this possible somehow?
Nice greetings
-- Initial Header ---
>From : "Li" [EMAIL PROTECTED]
To : "Struts Users Mailing List" us
Hi!
Please tell me how can i use javascript to check that the user has not selected
any file in the html:file tag.
Koul
r u trying to do some test case?
On 9/20/06, starki78 <[EMAIL PROTECTED]> wrote:
HI!
I've a Servlet implementing ServletContextListener
and in the contextInitialized I needed the server-name
and the port of the server.
So I needed to simulate a request.
Is this possible somehow?
Thanks for an
HI!
I've a Servlet implementing ServletContextListener
and in the contextInitialized I needed the server-name
and the port of the server.
So I needed to simulate a request.
Is this possible somehow?
Thanks for any help!
Starki
--
Tutti i libri
Hi everyone,
I have a multi-row edit page with linked dropdowns which I render using
logic:interate (using indexed properties)
The struts html tags documentation mentions about needing the reset trick
for the html:select tag.
I'm a bit stuck how this java code should be applied in the reset me
52 matches
Mail list logo