From michealgarcia@example.com Tue Feb 03 22:58:04 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 8550 invoked from network); 3 Feb 2009 22:58:04 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 3 Feb 2009 22:58:04 -0000
Received: (qmail 66360 invoked by uid 500); 3 Feb 2009 22:58:03 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 66335 invoked by uid 500); 3 Feb 2009 22:58:03 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 66324 invoked by uid 500); 3 Feb 2009 22:58:03 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 66321 invoked by uid 99); 3 Feb 2009 22:58:03 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 14:58:03 -0800
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of michealgarcia@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO bay0-omc3-s29.bay0.hotmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 22:57:53 +0000
Received: from BAY105-W16 ([83.161.120.155]) by bay0-omc3-s29.bay0.hotmail.com with Microsoft SMTPSVC(305)587-5883);
	 Tue, 3 Feb 2009 14:57:32 -0800
Message-ID: <michealgarcia@example.com>
Content-Type: multipart/alternative;
	boundary="_80328aac-2611-4ddf-987f-abfcc85bc28c_"
X-Originating-IP: [83.161.120.155]
From: Sheldon Ross <michealgarcia@example.com>
To: <michealgarcia@example.com>
Subject: Changing context(tool.session) object
Date: Tue, 3 Feb 2009 22:57:32 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 03 Feb 2009 22:57:32.0759 (UTC) FILETIME=[CC2B2670:01C98652]
X-Virus-Checked: Checked by ClamAV on apache.org

--_80328aac-2611-4ddf-987f-abfcc85bc28c_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


I have used session tools before=2C but normally I can use the tool I put i=
n session.=20
In this case=2C I want to overwrite the tool=2C and keep it across the sess=
ion=2C is there a way to do this?

ex: TurbineResources prop

tool.session.myObj =3D org.myapp.taglibs.Obj


Code:

Obj obj =3D (Obj)context.get("myObj")=3B
obj =3D new Obj()=3B

This doesn't seem to work because it doesn't actually change the session's =
reference?=20
Or am I doing something wrong. Is there a better way to keep an object pers=
istent in a session?

Thanks alot=2C

Sheldon Ross

_________________________________________________________________
Windows Live=99 Hotmail=AE:=85more than just e-mail.=20
http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t2_hm_justgotbetter_expl=
ore_012009=

--_80328aac-2611-4ddf-987f-abfcc85bc28c_--

From michealgarcia@example.com Wed Feb 04 15:06:18 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 94253 invoked from network); 4 Feb 2009 15:06:18 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 4 Feb 2009 15:06:18 -0000
Received: (qmail 22789 invoked by uid 500); 4 Feb 2009 15:06:18 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 22552 invoked by uid 500); 4 Feb 2009 15:06:17 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 22541 invoked by uid 99); 4 Feb 2009 15:06:17 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 07:06:17 -0800
X-ASF-Spam-Status: No, hits=-0.0 required=10.0
	tests=SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: local policy)
Received: from [83.161.120.155] (HELO barracuda.lifeinnovations.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 15:06:07 +0000
X-ASG-Debug-ID: 1233759945-1af900540000-Cn62LL
X-Barracuda-URL: http://83.161.120.155:8000/cgi-bin/mark.cgi
Received: from lifemail2.lifeinnovations.com (localhost [83.161.120.155])
	by barracuda.lifeinnovations.com (Spam Firewall) with ESMTP id 0A4014A96A
	for <michealgarcia@example.com>; Wed,  4 Feb 2009 09:05:46 -0600 (CST)
Received: from lifemail2.lifeinnovations.com (lifemail2.lifeinnov.int [83.161.120.155]) by barracuda.lifeinnovations.com with ESMTP id ooSMs7MLYHEPNEJC for <michealgarcia@example.com>; Wed, 04 Feb 2009 09:05:46 -0600 (CST)
X-ASG-Whitelist: Client
X-ASG-Orig-Subj: RE: Changing context(tool.session) object
Subject: RE: Changing context(tool.session) object
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 4 Feb 2009 09:05:47 -0600
Message-ID: <michealgarcia@example.com>
Content-class: urn:content-classes:message
In-Reply-To: <michealgarcia@example.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Changing context(tool.session) object
Thread-Index: AcmGUuD6Mk4td6LvQRqx8x1VeceaOQAhwxJQ
From: "Tony Oslund" <michealgarcia@example.com>
To: "Turbine Users List" <michealgarcia@example.com>
X-Barracuda-Connect: lifemail2.lifeinnov.int[83.161.120.155]
X-Barracuda-Start-Time: 1233759946
X-Barracuda-Virus-Scanned: by Barracuda Spam michealgarcia@example.com
X-Virus-Checked: Checked by ClamAV on apache.org

data.getSession().setAttribute("MYTAG", myObj);
data.getSession().getAttribute("MYTAG");


Tony=20

-----Original Message-----
From: Sheldon Ross [mailto:michealgarcia@example.com]=20
Sent: Tuesday, February 03, 2009 4:58 PM
To: michealgarcia@example.com
Subject: Changing context(tool.session) object


I have used session tools before, but normally I can use the tool I put
in session.=20
In this case, I want to overwrite the tool, and keep it across the
session, is there a way to do this?

ex: TurbineResources prop

tool.session.myObj =3D org.myapp.taglibs.Obj


Code:

Obj obj =3D (Obj)context.get("myObj");
obj =3D new Obj();

This doesn't seem to work because it doesn't actually change the
session's reference?=20
Or am I doing something wrong. Is there a better way to keep an object
persistent in a session?

Thanks alot,

Sheldon Ross

_________________________________________________________________
Windows Live(tm) Hotmail(r):...more than just e-mail.=20
http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t2_hm_justgotbetter_ex=
p
lore_012009

---------------------------------------------------------------------
To unsubscribe, e-mail: michealgarcia@example.com
For additional commands, e-mail: michealgarcia@example.com


From michealgarcia@example.com Wed Feb 04 17:26:56 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 73338 invoked from network); 4 Feb 2009 17:26:56 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 4 Feb 2009 17:26:56 -0000
Received: (qmail 3292 invoked by uid 500); 4 Feb 2009 17:26:55 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 3274 invoked by uid 500); 4 Feb 2009 17:26:55 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 3258 invoked by uid 99); 4 Feb 2009 17:26:55 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 09:26:55 -0800
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of michealgarcia@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO bay0-omc2-s8.bay0.hotmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 17:26:45 +0000
Received: from BAY105-W39 ([83.161.120.155]) by bay0-omc2-s8.bay0.hotmail.com with Microsoft SMTPSVC(305)587-5883);
	 Wed, 4 Feb 2009 09:26:25 -0800
