Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Craig McClanahan
On 11/14/05, Mike Duffy <[EMAIL PROTECTED]> wrote: > > Thx Craig. > > --- > In JSF 1.0/1.1 it is pretty much OK, but there are interoperability issues > trying to put elements inside another JSF component. Most of those > issues have been dealt with in JSF 1.2. However, even there you're *much* >

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Mike Duffy
Thx Craig. --- In JSF 1.0/1.1 it is pretty much OK, but there are interoperability issues trying to put elements inside another JSF component. Most of those issues have been dealt with in JSF 1.2. However, even there you're *much* better off designing components that render the elements for you,

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Craig McClanahan
On 11/14/05, Mike Duffy <[EMAIL PROTECTED]> wrote: > > There is a difference between specifying CSS attributes and creating a > liquid CSS design. The > later involves a complete separation of style and content where a web page > or JSP becomes a series > of tags that flow; a single style sheet ca

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Mike Duffy
There is a difference between specifying CSS attributes and creating a liquid CSS design. The later involves a complete separation of style and content where a web page or JSP becomes a series of tags that flow; a single style sheet can be used to change the look and feel of the entire applica

Help required with struts for dynamic row addition in jsp

2005-11-14 Thread Simpy Ahuja
Hi!!! Warm Greetings! I am a new user to thsi group... I need help regarding Dynamic addition of rows in jsp within Struts Framework. I have read the below article but it doesnt do the same in Struts. http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/64e6fe3280e45f9a/df

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Wendy Smoak
On 11/14/05, Mark S Petrovic <[EMAIL PROTECTED]> wrote: > Should just be Is 'feature' a proper JavaBean? The types for get(is)/set methods match, no overloaded set methods, etc? -- Wendy - To unsubscribe, e-mail: [EMAIL

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Mark S Petrovic
I'm still stumbling on some details. For fwiw, "features" is put in the request scope using request.setAttribute("features", features); in the Action t

How can I keep multiple selection of html:options when I am back

2005-11-14 Thread Chen Jerry
Well, I make multiple selection and submit the page, which will be forwarded to if validation is not passed. I want to keep selected the multiple s of when I am back. What can I do? This is the fragment of source code: Thanks in advance. Jerry -

Posting from 1JSP to 2Actions and 2Forms

2005-11-14 Thread Oleg
Hi, I found a long thread talking about one jsp, two action, two action forms. However my situation is a bit different and suggested solutions would not work, plus I didn't want resurrect an old thread :) I have: Jsp A -> Action A (ActionForm A) Now there are occasions when I need another actio

Re: forward to an extental URL

2005-11-14 Thread Laurie Harper
Ming Li wrote: I saw there was a similar post in this forum, but the solutions don't work for me. What I want to do is getting a form posted to an action, after some processing then forward to an external URL (for payment process). I tried the solutions suggested in this forum (http://www.m

How to disable a particular selected checkbox in html:multibox

2005-11-14 Thread sma3har
How can I disable a particular checkbox based on a value in the selected items. Here is my code. There are two arraylist of disease and names. Someone please help me. __ Start your day with Yahoo! - Make it your home page! http://www.y

Re: Validator - how to check a checkbox

2005-11-14 Thread Laurie Harper
David Bolsover wrote: Hi all I've done a deal of searching through the archives, looked at the examples - even read the docs - I'm still stuggling with this... I need to validate a number of fields in a from; certain fields are required if a checkbox is checked and should be empty if the checkb

Ich bin im Urlaub

2005-11-14 Thread bednarz
Sehr geehrte Damen und Herren, in der zeit vom 7. November 2005 bis 18. November 2005 bin ich im Urlaub. Bitte wenden Sie sich bei allen Fragen entweder direkt an [EMAIL PROTECTED] oder telefonisch an: 0511 / 93 62 28 22 Mit freundlichen Grüßen Andreas Bednarz

Struts ModuleConfig when forwarding between modules

2005-11-14 Thread Brian Sayatovic/AMIG
I ran into an instance where an Action in module A is forwarding to a page that is designed for module B. However, the resources that the page sees are the resources from module A. I'm using Struts 1.1. I've goine through the source quite a bit. It seems the ModuleConfig and resources for a mod

Re: Anyone hear of com.ibatis.struts.BeanAction?

2005-11-14 Thread Jim Reynolds
Does it have any validity? It does keep things clean from a struts perspective. Or is there a better way to simplify the struts beans/actions? On 11/14/05, Larry Meadors <[EMAIL PROTECTED]> wrote: > It was an experiment that Clinton was trying. :) > > It essentially merges the action/for into on

