Inserting special character into MySQL 5 problem

2005-11-22 Thread Stanislav
Hello! I'm having very strange problem :-( I'm using CharacterEncodingFilter set to work with utf-8 encoding (response and request) and when testing aplication geting: 08:29:42,970 INFO [STDOUT] RESPONSE character encoding= utf-8 08:29:42,970 INFO [STDOUT] REQUEST character encoding= UTF-8 08:

Interesting!

2005-11-22 Thread Shailesh Barde
  Hello Friends, I have developed a module in my Project to Make changes in the resource Bundle (.properties) file at RunTime by Using java.io.After Writing on a File(Through Action Action Class) the web Server gets Restarted & the updated Resource Bundle is Displayed on a JSP.(after Refreshin

RE: [shale] Design questions

2005-11-22 Thread hermod.opstvedt
Hi Alexandre Mostly I aboslutly agree with you, but there is one thing that I am not comfortable with: "..and so managing some of your UI components programmaticaly is impossible." What you are promoting here, is mixing view and controller, but since Craig is promoting the use of one backing b

RE: [shale] Design questions

2005-11-22 Thread David G. Friedman
Alexandre, If you're looking for a JSF "aware" template technology, I recommend you look at facelets (https://facelets.dev.java.net). Regards, David -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 11:17 PM To: Struts Users Mailing Li

RE: [shale] Design questions

2005-11-22 Thread hermod.opstvedt
Hi That should of course read: Thanks for your clarification -Gary- Sorry ! Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 6:25 AM To: user@struts.apache.org Subject: RE: [shale] Design questions Hi Thanks for your c

RE: [shale] Design questions

2005-11-22 Thread hermod.opstvedt
Hi Thanks for your clarification Craig. So, if I read you correct, Tiles and Clay go hand in hand. Use Tiles for assembling the pages, so that you only have to write jsp/html files containing the specific content (not the whole page). Then use Clay to do the work writing of the jsp/html files t

RE: [shale] Design questions

2005-11-22 Thread hermod.opstvedt
Hi Forgotten the basics of Tiles, have we? One of the key features of Tiles is the term definition and template jsp. In the template jsp, you position named generic parts. In the the definition you define what those parts are. This, in my terms, is to compose a page, hence composition. Anothe

Re: why cant the struts action class provide a getSession() api ?

2005-11-22 Thread Raghu Kanchustambham
Thanks Max and Craig for your responses. I agree with the overheads of pooling a stateful "entity" probably doesn't justify its inclusion. I was not looking for an api which gives me a session object after taking the request object as an input parameter which as Craig points out is too simplistic.

Re: javascript in validator

2005-11-22 Thread Laurie Harper
fea jabi wrote: One of the requirement in my application is that I should not use the client side javascript as the browsers the user use might not have the javascript enabled in their browsers. In my jsp there are 2 radio buttons. one of which is enable by default. When the user clicks on ei

Re: access rights for JAR

2005-11-22 Thread Laurie Harper
If you're using (or are willing to use) container managed security, Nick's suggestion will work for that scenario. Add a security constraint to your web.xml for the applet JAR. If you can't use container managed security, you'll have to get rather more fancy, for example by providing a servlet

Re: struts-faces and Tiles

2005-11-22 Thread Laurie Harper
Correction: the problem occurs when I change a nested tile to .faces instead of .jsp. Changing *only* the containing layout tile's definition seems to work. However, I have to include f:view in the nested JSP; including it in the layout doesn't seem to be sufficient, which makes me think using

Re: [shale] Design questions

2005-11-22 Thread Alexandre Poitras
I kind of agree with you Gary. I just love Tiles powerful features and I would like to use it in my JSF application (but I would take a deep look at Tapestry way of doing it to see if it is truly necessary). Anyway, I started to have concerns after watching the JavaOne 2005 presentation "Extreme Re

struts-faces and Tiles

2005-11-22 Thread Laurie Harper
I'm trying to get JSF working in my Struts app using the struts-faces integration library. I have everything set up per the readme that comes with struts-faces. I can successfully load foo.jsp with the URL foo.faces, so I think things are configured correctly. However, as soon as I change the d

Re: access rights for JAR

2005-11-22 Thread Deepa Khetan
Well, The exact problem is, my Applet.jar gets downloaded at the client side, on request. But any person who knows the path of this JAR file, on the server, can download this JAR. So, i was just thinking, if i can specify somewhere that this JAR canot be downloaded unless an Authenticated user trie

RE: Tiles Again - Can anyone help?

2005-11-22 Thread David G. Friedman
Kevin, I think you are correct in that someone hijacked your thread and went JSF(MyFaces) on you.And now, back to your topic: Tiles within Struts... To dynamically alter the components of a Tile definition, I recommend using a Tiles Controller. That should allow you to add or remove compon

Re: why cant the struts action class provide a getSession() api ?

2005-11-22 Thread Craig McClanahan
On 11/22/05, Max Cooper <[EMAIL PROTECTED]> wrote: > > A single instance of each Action class is used to service multiple > simultaneous requests (just like a Servlet). If you want the session, > you have to pass it around (or pass the request around, from which you > can navigate to the session).

Re: Upgrade from struts1.0 to 1.2

2005-11-22 Thread Yujun Liang
Well, the change to template was not mentioned in these documents and I expected to find it there, since it was major change. http://struts.apache.org/struts-doc-1.1/userGuide/release-notes.html http://struts.apache.org/struts-doc-1.2.4/userGuide/release-notes.html Template was my best friend. :)

Re: why cant the struts action class provide a getSession() api ?

2005-11-22 Thread Max Cooper
A single instance of each Action class is used to service multiple simultaneous requests (just like a Servlet). If you want the session, you have to pass it around (or pass the request around, from which you can navigate to the session). Having a no-argument getSession() method on Action would req

why cant the struts action class provide a getSession() api ?

2005-11-22 Thread Raghu Kanchustambham
Hi, I believe supporting a getSession() call is useful in the Action class. let me walk you through a situation: public class MyAppBaseAction extends DispatchAction { //some helper functions isAuthorized( arguments ) { } } public class MyAction1 extends MyAppBaseAction {

Re: Upgrade from struts1.0 to 1.2

2005-11-22 Thread Ted Husted
On 11/22/05, Yujun Liang <[EMAIL PROTECTED]> wrote: > but I can't find in any document about the removal of the tag, > anybody found that entry? The template taglib was "deprecated" in Struts 1.1 and removed in Struts 1.2. * http://struts.apache.org/struts-doc-1.1/userGuide/dev_template.html So

Re: struts-dialogs on maven repo

2005-11-22 Thread Michael Jouravlev
Nicolas, thanks for taking care of that. Looks fine to me. Maybe the only thing is dependency on Struts 1.2.8. In reality, the library should work with 1.2.2 (worked last time I checked couple of months ago), and it definetely works with 1.2.4. Otherwise, looks good. Michael. On 11/22/05, Nicola

Re: JSTL messages problem

2005-11-22 Thread Laurie Harper
Well, I said this was the gereral solution ;-) But yes, I forgot about that, which makes things that bit simpler for this case. L. Rahul Akolkar wrote: On 11/22/05, Laurie Harper <[EMAIL PROTECTED]> wrote: For the record, here's the general solution as well, for situations where you can't us

Re: Upgrade from struts1.0 to 1.2

2005-11-22 Thread Yujun Liang
but I can't find in any document about the removal of the tag, anybody found that entry? Thanks. On 11/23/05, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Have you moved your Action code from the perform() method to the > execute() method? > > - George > http://www.idiacomputing.com/ > > >

RE: Tiles Again - Can anyone help?

2005-11-22 Thread Leahy, Kevin
Hi I just had a quick look at the link. Without looking too much in depth, isn't myfaces a jsf implementation or have I got that wrong? Do I really need to go outside struts and tiles. Learning struts and hibernate at once is already enough for my head. ;) -Original Message- From: Martin

RE: Tiles Again - Can anyone help?

2005-11-22 Thread Leahy, Kevin
Hi Here's MasterLayout.jsp ( abridged ) Here's FormLayout.jsp ( again very abridged ) In tiles-defs.xml: What I would

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > For the record, here's the general solution as well, for situations > where you can't use the element body like that. First, defining a > scripting variable: > > http://marc.theaimsgroup.com/?l=struts-user&m=113269509808314&w=2 -Rahul

Re: JSTL messages problem

2005-11-22 Thread Laurie Harper
For the record, here's the general solution as well, for situations where you can't use the element body like that. First, defining a scripting variable: Or, to avoid the scripting variable, you can use jsp:attribute: This comes up on the list so often, I think I

Re: Tiles Again - Can anyone help?

2005-11-22 Thread Martin Gainty
Good Afternoon Kevin- I believe the JspTilesViewHandlerImpl handler will take the defined viewid and then compute the tileID substitute any extension by .tiles Append .tiles for corresponding definition JspTilesViewHandlerImpl must be configured as an application within faces-config.xml check ou

Re: Tiles Again - Can anyone help?

2005-11-22 Thread Greg Reddin
On Nov 22, 2005, at 5:04 PM, Leahy, Kevin wrote: I am defining tiles in tiles-def.xml that user MasterLayout - all working fine using the tags to inject the components. But I also want tiles where in the tiles definition file I can use the tags to add components into both the MasterLayou

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > It might also work to do this: > > > > Sometimes double quotes inside double quotes confuses the compiler. > If you put single quotes inside the double quotes it might be able to better > determine your meaning. > I wouldn't recommend that.

Re: Shale prerender() problem (sometimes!)

2005-11-22 Thread gramani
[EMAIL PROTECTED] wrote on 11/22/2005 06:13:01 PM: > On 11/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hi all: > > > > I have a situation where Page1 (/worklist.jsp) has a link which when > > clicked is forwarded to Page2 (/worklist/nextAssignments.jsp). Since I > > have to do some

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/22/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote: > > > This is definitely not how JSTL recommends loading bundles (see > > fmt:bundle and fmt:setBundle). Ofcourse, its your decision.

Re: Shale prerender() problem (sometimes!)

2005-11-22 Thread Craig McClanahan
On 11/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all: > > I have a situation where Page1 (/worklist.jsp) has a link which when > clicked is forwarded to Page2 (/worklist/nextAssignments.jsp). Since I > have to do some "prerender" work to display my Page2, I have code in my > backing

shopping cart, dynamic field names

2005-11-22 Thread David Evans
Sorry, I've search for hours but can't seem to find the answer to this basic problem. I'm building a shopping cart for the first time in struts. I have a display cart jsp that will show each item, and as expected, i have a qty textbox for each item and an update cart button. so each qty field will

Re: Shale prerender() problem (sometimes!)

2005-11-22 Thread gramani
..never mind about my question. Just realised I was being really stupid. Sorry to waste your time, Geeta

Re: How would you solve this problem?

2005-11-22 Thread Hubert Rabago
Sorry for coming in late to the discussion but I only read this thread now. I may have misunderstood the problem. I'm thinking the popup will display a list of providers matching the search parameters, and the user can select any of them by checking one, and the fields on the form on the parent w

Re: JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
Unfortunately I tried that... as Wendy said, the problem ultinately is really one tag nested within another. Frank Garner, Shawn wrote: It might also work to do this: Sometimes double quotes inside double quotes confuses the compiler. If you put single quotes inside the double quotes it mig

RE: Tiles Again - Can anyone help?

2005-11-22 Thread Leahy, Kevin
I have had a problem niggling me for a couple of weeks. I keep going back to it and I'm sure there must be a simple solution, but I think I am missing something simple - struts overload, maybe? ;) I have MasterLayout.jsp and FormLayout.jsp. MasterLayout sets out a basic html page, specifying gener

Re: [tiles]

2005-11-22 Thread Wendy Smoak
On 11/22/05, Greg Reddin <[EMAIL PROTECTED]> wrote: > > So it does work. How do you use the menubar definition in the JSP > page? Are you using the "insert" tag? > I had to go look. Yes: Don't take it as a recommendation-- all I'm going to say is "it works". This is out of my very first Str

Shale prerender() problem (sometimes!)

2005-11-22 Thread gramani
Hi all: I have a situation where Page1 (/worklist.jsp) has a link which when clicked is forwarded to Page2 (/worklist/nextAssignments.jsp). Since I have to do some "prerender" work to display my Page2, I have code in my backing Bean1's prerender() method. However, my breakpoint in Bean1's prer

RE: [shale] Design questions

2005-11-22 Thread Gary VanMatre
> Hi > > So how would you implement composition, with inheritance, using Clay instead > of > Tiles?. I'm a big fan of Tiles and think that Clay and Tiles have their own niches. I see tiles as a tool for assembling page fragments in a reusable way. Clay is at a more granular level. It's focu

Re: How would you solve this problem?

2005-11-22 Thread Michael Jouravlev
On 11/22/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > We thought about that, but at first blush that seemed worse. The biggest > problem is that each page is going to have N number of spans containing > N number of data relating to the provider. So the popup getting called > from page one may

Re: [tiles]

2005-11-22 Thread Greg Reddin
On Nov 22, 2005, at 4:42 PM, Wendy Smoak wrote: I have that exact situation where I don't want the menu showing up on a resolution screen. I'm doing it in tiles-defs.xml, so this may not apply, but it works: ... ... So it does work. Ho

Re: [tiles]

2005-11-22 Thread Craig McClanahan
On 11/22/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > There are ways to put content into a tile but there isn't a way to remove > a > tile. > > Say we have a layout that has a menu by default then you extend that > layout > and you don't want a menu. Instead of thinking about removing tiles f

Re: [tiles]

2005-11-22 Thread Wendy Smoak
On 11/22/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > There are ways to put content into a tile but there isn't a way to remove a > tile. > > Say we have a layout that has a menu by default then you extend that layout > and you don't want a menu. I have that exact situation where I don't want t

Re: [tiles]

2005-11-22 Thread Greg Reddin
On Nov 22, 2005, at 4:22 PM, Garner, Shawn wrote: I know struts-templates didn't work if you did a put on a blank value. Does this work with tiles? Hmm, I don't know. Try it and see what happens. I suspect it won't work. The only thing I can think of right now is to include a blank J

[tiles]

2005-11-22 Thread Garner, Shawn
There are ways to put content into a tile but there isn't a way to remove a tile. Say we have a layout that has a menu by default then you extend that layout and you don't want a menu. I know struts-templates didn't work if you did a put on a blank value. Does this work with tiles? Why isn't th

Re:

2005-11-22 Thread Srinivas Jadcharla
Thanks Shawn.Thanks for your response. On 11/22/05, Garner, Shawn <[EMAIL PROTECTED]> wrote: > > Use to test if it is null or an empty String. > Use to test if it is not a null String and not an empty > String > > > Shawn > -Original Message- > From: Srinivas Jadcharla [mailto:[EMAIL PRO

RE:

2005-11-22 Thread Garner, Shawn
Use to test if it is null or an empty String. Use to test if it is not a null String and not an empty String Shawn -Original Message- From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 3:55 PM To: Struts Users Mailing List Subject: no payments have be

user@struts.apache.org

2005-11-22 Thread Srinivas Jadcharla
Hi , I have code like this. no payments have been applied to your account. Some payments have been applied to your account. The Aboove code was working as long as lastPaymentAmount was double.But as per the requiremnt i had to change it to String.As per the new requirement i have to look

RE: JSTL messages problem

2005-11-22 Thread Garner, Shawn
It might also work to do this: Sometimes double quotes inside double quotes confuses the compiler. If you put single quotes inside the double quotes it might be able to better determine your meaning. Shawn -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Tues

Re: How would you solve this problem?

2005-11-22 Thread Yujun Liang
You can pass the form as a variable. On 11/23/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > > We thought about that, but at first blush that seemed worse. The biggest > problem is that each page is going to have N number of spans containing > N number of data relating to the provider. So the p

Using html:rewrite in Oracle Application Server 10g

2005-11-22 Thread Vu, Thai
I use Struts 1.2.7 and Oracle Application Server 10g 10.1.2. This is the first 5 lines in my login.jsp file: <%@ taglib uri="/tags/struts-html" prefix="html" %> BRAC Management Tool - Login This file worked fine with Tomcat, but Oracle AS 10g said 500 Internal Server Error java.lang.Null

Re: JSTL messages problem

2005-11-22 Thread Wendy Smoak
On 11/22/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote: > This is definitely not how JSTL recommends loading bundles (see > fmt:bundle and fmt:setBundle). Ofcourse, its your decision. Can you explain more about this? I'm also using the contex

Re: JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
I admit I always forget the and elements, among others, support body text. Had I remembered that I would have come up with this on my own :) But thanks Ed (and Wendy after the fact ;) ), that worked perfectly. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

Re: JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
Yes, I saw those tags as I was researching, wasn't sure how to use them though... is there a good reason to use them over the context param (or vice-versa)? I would personally think the context param would be better as it would be more global and would cut down on some tags on the page... also, wi

Re: JSTL messages problem

2005-11-22 Thread Wendy Smoak
On 11/22/05, Ed Griebel <[EMAIL PROTECTED]> wrote: > I use this idiom all the time to get a message label on a button: > > > > > You should be able to substitute above. What he said. :) I had to go look around the source code of an old project to refresh my mem

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Ok, today is apparently the day I get to ask a bunch of stupid questions... > > > > Why doesn't this work? > > > > " /> > > You can't use a JSP tag as attribute of another JSP tag. >