Message-ID: <michealgarcia@example.com>
Content-Type: multipart/alternative;
	boundary="_54628817-e14b-499e-9e46-a04211cfdf4d_"
X-Originating-IP: [83.161.120.155]
From: Sheldon Ross <michealgarcia@example.com>
To: <michealgarcia@example.com>
Subject: RE: Changing context(tool.session) object
Date: Wed, 4 Feb 2009 17:26:24 +0000
Importance: Normal
In-Reply-To:
 <michealgarcia@example.com>
References: <michealgarcia@example.com>
 <michealgarcia@example.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 04 Feb 2009 17:26:25.0041 (UTC) FILETIME=[B47FB810:01C986ED]
X-Virus-Checked: Checked by ClamAV on apache.org

--_54628817-e14b-499e-9e46-a04211cfdf4d_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


I tried that and it didn't seem to work. I ended up just putting the object=
 in SessionData when the user logs in.

ie:
tool.session.sessionData=3Dorg.apache.turbine.services.pull.util.SessionDat=
a

It seems to work well and seems to just be an implementation of HashMap.

Thanks!

> Subject: RE: Changing context(tool.session) object
> Date: Wed=2C 4 Feb 2009 09:05:47 -0600
> From: michealgarcia@example.com
> To: michealgarcia@example.com
>=20
> data.getSession().setAttribute("MYTAG"=2C myObj)=3B
> data.getSession().getAttribute("MYTAG")=3B
>=20
>=20
> Tony=20
>=20
> -----Original Message-----
> From: Sheldon Ross [mailto:michealgarcia@example.com]=20
> Sent: Tuesday=2C February 03=2C 2009 4:58 PM
> To: michealgarcia@example.com
> Subject: Changing context(tool.session) object
>=20
>=20
> I have used session tools before=2C but normally I can use the tool I put
> in session.=20
> In this case=2C I want to overwrite the tool=2C and keep it across the
> session=2C is there a way to do this?
>=20
> ex: TurbineResources prop
>=20
> tool.session.myObj =3D org.myapp.taglibs.Obj
>=20
>=20
> Code:
>=20
> Obj obj =3D (Obj)context.get("myObj")=3B
> obj =3D new Obj()=3B
>=20
> This doesn't seem to work because it doesn't actually change the
> session's reference?=20
> Or am I doing something wrong. Is there a better way to keep an object
> persistent in a session?
>=20
> Thanks alot=2C
>=20
> Sheldon Ross
>=20
> _________________________________________________________________
> Windows Live(tm) Hotmail(r):...more than just e-mail.=20
> http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t2_hm_justgotbetter_ex=
p
> lore_012009
>=20
> ---------------------------------------------------------------------
> To unsubscribe=2C e-mail: michealgarcia@example.com
> For additional commands=2C e-mail: michealgarcia@example.com
>=20

_________________________________________________________________
Windows Live=99: Keep your life in sync.=20
http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_t1_allup_explore_022009=

--_54628817-e14b-499e-9e46-a04211cfdf4d_--

From michealgarcia@example.com Wed Feb 04 17:31:15 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 81185 invoked from network); 4 Feb 2009 17:31:15 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 4 Feb 2009 17:31:15 -0000
Received: (qmail 11830 invoked by uid 500); 4 Feb 2009 17:31:12 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 11802 invoked by uid 500); 4 Feb 2009 17:31:12 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 11776 invoked by uid 500); 4 Feb 2009 17:31:12 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 11725 invoked by uid 99); 4 Feb 2009 17:31:12 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 09:31:12 -0800
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of michealgarcia@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO bay0-omc3-s40.bay0.hotmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 17:31:02 +0000
Received: from BAY105-W55 ([83.161.120.155]) by bay0-omc3-s40.bay0.hotmail.com with Microsoft SMTPSVC(305)587-5883);
	 Wed, 4 Feb 2009 09:30:41 -0800
Message-ID: <michealgarcia@example.com>
Content-Type: multipart/alternative;
	boundary="_99d614a2-fa00-4ddc-9c46-7d246a6f70c6_"
X-Originating-IP: [83.161.120.155]
From: Sheldon Ross <michealgarcia@example.com>
To: <michealgarcia@example.com>
Subject: Link redirect Question
Date: Wed, 4 Feb 2009 17:30:41 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 04 Feb 2009 17:30:41.0544 (UTC) FILETIME=[4D62F880:01C986EE]
X-Virus-Checked: Checked by ClamAV on apache.org

--_99d614a2-fa00-4ddc-9c46-7d246a6f70c6_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


Another question I have:
Is there an easier way to redirect to secure server.

