code. please help me solve this
problem.Thanks.
--
public class Persist1 {
@Property
@Persist(PersistenceConstants.FLASH)
private List mails;
@Property
@Persist(PersistenceConstants.FLASH)
private String username;
@Property
@Persist
Hi All,
As far as I understood flash strategy is needed to store values between
form submission and render requests.
Your flow:
1. onActivate() create values and store them in session
2. onSubmit() retrieve values and remove them from session => add value to
detached collection
3. onActivate() retrieve val
bit of a hack but can you put the list to a single string delimited by
control chars or caret ^
prior to form submission
then on rendering of 2nd page convert back from single string to list
chris
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/PersistenceConstants-FLAS
if i don't want to store the List in the session for a long time, is there
any advice to solve this problem?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/PersistenceConstants-FLASH-cann-t-persist-List-String-langs-tp5719462p5720163.html
Sent from the Tapestry - User ma
All the fields marked with @Persist(PersistenceConstants.FLASH) are cleared.
(Internally these fields are cleared as soon as the value is read from the
session)
regards
Taha
On Feb 19, 2013, at 2:49 PM, John wrote:
> Initially there will be no session, then after the first submit th
Initially there will be no session, then after the first submit there will
be an empty session.
Geoff
So flash items are cleared from the session after a form submit? Are all
items cleared or just the ones in the form?
John
ou writing them.
I'm concerned that my useage below will leave a lot of clutter in the
session.
@Persist(PersistenceConstants.FLASH)
private List venueColleagueBeansFlash;
This clutter won't happen.
--
Thiago H.
n the session.
@Persist(PersistenceConstants.FLASH)
private List venueColleagueBeansFlash;
ion isn't
applicable for that.
On Thu, Jan 24, 2013 at 9:36 AM, zhouyc wrote:
> please help me to solve the problem?
> after submitting and page redisplayed, username can be saved, but langs
> lost
> values added by submit method.
>
> @Property
> @Persist(Persist
please help me to solve the problem?
after submitting and page redisplayed, username can be saved, but langs lost
values added by submit method.
@Property
@Persist(PersistenceConstants.FLASH)
private String username;
@Property
@Persist(PersistenceConstants.FLASH)
private List langs;
void
11 matches
Mail list logo