Re: JSTL messages problem

2005-11-22 Thread Rahul Akolkar
On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote: > Place this in your web.xml file: > > > javax.servlet.jsp.jstl.fmt.localizationContext > com.omnytext.blah.blah.properties.ApplicationResources > > > > Where ApplicationResources.properties is the name of the message bundle in > question. >

Re: JSTL messages problem

2005-11-22 Thread Ed Griebel
I use this idiom all the time to get a message label on a button: You should be able to substitute above. -ed On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Ok, today is apparently the day I

[shale] Rolodex usecase

2005-11-22 Thread Alexandre Poitras
Hi, Here's one question for the developpers of Shale. Why the method createTabs() in the Rolodex ViewController embedds every bit of generated html markup inside a HtmlOutputText component. My guess is that it provides output escaping abilities for characters considered specials in HTML and maybe

Re: JSTL messages problem

2005-11-22 Thread Wendy Smoak
On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Ok, today is apparently the day I get to ask a bunch of stupid questions... > > Why doesn't this work? > > " /> You can't use a JSP tag as attribute of another JSP tag. Maybe try with the fmt in the body, then use an expression for the

Re: JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
Ok, today is apparently the day I get to ask a bunch of stupid questions... Why doesn't this work? " /> I get... org.apache.jasper.JasperException: /index.jsp(36,83) equal symbol expected ...when I try it. doesn't work either... it's obviously a problem with embedding one taq in another, so

