Re: [GNOME Do] 100% CPU after resume

2011-06-02 Thread Felix Velasco
You're running into a really old bug. Do series 0.8.x requires plugins to be
thread-safe, or else this may happen. For you is the thunderbird extension
is the one that's behaving poorly, but in the past others have failed
(banshee...). It's been solved in trunk since april 2010 [1], but there
hasn't been many releases lately, so you may either wait for the 0.9.0
series, compile from trunk, or ask your downstream packager to include this
patch.

Regards,
Félix Velasco

[1]: http://bazaar.launchpad.net/~do-core/do/trunk/revision/1321



2011/6/2 Sean Dague 

> On 04/18/2011 07:02 PM, Robert Dyer wrote:
>
>> If you do a:
>>
>> kill -SIGQUIT
>>
>> it will dump a stack trace to the *original terminal* Do was started
>> from.  If it auto-started, this should dump it into ~/.xsession-errors
>>
>> That trace should give insights into what it is doing, and possibly
>> indicate which plugin (if any) is causing this so you can temporarily
>> disable it.
>>
>> - Rob
>>
>>
> Finally remembered to do this, here is what I'm getting.  I'm not sure how
> to parse this into a culprit.
>
> "" tid=0x0xac588b70 this=0x0x2bd4b0 thread handle 0x420
> state : interrupted state owns ()
>  at System.Collections.Generic.Dictionary`2.set_Item
> (object,object) <0x0009f>
>  at Do.Universe.ContactItem.set_Item (string,string) <0x000e7>
>  at
> Do.Addins.Thunderbird.ThunderbirdContactItemSource.CreateThunderbirdContactItem
> (System.Collections.Hashtable) <0x001ab>
>  at Do.Addins.Thunderbird.ThunderbirdContactItemSource._UpdateItems ()
> <0x000e4>
>  at Do.Addins.Thunderbird.ThunderbirdContactItemSource.UpdateItems ()
> <0x00017>
>  at Do.Universe.Safe.SafeItemSource.UpdateItems () <0x0001e>
>  at Do.Core.UniverseManager.ReloadSource
> (Do.Universe.ItemSource,System.Collections.Generic.Dictionary`2 Do.Universe.Item>) <0x000ca>
>  at Do.Core.UniverseManager.UniverseUpdateLoop () <0x0010e>
>  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
> (object,intptr,intptr,intptr) <0x00040>
>
> "" tid=0x0xb74326f0 this=0x0x3eed8 thread handle 0x404
> state : not waiting owns ()
>  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x4>
>  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x4>
>  at Gtk.Application.Run () <0xa>
>  at Do.Do.Main (string[]) <0x0022f>
>  at (wrapper runtime-invoke) .runtime_invoke_void_object
> (object,intptr,intptr,intptr) <0x00043>
>
> "" tid=0x0xac467b70 this=0x0x2bd0c8 thread handle 0x440
> state : interrupted state owns ()
>  at System.Collections.Generic.Dictionary`2.set_Item
> (object,object) <0x00110>
>  at Do.Universe.ContactItem.set_Item (string,string) <0x000e7>
>  at
> Do.Addins.Thunderbird.ThunderbirdContactItemSource.CreateThunderbirdContactItem
> (System.Collections.Hashtable) <0x001ab>
>  at Do.Addins.Thunderbird.ThunderbirdContactItemSource._UpdateItems ()
> <0x000e4>
>  at Do.Addins.Thunderbird.ThunderbirdContactItemSource.UpdateItems ()
> <0x00017>
>  at Do.Universe.Safe.SafeItemSource.UpdateItems () <0x0001e>
>  at Do.Core.UniverseManager.ReloadSource
> (Do.Universe.ItemSource,System.Collections.Generic.Dictionary`2 Do.Universe.Item>) <0x000ca>
>  at Do.Core.UniverseManager/c__AnonStoreyD.<>m__22
> (Do.Universe.ItemSource) <0x0001b>
>  at System.Linq.EnumerableExtensions.ForEach
> (System.Collections.Generic.IEnumerable`1,System.Action`1)
> <0x00088>
>  at Do.Core.UniverseManager.ReloadUniverse () <0x000cd>
>  at Do.Platform.ApplicationService/c__AnonStoreyF.<>m__28 ()
> <0x0001c>
>  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
> (object,intptr,intptr,intptr) <0x00040>
>
> "" tid=0x0xabca7b70 this=0x0xb55960 thread handle 0x44e
> state : interrupted state owns ()
>  at System.Collections.Generic.Dictionary`2.set_Item
> (object,object) <0x00096>
>  at Do.Universe.ContactItem.set_Item (string,string) <0x000e7>
>  at
> Do.Addins.Thunderbird.ThunderbirdContactItemSource.CreateThunderbirdContactItem
> (System.Collections.Hashtable) <0x001ab>
>  at Do.Addins.Thunderbird.ThunderbirdContactItemSource._UpdateItems ()
> <0x000e4>
>  at Do.Addins.Thunderbird.ThunderbirdContactItemSource.UpdateItems ()
> <0x00017>
>  at Do.Universe.Safe.SafeItemSource.UpdateItems () <0x0001e>
>  at Do.Core.UniverseManager.ReloadSource
> (Do.Universe.ItemSource,System.Collections.Generic.Dictionary`2 Do.Universe.Item>) <0x000ca>
>  at Do.Core.UniverseManager/c__AnonStoreyD.<>m__22
> (Do.Universe.ItemSource) <0x0001b>
>  at System.Linq.EnumerableExtensions.ForEach
> (System.Collections.Generic.IEnumerable`1,System.Action`1)
> <0x00088>
>  at Do.Core.UniverseManager.ReloadUniverse () <0x000cd>
>  at Do.Platform.ApplicationService/c__AnonStoreyF.<>m__28 ()
> <0x0001c>
>  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
> (object,intptr,intptr,intptr) <0x00040>
>
> "" tid=0x0xaccaeb70 this=0x0x2bd190 thread handle 0x43e
> state : interrupted state owns ()
>  at System.Collections.Generic.Dictionary`2.set_Item
> (object,object) <0x00110>
>  at Do.Universe.

Bug#432477: openarena: New upstream release 0.7.0

2007-08-11 Thread Felix Velasco
Hi,

In the meantime, a bug fixing version has appeared. Please upgrade to
0.7.1, not to 0.7.0


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#432477: openarena: New upstream release 0.7.0

2007-08-11 Thread Felix Velasco
Hi,

In the meantime, a bug fixing version has appeared. Please upgrade to
0.7.1, not to 0.7.0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: nested tags

2004-11-18 Thread Felix Velasco
have you tried looking at the generated .java files? At worst you might be
able to decompile the .class generated for this jsp

-Original Message-
From: luca [mailto:[EMAIL PROTECTED]
Sent: 18 November 2004 13:45
To: Tag Libraries Users List
Subject: nested tags



Hallo, I have implemented a tag lib with some cases
of nested cooperating tags.

For ex:

 
  
 

 
  
 

(complete example of usage: http://wurfl.sourceforge.net/java/coolmenu.php)

My big problem is that I just found out this doesn't work
on Weblogic 8.1 and, what's worse it does not produce
any significant diagnostics in the weblogic logs.

The JSP starts rendering and fails as soon as the second instance of the
img tag is encountered. Error msg (in the browser window):

{Exception in myjsp.jsp] null

On Tomcat 4 it works no problem.

Of course, I suspect that the problem could be due to different
strategies that the two appserver employ to reuse tag instances,
but I am not sure how I can fix this.
I do have some instance variables (necessary to allow the two tags too
cooperate), but I make sure they are initialized by doStartTag().

I attach the code of the two tags, if this can help...

thanks

Luca





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: xml and date problem

2004-06-02 Thread Felix Velasco
have you tried this:


  

  

  

  

  
  


  


  

,just to see if it's really an xml problem, or has something to do with the
"updated" var, the fmt tags?

-Original Message-----
From: Felix Velasco [mailto:[EMAIL PROTECTED]
Sent: 02 June 2004 18:49
To: 'Tag Libraries Users List'
Subject: RE: xml and date problem


also worked for me, in Jetty (Servlet 2.3/JSP1.2) with far older Xerces and
Xalan version.

Xerces 1.4.3, Xalan 2.3.1

-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: 02 June 2004 18:45
To: Tag Libraries Users List
Subject: Re: xml and date problem


I changed your example only to make it work more nicely as text output:

<%@ page contentType="text/plain" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>
<%@ taglib prefix="x"   uri="http://java.sun.com/jstl/xml"; %>

















And got:

2004-06-02 14:20:14
2004-06-02 14:38:09

So what's the problem? ;-) I used TC 5.0.24 (running in Servlet 2.3/JSP 1.2
mode) with Xerces 2.6.2 and Xalan 2.6.0 installed in common/endorsed. Try
upgrading Xerces and Xalan.

Quoting David Goodenough <[EMAIL PROTECTED]>:

> I have a problem with either xml parsing or date formatting, I am not
quite
> sure which.
> 
> Consider the following code:-
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>   
>   
> 
>/>
>   
> 
> 
>   
> 
> One would expect this to produce:-
> 
> 2004-06-02 14:20:14
> 2004-06-02 14:38:09
> 
> but instead it produces:-
> 
> 2004-06-02 14:20:14
> 2004-06-02 14:20:14
> 
> i.e. it repeats the first date.  If there are more than two xml items it 
> repeats the same date all the way through.
> 
> Is this a known problem, and is there a fix?
> 
> David

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech   <http://www.dotech.com/>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: xml and date problem

2004-06-02 Thread Felix Velasco
also worked for me, in Jetty (Servlet 2.3/JSP1.2) with far older Xerces and
Xalan version.

Xerces 1.4.3, Xalan 2.3.1

-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: 02 June 2004 18:45
To: Tag Libraries Users List
Subject: Re: xml and date problem


I changed your example only to make it work more nicely as text output:

<%@ page contentType="text/plain" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>
<%@ taglib prefix="x"   uri="http://java.sun.com/jstl/xml"; %>

















And got:

2004-06-02 14:20:14
2004-06-02 14:38:09

So what's the problem? ;-) I used TC 5.0.24 (running in Servlet 2.3/JSP 1.2
mode) with Xerces 2.6.2 and Xalan 2.6.0 installed in common/endorsed. Try
upgrading Xerces and Xalan.

Quoting David Goodenough <[EMAIL PROTECTED]>:

> I have a problem with either xml parsing or date formatting, I am not
quite
> sure which.
> 
> Consider the following code:-
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>   
>   
> 
>/>
>   
> 
> 
>   
> 
> One would expect this to produce:-
> 
> 2004-06-02 14:20:14
> 2004-06-02 14:38:09
> 
> but instead it produces:-
> 
> 2004-06-02 14:20:14
> 2004-06-02 14:20:14
> 
> i.e. it repeats the first date.  If there are more than two xml items it 
> repeats the same date all the way through.
> 
> Is this a known problem, and is there a fix?
> 
> David

-- 
Kris Schneider 
D.O.Tech   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Unable to parse XML input using x:parse

2004-05-28 Thread Felix Velasco
you are parsing the xml correctly, the trouble is that you are not
displaying it correctly.

>From your code:

 
This will show nothing, as the "String XPath value" of your whole xml is
empty


This shows [#document: null], since you'r displaying an object of type
org.w3c.Document, whose toString() method returns : "[" + name-of-the-node +
": " + value-of-the-node + "]".

It's an xml-xpath problem what you are witnessing, not an jstl one.


Back in the "String XPath value" issue, the XPath specification says
that the value of transforming a node or a set of them into a String is the
concatenation of the values of the text or cdata nodes contained in the
subtree. A strange way of saying that it merely remove the tags (attributes
included)

If you use the following tag, you should see something:

--->><<---
That should output:

--->>UserMenu<<<---


-Original Message-
From: David Ketchin [mailto:[EMAIL PROTECTED]
Sent: 27 May 2004 17:41
To: '[EMAIL PROTECTED]'
Subject: Unable to parse XML input using x:parse


I am having a problem with the x:parse tag. 
Im using the standard 1.05 apache jstl taglib in a struts 1.1 app on
Jboss3.2.3
No matter what I do the xml fails to parse and a null document is produced.

The xml exists as a string property on a bean. 

the xml is as follows -




















 


































the page parsing it is -

<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld" prefix="x" %>


 Test page 
 Xml display - from loaded value







 


The output is -
 

Xml display - from loaded value
  

[#document: null] 



But viewing the souce shows the c:out has written the xml to the source of
the page showing it is loaded on the bean and is in scope.

All the relevant jars are in /WEB-INF/lib and the tld's in /WEB-INF/ - have
also had the same issue with 1.04 and 1.02 taglib.

any ideas?



**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not copy or deliver this message to
anyone. In such case, you should destroy this message, and notify us
immediately. If you or your employer does not consent to Internet email
messages of this kind, please advise us immediately. Opinions, conclusions
and other information expressed in this message are not given or endorsed by
my Company or employer unless otherwise indicated by an authorised
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being
transmitted via electronic mail attachments we cannot guarantee that
attachments do not contain computer virus code.  You are therefore strongly
advised to undertake anti virus checks prior to accessing the attachment to
this electronic mail.  Axios Systems Ltd grants no warranties regarding
performance use or quality of any attachment and undertakes no liability for
loss or damage howsoever caused.
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Custom tag, JSTL tag or Other for bean.isXXX() call?

2004-04-28 Thread Felix Velasco
for booleans, "is" is a valid prefix. Try 


  XYZ


the prefix is removes as per the java beans specification


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: 28 April 2004 13:34
To: [EMAIL PROTECTED]
Subject: Custom tag, JSTL tag or Other for bean.isXXX() call?


Hi All

I am running a Struts-based intranet web application. Each user has a
session object called IQUser loaded. One of the methods of this object is
hasRole(String roleKey). Another is isAdmin() which calls hasRole("admin").

I wish to clean the JSP scriplet code I have everywhere ...

<%
  if (user.hasRole("admin")) { %>
XYZ
  <%
}
%>

with tag library calls. My first thought was that I need to create a custom
tag


  XYZ


Then I thought why not try to use JSTL, so I tried


  XYZ


to find that it did not work, and looking at references it seems that JSTL
cannot do method calls unless they are getXXX. 

I do not want to set isAdmin as a boolean in some scope so that the
following works


  XYZ


because I find that messy when the user object exists in the session
already.

It looks like I may have to go back to my original idea of a custom tag, but
I wanted to see what this list recommended first...I thought this would be
straightforward since calling boolean methods in beans with isXXX or hasXXX
is as widespread as getXXX. 

Cheers, ADC


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Replacing returns with

2004-04-14 Thread Felix Velasco
you have a typo: the attribute is escapeXml ,not escapeXmL (look at the 'L')

-Original Message-
From: Keith [mailto:[EMAIL PROTECTED]
Sent: 14 April 2004 15:24
To: Tag Libraries Users List
Subject: Re: Replacing returns with 


When I try putting the '\\\n' in with the escapeXmL attribute set to false,
I get this:

org.apache.jasper.JasperException: /filename.jsp(301,2) Attribute escapeXmL
invalid for 
tag out according to TLD

Which makes no sense what-so-ever. I tried just putting the
escapeXmL="false" attribute 
in with '\n' being my string, and I get my original error.

I think the problem may be that it's not seeing \n as the return character
from my 
database.

Any ideas?

Keith


-- Original Message ---
From: Pierre Delisle <[EMAIL PROTECTED]>
To: Tag Libraries Users List <[EMAIL PROTECTED]>
Sent: Tue, 13 Apr 2004 18:08:51 -0700
Subject: Re: Replacing returns with 

> Not very intuitive, but the following should work:
> 
>   
>   
> 
>-- Pierre
> 
> Keith wrote:
> 
> > I have a column in a database that is used to store a comments section.
It's just a 
large 
> > string (VARCHAR2(4000) in Oracle), and the information is entered into
it via a 
> >  form field. If I output that data to another  I can
see that the 
> > return characters are preserved in the database.
> > 
> > I was trying to output this column's data as normal text in HTML, but
need to 
preserve 
> > the returns somehow. I was thinking I could use the  action
to turn them 
into 
> > 's, but I'm not sure how it sees the return characters in the
string. I tried 
this:
> > 
> > 
> > 
> > But get this error back:
> > 
> > org.apache.jasper.JasperException: /filename.jsp(281,2) "${fn:replace
> > (row.comments, '\n', '')}" contains invalid expression(s): 
> > javax.servlet.jsp.el.ELException: Encountered "'\n", expected one of 
[, 
> > , , "true", "false", "null",
"(", "-
> > ", "not", "!", "empty", ]
> > 
> > 
> > Anyone help with how I can go about doing this? Thanks!
> > 
> > Keith
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--- End of Original Message ---


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: isLast() method of LoopTagStatus class

2004-04-12 Thread Felix Velasco
this is a very basic application of the JavaBeans spec, and I don't really
think you should read it to use in jstl. You just need to know that any
class with non-static methods starting with "get", "set" or "is" (this last
one only for booleans) is a JavaBean to you. Then, to call this method,
remove the prefix and lowercase the first letter after it. Unless there are
more than one uppercase letters, so:

getId() -->  .id
getID() -->  .ID

In most EL tutorials you'll find this better explained, I'd start with Shawn
Bayern's book, JSTL in Action, probably the best there is for JSTL.

-Original Message-
From: Keith [mailto:[EMAIL PROTECTED]
Sent: 12 April 2004 18:57
To: Tag Libraries Users List
Subject: RE: isLast() method of LoopTagStatus class


Perfect! Thanks!

Where would I have looked to find that info? I'm still really new to Beans
and raw Java 
code. Main reason why I'm going with JSTL right now. I had tried looking in
the Java 
Docs, but I really didn't know where to begin. 

Keith

-- Original Message ---
From: Felix Velasco <[EMAIL PROTECTED]>
To: "'Tag Libraries Users List'" <[EMAIL PROTECTED]>
Sent: Mon, 12 Apr 2004 18:41:51 +0200
Subject: RE: isLast() method of LoopTagStatus class

> try loop_status.last instead of loop_status.isLast(). EL will translate it
> as per javabeans specification
> 
> -Original Message-
> From: Keith [mailto:[EMAIL PROTECTED]
> Sent: 12 April 2004 18:41
> To: Taglibs
> Subject: isLast() method of LoopTagStatus class
> 
> I'm trying to output a comma delimited list based on a varying list of
> statuses that will 
> be input from a select menu in a form. I was trying to figure out how to
> avoid putting a 
> comma after the last value, and it seemed like testing with the isLast()
> method of the 
> LoopTagStatus class would be a good thing to use. I'm not quite sure how
to
> go about 
> using it, though. Reading about it, it looks like the 'varStatus'
attribute
> of the 
>  tag creates a variable to hold a LoopTagStatus object. My code
> below was how 
> I assumed I would then be able to access the isLast() method:
> 
> <%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
> <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"; %>
>  varStatus="loop_status">
> '${status_row.status_name}'
>   , 
> 
> 
> But when I do this, I get the following error back:
> 
> org.apache.jasper.JasperException: /report_status_data.jsp(20,3) The
> function isLast must 
> be used with a prefix when a default namespace is not specified
> 
> Here's an example of the kind of output I'm trying to generate. The list
has
> a 
> possibility of being shorter or longer than this:
> 
> 'In-Progress', 'Closed', 'Terminated', 'Withdrawn'
> 
> Thanks in advance!
> 
> Keith
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--- End of Original Message ---


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: isLast() method of LoopTagStatus class

2004-04-12 Thread Felix Velasco
try loop_status.last instead of loop_status.isLast(). EL will translate it
as per javabeans specification

-Original Message-
From: Keith [mailto:[EMAIL PROTECTED]
Sent: 12 April 2004 18:41
To: Taglibs
Subject: isLast() method of LoopTagStatus class


I'm trying to output a comma delimited list based on a varying list of
statuses that will 
be input from a select menu in a form. I was trying to figure out how to
avoid putting a 
comma after the last value, and it seemed like testing with the isLast()
method of the 
LoopTagStatus class would be a good thing to use. I'm not quite sure how to
go about 
using it, though. Reading about it, it looks like the 'varStatus' attribute
of the 
 tag creates a variable to hold a LoopTagStatus object. My code
below was how 
I assumed I would then be able to access the isLast() method:

<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"; %>

'${status_row.status_name}'
  , 



But when I do this, I get the following error back:

org.apache.jasper.JasperException: /report_status_data.jsp(20,3) The
function isLast must 
be used with a prefix when a default namespace is not specified

Here's an example of the kind of output I'm trying to generate. The list has
a 
possibility of being shorter or longer than this:

'In-Progress', 'Closed', 'Terminated', 'Withdrawn'

Thanks in advance!

Keith

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Internal Servlet Error using Taglibs-image on Tomcat 3.2.3 an d j2sdk1.4.1_06

2004-03-16 Thread Felix Velasco
I don't think you can do it without upgrading your Tomcat version.
You're using the 2.2 servlet API, and need at least the 2.3 version of the
api for custom tags, even if you "downgrade" the code to use the
HttpUtils.getRequestURL deprecated method.

Félix

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 16 March 2004 18:08
To: Tag Libraries Users List
Subject: Internal Servlet Error using Taglibs-image on Tomcat 3.2.3 and
j2sdk1.4.1_06


Hi !

I'm reposting the emai and hoping that someone could finaly help me to
resolve the problem.

I installed the image-examples under webapps in Tomcat v3.2.3 using
j2sdk1.4.1_06 and I when I run http://myserver/image-examples/index.jsp I
get an Internal Servlet Error with a root cause:
java.lang.NoSuchMethodError:
javax.servlet.http.HttpServletRequest.getRequestURL()Ljava/lang/StringBuffer
;

I think the problem is with the servlet.jar that comes with tomcat 3.2.3.

I made a quick search in google and I found that someone suggested to
replace all methods
javax.servlet.http.HttpServletRequest.getRequestURL() with
javax.servlet.http.HttpUtils.getRequestURL(request)
http://mail.sourceid.org/pipermail/sso-users/2003-May/000119.html

I don't know if this will work if I do this in taglibs-source code, but is
there any work around already available without the need to upgrade my
tomcat webserver or JDK to a newer version?

thank you for your help.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Formatting (Gregorian)Calendar instances?

2004-02-03 Thread Felix Velasco
ps
i wrote too fast. It's myCalendar.time, not date, as Brian pointed.

sorry

-Original Message-
From: Felix Velasco [mailto:[EMAIL PROTECTED]
Sent: 03 February 2004 13:26
To: 'Tag Libraries Users List'
Subject: RE: Formatting (Gregorian)Calendar instances?


try:



that way you'd access the getDate method of the Calendar interface, that
returns the equivalent java.util.Date instance

-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]
Sent: 03 February 2004 13:04
To: [EMAIL PROTECTED]
Subject: Formatting (Gregorian)Calendar instances?


Hello,

If I use java.util.Date with the following piece os JSTL, it
works nicely.  However, I need to format an instance of
(Gregorian)Calendar.  I used Google to try to find the answer,
but  found nothing.



Is there a way to format (Gregorian)Calendar instances with
JSTL?

Thanks,
Otis



Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Formatting (Gregorian)Calendar instances?

2004-02-03 Thread Felix Velasco
try:



that way you'd access the getDate method of the Calendar interface, that
returns the equivalent java.util.Date instance

-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]
Sent: 03 February 2004 13:04
To: [EMAIL PROTECTED]
Subject: Formatting (Gregorian)Calendar instances?


Hello,

If I use java.util.Date with the following piece os JSTL, it
works nicely.  However, I need to format an instance of
(Gregorian)Calendar.  I used Google to try to find the answer,
but  found nothing.



Is there a way to format (Gregorian)Calendar instances with
JSTL?

Thanks,
Otis



Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: generates incorrect encoding?

2003-09-19 Thread Felix Velasco
the problem is the space in the xml header

  ^

shuld be


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 19 September 2003 13:49
To: Andreas Schildbach
Cc: [EMAIL PROTECTED]
Subject: Re:  generates incorrect encoding?


Hello


Iam using a tag library descriptor which is as  follows:



http://java.sun.com/j2ee/dtds/
web-jsptaglibrary_1_1.dtd">
 


 


   1.0
   1.1
   first
   
   A simple tab library for the
   examples
 

  
hello
tags.HelloTag
empty
Say Hi
  



Iam getting the error:

XML parsing error on file /WEB-INF/jsp/mytaglib.tld: (line 4, col 6): The 
processing instruction target matching "[xX][mM][lL]" is not allowed.


Please give me solutions for this.

with regards

 

Ananth R
Project Associate
Electronic Enterprise Laboratory
Computer Science and Automation
Indian Institute Of Science
Bangalore

-
Phone:(off) 2932368-111
  (cdma)9844140340 

e-mail:[EMAIL PROTECTED]
   [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: a doubt on sessions

2000-11-29 Thread Felix Velasco

there's no need to invalidate the session, since it'll disappear from the
server after a time. However, if you would need doing it, it could can be
done with client (i.e.:JavaScript) code, since it resides in the server.
Only server java code inside a jsp can do it.

-Mensaje original-
De: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]En nombre de Lorena Carlo
Enviado el: Wednesday, November 29, 2000 4:18 PM
Para: [EMAIL PROTECTED]
Asunto: a doubt on sessions


Hello all,

I have a doubt on session, can any body tell me if it is necesary to
invalidate a session when the user  presses a button that have a the
following javascript code:   "javascript:window.top.close()", that closes
the browser window?.

If I have to invalidate the session, how can i do it with javascript, i can
not use the method invalidate of the HttpSession object because I am using
html for the menues and not jsp, what can I do in that case.

Thanks in advace

Lorena

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets