Re: Cannot call c:import / more than once!

2004-11-06 Thread Mick Wever
There is a simple solution. In the c:import specify an absolute URL. I am having the same issue as you were last month. I am using OC4J (AS 10g) and can not c:import nor tiles:insert more than one Struts action on the same JSP. I saw that you worked around the issue by using an absolute

Re: Cannot call c:import / more than once!

2004-10-14 Thread Mick Wever
On Wed, 13 Oct 2004 13:59:32 -0400, Kris Schneider wrote: I'm not sure he actually intended to do multiple forwards, it seems like he just wanted to reuse an action to generate some common output. The fact that Struts is performing an implicit forward in response to each of those imports can

Re: Cannot call c:import / more than once!

2004-10-14 Thread Mick Wever
It's got nothing to do with JSTL and everything to do with your Struts action. The Struts controller effectively performs the forward with the result of your action's execute method. Yes, c:import can work perfectly well when used multiple times in a page. For URLs that are within the same

Re: Cannot call c:import / more than once!

2004-10-14 Thread Mick Wever
On Thu, 14 Oct 2004 07:17:34 -0400, Kris Schneider wrote: It's got nothing to do with JSTL and everything to do with your Struts action. The Struts controller effectively performs the forward with the result of your action's execute method. Yes, c:import can work perfectly well when used

Re: FieldChecks change signature and no longer returns value

2004-10-14 Thread Mick Wever
Gentoo now has the latest version. You're responsible for the ebuild? Thanks! But doesn't build: Source unpacked. Buildfile: build.xml does not exist! Build failed Mick. -- ---BR/ The reward of patience is patience. St. Augustine BR/ a href=http://www.harryspractice.com.auHarry's Practice/a

Cannot call c:import / more than once!

2004-10-13 Thread Mick Wever
I think I've got a very annoying Response has already been committed problem narrowed down... The follwing jsp code does not work for me: %@ taglib uri=c.tld prefix=c % c:forEach items=${listOfNumbers} var=number c:import url=/customAction.do?number=${number}/ br/ /c:forEach

FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
After updating to version 1.2.2 FieldsCheck.checkInteger(..) now returns a boolean indicating success rather the value. This has broken our code and we need the value. Is there a substitute method now? Mick. -- BR/ It is not enough to have a good mind; the main thing is to use it well.

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
After updating to version 1.2.2 FieldsCheck.validateInteger(..) now returns a boolean indicating success rather the value. This has broken our code and we need the value. Is there a substitute method now? I've tracked this down to a patch done under bug#26413.

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
Version 1.2.2 was downgraded from ga quality because of problems so its not a good idea to use it in general. Current release version is 1.2.4 and this issue was fixed in that version. Sorry, failed to look that far ahead :$ Gentoo, unfortunately is still publishing 1.2.2 :( P.S. I assume

Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
When our webpages are viewed with opera all our links are relative to the jsp used (within tiles) not the actual url/action given. Is there some way of changing the response so that the url is correct and relative links don't reference the jsp? Mick. -- -- BR/ It is not enough to have a good

Re: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 07:14:52 -0400, James Mitchell wrote: Opera should know nothing about your jsp, unless you are doing something else wrong. Are you using redirects or forwards? Indeed I would think so too. There are naturally no differents in the html source between the different browsers,

RE: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 13:28:23 +0200, Kransen, J. wrote: Do you have a base tag inside your htmlhead ? No, but I'm playing around with that now... One problem that arises from using the base tag is browser differences: IE: server name and port required in base href Firefox: base tag doesn't

RE: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 13:49:34 +0200, Kransen, J. wrote: You probably already know, but you can use Struts html:base/ tag to dynamically create the base tag. This works great as you don't have to edit the tag if you move the page or change the server for example. It also creates the full

RE: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 14:52:08 +0200, Kransen, J. wrote: I'm not sure on how to use the html:base tag in the opposite manner, ie the href to be that of the struts action's path not the jsp's path? Indeed it seems impossible to create a base tag containing an action path instead of a jsp path,

Re: How to renderize a image?

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 10:26:34 -0300, Paulo Rezende wrote: It's a way but I really dont like it. If I copy all the fields of a table to properties of the form, why i dont can copy also the image to a Blob in the form and use it? Do I need to create another connection with db and run another sql