Re: [shale] Design questions

2005-11-22 Thread Craig McClanahan
On 11/22/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > As a Struts project, once Shale gets to a General Availablility release > (which *definitely* won't be true for at least the first few milestones), it > will share the Struts community passion for backwards compatibility. > However, even

Re: JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
Yep, just figured that out myself :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, November 22, 2005 3:27 pm, Wendy Smoak said: > On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTE

Re: JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
Ah, I got it! The parameter should have been app_resources WITHOUT the .properties. Now it works. Thanks Nick, I appreciate your time! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] O

Re: JSTL messages problem

2005-11-22 Thread Wendy Smoak
On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I added this but it still didn't work... One thing that didn't make sense > to me is that I have app_resources_en.properties in WEB-INF/classes, so I > wasn't sure how to qualify that in a package structure, so I just put > app_resources.

Re: JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
Hi Nick, I added this but it still didn't work... One thing that didn't make sense to me is that I have app_resources_en.properties in WEB-INF/classes, so I wasn't sure how to qualify that in a package structure, so I just put app_resources.properties... is that right or am I misunderstanding some

RE: [shale] Design questions

2005-11-22 Thread Nwokoma, Sampson
>Personally, I think that would be a great idea :-). However, I would >suggest >a slight terminology change, because every Shale app is also "JSF >specific". >It would be more an issue of "do you want to use the Shale value add >features *in addition to* those of pure JSF. Yes! Yes! You got it co

