Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: internationalization in struts + dynamic checkboxes

Kranti Parisa

2006-12-12

Replies:

Chris,

Thank you very much for the info.
I shall try this and get back to the forum on my findings.

i have been struggling with another issue, that is

Please suggest me some idea to achive the following
================
from DB getting empid,empname,salary..etc into a arraylist of beans. that
means each employee record is stored in a bean which is added to arraylist.

now i want to display the arraylist in jsp
the empid should be assigned to check box
so each row should contain checkboxe which is going to populate dynamically
and carry empid

so that when i select the checkbox and click on delete it should capture the
empid of that checkbox and delete.

thanks in advance!

===============




On 12/13/06, Christopher Schultz <chris@(protected):
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kranti,
>
> Kranti Parisa wrote:
> > for this i did the following
> >
> > 1) WEB-INF/classes/resources folder defined all the files
> > example : application.properties, application_fr.properties ..etc
>
> [snip]
>
> > 3) in struts-config.xml file defined the following
> > <message-resources parameter="resources.application"/>
>
> Putting your properties file into a subdirectory may require you to use
> a slash (/) instead of a dot (.) in the name of the bundle. So, try this
> instead:
>
> <message-resources parameter="resources/application" />
>
> and see if that works.
>
> If it doesn't work, try moving your properties file into WEB-INF/classes
> and removing the confusion of the added subdirectory. Once you get
> everything working, you can experiment with changing one thing at a time
> to move your files to your preferred location.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFfwtu9CaO5/Lv0PARAgF0AKCAVIcDZOoDxusV3oPkgHgRCodXYwCgi8Qg
> RnAZHWDuz407MverzFQEVeg=
> =Qie8
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


--
------------------
Best Regards
Kranti Kiran Kumar Parisa
Mobile: +91 - 9849 - 625 - 625         +91 - 9391 - 438 - 738
©2008 junlu.com - Jax Systems, LLC, U.S.A.