Tapestry doesn't have a built-in way to convert a java.lang.String to a
java.lang.Class.
On Wed, Dec 26, 2012 at 11:37 PM, nhhockeyplayer nashua <
nhhockeypla...@hotmail.com> wrote:
>
> I dont understand why i can do this...
>
> public Object onActivate(String id)
>
> but I cant do this
>
>
context:
http://tapestry.1045711.n5.nabble.com/NumberFormatException-iocservices-coercian-flip-flopping-tp5718971p5719039.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
The clean solution was the modeling of just the page object and page activation
context... and tapestry does the rest.
so that sums up a custom edit page
public class CoachEdit
{
@Inject
private ContextValueEncoder contextValueEncoder;
@Inject
private Messages messages;
@I
Well according to this...
http://tapestry.apache.org/page-navigation.html
I have some options...
so I decided to skip toe convoluted crap
And do this
void onActivate(Coach bean)
{
this.bean = bean;
}
Coach onPassivate()
{
return bean;
I cannot even breakpoint at the onActivate now...
This error says input string "coach"
Not sure if thats whats being transmitted into the method signature or not
I cannot seem to come up with a onActivate method signature that will hold
water for me.
somehow the page context is grabbing strin
Just as a side issue... I have seen in the debugger...
ID coming in as a string such as "adminlayout" which is definitely not an ID.
I have been having some difficulty with the onActivate event handlers whenever
I try to modify the method signature.
Does anyone know if this is stable or not ?
I would like to challenge anyone to model an onActivate event handler that will
work for me.
I have scoped out and tried everything from demos to sample ciode to
documentation code... etc...
This coercian logic is very unreasonable...
and currently tripping up everything...
even if I try to do a cancel push button on form
all I have setup is my onActivate and it is characterizing all kinds of
negative runtime problems
public Object onActivate(String id)
{
if (bea
I dont understand why i can do this...
public Object onActivate(String id)
but I cant do this
public Object onActivate(Class clazz, String id)
any attenmpts to tamper with this method signature causes the method to not
ever get called and this taikes the whole page setup down
If someone could explain what this means... I would be greatful...
All I am doin is customizing a simple edit page for a pojo
the stuff was coming up
now its all comin down... just from tweeking the edit page onActivate handler
I am not sure of the documented faq for beaneditform is in line wi
87.10% unrealized services (216/248)
Application 'app' (version 1.0-SNAPSHOT-1356444220013) startup time: 299 ms to
build IoC Registry, 2,625 ms overall.
__ __
/_ __/__ ___ ___ / /___ __ / __/
/ / / _ `/ _ \/ -_|_-http://tapestry.apache.org/b
Thanks Lance,
I am just getting an eery feeling... I know under the hood alot of this stuff
is performed using AOP...
I am getting a feeling I cannot modify method signatures anymore... i get
different results everytime...
And chasing down tons of runtime errors intermittent and when once som
age in context:
http://tapestry.1045711.n5.nabble.com/NumberFormatException-iocservices-coercian-flip-flopping-tp5718971p5718982.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-un
${title}14
15 16
17
From: nhhockeypla...@hotmail.com
To: users@tapestry.apache.org
Subject: RE: NumberFormatException iocservices coercian flip flopping
Date: Tue, 25 Dec 2012 08:15:06 -0500
Here is more clarity on the context of the problem...
public Object onActivate(Class clazz, In
KEN
From: nhhockeypla...@hotmail.com
To: users@tapestry.apache.org
Subject: NumberFormatException iocservices coercian flip flopping
Date: Tue, 25 Dec 2012 08:12:18 -0500
Not sure if this is a bug...
public Object onActivate(Class clazz, Integer id)
{
I can either specify String or Inte
15 matches
Mail list logo