Re: JSTL messages problem

2005-11-22 Thread Nick Sophinos
Place this in your web.xml file: javax.servlet.jsp.jstl.fmt.localizationContext com.omnytext.blah.blah.properties.ApplicationResources Where ApplicationResources.properties is the name of the message bundle in question. - Nick On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Hel

Re: [shale] Design questions

2005-11-22 Thread Frank W. Zammetti
Thanks Craig, your comments will help in my deliberations at the moment, I appreciate you taking the time to reply :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, November 22,

JSTL messages problem

2005-11-22 Thread Frank W. Zammetti
Hello... I'm trying to display messages from a bundle using JSTL like so: This isn't working, I'm getting: ???messages.appTitle??? However, doing: Working fine. So I know the key is correct, and the bundle is being read, etc. I admit I haven't done much with JSTL, but this seems pretty si

Re: [shale] Design questions

2005-11-22 Thread Craig McClanahan
On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > On Tue, November 22, 2005 1:24 pm, Craig McClanahan said: > > For the long term, I absolutely agree with you ... and Shale will > > certainly > > serve as good "research and development" for what should be standardized > > in > > JSF 2.0

Re: [shale] Design questions

2005-11-22 Thread Frank W. Zammetti
On Tue, November 22, 2005 1:24 pm, Craig McClanahan said: > For the long term, I absolutely agree with you ... and Shale will > certainly > serve as good "research and development" for what should be standardized > in > JSF 2.0. Craig, that's an interesting comment, and I'd like to ask you to expa

Re: [shale] Design questions

2005-11-22 Thread Craig McClanahan
On 11/22/05, Nwokoma, Sampson <[EMAIL PROTECTED]> wrote: > > Where can I get a good tutorial on Shale? > Oma Ah, the perils of trying to use bleeding edge software :-). Your best bet is to first gain some basic familiarity with JSF first, using the large number of resources that are available. A

RE: [shale] Design questions

2005-11-22 Thread Nwokoma, Sampson
Where can I get a good tutorial on Shale? Oma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [shale] Design questions

2005-11-22 Thread Craig McClanahan
On 11/22/05, Nwokoma, Sampson <[EMAIL PROTECTED]> wrote: > > Craig, > Thank you a lot for your reply. I respect you a lot so it is with all > due respect that I asking this: why crave out an entire new framework as > shale when JSF should have been extended to take care of whatever shale > represen

RE: [shale] Design questions

2005-11-22 Thread David G. Friedman
Facelets is a display technology similar to Shale's Clay component. Both are like tiles on steroids but tailored to be used with a JSF implementation (the Sun RI or the MyFaces runtime for example). I prefer Facelets over the Shale Clay features. Both are different from Java Studio Creator, wh

RE: [shale] Design questions

2005-11-22 Thread Nwokoma, Sampson
David, What is the difference between Java Studio Creator and Facelets since both are tools for developing JSF. Is Facelets for developing Shale? Oma -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 12:28 PM To: Struts Users Mailing L

