onValidate called multiple times ...

2011-07-28 Thread Gunnar Eketrapp
Hi!

Maybe a newbie question but I have been on vacation for a month.

Why does onValidate get's called four times when I submit form below.

Thank's in advance!

/Gunnar Eketrapp

Form looks like ...

t:form t:id=form
fieldset

label for=member class=span-4Mötesordförande:/label
t:select name=chairman t:id=chairman value=meeting.chairman
model=memberModel encoder=memberEncoder /
br/

label for=member class=span-4Sekreterare:/label
t:select name=secretary t:id=secretary value=meeting.secretary
model=memberModel encoder=memberEncoder /
br/

label for=member class=span-4Justerare:/label
t:select name=justifier t:id=justifier value=meeting.justifier
model=memberModel encoder=memberEncoder /
br/

label for=member class=span-4Justerare:/label
t:select name=justifier2 t:id=justifier2 value=meeting.justifier2
model=memberModel encoder=memberEncoder /
br/

/fieldset

p
t:submit t:id=save value=Save /
/p
/t:form



And log looks like ...

2011-07-28 08:08:57.666 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ENTER] onActivate(2, 19)
2011-07-28 08:08:57.900 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ EXIT] onActivate [null]
2011-07-28 08:08:57.903 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
2011-07-28 08:08:57.903 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
2011-07-28 08:08:57.903 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
2011-07-28 08:08:57.903 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
2011-07-28 08:08:57.903 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
2011-07-28 08:08:57.904 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
2011-07-28 08:08:57.904 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
2011-07-28 08:08:57.904 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
2011-07-28 08:08:57.906 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
2011-07-28 08:08:57.906 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
2011-07-28 08:08:57.907 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ENTER] onSuccessFromForm()
2011-07-28 08:08:57.907 [btpool0-29] DEBUG
u.pages.meeting.MeetingParticipants - [ EXIT] onSuccessFromForm [null]


Re: onValidate called multiple times ...

2011-07-28 Thread Robert Zeigler
It doesn't.  It gets called 5 times. ;)

the validate event is fired by each form field and also by the form.  You 
have four form fields (four selects) + the form. 4+1=5, so the behavior is 
expected.

You can make the event handler more specific:

onValidateFromForm

would only be called 1x, to validate the form.

onValidateFromChairman

would only be called 1x, to validate the chairman select.  Rinse, repeat.

Robert

On Jul 28, 2011, at 7/281:26 AM , Gunnar Eketrapp wrote:

 Hi!
 
 Maybe a newbie question but I have been on vacation for a month.
 
 Why does onValidate get's called four times when I submit form below.
 
 Thank's in advance!
 
 /Gunnar Eketrapp
 
 Form looks like ...
 
 t:form t:id=form
fieldset
 
label for=member class=span-4Mötesordförande:/label
t:select name=chairman t:id=chairman value=meeting.chairman
 model=memberModel encoder=memberEncoder /
br/
 
label for=member class=span-4Sekreterare:/label
t:select name=secretary t:id=secretary value=meeting.secretary
 model=memberModel encoder=memberEncoder /
br/
 
label for=member class=span-4Justerare:/label
t:select name=justifier t:id=justifier value=meeting.justifier
 model=memberModel encoder=memberEncoder /
br/
 
label for=member class=span-4Justerare:/label
t:select name=justifier2 t:id=justifier2 value=meeting.justifier2
 model=memberModel encoder=memberEncoder /
br/
 
/fieldset
 
p
t:submit t:id=save value=Save /
/p
 /t:form
 
 
 
 And log looks like ...
 
 2011-07-28 08:08:57.666 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onActivate(2, 19)
 2011-07-28 08:08:57.900 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onActivate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.906 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.906 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.907 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onSuccessFromForm()
 2011-07-28 08:08:57.907 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onSuccessFromForm [null]


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: onValidate called multiple times ...

2011-07-28 Thread Taha Tapestry
Hi

OnValidate is called for each form component and the form so if you want it 
only for the form try onValidateFromForm()

Regards
Taha 