I've figured out a way to do it.
Basically on a screen I'll have something like:

<a href=3D"$link.setPage('mydir=2Cmytemplate').toString().replaceAll("http:=
"=2C"https:")"> Secure Link</a>

Which works fine in some occasions.

Is there a way to tell turbine to do this in the setTemplate(data=2C"templa=
te") function ?
I would like to be able to automatically redirect to the secure side.

Any advice would be appreciated.

Thanks=2C
Sheldon

_________________________________________________________________
Windows Live=99: E-mail. Chat. Share. Get more ways to connect.=20
http://windowslive.com/online/hotmail?ocid=3DTXT_TAGLM_WL_HM_AE_Faster_0220=
09=

--_99d614a2-fa00-4ddc-9c46-7d246a6f70c6_--

From michealgarcia@example.com Wed Feb 04 17:47:42 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 95610 invoked from network); 4 Feb 2009 17:47:42 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 4 Feb 2009 17:47:42 -0000
Received: (qmail 57697 invoked by uid 500); 4 Feb 2009 17:47:41 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 57672 invoked by uid 500); 4 Feb 2009 17:47:40 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 57661 invoked by uid 99); 4 Feb 2009 17:47:40 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 09:47:40 -0800
X-ASF-Spam-Status: No, hits=-0.0 required=10.0
	tests=SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: local policy)
Received: from [83.161.120.155] (HELO barracuda.lifeinnovations.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 17:47:27 +0000
X-ASG-Debug-ID: 1233769625-174200170000-Cn62LL
X-Barracuda-URL: http://83.161.120.155:8000/cgi-bin/mark.cgi
Received: from lifemail2.lifeinnovations.com (localhost [83.161.120.155])
	by barracuda.lifeinnovations.com (Spam Firewall) with ESMTP id D27394ACF4
	for <michealgarcia@example.com>; Wed,  4 Feb 2009 11:47:05 -0600 (CST)
Received: from lifemail2.lifeinnovations.com (lifemail2.lifeinnov.int [83.161.120.155]) by barracuda.lifeinnovations.com with ESMTP id bmVu4r48Cpb4S3wx for <michealgarcia@example.com>; Wed, 04 Feb 2009 11:47:05 -0600 (CST)
X-ASG-Whitelist: Client
X-ASG-Orig-Subj: RE: Link redirect Question
Subject: RE: Link redirect Question
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 4 Feb 2009 11:47:05 -0600
Content-class: urn:content-classes:message
Message-ID: <michealgarcia@example.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5
In-Reply-To: <michealgarcia@example.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Link redirect Question
Thread-Index: AcmG7mI9DOcxCJPHRqy9HNk8RMV81QAAErZQ
From: "Tony Oslund" <michealgarcia@example.com>
To: "Turbine Users List" <michealgarcia@example.com>
X-Barracuda-Connect: lifemail2.lifeinnov.int[83.161.120.155]
X-Barracuda-Start-Time: 1233769625
X-Barracuda-Virus-Scanned: by Barracuda Spam michealgarcia@example.com
X-Virus-Checked: Checked by ClamAV on apache.org


I while back I had wanted the target web page to determine if it should
be secure or not.  It is a real pain to have to track down links within
your scripts (on the calling side).

What I did was create 2 new classes, SecureForm and RegularForm.  They
both extend VelocitySecureScreen.

If the user accesses a form that extends SecureForm, it automatically
"flips" to a secure session, regardless of whether the original link was
http or https.

Forms extended from RegularForm work in the same fashion, but instead
force http.

There may be a newer, more fancy way of doing this, but if you wish I
will post the code.  It has been in production for the last 4 years so
it is stable.




FYI the following works fine (I use it in my own code).  There was a
glitch early on if the tag was not all upper case.  Also I am not sure
if you can access setAttribute directly on the data object from within
the context of a velocity script.  In my case I create a container
session object that gets put into the session data and then I put the
necessary application specific data within the container so that there
is no chance of having the tag names collide.  I can then access (or
update... yikes) the container object from within my classes, scripts,
etc.

data.getSession().setAttribute("MYCONTAINER", containerObj);=20
data.getSession().getAttribute("MYCONTAINER");


Tony

-----Original Message-----
From: Sheldon Ross [mailto:michealgarcia@example.com]=20
Sent: Wednesday, February 04, 2009 11:31 AM
To: michealgarcia@example.com
Subject: Link redirect Question


Another question I have:
Is there an easier way to redirect to secure server.

I've figured out a way to do it.
Basically on a screen I'll have something like:

<a
href=3D"$link.setPage('mydir,mytemplate').toString().replaceAll("http:","=
h
ttps:")"> Secure Link</a>

Which works fine in some occasions.

Is there a way to tell turbine to do this in the
setTemplate(data,"template") function ?
I would like to be able to automatically redirect to the secure side.

Any advice would be appreciated.

Thanks,
Sheldon

_________________________________________________________________
Windows Live(tm): E-mail. Chat. Share. Get more ways to connect.=20
http://windowslive.com/online/hotmail?ocid=3DTXT_TAGLM_WL_HM_AE_Faster_02=
2
009

---------------------------------------------------------------------
To unsubscribe, e-mail: michealgarcia@example.com
For additional commands, e-mail: michealgarcia@example.com


From michealgarcia@example.com Wed Feb 04 20:30:00 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 23468 invoked from network); 4 Feb 2009 20:30:00 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 4 Feb 2009 20:30:00 -0000
Received: (qmail 83479 invoked by uid 500); 4 Feb 2009 20:30:00 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 83456 invoked by uid 500); 4 Feb 2009 20:30:00 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 83445 invoked by uid 99); 4 Feb 2009 20:30:00 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 12:30:00 -0800
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of michealgarcia@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO bay0-omc2-s12.bay0.hotmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 20:29:48 +0000
Received: from BAY105-W34 ([83.161.120.155]) by bay0-omc2-s12.bay0.hotmail.com with Microsoft SMTPSVC(305)587-5883);
	 Wed, 4 Feb 2009 12:29:27 -0800
