I tried to see what was in my selectmodel after the factory loading with
this code :
// initialize selectmodels
selectType = selectModelFactory.create(typeClientList, nomType);
ListOptionModel optionModelList = selectType.getOptions();
System.out.println(begin);
for (OptionModel optionModel :
If I read Bob right, I think Bob said his problem was not due to nulls, it was
due to the selected value not being one of the values in the OptionModel.
It might also be worth trying secure=literal:false on the Select.
On 15 Jul 2014, at 5:59 pm, squallmat . squall...@gmail.com wrote:
I tried
the null pointer exception comes from :
at org.apache.tapestry5.internal.util.SelectModelRenderer.
option(SelectModelRenderer.java:51)
which is, in the code of tapestry this :
@SuppressWarnings(unchecked)
public void option(OptionModel optionModel)
{
Object optionValue =
On Tue, 15 Jul 2014 06:28:46 -0300, Geoff Callender
geoff.callender.jumpst...@gmail.com wrote:
If I read Bob right, I think Bob said his problem was not due to nulls,
it was due to the selected value not being one of the values in the
OptionModel.
This can be caused by the lack of a good
On Tue, 15 Jul 2014 07:03:32 -0300, squallmat . squall...@gmail.com
wrote:
the null pointer exception comes from :
at org.apache.tapestry5.internal.util.SelectModelRenderer.
option(SelectModelRenderer.java:51)
which is, in the code of tapestry this :
@SuppressWarnings(unchecked)
public
Hi Howard, where are the recent commits located?
Thanks llya, I'll have to keep your library in mind for our next project.
On Mon, Jul 14, 2014 at 6:43 PM, Ilya Obshadko ilya.obsha...@gmail.com
wrote:
You may use a replacement mixin from here:
https://github.com/xfyre/tapestry5-xtensions
On Tue, 15 Jul 2014 10:03:36 -0300, George Christman
gchrist...@cardaddy.com wrote:
Hi Howard, where are the recent commits located?
https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=log
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
The trace :
|java.lang.NullPointerException: Unable to delegate method invocation to property
'request' of Proxy for
RequestGlobals(org.apache.tapestry5.services.RequestGlobals), because the
property is null.
at $Request_1ce08361bf2a.readProperty(Unknown Source)
at
On Tue, 15 Jul 2014 10:48:02 -0300, squallmat . squall...@gmail.com
wrote:
Ok I resolved the problem,
I went from declaring the encoder with :
@Property
private TypeClientDtoEncoder typeClientDtoEncoder;
to :
public TypeClientDtoEncoder getTypeClientDtoEncoder() {
return new
But I was getting the problem at page loading. I haven't been able yet to
do a form submission, so setupRender should have been enough for that,
right ?
I probably miss something on this. But it's now working :)
And thanks for your time for helping me (I'm discovering this framework).
2014-07-15
Hi,
You can login programatically in onSucces function of a tapestry form.
Best regards
Eugen
Am 15.07.2014 16:16 schrieb TNO tno...@free.fr:
Hello,
Is there anybody who already use tapestry-csrf-protection with
Tapestry-Spring-Security ?
tapestry-csrf-protection works out of the box with
Thanks, but
This is a form with an action value
form id=formLogin action=/j_spring_security_check method=POST
class=line
This is not a tapestry form (t:form), I don't think I can use the onSuccess
Thomas
Le 15/07/2014 18:49, Eugen a écrit :
Hi,
You can login programatically in onSucces
Yes, this is the normal way, another way is to make a tapestry form, f.e.:
t:form
t:textfield value=username /
t:passwordfield value=password /
t:submit /
/t:form
and in OnSuccess event something like:
@inject
AuthenticationManager authenticationManager;
void onSuccess() {
Authentication
Thanks a lot Eugen !
Le 15/07/2014 22:12, Eugen a écrit :
Yes, this is the normal way, another way is to make a tapestry form, f.e.:
t:form
t:textfield value=username /
t:passwordfield value=password /
t:submit /
/t:form
and in OnSuccess event something like:
@inject
AuthenticationManager
In my logs I could see that method that was triggered by the triggerEvent()
was still running when onSuccess event was handled. So I got the impression
that triggerEvent method is not blocking...but if it is then my problem is
somewhere else I guess, right?
On Sun, Jul 13, 2014 at 7:02 PM,
Have you seen this example and the ones around it?
http://jumpstart.doublenegative.com.au/jumpstart7/examples/select/easyobject
HTH,
Geoff
On 16 Jul 2014, at 1:56 am, squallmat . squall...@gmail.com wrote:
But I was getting the problem at page loading. I haven't been able yet to
do
16 matches
Mail list logo