You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hoying, Ken" <Ke...@PremierInc.com> on 2008/02/22 14:26:57 UTC

[S2] OGNL Syntax Question

I was using the following statement under Weblogic which worked
perfectly:

<s:set name="imgShowExpand" scope="page" value="%{'\'' +
#attr.imgExpandId + '\''}"/>

However, we have recenly changed out our appication server to Jboss and
now this statement appears to be evaluating to null.  I do not appear to
be getting any errors.  It is simply just not evaluating.  I believe it
is taking issue with the how the single parens are being escaped.  Can
anyone recommend an alternative syntax?

Thank you,
Ken

Re: [S2] OGNL Syntax Question

Posted by Wes Wannemacher <we...@wantii.com>.
Why break up the value? plus, I think name is deprecated... Does this work -

<s:set var="imgShowExpand" scope="page" value="%{#attr.imgExpandId}" />

-Wes

On 2/22/08, Hoying, Ken <Ke...@premierinc.com> wrote:
>
>  I was using the following statement under Weblogic which worked
>  perfectly:
>
>  <s:set name="imgShowExpand" scope="page" value="%{'\'' +
>  #attr.imgExpandId + '\''}"/>
>
>  However, we have recenly changed out our appication server to Jboss and
>  now this statement appears to be evaluating to null.  I do not appear to
>  be getting any errors.  It is simply just not evaluating.  I believe it
>  is taking issue with the how the single parens are being escaped.  Can
>  anyone recommend an alternative syntax?
>
>  Thank you,
>
> Ken
>


-- 
Wesley Wannemacher
President, Head Engineer/Consultant
WanTii, Inc.
http://www.wantii.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [Friday] Re: [S2] OGNL Syntax Question