On Jul 28, 2011, at 11:56 AM, Gunnar Eketrapp gunnar.eketr...@gmail.com wrote:

 Hi!
 
 Maybe a newbie question but I have been on vacation for a month.
 
 Why does onValidate get's called four times when I submit form below.
 
 Thank's in advance!
 
 /Gunnar Eketrapp
 
 Form looks like ...
 
 t:form t:id=form
   fieldset
 
   label for=member class=span-4Mötesordförande:/label
   t:select name=chairman t:id=chairman value=meeting.chairman
 model=memberModel encoder=memberEncoder /
   br/
 
   label for=member class=span-4Sekreterare:/label
   t:select name=secretary t:id=secretary value=meeting.secretary
 model=memberModel encoder=memberEncoder /
   br/
 
   label for=member class=span-4Justerare:/label
   t:select name=justifier t:id=justifier value=meeting.justifier
 model=memberModel encoder=memberEncoder /
   br/
 
   label for=member class=span-4Justerare:/label
   t:select name=justifier2 t:id=justifier2 value=meeting.justifier2
 model=memberModel encoder=memberEncoder /
   br/
 
   /fieldset
 
   p
   t:submit t:id=save value=Save /
   /p
 /t:form
 
 
 
 And log looks like ...
 
 2011-07-28 08:08:57.666 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onActivate(2, 19)
 2011-07-28 08:08:57.900 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onActivate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.906 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.906 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.907 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onSuccessFromForm()
 2011-07-28 08:08:57.907 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onSuccessFromForm [null]


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: onValidate called multiple times ...

2011-07-28 Thread Taha Hafeez
Hi

Well to add to it, you should use @OnEvent(component = form, value =
EventConstants.VALIDATE) instead of onValidateFromForm().

read more about why to prefer it in later part of this recent thread
http://tapestry.1045711.n5.nabble.com/Form-using-both-a-zone-and-no-zone-td4635695.html

regards
Taha

On Thu, Jul 28, 2011 at 12:11 PM, Taha Tapestry
tawus.tapes...@gmail.com wrote:
 Hi

 OnValidate is called for each form component and the form so if you want it 
 only for the form try onValidateFromForm()

 Regards
 Taha

 On Jul 28, 2011, at 11:56 AM, Gunnar Eketrapp gunnar.eketr...@gmail.com 
 wrote:

 Hi!

 Maybe a newbie question but I have been on vacation for a month.

 Why does onValidate get's called four times when I submit form below.

 Thank's in advance!

 /Gunnar Eketrapp

 Form looks like ...

 t:form t:id=form
   fieldset

   label for=member class=span-4Mötesordförande:/label
   t:select name=chairman t:id=chairman value=meeting.chairman
 model=memberModel encoder=memberEncoder /
   br/

   label for=member class=span-4Sekreterare:/label
   t:select name=secretary t:id=secretary value=meeting.secretary
 model=memberModel encoder=memberEncoder /
   br/

   label for=member class=span-4Justerare:/label
   t:select name=justifier t:id=justifier value=meeting.justifier
 model=memberModel encoder=memberEncoder /
   br/

   label for=member class=span-4Justerare:/label
   t:select name=justifier2 t:id=justifier2 value=meeting.justifier2
 model=memberModel encoder=memberEncoder /
   br/

   /fieldset

   p
   t:submit t:id=save value=Save /
   /p
 /t:form

 

 And log looks like ...

 2011-07-28 08:08:57.666 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onActivate(2, 19)
 2011-07-28 08:08:57.900 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onActivate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.903 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.904 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.906 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onValidate()
 2011-07-28 08:08:57.906 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onValidate [null]
 2011-07-28 08:08:57.907 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ENTER] onSuccessFromForm()
 2011-07-28 08:08:57.907 [btpool0-29] DEBUG
 u.pages.meeting.MeetingParticipants - [ EXIT] onSuccessFromForm [null]



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



toolTip mixins

2011-07-28 Thread dick_hu
I use the tawus's toolTip mixins , but a problem arround me .
How can I pass a parameter to the onToolTip method
my code is :
Object onToolTip() {
   // logs = impressService.listFrdPhr(getOwner(), mid);
  return toolTip;
}

in my method I want a parameter from the tooltip mixins,can tooptip have a
context?


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/toolTip-mixins-tp4641526p4641526.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



When Select change value

2011-07-28 Thread dick_hu
I want change select component's value the form submit 
Is ther any way can do this?

