Agoston Bejo | 1 Jul 2009 11:42
Picon
Favicon

<s:token> - should be able to detect back/forward?

Hi!

I have tried out shales in order to be able to prevent the user from pressing the back/forward buttons or
resubmitting. (Meaning: ignoring that request and either redirecting to an error page or at least
showing an error message.) 

It seems to me, though, that all it is able to do is detect resubmits (and afterwards it always shows the error
message, even if I 'normally' submit the form again).

Am I not setting it up correctly or is it supposed to work this way?

Thanks,
Agoston

      
Dave Hagan | 26 May 2009 11:22
Picon

Clay & Scxml

Hi
   We have been developing with Shale for the last 3 years and have  
found the shale Clay & the Scxml dialogs extremely useful - Can Clay  
and Scxml be used with Myfaces and other frameworks as a stand alone  
piece.
Regards
Dave Hagan

Matthias Wessendorf | 21 May 2009 22:54
Picon
Favicon
Gravatar

FYI Fwd: [TEST] Shale Test copied

FYI

---------- Forwarded message ----------
From: Matthias Wessendorf <matzew <at> apache.org>
Date: Thu, May 21, 2009 at 10:48 PM
Subject: [TEST] Shale Test copied
To: MyFaces Development <dev <at> myfaces.apache.org>

hi,

as Shale has *retired* (see [1]) I finally... copied the test
framework code over to myfaces (as already
discussed before).

Folder:
/myfaces/test/trunk

I think we all (myfaces committers) should be able to commit to the
folder... if not, let me know...

I will do the package renaming etc, so that we can continue the
success story of the shale testing
code (and have the right enhancements for MyFaces 2.0)

-Matthias

[1] https://issues.apache.org/jira/browse/ATTIC-2

--
Matthias Wessendorf
(Continue reading)

Tim Corless | 5 May 2009 17:07
Favicon

Error Handling

I found that I have a NullPointerException in the my prerender code of my ViewController but I don't get an
error page.  I have set EXCEPTION_DISPATCH_PATH and it looks like when Shale does the redirect to my error
page, the redirect causes an IllegalStateException.  I have MyFaces default error handling on but I don't
get an error page at all.  Does anyone know how I get my error page to display?

<context-param>
    <param-name>org.apache.shale.view.EXCEPTION_DISPATCH_PATH</param-name>
    <param-value>/actions/app/Error.action</param-value>
</context-param>

[2009-05-05 08:39:27,566] [WebContainer : 20] *ERROR*
org.apache.myfaces.lifecycle.PhaseListenerManager - Exception in PhaseListener
RENDER_RESPONSE(6) afterPhase
java.lang.IllegalStateException: Cannot forward. Response already committed.
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:157)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
at org.apache.shale.view.faces.ViewPhaseListener.afterPhaseExceptionCheck(ViewPhaseListener.java:202)

Thanks
-Tim
Kito Mann | 1 May 2009 22:35
Favicon
Gravatar

Re: [ANNOUNCE] Apache Shale To Move To the Attic


On Fri, May 1, 2009 at 2:51 PM, Cyril Bouteille <cyril <at> travelmuse.com> wrote:
It provides the missing C in MVC of JSF for GET requests. :-) A hook in the JSP where you can declare which managed bean should be initialized for rendering.
Typically high in your JSP, <s:subview id="name-of-your-bean"> would call NameOfYourBean.prerender() event. Each page is in control of what beans it needs w/o maintaining any additional mapping file or worry about URLs. It provides you also with the flexibility to do conditional initialization with verbatims etc.
I'll check your link, thanks. It looks like the hook is the other direction with orchestra where the bean maps to JSPs.

Ah, I see. Nice. FYI, the phaseListener feature in JSF 1.2 is more fine-grained than I mentioned; you can reference a specific method via a method expression for beforePhase and afterPhase. See http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/tlddocs/f/view.html.



Kito Mann wrote:
Hello Cyril,

The Orchestra ViewController can definitely handle this. See: http://myfaces.apache.org/orchestra/myfaces-orchestra-core/viewController.html.

I'm not too familiar with the <s:subview> tag -- how does that work?

---
Kito D. Mann -- Author, JavaServer Faces in Action
http://twitter.com/kito99  http://twitter.com/jsfcentral
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
+1 203-404-4848 x3


On Tue, Apr 28, 2009 at 5:39 PM, Cyril Bouteille <cyril <at> travelmuse.com> wrote:
Hi Kito, by VC feature I meant essentially the prerender event for processing GET requests. I couldn't see such hook from Orchestra's overview. Does it have such a feature?
Writing custom PhaseListeners kicking in logic based on URLs gets a bit old... :) Shale's declarative <s:subview id> is great and much cleaner. Anything else like that out there?