Message-ID: <michealgarcia@example.com>
Content-Type: multipart/alternative;
	boundary="_c8426a16-c60a-46f6-9e9e-23e9bfa51bbc_"
X-Originating-IP: [83.161.120.155]
From: Sheldon Ross <michealgarcia@example.com>
To: <michealgarcia@example.com>
Subject: RE: Link redirect Question
Date: Wed, 4 Feb 2009 20:29:27 +0000
Importance: Normal
In-Reply-To:
 <michealgarcia@example.com>
References: <michealgarcia@example.com>
 <michealgarcia@example.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 04 Feb 2009 20:29:27.0647 (UTC) FILETIME=[46A466F0:01C98707]
X-Virus-Checked: Checked by ClamAV on apache.org

--_c8426a16-c60a-46f6-9e9e-23e9bfa51bbc_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


I would be curious as to how you accomplished the flipping.=20
I can see that the request object has isSecure()=2C but I'm still not clear=
 on how I would force a redirect.

Sheldon

> Subject: RE: Link redirect Question
> Date: Wed=2C 4 Feb 2009 11:47:05 -0600
> From: michealgarcia@example.com
> To: michealgarcia@example.com
>=20
>=20
> I while back I had wanted the target web page to determine if it should
> be secure or not.  It is a real pain to have to track down links within
> your scripts (on the calling side).
>=20
> What I did was create 2 new classes=2C SecureForm and RegularForm.  They
> both extend VelocitySecureScreen.
>=20
> If the user accesses a form that extends SecureForm=2C it automatically
> "flips" to a secure session=2C regardless of whether the original link wa=
s
> http or https.
>=20
> Forms extended from RegularForm work in the same fashion=2C but instead
> force http.
>=20
> There may be a newer=2C more fancy way of doing this=2C but if you wish I
> will post the code.  It has been in production for the last 4 years so
> it is stable.
>=20
>=20
>=20
>=20
> FYI the following works fine (I use it in my own code).  There was a
> glitch early on if the tag was not all upper case.  Also I am not sure
> if you can access setAttribute directly on the data object from within
> the context of a velocity script.  In my case I create a container
> session object that gets put into the session data and then I put the
> necessary application specific data within the container so that there
> is no chance of having the tag names collide.  I can then access (or
> update... yikes) the container object from within my classes=2C scripts=
=2C
> etc.
>=20
> data.getSession().setAttribute("MYCONTAINER"=2C containerObj)=3B=20
> data.getSession().getAttribute("MYCONTAINER")=3B
>=20
>=20
> Tony
>=20
> -----Original Message-----
> From: Sheldon Ross [mailto:michealgarcia@example.com]=20
> Sent: Wednesday=2C February 04=2C 2009 11:31 AM
> To: michealgarcia@example.com
> Subject: Link redirect Question
>=20
>=20
> Another question I have:
> Is there an easier way to redirect to secure server.
>=20
> I've figured out a way to do it.
> Basically on a screen I'll have something like:
>=20
> <a
> href=3D"$link.setPage('mydir=2Cmytemplate').toString().replaceAll("http:"=
=2C"h
> ttps:")"> Secure Link</a>
>=20
> Which works fine in some occasions.
>=20
> Is there a way to tell turbine to do this in the
> setTemplate(data=2C"template") function ?
> I would like to be able to automatically redirect to the secure side.
>=20
> Any advice would be appreciated.
>=20
> Thanks=2C
> Sheldon
>=20
> _________________________________________________________________
> Windows Live(tm): E-mail. Chat. Share. Get more ways to connect.=20
> http://windowslive.com/online/hotmail?ocid=3DTXT_TAGLM_WL_HM_AE_Faster_02=
2
> 009
>=20
> ---------------------------------------------------------------------
> To unsubscribe=2C e-mail: michealgarcia@example.com
> For additional commands=2C e-mail: michealgarcia@example.com
>=20

_________________________________________________________________
Windows Live=99: Keep your life in sync.=20
http://windowslive.com/howitworks?ocid=3DTXT_TAGLM_WL_t1_allup_howitworks_0=
22009=

--_c8426a16-c60a-46f6-9e9e-23e9bfa51bbc_--

From michealgarcia@example.com Sun Feb 08 14:41:03 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 45723 invoked from network); 8 Feb 2009 14:41:03 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 8 Feb 2009 14:41:03 -0000
Received: (qmail 42756 invoked by uid 500); 8 Feb 2009 14:41:03 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 42517 invoked by uid 500); 8 Feb 2009 14:41:02 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 42506 invoked by uid 99); 8 Feb 2009 14:41:02 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2009 06:41:02 -0800
X-ASF-Spam-Status: No, hits=1.2 required=10.0
	tests=SPF_NEUTRAL
X-Spam-Check-By: apache.org
Received-SPF: neutral (nike.apache.org: local policy)
Received: from [83.161.120.155] (HELO outmail136054.authsmtp.net) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2009 14:40:52 +0000
Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [83.161.120.155])
	by punt9.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n18EeV7K034570
	for <michealgarcia@example.com>; Sun, 8 Feb 2009 14:40:31 GMT