RE: [shale] Design questions

2005-11-22 Thread David G. Friedman
Oma, If you are having trouble coding tags, which suggests you are using Shale's Clay feature, you might want to check out Facelets which has similar display properties to CLay. The URL is https://facelets.dev.java.net and I found it much easier to learn than what I've seen of Clay. Regards, D

RE: [shale] Design questions

2005-11-22 Thread Nwokoma, Sampson
Craig, Thank you a lot for your reply. I respect you a lot so it is with all due respect that I asking this: why crave out an entire new framework as shale when JSF should have been extended to take care of whatever shale represents. I am learning shale, and I am grudging about having to code the t

Re: How would you solve this problem?

2005-11-22 Thread Preston CRAWFORD
We thought about that, but at first blush that seemed worse. The biggest problem is that each page is going to have N number of spans containing N number of data relating to the provider. So the popup getting called from page one may have to update... Provider Name Provider Address and the popup

Re: access rights for JAR

2005-11-22 Thread Nick Sophinos
I imagine that the same mechanism that protects a web directory would work. One example would be to specify in the web.xml for the container to protect a given directory with authentication. See any book on servlets or JSP about that one. There are more sophisticated ways, but given the general na

Re: [shale] Design questions

2005-11-22 Thread Craig McClanahan
On 11/22/05, Nwokoma, Sampson <[EMAIL PROTECTED]> wrote: > > Is it possible to develop Shale using Java Studio Creator? > Oma At this point, the application models supported by Shale and Creator 2 are similar but not identical. You'll find that Creator's "page beans" are very similar in functiona

Re: [shale] Design questions

2005-11-22 Thread Dakota Jack
Composition is a preferred design instead of inheritance. So, implementing "composition, with inheritance" does not make much sense. On 11/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi > > So how would you implement composition, with inheritance, using Clay > instead of Tiles?. > > He

RE: Upgrade from struts1.0 to 1.2

2005-11-22 Thread George.Dinwiddie
Have you moved your Action code from the perform() method to the execute() method? - George http://www.idiacomputing.com/ > -Original Message- > From: bhas4 [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 10, 2005 9:20 AM > To: user@struts.apache.org > Subject: Re:Upgrade from s

[shale] Design questions

2005-11-22 Thread Nwokoma, Sampson
Is it possible to develop Shale using Java Studio Creator? Oma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [shale] Design questions

2005-11-22 Thread Levitt, David, Bookspan
Is it strictly a coincidence that the use of a 'backing bean' sound quite a bit like ATG Dynamo's 'FormHandler'? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Tuesday, November 22, 2005 12:15 AM To: Struts Users Mailing List Subje

Re: [shale] Design questions

2005-11-22 Thread Alexandre Poitras
Thank for the advices Craig . I'll do some pratical experiments with Shale now. By the wat, I have found an interesting post on Sun Java forums about backing beans design. Here's the link in case some other users are interested in the subject : http://forum.java.sun.com/thread.jspa?threadID=667941&

javascript in validator

2005-11-22 Thread fea jabi
One of the requirement in my application is that I should not use the client side javascript as the browsers the user use might not have the javascript enabled in their browsers. In my jsp there are 2 radio buttons. one of which is enable by default. When the user clicks on either of those he/

RE: [shale] Design questions

2005-11-22 Thread hermod.opstvedt
Hi So how would you implement composition, with inheritance, using Clay instead of Tiles?. Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig McClanahan Sent: Tuesday, November 22, 2005 6:15 AM To: Struts Users Mailing List Subject: Re: [shale] D

Re: and its behaviour....

2005-11-22 Thread Gaet
Hi Michael, Sorry to disturb again, just another question : If i use scoped variable, than what do I must write in "value" attribute of a "notEqual" tag? So what do I have to write instead of I have tried But I got a nullPointerExceptionwhat is the right code? Or in this c

MappingDispatchAction executing twice

2005-11-22 Thread su mo
Hi, I am using Struts 1.2.7. The DispatchAction and its variants MappingDispatchAction and ActionDispatcher seems to be executing twice for me. Not sure where is the problem. Here is the code snippet. I tried with extending MappingDispatchAction or using ActionDispatcher CommonAction extends Ma

MappingDispatchAction executing twice

2005-11-22 Thread su mo
Hi, I am using Struts 1.2.7. The DispatchAction and its variants MappingDispatchAction and ActionDispatcher seems to be executing twice for me. Not sure where is the problem. Here is the code snippet. I tried with extending MappingDispatchAction or using ActionDispatcher CommonAction extends Ma

Re: and its behaviour....

2005-11-22 Thread Gaet
Thanks to both of you I've seen the servlet's code and indeed, Michael, you're right...   I know deeper the mechanism now...Thanks! Cordialement,   - Original Message - From: Michael Jouravlev To: Struts Users Mailing List Sent: Monday, November 21, 2005 8:07

RE: [shale] Design questions

2005-11-22 Thread Nwokoma, Sampson
Is it possible to develop Shale application using Java Studio Creator? Oma. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

access rights for JAR

2005-11-22 Thread Deepa Khetan
Can i specify in my Config Files(web.xml or struts-config.xml) that a JAR file cannot be downloaded without logging into the system?? Regards, Deepa

Re: nested Sets

2005-11-22 Thread Danny Lee
The typical case for DynaForm is a very simple case, when you have couple of basic properties you have in your Form. I supose, that creating of a separate ActionForm class is more appropriate for your case. If you are new to Struts and have to work really fast (it was my case couple of months

Re: nested Sets

2005-11-22 Thread Bouvet Konsulent
hi again, I guess it all comes down to how to make my POJO B (which contains the formulaPart-property) available in the scope. How would I do this? Is using Dynaforms the only solution? Or should I go with something like formdef (as described in http://www.mail-archive.com/user@struts.apache.org/m

Re: Problem:

2005-11-22 Thread Eider Iturbe
Thanks to all! Writing the first letter in lowercase, it works well :-) !! Eider Ramaswamy, Palaniappan wrote: Hi Eider Try /type="java.lang.Integer"/> the property="Cmax" should be property="cmax". Struts is case sensitive. If the method in the bean is setCmax then the property should

  1   2   >