Kito Mann wrote:
On Tue, Apr 28, 2009 at 12:44 PM, Cyril Bouteille <cyril <at> travelmuse.com>wrote:

 
This is sad news! Can you please recommend alternative projects for
migration of deployed View-Controller and Remote features? Thanks.
   


MyFaces Apache Orchestra has a view controller feature as well, and you with
JSF 1.2 sometimes a PhaseListener associated with a particular view can
yield similar results:

<f:view beforePhase="#{myBean.beforePhase}"
afterPhase="#{myBean.afterPhase}">
...
</f:view>

The remoting features are a different story, though. JSF 2.0 has most of the
Shale features (excluding the dialog framework and test framework). It
handles most of the use cases Shale Remoting handles (i.e. resource
mangement) but doesn't allow you to call arbitrary methods in the same
manner.

 
Greg Reddin wrote:

   
This is a heads up for the Shale user community that the Shale PMC has
voted to move the project to the Attic. This means that the Shale
developers (more formally its Project Management Committee) have voted
to retire Shale and move the responsibility for its oversight over to
the Attic project.

The MyFaces community has expressed interest in continuing development
of the Shale-Test module and the Shale PMC will work with MyFaces to
migrate this piece of the codebase.. Look for further announcements to
that regard in the near future.

You can read more about the Apache Attic at http://attic.apache.org.

You can follow the progress of the move at

  https://issues.apache.org/jira/browse/ATTIC-2 if you so wish.

On behalf of the Apache Shale PMC, Thanks!

Greg Reddin


     



--
Cyril Bouteille
VP, Engineering

TravelMuse, Inc.
4410 El Camino Real, Suite 102
Los Altos, CA 94022
Site: http://www.travelmuse.com (RSS) | Cyril's TravelMuse
Blogs: Company (RSS) | TravelMusings (RSS) | Photo (RSS)
Facebook: Page | App
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Greg Reddin | 28 Apr 2009 16:27
Picon

[ANNOUNCE] Apache Shale To Move To the Attic

This is a heads up for the Shale user community that the Shale PMC has
voted to move the project to the Attic. This means that the Shale
developers (more formally its Project Management Committee) have voted
to retire Shale and move the responsibility for its oversight over to
the Attic project.

The MyFaces community has expressed interest in continuing development
of the Shale-Test module and the Shale PMC will work with MyFaces to
migrate this piece of the codebase.. Look for further announcements to
that regard in the near future.

You can read more about the Apache Attic at http://attic.apache.org.

You can follow the progress of the move at

    https://issues.apache.org/jira/browse/ATTIC-2 if you so wish.

On behalf of the Apache Shale PMC, Thanks!

Greg Reddin

Ryan Wynn | 16 Mar 2009 22:25
Picon

Clay state question

I noticed that the Clay component saves the displayElementObject state in
saveState.  It would seem to me that this would cause some unnecessary
overhead in terms of space when using server side state management.  Since
the displayElement root is already being cached globally in the
TemplateConfigBean, would it be a valid optimization to have the Clay
component retrieve it from there instead of "caching" it as part of the
component state?

Is there any reason why this needs to be saved as component state?

Thanks,
Ryan
Greg Reddin | 10 Feb 2009 04:16
Picon

ApacheCon Europe 2009: Early Bird Deadline Extended

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 delia <at> apachecon.com for further information.

--
ApacheCon Europe 2009 Team
planners-2009-eu at apachecon.com
http://www.eu.apachecon.com

Greg Reddin | 27 Jan 2009 17:13
Picon

Registration for ApacheCon Europe 2009 is now open!

ApacheCon EU 2009 registration is now open!
23-27 March -- Mövenpick Hotel, Amsterdam, Netherlands
http://www.eu.apachecon.com/
================================

Registration for ApacheCon Europe 2009 is now open - act before early
bird prices expire 6 February.  Remember to book a room at the Mövenpick
and use the Registration Code: Special package attendees for the
conference registration, and get 150 Euros off your full conference
registration.

Lower Costs - Thanks to new VAT tax laws, our prices this year are 19%
lower than last year in Europe!  We've also negotiated a Mövenpick rate
 of a maximum of 155 Euros per night for attendees in our room block.

Quick Links:

  http://xrl.us/aceu09sp  See the schedule
  http://xrl.us/aceu09hp  Get your hotel room
  http://xrl.us/aceu09rp  Register for the conference

Other important notes:

- Geeks for Geeks is a new mini-track where we can feature advanced
technical content from project committers.  And our Hackathon on Monday
and Tuesday is open to all attendees - be sure to check it off in your
registration.

- The Call for Papers for ApacheCon US 2009, held 2-6 November
2009 in Oakland, CA, is open through 28 February, so get your
submissions in now.  This ApacheCon will feature special events with
some of the ASF's original founders in celebration of the 10th
anniversary of The Apache Software Foundation.

  http://www.us.apachecon.com/c/acus2009/

- Interested in sponsoring the ApacheCon conferences?  There are plenty
of sponsor packages available - please contact Delia Frees at
delia <at> apachecon.com for further information.

======================================================
ApacheCon EU 2008: A week of Open Source at it's best!

Hackathon - open to all! | Geeks for Geeks | Lunchtime Sessions
In-Depth Trainings | Multi-Track Sessions | BOFs | Business Panel
Lightning Talks | Receptions | Fast Feather Track | Expo... and more!

- Shane Curcuru, on behalf of
 Noirin Shirley, Conference Lead,
 and the whole ApacheCon Europe 2009 Team
 http://www.eu.apachecon.com/  23-27 March -- Amsterdam, Netherlands

Greg Reddin | 23 Jan 2009 16:11
Picon

[Travel Assistance] Applications for ApacheCon EU 2009 - Now Open

The Travel Assistance Committee is now accepting applications for those
wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009
in Amsterdam.

The Travel Assistance Committee is looking for people who would like to
be able to attend ApacheCon EU 2009 who need some financial support in
order to get there. There are very few places available and the criteria
is high, that aside applications are open to all open source developers
who feel that their attendance would benefit themselves, their
project(s), the ASF or open source in general.

Financial assistance is available for travel, accommodation and entrance
fees either in full or in part, depending on circumstances. It is
intended that all our ApacheCon events are covered, so it may be prudent
for those in the United States or Asia to wait until an event closer to
them comes up - you are all welcome to apply for ApacheCon EU of course,
but there must be compelling reasons for you to attend an event further
away that your home location for your application to be considered above
those closer to the event location.

More information can be found on the main Apache website at
http://www.apache.org/travel/index.html - where you will also find a
link to the online application form.

Time is very tight for this event, so applications are open now and will
end on the 4th February 2009 - to give enough time for travel
arrangements to be made.

Good luck to all those that apply.

Regards,
The Travel Assistance Committee
--

Cyril Bouteille | 20 Dec 2008 03:05
Favicon

Shale Remoting 1.0.4 not decoding HTTP param in UTF-8?

Hello,
We seem to have a problem decoding HTTP params with Shale Remoting 1.0.4 
+ Sun App Server 9.1_02 w/ Mojarra 1.2_04-b22-p05.
E.g. "Občanská Plovárna" gets decoded as "Ob?anská Plovárna"
Note á gets decoded ok but not č although our 
<sun-web-app><parameter-encoding default-charset="utf-8"/>
The decoding is fine with standard JSP/JSF if we don't go through Shale 
Remoting.
This looks very much like 
http://issues.apache.org/struts/browse/SHALE-282 but on the 
incoming/decoding side.
Can anyone confirm if there is a similar issue with Shale parameter 
decoding on the request/reader side?
Is there some sort of configuration setting we can set on Shale Remoting 
to make it decode parameters in UTF-8 w/o code change?
Thanks!
-- 
Cyril Bouteille
VP, Engineering

TravelMuse, Inc.
4410 El Camino Real, Suite 102
Los Altos, CA 94022
Site: http://www.travelmuse.com (RSS <http://www.travelmuse.com/rss>) | 
Cyril's TravelMuse <http://www.travelmuse.com/profile/?mid=429>
Blogs: Company 
<http://www.travelmuse.com/community/blogs/travelmuse-company-blog> (RSS 
<http://www.travelmuse.com/community/blogs/travelmuse-company-blog/feeds/posts>) 
| TravelMusings 
<http://www.travelmuse.com/community/blogs/travel_musings> (RSS 
<http://www.travelmuse.com/community/blogs/travel_musings/feeds/posts>) 
| Photo <http://www.travelmuse.com/community/blogs/photography> (RSS 
<http://www.travelmuse.com/community/blogs/photography/feeds/posts>)
Facebook: Page 
<http://www.new.facebook.com/pages/Los-Altos-CA/TravelMuse/12711960515?ref=ts> 
| App <http://apps.facebook.com/travelmuse/>
------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination or other use of, or 
taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you 
received this in error, please contact the sender and delete the 
material from any computer.


Gmane