Thanks a lot

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/When-Select-change-value-tp4641947p4641947.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: toolTip mixins

2011-07-28 Thread Taha Hafeez
Hi

I have raised an issue : https://github.com/tawus/tawus/issues/12

I will try to do it as soon as possible

regards
Taha


On Thu, Jul 28, 2011 at 12:49 PM, dick_hu dickan...@gmail.com wrote:
 I use the tawus's toolTip mixins , but a problem arround me .
 How can I pass a parameter to the onToolTip method
 my code is :
 Object onToolTip() {
   // logs = impressService.listFrdPhr(getOwner(), mid);
  return toolTip;
 }

 in my method I want a parameter from the tooltip mixins,can tooptip have a
 context?


 --
 View this message in context: 
 http://tapestry.1045711.n5.nabble.com/toolTip-mixins-tp4641526p4641526.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry5 jQuery integration and tap 5.3

2011-07-28 Thread Clément Uster
Hey Zubair,

I've done it on a particular branch on github - Tapestry-jquery_T53
This is version 3.0.0-SNAPSHOT.
Everything seems ok, but please let me know if something is wrong with it.
If you have more specific questions regarding this project, I suggest you to
send them to the dedicated mailing list :
*tapestry5-jqu...@googlegroups.com*

Regards,
Clément


On 27 July 2011 22:29, Zubair Nuamaan z.nuam...@googlemail.com wrote:

 Thanks, I'll use tapestry 5.2.5 in the meantime.

 Zubair

 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Tapestry5-jQuery-integration-and-tap-5-3-tp4640114p4640202.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: When Select change value

2011-07-28 Thread Taha Hafeez
Hi

May be someone will have an easy answer (It must be there) but I think
the only way to do this using a mixin.

Something like

public class SubmitMixin {

@Parameter(value = onchange, defaultPrefix = BindingConstants.LITERAL)
private String clientEvent;

@Inject
private JavaScriptSupport javaScriptSupport;

@AfterRender
void addAttribute(MarkupWriter writer)
{
   writer.attributes(clientEvent, this.form.submit());
}

not tested

regards
Taha


On Thu, Jul 28, 2011 at 3:11 PM, dick_hu dickan...@gmail.com wrote:
 I want change select component's value the form submit
 Is ther any way can do this?

 Thanks a lot

 --
 View this message in context: 
 http://tapestry.1045711.n5.nabble.com/When-Select-change-value-tp4641947p4641947.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry5 jQuery integration and tap 5.3

2011-07-28 Thread Zubair Nuamaan
Sweet - I'll give that a shot

Zubair

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry5-jQuery-integration-and-tap-5-3-tp4640114p4642018.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: toolTip mixins

2011-07-28 Thread dick_hu
Ohye I am waiting for you... heihei

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/toolTip-mixins-tp4641526p4642038.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry Forum

2011-07-28 Thread nillehammer

Paul Stanton-2 wrote:
 
 Personally I think forums are a more usable medium that mailing lists 
 for a number of reasons. eg:
 * It is easier for new users to ask their first question
 * You can 'decorate' your messages (code blocks, quotes etc) making them 
 more legible.
 * Posts are better categorised
 * You can ignore traffic until you are ready to read it
 
 I think many new tapestry users are uncomfortable with joining a mailing 
 list and therefore don't get the help they need to get up and running.
 
 You don't have to agree...
 
 Paul.
 
Paul, I'm afraid I don't agree. You're right mentioning the lack of comfort
when using the mailing list purely just with an email client. But in my
opinion nabble makes using this list as easy as a web forum. I myself use it
to read and post messages. I only check my mail account from time to time to
*delete* the mails.

So I think we have everything that is needed already. But on the other hand,
the internet is free you always gotta try new things. I wish you the best.
Let's see what comes out.

Cheers nillehammer

-
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p4642242.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Triggered event check on page

2011-07-28 Thread nillehammer
It sounds like this could be achieved by providing two event handlers, one
for each button code could look like:
@OnEvent(value=firstEventLink'sEventValue)
final void/Class/Block/Object displaySpecialValue(final MarkupWriter writer)
{
.
}

@OnEvent(value=secondEventLink'sEventValue)
final void/Class/Block/Object displayAnotherSpecialValue(final MarkupWriter
writer) {
.
}

-
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Triggered-event-check-on-page-tp4642223p4642318.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry Forum

2011-07-28 Thread George Christman
I agree with Nillehammer, but I do think at first the mailing list seems a
bit cumbersome to signup with, especially if your trying to access it
through nabble from day 1, but once your up and running I feel things are
very simple to use with great help. I also like how simple nabble is to
search archived records. My first thought when checking out your forum was
bright and that might be effecting the user feel. It's only one my opinion,
so what ever you feel it's worth. Good luck, hopefully it works out for you.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p4642551.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Beginner needs help with t:grid/t:submit/row/context in Tapestry

2011-07-28 Thread Julien Martin
Hello,

I have some problems getting started with Tapestry grids and forms.

Here are my classes and templates:

*t:recruiters.recruiterslayout xmlns:t=
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd;
xmlns:p=tapestry:parameter
form t:type=form t:id=jobPostings
t:grid source=jobPostings row=jobPosting add=actions
exclude=jobPostingValidationDate
p:actionscell
t:submit t:id=activate context=jobPosting
value=activate event=activate/br /
t:submit t:id=modify context=jobPosting value=modify
event=modify /br /
t:submit t:id=delete context=jobPosting value=delete
event=delete / br /
t:submit t:id=pause context=jobPosting value=pause
event=pause /
/p:actionscell
 /t:grid
/form
/t:recruiters.recruiterslayout*

and:
*
public class JobPostingsTable {

@Property
private ListJobPosting jobPostings;

@Property
@PageActivationContext
private JobPosting jobPosting;

@Property
private Date date;

@Inject
private CheetahService service;

@Inject
private PageRenderLinkSource pageRenderLinkSource;


@OnEvent(EventConstants.ACTIVATE)
void loadJobPostings() {
jobPostings = service.loadJobPostings();
}

@OnEvent(activate)
void activateJobPosting(JobPosting jobPosting) {
service.activateJobPosting(jobPosting);
}

@OnEvent(pause)
void pauseJobPosting(JobPosting jobPosting) {
service.pauseJobPosting(jobPosting);
}

@OnEvent(value = modify)
Link modifyJobPosting(JobPosting jobPosting) {
return
pageRenderLinkSource.createPageRenderLinkWithContext(ModifyJobPosting.class,
jobPosting);
}

@OnEvent(value = delete)
Link deleteJobPosting(JobPosting jobPosting) {
return
pageRenderLinkSource.createPageRenderLinkWithContext(DeleteJobPosting.class,
jobPosting);
}

}*

The current behavior is for my form *to consider that the current row is
always the last one*!! Note that I would rather use the JobPosting as a
context instead of the JobPosting id and I have implemented a
JobPostingValueEncoder to that effect:
*
public class JobPostingEncoder implements ValueEncoderJobPosting {
private CheetahService service;

public JobPostingEncoder(CheetahService service) {
this.service = service;
}

@Override
public String toClient(JobPosting jobPosting) {
return String.valueOf(jobPosting.getIdJobPosting());
}

@Override
public JobPosting toValue(String clientValue) {
Integer id = Integer.valueOf(clientValue);
return service.findJobPostingById(id);
}
}*

Can anyone please help. I am available to provide more information.

Thanks very much in advance,

Julien.


Re: Beginner needs help with t:grid/t:submit/row/context in Tapestry

2011-07-28 Thread George Christman
Couldn't you use an ActionLink instead of a submit?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-t-grid-t-submit-row-context-in-Tapestry-tp4642799p4642882.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: When Select change value

2011-07-28 Thread antalk
I had it solved by creating some javascript code:


Event.observe(window,'load',addEventHandlers);

function addEventHandlers(event) {
Event.observe(select, 'change', submitForm);
}

function submitForm(event) {
var form = $('IdOfTheForm');
form.submit();
}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/When-Select-change-value-tp4641947p4642895.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



ioko-tapestry-commons problem

2011-07-28 Thread dick_hu
when I use the ioko-tapestry-commons's mixins Overlay there is exception
occur

Exception invoking function Tapestry.Initializer.overlayMixinLoad with
parameters [{isForm: false, exposeColour: #33, overlayId:
overlay, containerId: test}]: ReferenceError: jQuery is not defined

My code is 

package uk.co.ioko.tapestry.mixins.pages;

import org.apache.tapestry5.Block;
import org.apache.tapestry5.ioc.annotations.Inject;

OverlayTest.java
public class OverlayTest {

@Inject
private Block showBlock;

Object onActionFromTest() {
return showBlock;
}
}

OverlayTest.tml
lt;!DOCTYPE HTML PUBLIC
  quot;-//W3C//DTD HTML 4.01 Transitional//ENquot;
  quot;http://www.w3.org/TR/html4/loose.dtdquot;gt;
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
body
t:actionlink t:id=test
t:mixins=ioko/overlay
zone=myZone
overlay.zone=myZone
adfsdf
/t:actionlink
t:zone t:id=myZone
t:block t:id=showBlock
1212121212sdfsf
/t:block
/t:zone
/body
/html


below is the html in brower

lt;!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01 Transitional//ENquot;
quot;http://www.w3.org/TR/html4/loose.dtdquot;gt;html
xmlns=http://www.w3.org/1999/xhtml;headlink type=text/css
rel=stylesheet
href=/ioko/assets/c09776c4686bb196/tapestry/default.css/linklink
type=text/css rel=stylesheet
href=/ioko/assets/c09776c4686bb196/tapestry/tapestry-console.css/linklink
type=text/css rel=stylesheet
href=/ioko/assets/c09776c4686bb196/ioko/mixins/overlay.css/linkmeta
content=Apache Tapestry Framework (version UNKNOWN)
name=generator/meta/headbody /ioko/overlay.test 
adfsdf
div id=overlay class=overlaydiv id=myZone/div/divdiv
class=t-zone id=myZone/div/body/html

Any one can help me
Thanks a lot

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/ioko-tapestry-commons-problem-tp4643132p4643132.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Beginner needs help with t:grid/t:submit/row/context in Tapestry

2011-07-28 Thread Julien Martin
Thanks George,
Would using an actionlink change the behaviour of the app?
Also how can I make an action link look like a button?
And finally, what is wrong with my current code?
Regards,
Julien.

2011/7/28 George Christman gchrist...@cardaddy.com

 Couldn't you use an ActionLink instead of a submit?

 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-t-grid-t-submit-row-context-in-Tapestry-tp4642799p4642882.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: ioko-tapestry-commons problem

2011-07-28 Thread Taha Tapestry
The documentation says you have to annotate the page class with 
@Import(stack='jquery')

Regards
Taha 

On Jul 28, 2011, at 8:54 PM, dick_hu dickan...@gmail.com wrote:

 when I use the ioko-tapestry-commons's mixins Overlay there is exception
 occur
 
 Exception invoking function Tapestry.Initializer.overlayMixinLoad with
 parameters [{isForm: false, exposeColour: #33, overlayId:
 overlay, containerId: test}]: ReferenceError: jQuery is not defined
 
 My code is 
 
 package uk.co.ioko.tapestry.mixins.pages;
 
 import org.apache.tapestry5.Block;
 import org.apache.tapestry5.ioc.annotations.Inject;
 
 OverlayTest.java
 public class OverlayTest {
 
@Inject
private Block showBlock;
 
Object onActionFromTest() {
return showBlock;
}
 }
 
 OverlayTest.tml
 lt;!DOCTYPE HTML PUBLIC
  quot;-//W3C//DTD HTML 4.01 Transitional//ENquot;
  quot;http://www.w3.org/TR/html4/loose.dtdquot;gt;
 html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
body
t:actionlink t:id=test
t:mixins=ioko/overlay
zone=myZone
overlay.zone=myZone
adfsdf
/t:actionlink
t:zone t:id=myZone
t:block t:id=showBlock
1212121212sdfsf
/t:block
/t:zone
/body
 /html
 
 
 below is the html in brower
 
 lt;!DOCTYPE HTML PUBLIC quot;-//W3C//DTD HTML 4.01 Transitional//ENquot;
 quot;http://www.w3.org/TR/html4/loose.dtdquot;gt;html
 xmlns=http://www.w3.org/1999/xhtml;headlink type=text/css
 rel=stylesheet
 href=/ioko/assets/c09776c4686bb196/tapestry/default.css/linklink
 type=text/css rel=stylesheet
 href=/ioko/assets/c09776c4686bb196/tapestry/tapestry-console.css/linklink
 type=text/css rel=stylesheet
 href=/ioko/assets/c09776c4686bb196/ioko/mixins/overlay.css/linkmeta
 content=Apache Tapestry Framework (version UNKNOWN)
 name=generator/meta/headbody /ioko/overlay.test 
 adfsdf
 div id=overlay class=overlaydiv id=myZone/div/divdiv
 class=t-zone id=myZone/div/body/html
 
 Any one can help me
 Thanks a lot
 
 --
 View this message in context: 
 http://tapestry.1045711.n5.nabble.com/ioko-tapestry-commons-problem-tp4643132p4643132.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Issue with tapestry tutorial

2011-07-28 Thread AHennion
Nobody have the same issue?

Maybe, you can send me the source code of the tutorial that i can compare
with the mine?


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Issue-with-tapestry-tutorial-tp4633740p4643501.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Triggered event check on page

2011-07-28 Thread tr3pek
Hi,

is there a way to check which event brought me to particular page?
Shortly:
I have one page with two buttons. Each one is an EventLink. After clicking
on each of them an event is thrown and I stay on the same page, but I want
to display some content in case first button was pressed - not in the other
case. Is there a way to check which event was triggered withoud adding
additional parameters?

Regards

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Triggered-event-check-on-page-tp4642223p4642223.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Beginner needs help with t:grid/t:submit/row/context in Tapestry

2011-07-28 Thread George Christman
Wasn't aware you were trying to maintain the button feel. If using an action
link you would need to build your own buttons using css. I don't believe an
action link submits the form like the submit button does, there for if you
have no form inputs, a form wouldn't be neccessary. However if you wish to
use submit buttons, perhaps using the following would work. I have never
tried it in the grid, so not entirely sure it will solve your prob. 


@OnEvent(value = EventConstants.SELECTED, component = modify)
Object modifyJobPosting(JobPosting jobPosting) { 

 modifyJobPosting.setJobPosting(jobPosting);

 return modifyJobPosting;
}


 ModifyJobPosting.class

Class? onActivate(JobPosting jobPosting) {
if(jobPosting!= null) {
this.jobPosting= jobPosting;
} else {
return Index.class;
}
return null;
}

Object onPassivate() {
Object value = null;
if (jobPosting!= null) {
value = jobPosting.getId();
}
return value;
} 

public void setJobPosting(JobPosting jobPosting) {
this.jobPosting= jobPosting;
}  

hope this helps.   

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-t-grid-t-submit-row-context-in-Tapestry-tp4642799p4643564.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Beginner needs help with t:grid/t:submit/row/context in Tapestry

2011-07-28 Thread George Christman
forgot this in last response 

@InjectPage
private ModifyJobPosting modifyJobPosting; 

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-t-grid-t-submit-row-context-in-Tapestry-tp4642799p4643575.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Triggered event check on page

2011-07-28 Thread Thiago H. de Paula Figueiredo

On Thu, 28 Jul 2011 08:33:12 -0300, tr3pek mathew...@gmail.com wrote:


Hi,


Hi!


is there a way to check which event brought me to particular page?


Events are always local to a given page.


Shortly:
I have one page with two buttons. Each one is an EventLink. After  
clicking on each of them an event is thrown and I stay on the same page,  
but I want to display some content in case first button was pressed -  
not in the other case. Is there a way to check which event was triggered  
withoud adding

additional parameters?


Your first question makes it seem that you're talking about going from one  
page to another, now the above paragraph is all about a single page. Quite  
confusing.


If your question is about navigation from one page to another:
No, unless you store this information in a session state object.

Otherwise:

Use the context parameter or give each EventLink a different event name  
and have two separate event handler methods, one for each.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry Forum

2011-07-28 Thread Howard Lewis Ship
We've got forums, we've got StackOverflow, we've got IRC, we've got
who-knows-what.

The Apache way is based on email because email is distributed and
forever; any site or forum is limited to the lifespan of that site and
that forum and disruptions do happen.  To be honest, if I had my way,
we would do support on StackOverflow because that's the best damn
support forum I've seen, and it only gets better as it is more heavily
used ... but I digress.  We're Apache, we use email.

On Thu, Jul 28, 2011 at 6:08 AM, George Christman
gchrist...@cardaddy.com wrote:
 I agree with Nillehammer, but I do think at first the mailing list seems a
 bit cumbersome to signup with, especially if your trying to access it
 through nabble from day 1, but once your up and running I feel things are
 very simple to use with great help. I also like how simple nabble is to
 search archived records. My first thought when checking out your forum was
 bright and that might be effecting the user feel. It's only one my opinion,
 so what ever you feel it's worth. Good luck, hopefully it works out for you.

 --
 View this message in context: 
 http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p4642551.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org





-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry Forum

2011-07-28 Thread Thiago H. de Paula Figueiredo
On Thu, 28 Jul 2011 15:45:33 -0300, Howard Lewis Ship hls...@gmail.com  
wrote:



We've got forums, we've got StackOverflow, we've got IRC, we've got
who-knows-what.


By the way, what about downvoting the outdated Tapestry rant at  
http://stackoverflow.com/questions/1303438/why-did-you-stop-using-tapestry?  
It evens calls Howard a liar.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Can i have class names different from the calling url path?

2011-07-28 Thread hese

All,

What I want is to access

pages.admin.users.UserEdit from the url /admin/users/edit
pages.admin.users.ActiveUsers from the url /admin/users/active

I dont want to change UserEdit to 'Edit' because Edit is a very generic name
for a class...but when the same thing appears in the url from a restful
perspective it doesn't look nice - having a url like /admin/users/useredit,
or /admin/users/activeusers

Currently, the way I know is tapestry just puts the page name as the url
path, but I want to be able to configure them differently.

Thanks!



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Can-i-have-class-names-different-from-the-calling-url-path-tp4644276p4644276.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Can i have class names different from the calling url path?

2011-07-28 Thread Thiago H. de Paula Figueiredo

On Thu, 28 Jul 2011 18:18:29 -0300, hese 1024h...@gmail.com wrote:


All,


Hi!


What I want is to access
pages.admin.users.UserEdit from the url /admin/users/edit


Rename it to UsersEdit and Tapestry already does what you want.


pages.admin.users.ActiveUsers from the url /admin/users/active


Tapestry already does that. :) The package name, if present in the class  
name, is stripped to give the page URL. Both /admin/users/edit and  
/admin/users/activeusers are valid URLs. When generating links to this  
page, Tapestry will use the short URL (/admin/users/edit). Haven't you  
tried it yet?



Currently, the way I know is tapestry just puts the page name as the url
path, but I want to be able to configure them differently.


If you want full control, use the LinkTransformer API. There's a very nice  
blog post by Igor Drobiazko here:  
http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Can i have class names different from the calling url path?

2011-07-28 Thread hese

Cool!! You always have answers.  Thanks!

The thing I love about this forum is I know I will get a reply within an
hour max!






--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Can-i-have-class-names-different-from-the-calling-url-path-tp4644276p4644490.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Using RadioGroup inside a Grid

2011-07-28 Thread Josh Canfield
Can you create a mixin to force the name to particular value?
On Jul 26, 2011 11:39 PM, Stephan Windmüller 
stephan.windmuel...@tu-dortmund.de wrote:
 On 27.07.2011 01:25, Thiago H. de Paula Figueiredo wrote:

 Imagine a questionnaire with many statements (rows). For each statement
 you have to select if you agree with it or not on a scale from 1 to 10.
 For this I need a RadioGroup for each row.
 Add add=scale in your Grid then p:scale !-- radio group here --
 /p:scale. It's absolutely the same way as using a RadioGroup outside a
 Grid. It seems to me the only missing piece of the puzzle for you was how

 to add a column to a Grid.

 This would put the radio group inside a single column. But as I stated
 in my first e-mail, the options should be split among many columns. Here
 is an example (view with a fixed font):

 /--\
 | Statement | Good | OK | Bad |
 |--|
 | First | o | o | o |
 |--|
 | Second | o | o | o |
 |--|
 | Third | o | o | o |
 \--/

 Or in HTML:

 table
 [...]
 tr
 tdFirst/td
 tdinput type=radio name=select_first value=goodGood/td
 tdinput type=radio name=select_first value=okOK/td
 tdinput type=radio name=select_first value=badBad/td
 /tr
 tr
 tdSecond/td
 tdinput type=radio name=select_second value=goodGood/td
 tdinput type=radio name=select_second value=okOK/td
 tdinput type=radio name=select_second value=badBad/td
 /tr
 [...]
 /table

 - Stephan

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



Re: ioko-tapestry-commons problem

2011-07-28 Thread dick_hu
I  have try it yet,but it also occur this exception,
I am sad 
@Import(stack=Jquery)
public class OverlayTest {

@Inject
private Block showBlock;

Object onActionFromTest() {
return showBlock;
}
}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/ioko-tapestry-commons-problem-tp4643132p4644780.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: tapestry-security warning

2011-07-28 Thread Kalle Korhonen
Patience my young Jedi :) Replied on Tynamo's list but you can safely
ignore the warning.

Kalle


On Wed, Jul 27, 2011 at 5:42 PM, Taha Hafeez tawus.tapes...@gmail.com wrote:
 Hi

