Manage JSP View (READ-ONLY, READ-WRITE) with FormView

2006-01-28 Thread Angelo zerr
FormView Web Site at http://formview.sourceforge.net/ and download JAR at http://sourceforge.net/projects/formview. I hope that you will be interested by FormView project. See you later. Angelo ZERR

Re: Validation Issue

2006-01-29 Thread Angelo zerr
Hi, Name of form into validation.xml is the path of your Action and not the name of your Action : Declare in your AplicationResources (see example into validator-rules.xml) errors.required={0} is required. privacyPrefForm.strFirstName=First name Regards Angelo 2006/1/29, Karthik

Re: Saving a HTML screen data as a Word doc.

2006-02-07 Thread Angelo zerr
Hi, If you want generate RTF Word with Java, you could too use RTFTemplate see at http://rtftemplate.sourceforge.net/index.html. With RTFTemplate, you design your RTF model with MS Word and after you can merge your model with context JAVA object . Regards Angelo 2006/2/7, Max Cooper <[EMAIL PROTE

Re: disabled form fields

2006-02-08 Thread Angelo zerr
Hi, yes it's normal. HTML input which are disabled can be not post by form. This behaviour is not because of Struts , with anywhere technologie (PHP, ...), HTML inputs which are disabled can be not post by form. See HTML specification at http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12.1

Re: Some inputs are welcome ****

2006-02-28 Thread Angelo zerr
Hi thomas, which component do you use for generate your tabs? Do you use specific taglib, like struts-layout tabs or ditchnet tabs, or do you develop your own taglib ? Perhaps, your tabs can support EL tags. If so you could do For information, I'm developping JSPTabControl component project. Bu

Re: Scriptlets cannot use inside the tabs, html:link problem

2006-03-07 Thread Angelo zerr
Hi, you can't use scriplet whith taglib. The aim of taglib is not use scriptlet. So, for your problem, tou can use EL syntax. With EL syntax, you wille able to do But, if you want use EL syntax, you must use taglib of Struts EL see http://struts.apache.org/struts-el/index.html regards Angelo

Re: Populate Collection values

2006-03-27 Thread Angelo zerr
Hello homas, To avoid this problem, I use String type in my getter/setter in my Struts form for any type (Integer, Date,...). So, you could do that : public class User { String age; public String getAge(){ return age; } public void setAge(String age){ this.age=age; } } Af

Re: Struts generate code

2009-03-03 Thread Angelo zerr
Hi, If you use Eclipse, you can see Akrogen which is Eclipse plugin to describe your wizard with XML (XUL) and Javascript and link it to a template (XSL, Freemarker, Velocity...) Akrogen works wit catalog (folder which contains, XUL wiizard, templates..). You can

{ANNONCE] Akrogen eclipse plugin & Struts1.x

2007-05-24 Thread Angelo zerr
Hello, I mail you to announce there is new distribution of Akrogen Eclipse plugin. *Akrogen* is code generation Eclipse *Plugin*(version *3.2.**) oriented *components*. With Akrogen you can describe your *Eclipse Wizards pages* with XML/XUL

Re: Making Fields editable depending on role

2007-06-22 Thread Angelo zerr
Hi, I think you can be interested with FormView http://formview.sourceforge.net/which is taglib to manage state of your fields (hidden, visible,...). With FormView you can manage fields switch user role http://formview.sourceforge.net/roles.html Regards Angelo 2007/6/22, Archer <[EMAIL PROTECTED

Re: Making Fields editable depending on role

2007-06-25 Thread Angelo zerr
ything else) depending upon the role of the user ? I've browsed through the doc and it doesn't seem clear. Cheers, Pierre 2007/6/24, Archer <[EMAIL PROTECTED]>: > > Thank you very much for your help... > > Regards > Viplav Kallepu > > On 6/22/07, Angelo zerr &l

Re: How to make tabs in JSP

2007-06-26 Thread Angelo zerr
Hi, perhaps you could be interest with JSPTabControl http://jsptabcontrol.sourceforge.net/ which generate tabs with ul/li HTML. Regards Angelo 2007/6/26, Kavita Mehta <[EMAIL PROTECTED]>: Hi, I want to code a JSP page with tabs . Does struts support an easy way of doing the same. Any link to t