Received: from [83.161.120.155] (p54B897F9.dip0.t-ipconnect.de [83.161.120.155])
	(authenticated bits=0)
	by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n18EeUoV063102
	for <michealgarcia@example.com>; Sun, 8 Feb 2009 14:40:30 GMT
Message-ID: <michealgarcia@example.com>
Date: Sun, 08 Feb 2009 15:40:28 +0100
From: Thomas Vandahl <michealgarcia@example.com>
User-Agent: Thunderbird 83.161.120.155 (Windows/20081209)
MIME-Version: 1.0
To: Turbine Users List <michealgarcia@example.com>
Subject: Re: Link redirect Question
References: <michealgarcia@example.com>
In-Reply-To: <michealgarcia@example.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Server-Quench: 6f6fe9db-f5ee-11dd-8156-001185d377ca
X-AuthRoute: OCdyaAgQClZJUiwT EioPDCIGTh8qMABX DAUrMRZAKlsPWEJY Kk9RLlcVN0cTUwkJ HBBeCUtWUF14SWJx YQ5RZwZcLEJKQQRi VFZIR1NMFgFhHh4E GR5QDBh6AlAjJxhw Y0VjXnIVXUV7fAh7 FEgCQGRSN3o2bTVK TUFZI1dJeAJPeAJF alF+XHZZYmIANSsu JQJhdxQwOzYXMilZ QxsAJk5aeFsGBSI9 QBZq
X-Authentic-SMTP: 61633138303539.squirrel.dmpriest.net.uk:1378/Kp
X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system.
X-Virus-Checked: Checked by ClamAV on apache.org

Sheldon Ross wrote:
> Another question I have:
> Is there an easier way to redirect to secure server.
> 
> I've figured out a way to do it.
> Basically on a screen I'll have something like:
> 
> <a href="$link.setPage('mydir,mytemplate').toString().replaceAll("http:","https:")"> Secure Link</a>

I'd suggest to extend the TemplateLink pull-tool to allow to call
setSecure() on the underlying TemplateLink object. This would allow
something in the line of

#if(!$data.Secure)
$data.Response.setRedirectURI("$link.setPage('mydir,mytemplate').setSecure(true).getAbsoluteLink()");
$data.setStatusCode(302)
#end


Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: michealgarcia@example.com
For additional commands, e-mail: michealgarcia@example.com


From michealgarcia@example.com Tue Feb 10 22:08:30 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 94932 invoked from network); 10 Feb 2009 22:08:29 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 10 Feb 2009 22:08:29 -0000
Received: (qmail 4850 invoked by uid 500); 10 Feb 2009 22:08:24 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 4803 invoked by uid 500); 10 Feb 2009 22:08:23 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 4523 invoked by uid 99); 10 Feb 2009 22:08:22 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 14:08:22 -0800
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of michealgarcia@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO bay0-omc2-s20.bay0.hotmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 22:08:12 +0000
Received: from BAY105-W35 ([83.161.120.155]) by bay0-omc2-s20.bay0.hotmail.com with Microsoft SMTPSVC(305)587-5883);
	 Tue, 10 Feb 2009 14:07:51 -0800
Message-ID: <michealgarcia@example.com>
Content-Type: multipart/alternative;
	boundary="_0bf4c43c-a697-42c5-ad7f-e91e44650072_"
X-Originating-IP: [83.161.120.155]
From: Sheldon Ross <michealgarcia@example.com>
To: <michealgarcia@example.com>
Subject: RE: Link redirect Question
Date: Tue, 10 Feb 2009 22:07:50 +0000
Importance: Normal
In-Reply-To: <michealgarcia@example.com>
References: <michealgarcia@example.com>
 <michealgarcia@example.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 10 Feb 2009 22:07:51.0038 (UTC) FILETIME=[03D0E1E0:01C98BCC]
X-Virus-Checked: Checked by ClamAV on apache.org

--_0bf4c43c-a697-42c5-ad7f-e91e44650072_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Thanks=2C=20
   That works out well.

So at the beginning of my Default.vm I have:

#if($secure && !$data.Request.Secure)
    #set($redirect =3D $link.setPage($data.getTemplateInfo().getScreenTempl=
ate()).setAction($data.getAction()).setSecure().toString())
    $data.setRedirectURI($redirect)
    $data.setStatusCode(302)
#end

And in any page I want to make secure I just put

#set($secure =3D true)

at the beginning.

Works like charm!

> Date: Sun=2C 8 Feb 2009 15:40:28 +0100
> From: michealgarcia@example.com
> To: michealgarcia@example.com
> Subject: Re: Link redirect Question
>=20
> Sheldon Ross wrote:
> > Another question I have:
> > Is there an easier way to redirect to secure server.
> >=20
> > I've figured out a way to do it.
> > Basically on a screen I'll have something like:
> >=20
> > <a href=3D"$link.setPage('mydir=2Cmytemplate').toString().replaceAll("h=
ttp:"=2C"https:")"> Secure Link</a>
>=20
> I'd suggest to extend the TemplateLink pull-tool to allow to call
> setSecure() on the underlying TemplateLink object. This would allow
> something in the line of
>=20
> #if(!$data.Secure)
> $data.Response.setRedirectURI("$link.setPage('mydir=2Cmytemplate').setSec=
ure(true).getAbsoluteLink()")=3B
> $data.setStatusCode(302)
> #end
>=20
>=20
> Bye=2C Thomas.
>=20
> ---------------------------------------------------------------------
> To unsubscribe=2C e-mail: michealgarcia@example.com
> For additional commands=2C e-mail: michealgarcia@example.com
>=20

_________________________________________________________________
See how Windows connects the people=2C information=2C and fun that are part=
 of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/=

--_0bf4c43c-a697-42c5-ad7f-e91e44650072_--

From michealgarcia@example.com Wed Feb 11 22:58:12 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 24419 invoked from network); 11 Feb 2009 22:58:12 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 11 Feb 2009 22:58:12 -0000
Received: (qmail 66520 invoked by uid 500); 11 Feb 2009 22:58:11 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 66491 invoked by uid 500); 11 Feb 2009 22:58:11 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 66480 invoked by uid 99); 11 Feb 2009 22:58:11 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 14:58:11 -0800
X-ASF-Spam-Status: No, hits=1.2 required=10.0
	tests=SPF_NEUTRAL