 I had posted this problem in tynamo's mailing list but I not sure how
 active it is.

 We have a setup.

 Tapestry5 : 5.25
 tapestry-security : 0.4.0

 and at startup we have this warning

 [WARN] TapestryModule?.HttpServletRequestHandler? Unable to add
 'StoreIntoGlobals?' as a dependency of 'SecurityRequestFilter?', as
 that forms a dependency cycle ('SecurityRequestFilter?' depends on
 itself via 'StoreIntoGlobals?'). The dependency has been ignored.

 I think it is because of the service ApplicationGlobals being injected
 into SecurityRequestFilter. Is it a concern ? and if so what is the
 solution ?

 regards
 Taha

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: tapestry-security warning

2011-07-28 Thread Taha Hafeez
Thanks Kalle

For reference, this is the answer (I got in the tynamo's mailing list)

You must be using 0.3.x since SecurityRequestFilter was refactored
into SecurityConfiguration in 0.4.0. Anyway, it's just a warning you
can ignore. We only use ApplicationGlobals to get the ServletContext.

Can't help it. Patience is not one of my virtue :)

regards
Taha

On Fri, Jul 29, 2011 at 9:26 AM, Kalle Korhonen
kalle.o.korho...@gmail.com wrote:
 Patience my young Jedi :) Replied on Tynamo's list but you can safely
 ignore the warning.

