You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Benjamin Bratkus <br...@oio.de> on 2006/04/20 15:48:43 UTC
jsf portlet input components do not set their values to the model
hello all,
actually i try to deploy a myfaces portlet to liferay 3.6.1 enterprise.
but the problem is, that the all the values of my input components
aren't written to the model. the app is running well in a tomcat 5.5.18
standalone but within the portal......
has anyone a hint for me ?
best regards,
ben
Re: jsf portlet input components do not set their values to the model
Posted by Benjamin Bratkus <br...@oio.de>.
hello all,
after a few trys i've found out why the inputcomponents do not write
their user given values to the model. first it could be that there is an
issue for the myfacesportlet or
the tomahawk components or for liferay portal. the experience i gained
was that my formular was to complex to run with liferay 3.6.1. the
application was deployed first as a standalone app for tomcat and works
fine. but after redeploying this app into liferay the components lost
their values. the next is that i made the forms much simpler and now the
portlet isn't rendered correct. means that the components exeed the
border of the portlet which contains the application. This occures first
time at the second page of my app. the start page is rendered well, but
after proceeding a action which leeds to the create page the t:datatable
exeed the border.
so is this a known problem with liferay or could it be a problem of myfaces?
best regards,
ben
http://forums.liferay.com/index.php?showtopic=4735
Re: jsf portlet input components do not set their values to the model
Posted by Dave Brondsema <da...@brondsema.net>.
I had similar trouble when I used an id on my <h:form> and used that
portlet twice on the same page. When that happened the javascript
failed because the id was duplicated.
If you don't use an id on the top level naming container (e.g. h:form)
it will generate a unique one. That did the trick for me.
Todd Papaioannou wrote:
> Are you able to run multiple portlets that use commandLink or
> commandButton on the same page?
> I have never been able to get that to work. A single portlet works fine,
> but two don't.
>
> Todd
>
> Dave Brondsema wrote:
>> I don't think using a different portlet container will make a
>> difference. I'm running portlets using MyFaces in Liferay 3.6.1 without
>> any major issues.
>>
>>
>> Matthias Wessendorf wrote:
>>
>>> There has been some mails regarding liferay,
>>> can you please "test" against pluto or JBoss portal ?
>>>
>>> thanks
>>>
>>> On 4/20/06, Benjamin Bratkus <br...@oio.de> wrote:
>>>
>>>> hello all,
>>>>
>>>> actually i try to deploy a myfaces portlet to liferay 3.6.1 enterprise.
>>>> but the problem is, that the all the values of my input components
>>>> aren't written to the model. the app is running well in a tomcat 5.5.18
>>>> standalone but within the portal......
>>>> has anyone a hint for me ?
>>>>
>>>> best regards,-
>>>>
>>>> ben
>>>>
>>>>
>>> --
>>> Matthias Wessendorf
>>> Aechterhoek 18
>>> 48282 Emsdetten
>>> http://jroller.com/page/mwessendorf
>>> mwessendorf-at-gmail-dot-com
>>>
>>>
>>
>>
>>
>
--
Dave Brondsema
Software Developer
Cornerstone University
Re: jsf portlet input components do not set their values to the model
Posted by Todd Papaioannou <tp...@ncr.com>.
Are you able to run multiple portlets that use commandLink or
commandButton on the same page?
I have never been able to get that to work. A single portlet works fine,
but two don't.
Todd
Dave Brondsema wrote:
> I don't think using a different portlet container will make a
> difference. I'm running portlets using MyFaces in Liferay 3.6.1 without
> any major issues.
>
>
> Matthias Wessendorf wrote:
>
>> There has been some mails regarding liferay,
>> can you please "test" against pluto or JBoss portal ?
>>
>> thanks
>>
>> On 4/20/06, Benjamin Bratkus <br...@oio.de> wrote:
>>
>>> hello all,
>>>
>>> actually i try to deploy a myfaces portlet to liferay 3.6.1 enterprise.
>>> but the problem is, that the all the values of my input components
>>> aren't written to the model. the app is running well in a tomcat 5.5.18
>>> standalone but within the portal......
>>> has anyone a hint for me ?
>>>
>>> best regards,-
>>>
>>> ben
>>>
>>>
>> --
>> Matthias Wessendorf
>> Aechterhoek 18
>> 48282 Emsdetten
>> http://jroller.com/page/mwessendorf
>> mwessendorf-at-gmail-dot-com
>>
>>
>
>
>
Re: jsf portlet input components do not set their values to the model
Posted by Dave Brondsema <da...@brondsema.net>.
I don't think using a different portlet container will make a
difference. I'm running portlets using MyFaces in Liferay 3.6.1 without
any major issues.
Matthias Wessendorf wrote:
> There has been some mails regarding liferay,
> can you please "test" against pluto or JBoss portal ?
>
> thanks
>
> On 4/20/06, Benjamin Bratkus <br...@oio.de> wrote:
>> hello all,
>>
>> actually i try to deploy a myfaces portlet to liferay 3.6.1 enterprise.
>> but the problem is, that the all the values of my input components
>> aren't written to the model. the app is running well in a tomcat 5.5.18
>> standalone but within the portal......
>> has anyone a hint for me ?
>>
>> best regards,-
>>
>> ben
>>
>
>
> --
> Matthias Wessendorf
> Aechterhoek 18
> 48282 Emsdetten
> http://jroller.com/page/mwessendorf
> mwessendorf-at-gmail-dot-com
>
--
Dave Brondsema
Software Developer
Cornerstone University
Re: jsf portlet input components do not set their values to the model
Posted by Matthias Wessendorf <ma...@apache.org>.
mmm no special task needed.
The wiki contains MyFaces / portlet specific details ([1], [2] and [3])
-Matthias
[1] http://wiki.apache.org/myfaces/CreatingJSFPortlets
[2] http://wiki.apache.org/myfaces/UsingPortletUtil
[3] http://wiki.apache.org/myfaces/UsingPortletModes
On 4/20/06, Benjamin Bratkus <br...@oio.de> wrote:
> i can do this of course,
> is there dokumentation migrating jsf apps to pluto ?
>
> ben
>
> Matthias Wessendorf schrieb:
> > There has been some mails regarding liferay,
> > can you please "test" against pluto or JBoss portal ?
> >
> > thanks
> >
> > On 4/20/06, Benjamin Bratkus <br...@oio.de> wrote:
> >
> >> hello all,
> >>
> >> actually i try to deploy a myfaces portlet to liferay 3.6.1 enterprise.
> >> but the problem is, that the all the values of my input components
> >> aren't written to the model. the app is running well in a tomcat 5.5.18
> >> standalone but within the portal......
> >> has anyone a hint for me ?
> >>
> >> best regards,
> >>
> >> ben
> >>
> >>
> >
> >
> > --
> > Matthias Wessendorf
> > Aechterhoek 18
> > 48282 Emsdetten
> > http://jroller.com/page/mwessendorf
> > mwessendorf-at-gmail-dot-com
> >
> >
> >
>
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com
Re: jsf portlet input components do not set their values to the model
Posted by Benjamin Bratkus <br...@oio.de>.
i can do this of course,
is there dokumentation migrating jsf apps to pluto ?
ben
Matthias Wessendorf schrieb:
> There has been some mails regarding liferay,
> can you please "test" against pluto or JBoss portal ?
>
> thanks
>
> On 4/20/06, Benjamin Bratkus <br...@oio.de> wrote:
>
>> hello all,
>>
>> actually i try to deploy a myfaces portlet to liferay 3.6.1 enterprise.
>> but the problem is, that the all the values of my input components
>> aren't written to the model. the app is running well in a tomcat 5.5.18
>> standalone but within the portal......
>> has anyone a hint for me ?
>>
>> best regards,
>>
>> ben
>>
>>
>
>
> --
> Matthias Wessendorf
> Aechterhoek 18
> 48282 Emsdetten
> http://jroller.com/page/mwessendorf
> mwessendorf-at-gmail-dot-com
>
>
>
Re: jsf portlet input components do not set their values to the model
Posted by Matthias Wessendorf <ma...@apache.org>.
There has been some mails regarding liferay,
can you please "test" against pluto or JBoss portal ?
thanks
On 4/20/06, Benjamin Bratkus <br...@oio.de> wrote:
> hello all,
>
> actually i try to deploy a myfaces portlet to liferay 3.6.1 enterprise.
> but the problem is, that the all the values of my input components
> aren't written to the model. the app is running well in a tomcat 5.5.18
> standalone but within the portal......
> has anyone a hint for me ?
>
> best regards,
>
> ben
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com