X-Spam-Check-By: apache.org
Received-SPF: neutral (nike.apache.org: local policy)
Received: from [83.161.120.155] (HELO aft.anchor.net.au) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 22:58:00 +0000
Received: from [83.161.120.155] (c122-107-13-94.blktn5.nsw.optusnet.com.au [83.161.120.155])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by aft.anchor.net.au (Postfix) with ESMTP id 2E125B3B3B
	for <michealgarcia@example.com>; Thu, 12 Feb 2009 09:53:44 +1100 (EST)
Message-ID: <michealgarcia@example.com>
Date: Thu, 12 Feb 2009 09:57:05 +1100
From: Scott Eade <michealgarcia@example.com>
User-Agent: Thunderbird 83.161.120.155 (Windows/20081209)
MIME-Version: 1.0
To: Turbine Users List <michealgarcia@example.com>
Subject: ApacheCon Training info
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Virus-Checked: Checked by ClamAV on apache.org

Subject: ApacheCon Europe 2009: Early Bird Deadline Extended
          until 13th of February

Here's some great news for everyone who's thinking of
traveling to Amsterdam for this year's ApacheCon Europe. The Early Bird
deadline has been extended to Friday, February 13th - and remember,
there is a discount of 150 Euro on registration for anyone staying at
the Mövenpick Hotel. Register at http://www.eu.apachecon.com.

ApacheCon is a week of open source goodness straight from the source of
The Apache Software Foundation:

  - More than 60 1-Hour Sessions on System Administration, Development,
    Data Mining and Search Technologies, Enterprise Web Services, SOA,
    and Cloud Technologies, Open Source Business and Community, and more
  - Over a dozen Training Workshops from industry experts (see below)
  - World-class Keynotes and vendor Expo
  - Lightning Talks and Birds-of-a-Feather sessions
  - New this year: Geeks for Geeks Track, BarCampApache, and Hackathon!

ApacheCon Europe 2009 features 2-day, 1-day, and half-day Training
Workshops on the following topics:

  Data Mining and Search Technologies
  -----------------------------------
  - Lucene Boot Camp  (Grant Ingersoll)
  - Solr Boot Camp  (Erik Hatcher)


  The Next Generation of Web Data Storage
  ---------------------------------------
  - Building Standalone CouchDB Applications (J. Chris Anderson)
  - High Performance CouchDB (J. Chris Anderson)


  Cloud and Distributed Computing Technologies
  --------------------------------------------
  - Hadoop Tools and Tricks for Data Processing Pipelines
    (Christophe Bisciglia and Aaron Kimball)


  System Administration
  ---------------------
  - Apache HTTP Server - Nuts to Bolts  (Jim Jagielski)
  - Everything Tomcat - Administering, Tuning,
    Troubleshooting and Developing  (Mark Thomas)


  Developing State-of-the-Art Web Applications
  --------------------------------------------
  - A Day of REST  (J Aaron Farr)
  - Apache CXF - Developing and Deploying Open Source
    SOA Endpoints  (Adrian Trenaman)
  - Ajax on Struts 2: How a Second Generation Web Application
    Framework Meets the Demands of RIA  (Chad Michael Davis)
  - Behavior-Driving Your Apache Wicket Application:
    Making the Most of Webdriver and JDave-Wicket (Timo Rantalaiho)


  Building and Managing Java-based Projects
  -----------------------------------------
  - Maven Workshop  (Zeger Hendrikse)


  Professional Media Trainings
  ----------------------------
  - Media & Analyst Training (Sally Khudairi)
  - Intermediate Media & Analyst Training (Sally Khudairi)


We hope to see you on the 23-27 March at the Mövenpick Hotel in
Amsterdam! Visit http://www.eu.apachecon.com for further information
and registration details.

Interested in sponsoring the ApacheCon conferences?  Please contact
Delia Frees at michealgarcia@example.com for further information.

-- 
ApacheCon Europe 2009 Team
michealgarcia@example.com
http://www.eu.apachecon.com

---------------------------------------------------------------------
To unsubscribe, e-mail: michealgarcia@example.com
For additional commands, e-mail: michealgarcia@example.com