 Kalle


 On Wed, Jul 27, 2011 at 5:42 PM, Taha Hafeez tawus.tapes...@gmail.com wrote:
 Hi

 I had posted this problem in tynamo's mailing list but I not sure how
 active it is.

 We have a setup.

 Tapestry5 : 5.25
 tapestry-security : 0.4.0

 and at startup we have this warning

 [WARN] TapestryModule?.HttpServletRequestHandler? Unable to add
 'StoreIntoGlobals?' as a dependency of 'SecurityRequestFilter?', as
 that forms a dependency cycle ('SecurityRequestFilter?' depends on
 itself via 'StoreIntoGlobals?'). The dependency has been ignored.

 I think it is because of the service ApplicationGlobals being injected
 into SecurityRequestFilter. Is it a concern ? and if so what is the
 solution ?

 regards
 Taha

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Triggered event check on page

2011-07-28 Thread Михаил Слободянюк
Hi!
If you want debug event call order read
http://tapestry.apache.org/logging.html Component Event Debugging part

Mihail.

2011/7/28 nillehammer tapestry.nilleham...@winfonet.eu

 It sounds like this could be achieved by providing two event handlers, one
 for each button code could look like:
 @OnEvent(value=firstEventLink'sEventValue)
 final void/Class/Block/Object displaySpecialValue(final MarkupWriter
 writer)
 {
 .
 }

 @OnEvent(value=secondEventLink'sEventValue)
 final void/Class/Block/Object displayAnotherSpecialValue(final MarkupWriter
 writer) {
 .
 }

 -
 http://www.winfonet.eu
 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Triggered-event-check-on-page-tp4642223p4642318.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: Issue with tapestry tutorial

2011-07-28 Thread AHennion
Hi,

It seems to be work fine now.

I add this line in my appmodule.java:

public static void
contributeHibernateEntityPackageManager(ConfigurationString configuration)
{
  configuration.add(com.example.tutorial1.entities);
}


Thanks

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Issue-with-tapestry-tutorial-tp4633740p4645910.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org