Re: Anyone hear of com.ibatis.struts.BeanAction?

2005-11-14 Thread Larry Meadors
It was an experiment that Clinton was trying. :) It essentially merges the action/for into one class...sort of JSF-ish. Larry On 11/14/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > Hello, > I am disecting a tutorial from IBatis which of course uses struts, > called "jpetstore". Anyway, they are

Anyone hear of com.ibatis.struts.BeanAction?

2005-11-14 Thread Jim Reynolds
Hello, I am disecting a tutorial from IBatis which of course uses struts, called "jpetstore". Anyway, they are using a class called com.ibatis.struts.BeanAction. Is anyone using this class, or have knowledge of its status. - To

Re: initialize dynaform

2005-11-14 Thread Richard Yee
Fea, To initialize a dynaform staticly, do as Niall suggested. To dynamically pre-populate a dynaform, you need code to do it as follows: ModuleConfig moduleConfig = RequestUtils.getModuleConfig(request, getServlet().getServletContext()); FormBeanConfig formConfig = moduleConf

Re: initialize dynaform

2005-11-14 Thread Michael Jouravlev
See also http://marc.theaimsgroup.com/?l=struts-dev&m=112916036300196&w=2 On 11/14/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > Yes, using the "initial" attribute for a form property in the > struts-config.xml... > > > > > > Niall > > - Original Message - > From: "fea jabi" <[EM

Re: initialize dynaform

2005-11-14 Thread Niall Pemberton
Yes, using the "initial" attribute for a form property in the struts-config.xml... Niall - Original Message - From: "fea jabi" <[EMAIL PROTECTED]> To: Sent: Monday, November 14, 2005 8:34 PM Subject: initialize dynaform > Is it possible to initialize dynaform? > > and how can

initialize dynaform

2005-11-14 Thread fea jabi
Is it possible to initialize dynaform? and how can this be done? Thanks. _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Larry Meadors
I like this: true Larry On 11/14/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Use either Struts or JSTL or bare scriptlet. In > your particular case you can make the decision in the bean itself. Do > not print HTML tags from Java, this produces unmaintable and > unportable code. > >

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Mark S Petrovic
Thank you for the reply. Using, for example, seems to solve only half the problem. Using , I can see my way clear to True True which gives a crude if/else effect, but this is almost surely ill advised. I think the same would apply to , as I know of no "else" construct that goes with e

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Craig McClanahan
On 11/14/05, Mark S Petrovic <[EMAIL PROTECTED]> wrote: > > Good day. I am new to Struts, and while I am coming up to speed, I'm > still struggling with what are surely common idioms. > > In a JSP, I want to output, say, a element body conditionally based > on a given bean property. > > In pseudoc

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Michael Jouravlev
Use either Struts or JSTL or bare scriptlet. In your particular case you can make the decision in the bean itself. Do not print HTML tags from Java, this produces unmaintable and unportable code. Michael. On 11/14/05, Mark S Petrovic <[EMAIL PROTECTED]> wrote: > Good day. I am new to Struts, a

Re: [shale]

2005-11-14 Thread Rahul Akolkar
On 11/14/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > Does anyone know if shale will run on JRun 4? They say that they are J2EE > 1.3 compatible. > As listed in the Foundation section of the Shale home page [1], the sample applications are configured for J2EE 1.4, but you should be able to get

Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Mark S Petrovic
Good day. I am new to Struts, and while I am coming up to speed, I'm still struggling with what are surely common idioms. In a JSP, I want to output, say, a element body conditionally based on a given bean property. In pseudocode, I want if bean.property == true print X else print Y

calculation table

2005-11-14 Thread Grzegorz Stasica
hi, Have anybody seen a class similar in its behaviour to excel's sheet. I mean the ability to enter values in some cells and in another cell specify some kind of formula Rgs - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[shale]