From michealgarcia@example.com Mon Feb 16 22:56:44 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 10797 invoked from network); 16 Feb 2009 22:56:44 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 16 Feb 2009 22:56:44 -0000
Received: (qmail 91956 invoked by uid 500); 16 Feb 2009 22:56:43 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 91935 invoked by uid 500); 16 Feb 2009 22:56:43 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 91924 invoked by uid 99); 16 Feb 2009 22:56:43 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 14:56:43 -0800
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of michealgarcia@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO ey-out-2122.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 22:56:36 +0000
Received: by ey-out-2122.google.com with SMTP id 4so211955eyf.49
        for <michealgarcia@example.com>; Mon, 16 Feb 2009 14:56:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:received:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        bh=vdoiylM73NrlzYMvGLuY41/BA6puSjeYXtlmdS0kOig=;
        b=spdRaMO9iFFq8iXRs26E0hxBiolKJkSxNLO3xVwKw76dNclG1Tri6C6Xyfbsxa1/u1
         kj1dwpLhOiNNgJDSsBwU+QbyItBWM2gXmyXUJwSSDeOz7J6NdLktiuFvjuy3AbarCgE6
         KhoEM0c7+ejw7nkxI/8zSSJFI3IGLHTGP9/nI=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:date:x-google-sender-auth:message-id:subject
         :from:to:content-type;
        b=q44L1IoR3YbTcZcLrRn5iyZSGGuLJb9PRschabk83/Hu202wEpcJTRBqfRftDaQI9/
         4kU0gTTsq5LJ8pr7a7a+vydKH6oSB10uG7fyOhwxfhwBrKKmtpSyLshtJY+cT3CBoc1B
         2eleghDWVm4UH3G6s6UKU+Z08wGJbL0yOtyh8=
MIME-Version: 1.0
Sender: michealgarcia@example.com
Received: by 83.161.120.155 with SMTP id i17mr178681ebi.165.1234824975655; Mon, 
	16 Feb 2009 14:56:15 -0800 (PST)
Date: Mon, 16 Feb 2009 23:56:15 +0100
X-Google-Sender-Auth: 30ea6eec9cc75c37
Message-ID: <michealgarcia@example.com>
Subject: JSON
From: Boudewijn van Weert <michealgarcia@example.com>
To: michealgarcia@example.com
Content-Type: multipart/alternative; boundary=0015174c17a808a13c04631118e7
X-Virus-Checked: Checked by ClamAV on apache.org

--0015174c17a808a13c04631118e7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

I see that Turbine 2.3.3 includes a JSON-RPC module.
I'm trying to integrate GWT with my Turbine applications through JSON, and
just got into the JSON stuff. As far as I can tell the JSON-RPC bridge can't
help me with that (correct me if I'm wrong); Is there anything in Turbine I
can use to generate JSON responses to a regurar URL call?

Thanks in advance,
Bo

--0015174c17a808a13c04631118e7--

From michealgarcia@example.com Tue Feb 17 00:59:51 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 39462 invoked from network); 17 Feb 2009 00:59:51 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 17 Feb 2009 00:59:51 -0000
Received: (qmail 78238 invoked by uid 500); 17 Feb 2009 00:59:51 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 78220 invoked by uid 500); 17 Feb 2009 00:59:51 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 78209 invoked by uid 99); 17 Feb 2009 00:59:51 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 16:59:51 -0800
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of michealgarcia@example.com designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO bay0-omc2-s24.bay0.hotmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 00:59:41 +0000
Received: from BAY105-W44 ([83.161.120.155]) by bay0-omc2-s24.bay0.hotmail.com with Microsoft SMTPSVC(305)587-5883);
	 Mon, 16 Feb 2009 16:59:21 -0800
Message-ID: <michealgarcia@example.com>
Content-Type: multipart/alternative;
	boundary="_85b0f10b-e090-43ce-992a-8491aef85696_"
X-Originating-IP: [83.161.120.155]
From: Sheldon Ross <michealgarcia@example.com>
To: <michealgarcia@example.com>
Subject: RE: JSON
Date: Tue, 17 Feb 2009 00:59:20 +0000
Importance: Normal
In-Reply-To: <michealgarcia@example.com>
References: <michealgarcia@example.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 17 Feb 2009 00:59:21.0027 (UTC) FILETIME=[F79B1930:01C9909A]
X-Virus-Checked: Checked by ClamAV on apache.org

--_85b0f10b-e090-43ce-992a-8491aef85696_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


We don't use anything specific=2C just construct the JS string on the fly.

JSString =3D "{field1:"+value1+"=2Cfield2:"+value2+"}"=3B

HttpServletResponse response =3D data.getResponse()=3B
response.setContentType("text/javascript")=3B
response.getOutputStream().getWriter().println(JSString)=3B

Not pretty but works for the AJAX we do.

> Date: Mon=2C 16 Feb 2009 23:56:15 +0100
> Subject: JSON
> From: michealgarcia@example.com
> To: michealgarcia@example.com
>=20
> Hello=2C
>=20
> I see that Turbine 2.3.3 includes a JSON-RPC module.
> I'm trying to integrate GWT with my Turbine applications through JSON=2C =
and
> just got into the JSON stuff. As far as I can tell the JSON-RPC bridge ca=
n't
> help me with that (correct me if I'm wrong)=3B Is there anything in Turbi=
ne I
> can use to generate JSON responses to a regurar URL call?
>=20
> Thanks in advance=2C
> Bo

_________________________________________________________________
Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jamie=
.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5=
50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008=

--_85b0f10b-e090-43ce-992a-8491aef85696_--

From michealgarcia@example.com Fri Feb 27 21:53:15 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 47740 invoked from network); 27 Feb 2009 21:53:14 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 27 Feb 2009 21:53:14 -0000
Received: (qmail 89191 invoked by uid 500); 27 Feb 2009 21:53:14 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 89171 invoked by uid 500); 27 Feb 2009 21:53:14 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 89148 invoked by uid 99); 27 Feb 2009 21:53:13 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 13:53:13 -0800
X-ASF-Spam-Status: No, hits=-4.0 required=10.0
	tests=RCVD_IN_DNSWL_MED,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: local policy)
Received: from [83.161.120.155] (HELO mail3.blm.gov) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 21:53:04 +0000
Received: from ILMNIRM3AP61.blm.doi.net (ilmnirm3ap61.blm.gov [83.161.120.155])
	by mail3.blm.gov (8.14.3/8.14.3) with ESMTP id n1RLqdur007106
	for <michealgarcia@example.com>; Fri, 27 Feb 2009 14:52:39 -0700
