Re: Pagination source code

2005-12-17 Thread erh
On Thu, Dec 15, 2005 at 05:54:07PM +0530, P Prabaharan wrote: > Hello all, > > I am in the urgent position to implement pagination in struts. I am not in > the position to use custom tags.becoz already many pages were made. I need to > catch all the records and do pagination.If any one have code

Re: Break a forEach loop

2005-12-15 Thread erh
On Tue, Dec 13, 2005 at 11:02:02AM +0100, Rolf Niepraschk wrote: > can you tell me if it is possible to break a simple forEach loop > premature. The following doesn't work: > > > ${status.count} > > > > that's because the status variable is read-only. It has no setCount()

Re: relative paths and c:import

2005-11-22 Thread erh
On Tue, Nov 22, 2005 at 06:38:34PM +0100, Martin Kindler wrote: > Isn't there another solution? I do control both servers but forcing to use > absolute URLs via a CMS would be a problem. > I can imagine witing sort of a wrapper to adapt the result of c:import, but > this must be a common problem. S

Re: fmt:formatDate locale

2005-11-17 Thread erh
On Wed, Nov 16, 2005 at 10:40:17AM +0200, Eugeny N Dzhurinsky wrote: > Hello! > I have a problem using formatDate tag, it seem to use current locale, and in > JSP pages I see instead of day name, for example. Is there any way to > provide fixed locale or convert charset when printing formatted

Re: passing variable to custom tag

2005-11-14 Thread erh
On Mon, Nov 14, 2005 at 10:50:44AM +0200, Eugeny N Dzhurinsky wrote: > On Sat, Nov 12, 2005 at 01:20:14AM -0600, [EMAIL PROTECTED] wrote: > > On Fri, Nov 11, 2005 at 09:19:00PM +0200, Eugeny N Dzhurinsky wrote: > > > Actually I'm using Tomcat 5.0 and JSTL 1.1 from Jakarta. The code looks > > > lik

Re: passing variable to custom tag

2005-11-11 Thread erh
On Fri, Nov 11, 2005 at 09:19:00PM +0200, Eugeny N Dzhurinsky wrote: > Actually I'm using Tomcat 5.0 and JSTL 1.1 from Jakarta. The code looks like > this: > > > > > > And the exception is JasperException, with message "-348" What? Are you saying you're getting an exception that l

Re: passing variable to custom tag

2005-11-11 Thread erh
On Fri, Nov 11, 2005 at 03:39:52PM +0200, Eugeny N Dzhurinsky wrote: > Hi, I have designed custom tag, which displays date depending of difference > beteen current date and specified date, it looks like this > > date="${late_messages.time_end}" format="dd-MM-"/> > > But I have problem passin

Re: Trouble with "xtags:add"

2005-11-10 Thread erh
On Tue, Nov 08, 2005 at 04:17:29PM +0100, Rolf Niepraschk wrote: > I need the additional tag "XX" at the same level as "AA" just after "BB". All > my > trials results in the last position. The small jsp program at the end of this > email shows the problem. I have also tried the parameter "after"

c:import doesn't work with HEAD requests

2005-10-30 Thread erh
I've been trying to figure out why occasionally my webapp gets "Premature end of file" errors when trying to parse an xml configuration file using x:parse. I finally figured out that it's not x:parse's fault and the eof error is correct since the data it is getting fed ends up being empty