2005-11-14 Thread Garner, Shawn
Does anyone know if shale will run on JRun 4? They say that they are J2EE 1.3 compatible. Shawn This email may contain confidential material. If you were not an intended recipient, Please notify the sender

ValidatorActionForm and the xdoclet tag

2005-11-14 Thread Vijay Pandey
Hi, I want to use "ValidatorActionForm" for multiple pages as each page will be processed by a different action. The action form will be same across these different pages, where fields should be validated based on the action mapping path. Its all good upto this point, but as i am making use of xd

forward to an extental URL

2005-11-14 Thread Ming Li
I saw there was a similar post in this forum, but the solutions don't work for me. What I want to do is getting a form posted to an action, after some processing then forward to an external URL (for payment process). I tried the solutions suggested in this forum (http://www.mail-archive.com/str

RE: [OT] Re: Menu in Struts tiles

2005-11-14 Thread Marco Mistroni
Hello, Sorry I missed your posts... I have different suggestion though... I posted this morning about using struts-menu for generating menus for struts... It is configurable via an XML file in which you list your menu/menu options Easy to configure and straightforward to use... HTH

Re: [OT] Re: Menu in Struts tiles

2005-11-14 Thread Dave Newton
Kanuri, Chand wrote: thanks for your suggestion but how can i create a list in application scope.can you please guide me with some sample code? Nope. But check out general J2EE documentation and look at the servlet context and setAttribute. It's not a requirement that the list go into the

RE: [OT] Re: Menu in Struts tiles

2005-11-14 Thread Kanuri, Chand
Hi , i managed to set my collection in the application scope, how can i display this collection? cheers. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 14:37 To: Struts Users Mailing List Subject: [OT] Re: Menu in Struts tiles Please reply to the l

Validator - how to check a checkbox

2005-11-14 Thread David Bolsover
Hi all I've done a deal of searching through the archives, looked at the examples - even read the docs - I'm still stuggling with this... I need to validate a number of fields in a from; certain fields are required if a checkbox is checked and should be empty if the checkbox is not checked. What

Re: Upgrade from struts1.0 to 1.2

2005-11-14 Thread Ted Husted
On 11/14/05, bhas <[EMAIL PROTECTED]> wrote: > I was able to narrow down the reason for display of a blank page, basically > struts 1.0 had > perform() method that has been replaced with execute() method & since > execute() methods was > missing in my action classes it was not displaying anything

RE: [OT] Re: Menu in Struts tiles

2005-11-14 Thread Kanuri, Chand
Hi Dave, thanks for your suggestion but how can i create a list in application scope.can you please guide me with some sample code? Cheers -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 14:37 To: Struts Users Mailing List Subject: [OT] Re: Menu in S

[OT] Re: Menu in Struts tiles

2005-11-14 Thread Dave Newton
Please reply to the list rather than me personally. Kanuri, Chand wrote: actually there is no database in my webapp. just want to have a menu which should get menu items from properties file. how can i achieve this?or suggest me if there is any otherway plz. Read the properties file during a

Re: Menu in Struts tiles

2005-11-14 Thread Dave Newton
Kanuri, Chand wrote: can any one suggest me to build the menu in tiles purely using java code? Meaning what, you want the menu items to come from a database? Be held in beans used by the tiles? This e-mail (and any attachments) may contain privileged and/or confidential information. If y

Menu in Struts tiles

