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
It looks at the parameter type: String, Date, Long, and uses the
ValueEncoderSource service (ultimately, backed by the TypeCoercer) to find
a coercsion from String to the parameter's type. The URL is a string, the
values in the extra path are strings, HTTP is all about strings.
By implication, if
Further, part of a page is its page activation context: knowing that
ProductCatalog/1234 is a 'Minolta Camera" and ProductCatalog/5465 is a
"Bogen Tripod", and the relationship between these two configurations of
the ProductCatalog page, is again very application specific.
shouldnt it be a normal function of a tapestry page to know its predecessor?
they only thing i found to get the previous page is by passing the
predecessor into the context.
http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/returntopage1/abc
--
View this message in context
the point is, that if i am showing the messages in a list, the user is able
to delete them from this list.
void onActionFromDelete(long messageId){
Message msg = messageService.getMessage(messageId);
messageService.deleteMessage(msg);
}
delete
but if one messa
I'm not sure I'm comprehending the whole case, but may be the user should
not be allowed to delete a message if there is no session ?
On Wed, Dec 26, 2012 at 3:26 PM, sommeralex wrote:
> Hello!
>
> My page is showing a message object, which should also be able being
> deleted
> by user (within th
Hello!
My page is showing a message object, which should also be able being deleted
by user (within that page)
Object onActionFromDelete(){
messageService.deleteMessage(message);
message = null;
msgContainer.addMessa
thx!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/t-grid-action-on-select-row-tp5718970p5718986.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-u