Posted by Martin Gainty <mg...@hotmail.com>.
//since IE is the preferred browser for business and THATS where the money
is..
//we will note Dojos IE implementation has a heavy reliance on Microsoft
ActiveX SOAP control..how many times have we seen this iteration in dojo
code?
//in order of decreasing likelihood; this will change in time.
dojo.hostenv._XMLHTTP_PROGIDS = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP',
'Msxml2.XMLHTTP.4.0'];
dojo.hostenv.getXmlhttpObject = function(){
    var http = null;
 var last_e = null;
 try{ http = new XMLHttpRequest(); }catch(e){}
    if(!http){
  for(var i=0; i<3; ++i){
   var progid = dojo.hostenv._XMLHTTP_PROGIDS[i];
   try{
    http = new ActiveXObject(progid);

But Did you know that v4 is being EOLed??..take a look at
http://msdn2.microsoft.com/en-us/library/ms762314(VS.85).aspx

and in fact there a security patch level2 for XMLHTTP.4.0. available located
at
http://download.microsoft.com/download/9/6/5/9657c01e-107f-409c-baac-7d24956
1629c/MSXML4SP_RelNote.htm

where The latest is v6
http://www.microsoft.com/downloads/details.aspx?FamilyID=993C0BCF-3BCF-4009-
BE21-27E85E1857B1&displaylang=en
which now has

a.. XML 1.0 (DOM & SAX2 APIs)
a.. XML Schema (XSD) 1.0
a.. XPath 1.0
a.. XSLT 1.0

personally I believe incorporating XSLT capability will propel this control
well beyond the v4 control

Anyone?
Martin--
----- Original Message -----
From: "Al Sutton" <al...@alsutton.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Saturday, February 23, 2008 3:29 AM
Subject: Re: [Friday] Re: [S2] OGNL Syntax Question


> Go guerilla my friend and just do it, go to the business group paying for
> the development, and say "If I install browser X as part of the system
look
> how much prettier and easier things become".
>
> Once you've sold it to the business group the techies will have to
> follow.... :)
>
> ----- Original Message -----
> From: "Dave Newton" <ne...@yahoo.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Saturday, February 23, 2008 1:06 AM
> Subject: Re: [Friday] Re: [S2] OGNL Syntax Question
>
>
> > --- stanlick@gmail.com wrote:
> >> And he is buddying up with Microsoft!
> >
> > I've offered to deploy a better browser on my client's 3-4k tablets; so
> > far
> > they've declined.
> >
> > Dave
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [Friday] Re: [S2] OGNL Syntax Question

Posted by Al Sutton <al...@alsutton.com>.
Go guerilla my friend and just do it, go to the business group paying for 
the development, and say "If I install browser X as part of the system look 
how much prettier and easier things become".

Once you've sold it to the business group the techies will have to 
follow.... :)

----- Original Message ----- 
From: "Dave Newton" <ne...@yahoo.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Saturday, February 23, 2008 1:06 AM
Subject: Re: [Friday] Re: [S2] OGNL Syntax Question


> --- stanlick@gmail.com wrote:
>> And he is buddying up with Microsoft!
>
> I've offered to deploy a better browser on my client's 3-4k tablets; so 
> far
> they've declined.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [Friday] Re: [S2] OGNL Syntax Question

Posted by Dave Newton <ne...@yahoo.com>.
--- stanlick@gmail.com wrote:
> And he is buddying up with Microsoft!

I've offered to deploy a better browser on my client's 3-4k tablets; so far
they've declined.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [Friday] Re: [S2] OGNL Syntax Question

Posted by st...@gmail.com.
And he is buddying up with Microsoft!  Dave did you stop taking the pretty
little orange pills?

On Fri, Feb 22, 2008 at 6:24 PM, Dave Newton <ne...@yahoo.com> wrote:

> --- Wes Wannemacher <we...@wantii.com> wrote:
> > On 2/22/08, Dave Newton <ne...@yahoo.com> wrote:
> > > --- "Hoying, Ken" <Ke...@PremierInc.com> wrote:
> > > > I was able to resolve the issue by replacing the single backslash
> with
> > > > a double backslash.
> > > Any time you need advice completely unrelated to how you solved the
> > > problem I'm your man!!!
> > Dave, you're in rare form today, you've gone from "old and easily
> > irritated" to amusing, I love it!
>
> I've spent the last few days fighting with some jQuery/IE6 memory usage
> issues. I've totally lost it.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Scott
stanlick@gmail.com

Re: [Friday] Re: [S2] OGNL Syntax Question

Posted by Dave Newton <ne...@yahoo.com>.
--- Wes Wannemacher <we...@wantii.com> wrote:
> On 2/22/08, Dave Newton <ne...@yahoo.com> wrote:
> > --- "Hoying, Ken" <Ke...@PremierInc.com> wrote:
> > > I was able to resolve the issue by replacing the single backslash with
> > > a double backslash.
> > Any time you need advice completely unrelated to how you solved the
> > problem I'm your man!!!
> Dave, you're in rare form today, you've gone from "old and easily
> irritated" to amusing, I love it!

I've spent the last few days fighting with some jQuery/IE6 memory usage
issues. I've totally lost it.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


[Friday] Re: [S2] OGNL Syntax Question

Posted by Wes Wannemacher <we...@wantii.com>.
On 2/22/08, Dave Newton <ne...@yahoo.com> wrote:
> --- "Hoying, Ken" <Ke...@PremierInc.com> wrote:
>
> > I was able to resolve the issue by replacing the single backslash with a
>  > double backslash.
>  >
>  > Thank you!
>
>
> Any time you need advice completely unrelated to how you solved the problem
>  I'm your man!!!
>
>
>  Dave
>
>
>

Dave, you're in rare form today, you've gone from "old and easily
irritated" to amusing, I love it!

-- 
Wesley Wannemacher
President, Head Engineer/Consultant
WanTii, Inc.
http://www.wantii.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: [S2] OGNL Syntax Question

Posted by Dave Newton <ne...@yahoo.com>.
--- "Hoying, Ken" <Ke...@PremierInc.com> wrote:
> I was able to resolve the issue by replacing the single backslash with a
> double backslash.
> 
> Thank you!

Any time you need advice completely unrelated to how you solved the problem
I'm your man!!!

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: [S2] OGNL Syntax Question

Posted by "Hoying, Ken" <Ke...@PremierInc.com>.
I was able to resolve the issue by replacing the single backslash with a
double backslash.

Thank you!
Ken 

-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com] 
Sent: Friday, February 22, 2008 8:41 AM
To: Struts Users Mailing List
Subject: Re: [S2] OGNL Syntax Question

--- "Hoying, Ken" <Ke...@PremierInc.com> wrote:
> I was using the following statement under Weblogic which worked
> perfectly:
> 
> <s:set name="imgShowExpand" scope="page" value="%{'\'' + 
> #attr.imgExpandId + '\''}"/>
> 
> However, we have recenly changed out our appication server to Jboss

Is it JSP 2.1? It may be having an issue with the "#" character.

There are links to two threads regarding this at [1].

> and
> now this statement appears to be evaluating to null.  I do not appear 
> to be getting any errors.  It is simply just not evaluating.  I 
> believe it is taking issue with the how the single parens are being
escaped.


I don't see any single parens.

Dave

[1]
http://struts.apache.org/2.x/docs/why-do-i-get-a-javaxelelexception-when
-using-ognl-with-jsp21.html



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [S2] OGNL Syntax Question

Posted by Dave Newton <ne...@yahoo.com>.
--- "Hoying, Ken" <Ke...@PremierInc.com> wrote:
> I was using the following statement under Weblogic which worked
> perfectly:
> 
> <s:set name="imgShowExpand" scope="page" value="%{'\'' +
> #attr.imgExpandId + '\''}"/>
> 
> However, we have recenly changed out our appication server to Jboss 

Is it JSP 2.1? It may be having an issue with the "#" character.

There are links to two threads regarding this at [1].

> and
> now this statement appears to be evaluating to null.  I do not appear to
> be getting any errors.  It is simply just not evaluating.  I believe it
> is taking issue with the how the single parens are being escaped.


I don't see any single parens.

Dave

[1]
http://struts.apache.org/2.x/docs/why-do-i-get-a-javaxelelexception-when-using-ognl-with-jsp21.html



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org