Re: How to make tabs in JSP

2007-06-26 Thread Angelo zerr
If you are using Struts2.x, you should use tabbedpanel as Adrian have you suggested. 2007/6/26, Adrian Ost <[EMAIL PROTECTED]>: Angelo zerr schrieb: > Hi, > perhaps you could be interest with JSPTabControl > http://jsptabcontrol.sourceforge.net/ > which generate ta

Re: How to make tabs in JSP

2007-06-27 Thread Angelo zerr
6528 [EMAIL PROTECTED] site24x7.com On 6/27/07, Kavita Mehta <[EMAIL PROTECTED]> wrote: > > I'm using Struts 1.2 ... > wd search more on JSPTabControl as you previously suggested. > > thanks > > > > "Angelo zerr" <[EMAIL PROTECTED]> >

Re: How to make tabs in JSP

2007-06-29 Thread Angelo zerr
Hi thank you Wong dor your response. You have right. So in your url you must add parameter tabPageInputHiddenName into url like this : /status.do.do?tabPageInputHiddenName_PERSONNE_TABCONTROL=ADRESS_TABPAGE I have explain it at http://jsptabcontrol.sourceforge.net/user-guide.html#How%20manage%20

Re: How to make tabs in JSP

2007-07-24 Thread Angelo zerr
height is the parameter of jsptabcontrol:tabControl and not jsptabcontrol:tabPage thanks "Angelo zerr" <[EMAIL PROTECTED]> 06/29/2007 06:13 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: How to make ta

Re: tree viewer help please!

2007-07-30 Thread Angelo zerr
Hi, if you use struts2.x, you should use s:tree I think or otherwise you could use http://jscontrolstags.sourceforge.net/controls/treeview/treeview.html You have demo at http://jscontrolstags.sourceforge.net/demo/treeview/treeview.html This tree is based on scriptaculous (to manage AJAX, editable

Re: Serious need

2007-08-16 Thread Angelo zerr
Hi, you can too download Eclipse (Europa) distribution "*Eclipse IDE for Java EE Developers * " into http://www.eclipse.org/downloads/. There is several plu

Re: tabs (struts + tiles) How to do it ??

2007-08-26 Thread Angelo zerr
Hi robin tabs of JSPTabcontrol is customized with css. To customize it you must undersand HTML generated (see http://jsptabcontrol.sourceforge.net/developer-guide.html) and know css. What is your problem with css? Regards Angelo 2007/8/25, robinbajaj <[EMAIL PROTECTED]>: > > > This thread is ver

Re: Darg n Drop in struts

2007-09-11 Thread Angelo zerr
Hi I don't think it exists taglib which generate the widget that you want. I answer you to use Javascript framework like DOJO or Scriptaculous to manage Drag/Drop. JSControlsTags is based on Scriptaculous. Into Scriptaculous you have Sortable widget (wich is used too into JSControlsTags) and it ca

Re: Easier/simplier way to do read-only versions of pages?

2007-09-14 Thread Angelo zerr
Hi, You could use Formview Taglib. See at http://formview.sourceforge.net/ With Formview you can manage any fields mode (READONLY, READWRITE, INVISIBLE...) on server side. With Formview you must not use javascript or not use a lot of logic:equal. For instance of you have JSP, like this :

Re: Plug in for Eclipse 3.2 to run struts applications

2007-09-30 Thread Angelo zerr
Hi, if you use struts1.x, you could use the Akrogen struts1.x catalogto generate Action, ActionForm, JSP, struts-config. Akrogen is plugin Eclipse whee you can write Eclipse wizard with XML/XUL

Re: How can i user Swing as "V" in the Struts MVC

2008-06-16 Thread Angelo zerr
Hi the topic is very interesting. For me the View can be : * HTML description of the view where the browser interpret HTML to displauy UI. * XML content, JSON content...and with Ajax we can update the UI or do another thing. I have read the tutorial http://javaboutique.internet.com/tutorials/Sw

Re: Use Same JSP Page For Several Modes (View, Edit, Approve, Create)

2008-11-19 Thread Angelo zerr
Hi, I had worked several years ago about this feature. And I had created FormView project to manage that. FormView works with any taglib or with pur HTML because it update HTML code on server switch configuration (eg ; remove HTML code if user has not

Re: Apply errorStyleClass to multiple fields using Validator

2006-04-06 Thread Angelo zerr
Hi christophe; If you want, you can use FormView, to manage your render of your fields which have error. See http://formview.sourceforge.net/errors.html FormView is able to manage a behaviour (READ-ONLY, INVISIBLE,ERROR,...) for each fields of your form. It can be plugged with validator to manage e

Re: Multi Profile web application and Validation

2006-04-18 Thread Angelo zerr
Hello Angel, I don't know your solution, but I think you will be perhaps interested with FormView project. This taglib is able to manage a behaviour for a field in your page. So you can define Role for a field and so your inputs will be READ-ONLY, READ-WRITE, INVISIBLE,... accoding to the role. It

Re: Marking fields with background colour having errors

2006-05-05 Thread Angelo zerr
Hi, you wil be perhaps interested by FormView project. With FormView, you can easily set a styleClass to input which have errors by using ActionError Struts. see http://formview.sourceforge.net/errors.html for more information. Angelo 2006/5/5, Raghuveer <[EMAIL PROTECTED]>: Hi, Does struts h

Re: Jsp Tabs

2006-05-05 Thread Angelo zerr
Hello, If you want you can use JSPTabControl, which is JSP taglib which is able to manage Tabs. With this taglib you can use easily with ApplicationResources Struts (to set your title in your tabs). You can too set a state for particulary tab (eg :set sttate ERROR for particulary tab, Set FORBIDDE

Re: - Design Issue with Struts Validation

2006-05-16 Thread Angelo zerr
Hi, Me, I use DispatchAction, and I prefer call validate in my action, instead of struts launch automaticaly validate (validate="true" in action). So in my struts-config, I have just one mapping for an action (I set validate="false"). After in my dispatchAction I design my DispatchAction with sev

Re: - Design Issue with Struts Validation

2006-05-16 Thread Angelo zerr
tag look at the "validate" attribute in the config? Scott Mulligan -Original Message- From: Angelo zerr [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 1:47 PM To: Struts Users Mailing List Subject: Re: - Design Issue with Struts Validation Hi, Me, I use DispatchAction, and

ANNOUNCE : new Version of JSPTabControl, taglib for manage tabs

2006-05-20 Thread Angelo zerr
Hello, I mail you to announce there is a new version of JSPTabControl. In this new version you can manage state and selection of tab page at client side. If you don't know JSPTabControl, here a description of this taglib : JSPTabControl is JSP taglib for manage tabs in your JSP. This taglib gene

Re: tabs (struts + tiles) How to do it ??

2006-05-27 Thread Angelo zerr
Hello, if you want, you can ue JSPTabControl which is taglib which manage tabs in your JSP. JSPTabControl gives you several features like keep the last tabs selected after posting a form, Get the name of tab which is selected into your action struts,... You can set a state for a tab (READ, FORBIDD

[ANNOUNCE] new Version of FormView 1.0-b5 is available.

2006-05-29 Thread Angelo zerr
Hello there is a new version of Formview. This version is able to manage any HTML element like label, div,... that you can set a state. For instance when your input filed has ERROR (after validation), your label associated (with attribute for) can be RED too. You can too set a BOLD label when yo

Re: Custom tag

2006-05-29 Thread Angelo zerr
Hello, you could use FormView for manage your state (readonly, ...) for your input. With new version of formview you can too manage label to set RED color when input has ERROR. You can find FormView Web Site at http://formview.sourceforge.net/ and download JAR at http://sourceforge.net/projects/f

Re: [Fwd: Conditional display of components]

2006-06-06 Thread Angelo zerr
Hello, you can use FormView. With FormView you can set a state for a particulary HTML input (butto, text,...). State manage your render (hidden, visible, ,...) for your input. So it's not in your JSP taht you have your condition (logic:equal) but it's your Struts action which decide which input mu

Re: AW: focus on first error

2006-06-07 Thread Angelo zerr
If you want you can use FormView. It manage the first error returned by validation. See use case of formview for manage errors with your fields at http://formview.sourceforge.net/errors.html Regards Angelo 2006/6/7, Truong Xuan Tinh <[EMAIL PROTECTED]>: Hi, AFAIK, Struts validation doesn't sup

Re: struts tags in a .js file?

2006-06-11 Thread Angelo zerr
Hello Ronald, when I must use variable comming from Server Side like Web Application context. I create a javascript variable which I initialize in my JSP and after in my Jsvacript I use this variable. For instance, in my JSP var webApplicationContext = ''; And afer in my fu

[ANNOUNCE] JSControlsTags taglib for manage javascript controls

2006-08-24 Thread Angelo zerr
/ and download JAR at http://sourceforge.net/projects/jscontrolstags. I hope that you will be interested by JSControlsTags project. See you later. Angelo ZERR

Re: getDataSource, DAO pattern, and Struts

2006-09-12 Thread Angelo zerr
Hello Darren, I'm aggree with Larry. If you want you can see Architecture shema with Service/DAO pattern in my open source project Gestcv at http://gestcv.sourceforge.net/fr/architecture.html (sorry it's in frensh). You can download the application WEB to see how I use Spring with Struts. Regards

Re: FW: focus on first error

2006-09-12 Thread Angelo zerr
Hello, I was need to manage focus on the first field with error. With your solution, the problem is errors collection is sorted, so your focus will not go to the first field with error in your JSP. So I extends doErrorExist of TextTag to manage it, like this : protected boolean doErrorsExist() th

[ANNOUNCE] JSControlsTags add AJAX SLIDER and TREEVIEW

2006-09-19 Thread Angelo zerr
be usable. You can find JSControlsTags Web Site at http://jscontrolstags.sourceforge.net/ and download JAR at http://sourceforge.net/projects/jscontrolstags. I hope that you will be interested by JSControlsTags project. See you later. Angelo ZERR

Re: Mapping disabled form fields

2006-10-17 Thread Angelo zerr
Hi Yariel, i's the standard behaviour of HTML input. See HTML sepcification at http://www.w3.org/TR/html4/interact/forms.html#h-17.12 You must not use disabled property but readonly property in your html input. Regards Angelo 2006/10/17, Yariel Ramos Moreno <[EMAIL PROTECTED]>: Hi all: I need

Re: Mapping disabled form fields

2006-10-17 Thread Angelo zerr
Hi Yariel, I know this problem, you can generate an input hidden with value of checkbox (to get value off the checkbox after a post) and generate the radio with disabled property (for display). For this case, you must manage two html fields in your JSP. Morever if you want mange html select, the p

Re: About the better way to implement a JSP in read/edit mode

2010-03-09 Thread Angelo zerr
Hi Frederick, I had created a project about this problem with http://formview.sourceforge.net/ With FormView, you develop ONE Jsp to manage CRUD form. It's old project but it works well (I have not time today to improve it). Regards Angelo 2010/3/9 Paweł Wielgus > Hi Frederick, > You can also

Re: About the better way to implement a JSP in read/edit mode

2010-03-10 Thread Angelo zerr
ossible to develop that. Regards Angelo 2010/3/10 Frederik Minatchy > Hello... > > Thank you for your answer... > > Your tag seems usefull.. but it seems to have been developped for Struts > 1.x > > --- En date de : Mar 9.3.10, Angelo zerr a écrit : > > > De: A

Re: About the better way to implement a JSP in read/edit mode

2010-03-11 Thread Angelo zerr
gt; >> > > >> > Does this mean that I should use the same JSP to do > >> both? > >> > > >> > (that's already what I have done... but a colleague > >> thinks that it is not the better way... who's right? :) ) > >>

[ANNOUNCE] Add Swap control between two list into JSControlsTags

2006-10-18 Thread Angelo zerr
Hello, I announce that there is a new Swap control between two list into JSControlsTags. This control is able to manage swap items between two list with 2 button >> << and/or with drag/drop. It's based on scriptaculous and prototype.js. You can found a demo of swap at http://jscontrolstags.source

Re: display only mode using struts tags

2006-10-20 Thread Angelo zerr
Hi martin, if your are intersted, you can see FormView Project at http://formview.sourceforge.net With Formview you can manage mode (READ-ONLY, READ-WRITE.) of your jsp fields in your action struts or with a XML file config Regards Angelo 2006/10/20, Martin Kindler <[EMAIL PROTECTED]>: I do

Re: How to make a SELECT list readonly? If set disabled, loses the value when submit.

2006-11-01 Thread Angelo zerr
Hi, if you see HTML specification at http://www.w3.org/TR/html401/interact/forms.html#h-17.6, select has not readonly (just disabled, but you can't use it for submiut value). So proposition of Rafael, is the same solution that I use. But when you have several select in your JSP, it begin borring t

Re: Input and results on the same JSP

2006-11-09 Thread Angelo zerr
Hi Prakash, If you can display the value of the textarea at readonly, you can use FormView. This taglib is enable to manage state in your JSP for your form HTML elements. Eg : generate (at READ-WRITE state) and INPUT_VALUE (at READ_ONLY state). You manage state into action. If you are interested

[ANNOUNCE] JSControlsTags add AjaxMessageQueue

2006-11-12 Thread Angelo zerr
Hello, I mail you to announce JSControlsTags add JSControlsTgas.AjaxMessageQueuecontrol which is able to poll messages from server. You can use this control to poll messages logged with log4j (by using AjaxAppender) or poll your custom messages. See documentation at http://jscontrolstags.sourcefo

Re: Howto Construct Editable Tree

2007-03-19 Thread Angelo zerr
Hi, you can see http://jscontrolstags.sourceforge.net/ too. There is treeview tag based on tafeltree (javascript treeview), prototype and scriptaculous. You have demo at http://jscontrolstags.sourceforge.net/demo/treeview/treeview.html (AJAX doesn't works at sourceforge). You can drag/drop node, e

Re: Howto Construct Editable Tree

2007-03-19 Thread Angelo zerr
n your own app? :o) Cheers, Pete > -Ursprüngliche Nachricht- > Von: Angelo zerr [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 19. März 2007 15:19 > An: Struts Users Mailing List > Betreff: Re: Howto Construct Editable Tree > > Hi, > you can see http://jscontrolstags.

Re: Howto Construct Editable Tree

2007-03-19 Thread Angelo zerr
No problem. I hope that JSControlsTags will please you. Angelo 2007/3/19, Peter Neu <[EMAIL PROTECTED]>: Sorry, I overlooked it. Thanks for the hint. -Pete > -Ursprüngliche Nachricht- > Von: Angelo zerr [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 19. März 2007 15:

Re: [s2] Possibility to hide input fields if not empty?

2007-03-21 Thread Angelo zerr
Hi, if you want you can see http://formview.sourceforge.net/. FormView can manage your case and other. It works with Struts 1.x or without Struts. Regards Angelo 2007/3/21, Piero Sartini <[EMAIL PROTECTED]>: Thanks, this will work. But I was not specific enough. If there is a way to use the V

Re: [s2] Possibility to hide input fields if not empty?

2007-03-22 Thread Angelo zerr
nd I could develop the digester which parse this file to fill internal data of the FormView. Angelo 2007/3/21, Dave Newton <[EMAIL PROTECTED]>: --- Angelo zerr <[EMAIL PROTECTED]> wrote: > if you want you can see > http://formview.sourceforge.net/. > FormView can manage your ca

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread Angelo zerr
Hi, you can see JSControlsTags project at http://jscontrolstags.sourceforge.net/ . There is Swap control (see at http://jscontrolstags.sourceforge.net/controls/swap/swap.html) which is enable to swap items select to another select with drag/drop. it is based on Scriptaculous and Proototype. You c

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread Angelo zerr
ontrol in my application but it does not work the site has no documentation, no complte examples can I get more assistance with this ? Thanks & Regards Angelo zerr <[EMAIL PROTECTED]> wrote: Hi, you can see JSControlsTags project at http://jscontrolstags.sourceforge.net/ . There

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread Angelo zerr
e which is not complete and no tutorial on how to get started are there any other providers with good documentation and examples ? Thanks & Regards Angelo zerr <[EMAIL PROTECTED]> wrote: Have you download usecase jscontrolstags-usecases-1.0-b1? You can found it http://sourceforge

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-23 Thread Angelo zerr
rks. Once again tahnk you very much. Thanks & Regards Angelo zerr <[EMAIL PROTECTED]> wrote: There is not another documentation (it's my project). have you try to deploy the war jscontrolstags-usecases-1.0-b1.war? You sample with swap. I'm agree with you documentation is

Akrogen plugin eclipse to generate Struts 2.x components

2007-03-23 Thread Angelo zerr
Hi, I post my message in this forum, because perhaps somebody would be interset with my project. I'm developping plugin eclipse Akrogen http://akrogen.sourceforge.net/index.html which is able to generate code. With Akrogen you can write your wizard page with XML. But I'm developping new version

Re: Akrogen plugin eclipse to generate Struts 2.x components

2007-03-23 Thread Angelo zerr
Sorry for my error, you can find WEB Site at http://akrogen.sourceforge.net/1_0_2/index.html 2007/3/23, Angelo zerr <[EMAIL PROTECTED]>: Hi, I post my message in this forum, because perhaps somebody would be interset with my project. I'm developping plugin eclipse A

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-04-03 Thread Angelo zerr
omplain It was my mistake > i > > just downloaded src after ur reply i downloaded use cases i was able > > to run the jsp it works. > > Once again tahnk you very much. > > Thanks & Regards > > > > Angelo zerr wrote: There is not another > &

Re: [s2] eclipse plugin

2007-04-15 Thread Angelo zerr
Hi Today, I don't think there is Eclipse plugin which exist for struts2. But I'm developping Eclipse plugin Akrogen http://akrogen.sourceforge.net/for generate any component of framework. With Akrogen you can create your own components catalog. So you can write your Wizard page with XML/XUL desc

Re: [s2] eclipse plugin

2007-04-15 Thread Angelo zerr
develop it. The documentation is not finsihed, but I'm writing documentation. Angelo 2007/4/15, Musachy Barroso <[EMAIL PROTECTED]>: that was it :) musachy On 4/15/07, Angelo zerr <[EMAIL PROTECTED]> wrote: > > Hi > Today, I don't think there is Eclipse plugin whi

Re: [s2] eclipse plugin

2007-04-15 Thread Angelo zerr
fe so I don't want to feel the temptation of wanting to contribute :) musachy On 4/15/07, Angelo zerr <[EMAIL PROTECTED]> wrote: > > hi musachy, > > thank you for having given the information about Eclipse plugin. > > Have you seen Akrogen plugin? Do you find the ide

Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, areyou interested?

2010-12-17 Thread Angelo zerr
available? > > Is there a Beta version available for tests? > > > > Best Regards > > > > Johannes Geppert > > > > > > azerr wrote: > >> Hi Struts2 Team, > >> > >> I introduce to me. I'm Angelo ZERR and I'm developping

Re: Struts2 IDE, eclipse plugins to manage struts2 xml file, areyou interested?

2011-01-31 Thread Angelo zerr
.ide.odt I cannot create a distribution now, because I must improve it again (like manage XWork validator + search struts.xml from the JAR). Regards Angelo 2010/12/17 Angelo zerr > Hi Johannes, Frans, Hansty, > > Thank a lot for your answer. Today it doens't exists Update Site for &g

Re: Rtf Templating

2011-02-07 Thread Angelo zerr
Hi Nick, I don't know the complexity of your report you want manage, but there is http://rtftemplate.sourceforge.net/ With RTFTemplate you can create your model with MS Word and use Velocity syntax with MERGEFIELD to set your field name. RTFTemplate provides a macro http://rtftemplate.sourceforge.

Generate docx, odt report with Struts2 XDocReport Result

2012-03-01 Thread Angelo zerr
Hi Struts2 User, If you need to generate docx (MS Word), odt (OpenOffice) report with Struts2 (like Jasper), you can use XDocReport where you can design your odt, docx report with MS Word or OpenOffice by using Velocity/Freemarker syntax to set fields to repla