2005-11-14 Thread Kanuri, Chand
Hi all, I am using struts tiles in my web app. can any one suggest me to build the menu in tiles purely using java code? regards and thanks in advance This e-mail (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not di

Re: Upgrade from struts1.0 to 1.2

2005-11-14 Thread Wendy Smoak
On 11/14/05, bhas <[EMAIL PROTECTED]> wrote: > Thanks for your help! > I was able to narrow down the reason for display of a blank page, basically > struts 1.0 had > perform() method that has been replaced with execute() method & since > execute() methods was > missing in my action classes it was

Re: html:rewrite with params

2005-11-14 Thread Martin Gainty
Thomas- Taking a clue from http://husted.com/struts/tips/011.html since you know the value of entryID from Querystring can your form populate a html:hidden value with entryID value and then reference that value later? Viel Gluck, Martin- - Original Message - From: "Thomas Hamacher" <[EMAI

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Ted Husted
On 11/14/05, pc leung <[EMAIL PROTECTED]> wrote: > Ronald, > > I am a bit confused that MyFaces and Shale both implements JSF. > Why you need to use both? why not use one of them? > What about Struts-Faces? It integrates Struts and JSF. > Do you consider it? MyFaces implements JSR 127 (JavaServer

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread pc leung
Ronald, I am a bit confused that MyFaces and Shale both implements JSF. Why you need to use both? why not use one of them? What about Struts-Faces? It integrates Struts and JSF. Do you consider it? On 11/14/05, Ronald Holshausen <[EMAIL PROTECTED]> wrote: > I use Shale, Tiles and MyFaces. The ma

Re:Upgrade from struts1.0 to 1.2

2005-11-14 Thread bhas
Thanks for your help! I was able to narrow down the reason for display of a blank page, basically struts 1.0 had perform() method that has been replaced with execute() method & since execute() methods was missing in my action classes it was not displaying anything now getting some NullPoin

AW: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Bernhard Slominski
> Have a look at the clay component from shale, as this supports this > type of development process more fully as you could then use the > generated HTML from the graphic artists directly, just add some ids > much like Tapestry does. > Did you take a look at Facelets? It's something like Tapestry

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Ronald Holshausen
I use Shale, Tiles and MyFaces. The main reason for moving over is that JSF is being pushed by Sun as the standard for J2EE user interfaces, and is getting picked up by some of the big companies like Oracle, so I think it will gain a lot of momentum and support from most vendors. I also like the fa

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Ronald Holshausen
I downloaded it, and went through their docs online, but I haven't had a chance to play with it yet :-( On 14/11/05, Bernhard Slominski <[EMAIL PROTECTED]> wrote: > > Have a look at the clay component from shale, as this supports this > > type of development process more fully as you could then us

RE: Menu Layout

2005-11-14 Thread Leahy, Kevin
That was quick and clear. Many thanks Kevin -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 11:23 To: 'Struts Users Mailing List' Subject: RE: Menu Layout Hello, Might be OT, but have you checked Struts-Menu project (in sourceforge, but a

RE: Menu Layout

2005-11-14 Thread Marco Mistroni
Hello, Might be OT, but have you checked Struts-Menu project (in sourceforge, but a google search will find it)? It does exactly what you are looking for HTH marco -Original Message- From: Leahy, Kevin [mailto:[EMAIL PROTECTED] Sent: 14 November 2005 11:19 To: 'Struts Use

RE: Menu Layout

2005-11-14 Thread Leahy, Kevin
Does anyone know if the menu elements can be generated dynamically? In my application I have a menu section called 'My Searches'. This section is drawn up from the database looking for the current users saved searches. For each search there are various options e.g. edit/view/delete/add user etc. Fo

Re: [OT] AJAX Recursive Tree

2005-11-14 Thread Marcio Ghiraldelli
Yes, that's some what I want. Acctually, I am using the tree module from Jenkov's PrizeTags (www.jenkov.com/prizetags), it does an excellent job in JSP MVC tree's. I think I'm gonna spend some time making some AJAX fun here... Seeya - Original Message - From: "Laurie Harp

Re: html:rewrite with params

2005-11-14 Thread Thomas Hamacher
Okay - here are some more details: Let's say I have the following URL: http://somehost/showEntry?entryID=343 I have multilanguage support in my application, so let´s assume, that I click on the language-button and therefor call the page /switchLanguage.do, which changes my Locale. The switchLang

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread pc leung
Ronald I am also thinking of switching to JSF. Do you use Shale, MyFaces or Sun JSF? Any reasons your company starts to use JSF as I am standing at the cross road of Struts and JSF? Thanks On 11/14/05, Ronald Holshausen <[EMAIL PROTECTED]> wrote: > Hi Mike, > > I have switched from struts to

Re: [OT] JSF Interface Design - Is it Truly Limited?

2005-11-14 Thread Ronald Holshausen
Hi Mike, I have switched from struts to JSF for our companies product development, as I can say that JSF is totally CSS oriented. Each control has a CSS class as a property, and a lot of the tomahawk components provide their own base CSS classes by default (have a look at the tabbed pane from toma