Subject: Getting started
To: michealgarcia@example.com
X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005
Message-ID: <michealgarcia@example.com>
From: michealgarcia@example.com
Date: Fri, 27 Feb 2009 14:52:34 -0700
X-MIMETrack: Serialize by Router on LMNI11/BLM/DOI(Release 6.5.4FP2|September 12, 2005) at
 02/27/2009 03:02:16 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.64 on 83.161.120.155
X-Virus-Checked: Checked by ClamAV on apache.org


I'm doing an evaluation of Turbine as a possible framework for our own
development, but I've run into a bit of a wall because I'm having problems
finding a simple "getting started" application that I can download and use.
What I'm looking for is a tutorial or something similar that takes you
through the steps - how to write Actions, Pages, Layouts, Screens etc., set
up the properties file and so on. Anything that spends 90% of the time
telling how to build something using Maven 1 is a no-hoper because Maven is
not an option for us (which means that if Turbine *requires* Maven, we
won't be able to use it); I need code samples, template samples, config
property file samples. Is there anything available?


---------------------------------------------------------------------
To unsubscribe, e-mail: michealgarcia@example.com
For additional commands, e-mail: michealgarcia@example.com


From michealgarcia@example.com Fri Feb 27 22:11:11 2009
Return-Path: <michealgarcia@example.com>
Delivered-To: michealgarcia@example.com
Received: (qmail 61289 invoked from network); 27 Feb 2009 22:11:11 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 27 Feb 2009 22:11:11 -0000
Received: (qmail 15449 invoked by uid 500); 27 Feb 2009 22:11:11 -0000
Delivered-To: michealgarcia@example.com
Received: (qmail 15331 invoked by uid 500); 27 Feb 2009 22:11:11 -0000
Mailing-List: contact michealgarcia@example.com; run by ezmlm
Precedence: bulk
List-Help: <mailto:michealgarcia@example.com>
List-Unsubscribe: <mailto:michealgarcia@example.com>
List-Post: <mailto:michealgarcia@example.com>
List-Id: <user.turbine.apache.org>
Reply-To: "Turbine Users List" <michealgarcia@example.com>
Delivered-To: mailing list michealgarcia@example.com
Received: (qmail 15320 invoked by uid 99); 27 Feb 2009 22:11:10 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 14:11:10 -0800
X-ASF-Spam-Status: No, hits=1.2 required=10.0
	tests=SPF_NEUTRAL
X-Spam-Check-By: apache.org
Received-SPF: neutral (nike.apache.org: local policy)
Received: from [83.161.120.155] (HELO mail.ellumination.de) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 22:11:01 +0000
Received: from localhost (debian3164m [83.161.120.155])
	by mail.ellumination.de (Postfix) with ESMTP id C66D3418533
	for <michealgarcia@example.com>; Fri, 27 Feb 2009 23:15:18 +0100 (CET)
X-Virus-Scanned: Debian michealgarcia@example.com
Received: from mail.ellumination.de ([83.161.120.155])
	by localhost (mail.ellumination.de [83.161.120.155]) (amavisd-new, port 10024)
	with ESMTP id eGE6cVH4Ppww for <michealgarcia@example.com>;
	Fri, 27 Feb 2009 23:15:14 +0100 (CET)
Received: from hoffmannPC (dslb-084-059-107-211.pools.arcor-ip.net [83.161.120.155])
	by mail.ellumination.de (Postfix) with ESMTPA id 1ADE1418157
	for <michealgarcia@example.com>; Fri, 27 Feb 2009 23:15:14 +0100 (CET)
From: "Juergen Hoffmann" <michealgarcia@example.com>
To: "'Turbine Users List'" <michealgarcia@example.com>
References: <michealgarcia@example.com>
In-Reply-To: <michealgarcia@example.com>
Subject: AW: Getting started
Date: Fri, 27 Feb 2009 23:10:24 +0100
Message-ID: <000a01c99928$3119dd50$934d97f0$@org>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AcmZJoZvQd6zCQvHSOCs/MURvDTE8gAAX3zw
Content-Language: de
X-Virus-Checked: Checked by ClamAV on apache.org

Hi Peter,

have you tried setting up a project using META (Maven Environment for
Turbine Applications)? I nunderstand that maven is not an option for =
you,
but you can use it to get a head start project Layout.

Kind regards

Juergen Hoffmann

> -----Urspr=FCngliche Nachricht-----
> Von: michealgarcia@example.com [mailto:michealgarcia@example.com]
> Gesendet: Freitag, 27. Februar 2009 22:53
> An: michealgarcia@example.com
> Betreff: Getting started
>=20
>=20
> I'm doing an evaluation of Turbine as a possible framework for our own
> development, but I've run into a bit of a wall because I'm having
> problems
> finding a simple "getting started" application that I can download and
> use.
> What I'm looking for is a tutorial or something similar that takes you
> through the steps - how to write Actions, Pages, Layouts, Screens =
etc.,
> set
> up the properties file and so on. Anything that spends 90% of the time
> telling how to build something using Maven 1 is a no-hoper because
> Maven is
> not an option for us (which means that if Turbine *requires* Maven, we
> won't be able to use it); I need code samples, template samples, =
config
> property file samples. Is there anything available?
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: michealgarcia@example.com
> For additional commands, e-mail: michealgarcia@example.com



---------------------------------------------------------------------
To unsubscribe, e-mail: michealgarcia@example.com
For additional commands, e-mail: michealgarcia@example.com



{'source': 'Apache Software Foundation Public Mail Archives'}