You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ritesh Trivedi <ri...@gmail.com> on 2008/10/15 04:39:39 UTC

Is there a way to get stateless DDC with onchange notification?

Hi,

Is there a way to get stateless DDC with onchange notifications? Also would
be helpful if someone could explain why the wantOnChangeNotification makes
DDC stateful even if its enclosed within stateless form and in the stateless
bookmarkable page?
-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there a way to get stateless DDC with onchange notification?

Posted by Ritesh Trivedi <ri...@gmail.com>.
Anyone?


Ritesh Trivedi wrote:
> 
> Hi,
> 
> Is there a way to get stateless DDC with onchange notifications? Also
> would be helpful if someone could explain why the wantOnChangeNotification
> makes DDC stateful even if its enclosed within stateless form and in the
> stateless bookmarkable page?
> 

-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20004882.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there a way to get stateless DDC with onchange notification?

Posted by Johan Compagner <jc...@gmail.com>.
Did you try my suggestion??

On 10/17/08, Ritesh Trivedi <ri...@gmail.com> wrote:
>
>>no that not the rule
>>its just the other way around,
>>a page is stateless if it doesnt have statefull components in it
>>and the DDC generates a statefull link to itself so its self and because of
>>that it is statefull
> I totally understand that. The problem is exactly that and hence my post
> here. As I described even if one small component is statefull on the page,
> entire page becomes statefull and gets saved in the session along with all
> the classes referenced by that page. Just as a side note - I was getting
> OutofMemory exceptions due to too many sessions as a result of heavy
> crawling activity and the fact that bookmarkable pages were stateful causing
> essentially all the classes held on to by the httpsession causing server to
> go out of memory (2.6G) in 6 hours!! So this question is in an effort to
> clean bookmarkable pages up making them truely stateless
>
> I have DDC inside its own form - not nested but independent form. In the
> view source it seesm like DDC just submits the form on onchange using
> javascript. I have tried making this enclosing form both statefull and
> stateless with the same behavior - the original page which contains the DDC
> is re-rendered instead of going to the setResponse page.
>
> The URL for the form which contains this only DDC looks like this
> ?wicket:bookmarkablepage=com.xxx.yyy&wicket:interface=:2:path:to:the:component:IFormListener
>
> This was the comment from you a while ago (2006) -What I understood from
> this was - if the url was like above, it means if the page didnt exist, it
> will be created and the listener method onselectionchanged should be called.
> What am I missing?
>
> Also can you please explain why the page becomes statefull if its being
> redirected to? e.g. in my onSubmit() if I set setRedirect(true);
> setResponsePage(BookmarkablePage.class, params) this will cause the
> bookmarkable page which is otherwise stateless to be statefull?
>
> http://www.nabble.com/how-do-stateless-components-and-pages-work-in-Wicket-2.0--td6441228.html#a6441228
>
>>so you have the bookmarkablePage=xxx and the interface=xxx in the url. (or
> a mount with that interface=xxx)
>
>>When a request comes in for such an url. It fist checks the interface stuff
> (is the page still there) and if it finds
>>the page it goes on as a normal Interface request. If it isn't it becomes
> bookmarkalble interface request.
>>This means that the page is created just as a normal bookmarkable request
> but not only for rendering but
>>first it calls the interface that was asked for.
>
>
> Johan Compagner wrote:
>>
>> On Thu, Oct 16, 2008 at 6:16 PM, Ritesh Trivedi
>> <ri...@gmail.com>wrote:
>>
>>>
>>> Well if I understand it correctly, a component embedded inside (otherwise
>>> stateless) bookmarkable page checks if the page instance exists if not
>>> the
>>> page is to be newly created from the params or default constructor. So
>>> the
>>> page and the DDC doesnt necessarily have to be statefull.
>>
>>
>> no that not the rule
>> its just the other way around,
>> a page is stateless if it doesnt have statefull components in it
>> and the DDC generates a statefull link to itself so its self and because
>> of
>> that it is statefull
>>
>>>
>>>
>>> As about what I want to do - I just have a plain list of drop down items
>>> and
>>> depending on the one selected, I need to redirect to the bookmarkable
>>> page
>>> for the item. DDC values can just be ids which will be passed as
>>> bookmarkable param and will be used to look up the details of that
>>> entity.
>>
>>
>> what you could do is just override:
>> protected boolean getStatelessHint()
>>
>> and return true
>>
>>
>>>
>>>
>>>
>>> Johan Compagner wrote:
>>> >
>>> > It is statefull then because it has a callback to that page instance
>>> > and component. What do you want do do in the onchange method?
>>> >
>>> > On 10/15/08, Ritesh Trivedi <ri...@gmail.com> wrote:
>>> >>
>>> >> Hi,
>>> >>
>>> >> Is there a way to get stateless DDC with onchange notifications? Also
>>> >> would
>>> >> be helpful if someone could explain why the wantOnChangeNotification
>>> >> makes
>>> >> DDC stateful even if its enclosed within stateless form and in the
>>> >> stateless
>>> >> bookmarkable page?
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
>>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> >> For additional commands, e-mail: users-help@wicket.apache.org
>>> >>
>>> >>
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> > For additional commands, e-mail: users-help@wicket.apache.org
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20015930.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20027550.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there a way to get stateless DDC with onchange notification?

Posted by Ritesh Trivedi <ri...@gmail.com>.
>no that not the rule
>its just the other way around,
>a page is stateless if it doesnt have statefull components in it
>and the DDC generates a statefull link to itself so its self and because of
>that it is statefull
I totally understand that. The problem is exactly that and hence my post
here. As I described even if one small component is statefull on the page,
entire page becomes statefull and gets saved in the session along with all
the classes referenced by that page. Just as a side note - I was getting
OutofMemory exceptions due to too many sessions as a result of heavy
crawling activity and the fact that bookmarkable pages were stateful causing
essentially all the classes held on to by the httpsession causing server to
go out of memory (2.6G) in 6 hours!! So this question is in an effort to
clean bookmarkable pages up making them truely stateless

I have DDC inside its own form - not nested but independent form. In the
view source it seesm like DDC just submits the form on onchange using
javascript. I have tried making this enclosing form both statefull and
stateless with the same behavior - the original page which contains the DDC
is re-rendered instead of going to the setResponse page.

The URL for the form which contains this only DDC looks like this
?wicket:bookmarkablepage=com.xxx.yyy&wicket:interface=:2:path:to:the:component:IFormListener

This was the comment from you a while ago (2006) -What I understood from
this was - if the url was like above, it means if the page didnt exist, it
will be created and the listener method onselectionchanged should be called.
What am I missing?

Also can you please explain why the page becomes statefull if its being
redirected to? e.g. in my onSubmit() if I set setRedirect(true);
setResponsePage(BookmarkablePage.class, params) this will cause the
bookmarkable page which is otherwise stateless to be statefull?

http://www.nabble.com/how-do-stateless-components-and-pages-work-in-Wicket-2.0--td6441228.html#a6441228

>so you have the bookmarkablePage=xxx and the interface=xxx in the url. (or
a mount with that interface=xxx)

>When a request comes in for such an url. It fist checks the interface stuff
(is the page still there) and if it finds
>the page it goes on as a normal Interface request. If it isn't it becomes
bookmarkalble interface request.
>This means that the page is created just as a normal bookmarkable request
but not only for rendering but
>first it calls the interface that was asked for.


Johan Compagner wrote:
> 
> On Thu, Oct 16, 2008 at 6:16 PM, Ritesh Trivedi
> <ri...@gmail.com>wrote:
> 
>>
>> Well if I understand it correctly, a component embedded inside (otherwise
>> stateless) bookmarkable page checks if the page instance exists if not
>> the
>> page is to be newly created from the params or default constructor. So
>> the
>> page and the DDC doesnt necessarily have to be statefull.
> 
> 
> no that not the rule
> its just the other way around,
> a page is stateless if it doesnt have statefull components in it
> and the DDC generates a statefull link to itself so its self and because
> of
> that it is statefull
> 
>>
>>
>> As about what I want to do - I just have a plain list of drop down items
>> and
>> depending on the one selected, I need to redirect to the bookmarkable
>> page
>> for the item. DDC values can just be ids which will be passed as
>> bookmarkable param and will be used to look up the details of that
>> entity.
> 
> 
> what you could do is just override:
> protected boolean getStatelessHint()
> 
> and return true
> 
> 
>>
>>
>>
>> Johan Compagner wrote:
>> >
>> > It is statefull then because it has a callback to that page instance
>> > and component. What do you want do do in the onchange method?
>> >
>> > On 10/15/08, Ritesh Trivedi <ri...@gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >> Is there a way to get stateless DDC with onchange notifications? Also
>> >> would
>> >> be helpful if someone could explain why the wantOnChangeNotification
>> >> makes
>> >> DDC stateful even if its enclosed within stateless form and in the
>> >> stateless
>> >> bookmarkable page?
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20015930.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20027550.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there a way to get stateless DDC with onchange notification?

Posted by Johan Compagner <jc...@gmail.com>.
On Thu, Oct 16, 2008 at 6:16 PM, Ritesh Trivedi <ri...@gmail.com>wrote:

>
> Well if I understand it correctly, a component embedded inside (otherwise
> stateless) bookmarkable page checks if the page instance exists if not the
> page is to be newly created from the params or default constructor. So the
> page and the DDC doesnt necessarily have to be statefull.


no that not the rule
its just the other way around,
a page is stateless if it doesnt have statefull components in it
and the DDC generates a statefull link to itself so its self and because of
that it is statefull

>
>
> As about what I want to do - I just have a plain list of drop down items
> and
> depending on the one selected, I need to redirect to the bookmarkable page
> for the item. DDC values can just be ids which will be passed as
> bookmarkable param and will be used to look up the details of that entity.


what you could do is just override:
protected boolean getStatelessHint()

and return true


>
>
>
> Johan Compagner wrote:
> >
> > It is statefull then because it has a callback to that page instance
> > and component. What do you want do do in the onchange method?
> >
> > On 10/15/08, Ritesh Trivedi <ri...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> Is there a way to get stateless DDC with onchange notifications? Also
> >> would
> >> be helpful if someone could explain why the wantOnChangeNotification
> >> makes
> >> DDC stateful even if its enclosed within stateless form and in the
> >> stateless
> >> bookmarkable page?
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20015930.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Is there a way to get stateless DDC with onchange notification?

Posted by Ritesh Trivedi <ri...@gmail.com>.
Point is, I want to make DDC with wantonselectionchange to true, stateless -
what you did, unless I am missing something, is working for me too but its
statefull and causes the otherwise stateless bookmarkable page to be stored
in session and makes it statefull.


pixologe wrote:
> 
> You could simply extend DropDownChoice, overriding
> wantOnSelectionChangedNotifications to return true.
> Override onSelectionChanged also, and in there you can call
> setResponsePage(...) to redirect to your other pages.
> 
> Works fine for me.
> 
> Hope this helps...
> 
> 
> 
> Ritesh Trivedi wrote:
>> 
>> Well if I understand it correctly, a component embedded inside (otherwise
>> stateless) bookmarkable page checks if the page instance exists if not
>> the page is to be newly created from the params or default constructor.
>> So the page and the DDC doesnt necessarily have to be statefull.
>> 
>> As about what I want to do - I just have a plain list of drop down items
>> and depending on the one selected, I need to redirect to the bookmarkable
>> page for the item. DDC values can just be ids which will be passed as
>> bookmarkable param and will be used to look up the details of that
>> entity.
>> 
>> 
>> Johan Compagner wrote:
>>> 
>>> It is statefull then because it has a callback to that page instance
>>> and component. What do you want do do in the onchange method?
>>> 
>>> On 10/15/08, Ritesh Trivedi <ri...@gmail.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Is there a way to get stateless DDC with onchange notifications? Also
>>>> would
>>>> be helpful if someone could explain why the wantOnChangeNotification
>>>> makes
>>>> DDC stateful even if its enclosed within stateless form and in the
>>>> stateless
>>>> bookmarkable page?
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20016192.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there a way to get stateless DDC with onchange notification?

Posted by pixologe <pi...@mailinator.com>.
You could simply extend DropDownChoice, overriding
wantOnSelectionChangedNotifications to return true.
Override onSelectionChanged also, and in there you can call
setResponsePage(...) to redirect to your other pages.

Works fine for me.

Hope this helps...



Ritesh Trivedi wrote:
> 
> Well if I understand it correctly, a component embedded inside (otherwise
> stateless) bookmarkable page checks if the page instance exists if not the
> page is to be newly created from the params or default constructor. So the
> page and the DDC doesnt necessarily have to be statefull.
> 
> As about what I want to do - I just have a plain list of drop down items
> and depending on the one selected, I need to redirect to the bookmarkable
> page for the item. DDC values can just be ids which will be passed as
> bookmarkable param and will be used to look up the details of that entity.
> 
> 
> Johan Compagner wrote:
>> 
>> It is statefull then because it has a callback to that page instance
>> and component. What do you want do do in the onchange method?
>> 
>> On 10/15/08, Ritesh Trivedi <ri...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> Is there a way to get stateless DDC with onchange notifications? Also
>>> would
>>> be helpful if someone could explain why the wantOnChangeNotification
>>> makes
>>> DDC stateful even if its enclosed within stateless form and in the
>>> stateless
>>> bookmarkable page?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20016189.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there a way to get stateless DDC with onchange notification?

Posted by Ritesh Trivedi <ri...@gmail.com>.
Well if I understand it correctly, a component embedded inside (otherwise
stateless) bookmarkable page checks if the page instance exists if not the
page is to be newly created from the params or default constructor. So the
page and the DDC doesnt necessarily have to be statefull.

As about what I want to do - I just have a plain list of drop down items and
depending on the one selected, I need to redirect to the bookmarkable page
for the item. DDC values can just be ids which will be passed as
bookmarkable param and will be used to look up the details of that entity.


Johan Compagner wrote:
> 
> It is statefull then because it has a callback to that page instance
> and component. What do you want do do in the onchange method?
> 
> On 10/15/08, Ritesh Trivedi <ri...@gmail.com> wrote:
>>
>> Hi,
>>
>> Is there a way to get stateless DDC with onchange notifications? Also
>> would
>> be helpful if someone could explain why the wantOnChangeNotification
>> makes
>> DDC stateful even if its enclosed within stateless form and in the
>> stateless
>> bookmarkable page?
>> --
>> View this message in context:
>> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p20015930.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Does BRIX works in a portal environment ?

Posted by Igor Vaynberg <ig...@gmail.com>.
brix works by displaying pages. it was neither designed nor tested in a
portal environment.

-igor

On Fri, Oct 17, 2008 at 5:38 AM, Nayak Vishal <Vi...@nsb.no> wrote:

>
> Hello everyone,
>
> Does anyone know if BRIX works fine in a portal environment ?
>
> Please suggest me what you feel even if you are not sure about it.
>
> I would like to have a dicussion on this.
>
> Thanks
> Vishal Nayak
>
>
>
>
>
> -----Opprinnelig melding-----
> Fra: Nayak Vishal [mailto:VishalN@nsb.no]
> Sendt: 17. oktober 2008 13:25
> Til: users@wicket.apache.org
> Emne: SV: BRIX (Wicket and Jackrabbit)
>
>
> Thanks Igor. Thats a very good idea and a very clear picture.  Now i
> know which way to go :)
>
> Regards
> Vishal
>
>
>
> -----Opprinnelig melding-----
> Fra: Igor Vaynberg [mailto:igor.vaynberg@gmail.com]
> Sendt: 16. oktober 2008 17:52
> Til: users@wicket.apache.org
> Emne: Re: BRIX (Wicket and Jackrabbit)
>
> currently brix only runs with jackrabbit, some extra work will be needed
> to get it to work with alfresco. brix uses jcr workspaces extensively
> and until jcr2.0 there is no standard method for doing this. so brix
> uses jackrabbit-specific code to accomplish this. if you want to use it
> with alfresco you will have to implement your own WorksapceManager that
> is specific to alfresco's workspace management api.
>
> anyways, this is better taken to the brix google discussion.
>
> -igor
>
> On Thu, Oct 16, 2008 at 12:20 AM, Nayak Vishal <Vi...@nsb.no> wrote:
>
> >
> >
> > I am trying to run the brix demo.
> >
> > i have configured alfresco in my local system(which will me moved to
> > some central repository later).
> >
> > I have also installed RMI extension to it. So that i can access via
> rmi.
> >
> >
> > I am facing problems configuring it with alfresco in the
> > application.properties.
> >
> > Does any one have any idea what should go in
> > brixdemo.workspaceManagerUrl of application.properties.
> >
> > What should this workspace manager url contain ???
> >
> >
> >
> >
> > application.properties
> >
> > brixdemo.jcr.defaultWorkspace = brix-demo-site
> > brixdemo.jcr.login=admin brixdemo.jcr.password=admin
> > brixdemo.jcr.url=rmi://localhost:1099/javaContentRepository
> >
> > # url pointing to workspace manager implementation # leave empty for
> > filesystem repositories, # for rmi backed repositories provide the rmi
>
> > url
> > brixdemo.workspaceManagerUrl=rmi://localhost:1099/javaContentRepositor
> > y
> >
> > brixdemo.httpPort=8082
> > brixdemo.httpsPort=8443
> >
> > Regards
> > Vishal Nayak
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Does BRIX works in a portal environment ?

Posted by Nayak Vishal <Vi...@nsb.no>.
 
Hello everyone,

Does anyone know if BRIX works fine in a portal environment ?

Please suggest me what you feel even if you are not sure about it. 

I would like to have a dicussion on this.

Thanks
Vishal Nayak





-----Opprinnelig melding-----
Fra: Nayak Vishal [mailto:VishalN@nsb.no] 
Sendt: 17. oktober 2008 13:25
Til: users@wicket.apache.org
Emne: SV: BRIX (Wicket and Jackrabbit)


Thanks Igor. Thats a very good idea and a very clear picture.  Now i
know which way to go :) 

Regards
Vishal



-----Opprinnelig melding-----
Fra: Igor Vaynberg [mailto:igor.vaynberg@gmail.com]
Sendt: 16. oktober 2008 17:52
Til: users@wicket.apache.org
Emne: Re: BRIX (Wicket and Jackrabbit)

currently brix only runs with jackrabbit, some extra work will be needed
to get it to work with alfresco. brix uses jcr workspaces extensively
and until jcr2.0 there is no standard method for doing this. so brix
uses jackrabbit-specific code to accomplish this. if you want to use it
with alfresco you will have to implement your own WorksapceManager that
is specific to alfresco's workspace management api.

anyways, this is better taken to the brix google discussion.

-igor

On Thu, Oct 16, 2008 at 12:20 AM, Nayak Vishal <Vi...@nsb.no> wrote:

>
>
> I am trying to run the brix demo.
>
> i have configured alfresco in my local system(which will me moved to 
> some central repository later).
>
> I have also installed RMI extension to it. So that i can access via
rmi.
>
>
> I am facing problems configuring it with alfresco in the 
> application.properties.
>
> Does any one have any idea what should go in 
> brixdemo.workspaceManagerUrl of application.properties.
>
> What should this workspace manager url contain ???
>
>
>
>
> application.properties
>
> brixdemo.jcr.defaultWorkspace = brix-demo-site 
> brixdemo.jcr.login=admin brixdemo.jcr.password=admin 
> brixdemo.jcr.url=rmi://localhost:1099/javaContentRepository
>
> # url pointing to workspace manager implementation # leave empty for 
> filesystem repositories, # for rmi backed repositories provide the rmi

> url
> brixdemo.workspaceManagerUrl=rmi://localhost:1099/javaContentRepositor
> y
>
> brixdemo.httpPort=8082
> brixdemo.httpsPort=8443
>
> Regards
> Vishal Nayak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


SV: BRIX (Wicket and Jackrabbit)

Posted by Nayak Vishal <Vi...@nsb.no>.
Thanks Igor. Thats a very good idea and a very clear picture.  Now i
know which way to go :) 

Regards
Vishal



-----Opprinnelig melding-----
Fra: Igor Vaynberg [mailto:igor.vaynberg@gmail.com] 
Sendt: 16. oktober 2008 17:52
Til: users@wicket.apache.org
Emne: Re: BRIX (Wicket and Jackrabbit)

currently brix only runs with jackrabbit, some extra work will be needed
to get it to work with alfresco. brix uses jcr workspaces extensively
and until jcr2.0 there is no standard method for doing this. so brix
uses jackrabbit-specific code to accomplish this. if you want to use it
with alfresco you will have to implement your own WorksapceManager that
is specific to alfresco's workspace management api.

anyways, this is better taken to the brix google discussion.

-igor

On Thu, Oct 16, 2008 at 12:20 AM, Nayak Vishal <Vi...@nsb.no> wrote:

>
>
> I am trying to run the brix demo.
>
> i have configured alfresco in my local system(which will me moved to 
> some central repository later).
>
> I have also installed RMI extension to it. So that i can access via
rmi.
>
>
> I am facing problems configuring it with alfresco in the 
> application.properties.
>
> Does any one have any idea what should go in 
> brixdemo.workspaceManagerUrl of application.properties.
>
> What should this workspace manager url contain ???
>
>
>
>
> application.properties
>
> brixdemo.jcr.defaultWorkspace = brix-demo-site 
> brixdemo.jcr.login=admin brixdemo.jcr.password=admin 
> brixdemo.jcr.url=rmi://localhost:1099/javaContentRepository
>
> # url pointing to workspace manager implementation # leave empty for 
> filesystem repositories, # for rmi backed repositories provide the rmi

> url 
> brixdemo.workspaceManagerUrl=rmi://localhost:1099/javaContentRepositor
> y
>
> brixdemo.httpPort=8082
> brixdemo.httpsPort=8443
>
> Regards
> Vishal Nayak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: BRIX (Wicket and Jackrabbit)

Posted by Igor Vaynberg <ig...@gmail.com>.
like i said, this discussion is better taken to the brix discussion group.
there is no need to pollute this list with noise.

-igor

On Fri, Oct 17, 2008 at 7:41 AM, Nayak Vishal <Vi...@nsb.no> wrote:

>
> Could you please give me some clue or some way what changes i need to do
> for alfresco.
>
> Is it a lot of code changes which are required ? Or is it a small piece
> of code which needs changes.
>
>
> Regards
> Vishal Nayak
>
>
>
> -----Opprinnelig melding-----
> Fra: Igor Vaynberg [mailto:igor.vaynberg@gmail.com]
> Sendt: 16. oktober 2008 17:52
> Til: users@wicket.apache.org
> Emne: Re: BRIX (Wicket and Jackrabbit)
>
> currently brix only runs with jackrabbit, some extra work will be needed
> to get it to work with alfresco. brix uses jcr workspaces extensively
> and until jcr2.0 there is no standard method for doing this. so brix
> uses jackrabbit-specific code to accomplish this. if you want to use it
> with alfresco you will have to implement your own WorksapceManager that
> is specific to alfresco's workspace management api.
>
> anyways, this is better taken to the brix google discussion.
>
> -igor
>
> On Thu, Oct 16, 2008 at 12:20 AM, Nayak Vishal <Vi...@nsb.no> wrote:
>
> >
> >
> > I am trying to run the brix demo.
> >
> > i have configured alfresco in my local system(which will me moved to
> > some central repository later).
> >
> > I have also installed RMI extension to it. So that i can access via
> rmi.
> >
> >
> > I am facing problems configuring it with alfresco in the
> > application.properties.
> >
> > Does any one have any idea what should go in
> > brixdemo.workspaceManagerUrl of application.properties.
> >
> > What should this workspace manager url contain ???
> >
> >
> >
> >
> > application.properties
> >
> > brixdemo.jcr.defaultWorkspace = brix-demo-site
> > brixdemo.jcr.login=admin brixdemo.jcr.password=admin
> > brixdemo.jcr.url=rmi://localhost:1099/javaContentRepository
> >
> > # url pointing to workspace manager implementation # leave empty for
> > filesystem repositories, # for rmi backed repositories provide the rmi
>
> > url
> > brixdemo.workspaceManagerUrl=rmi://localhost:1099/javaContentRepositor
> > y
> >
> > brixdemo.httpPort=8082
> > brixdemo.httpsPort=8443
> >
> > Regards
> > Vishal Nayak
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

SV: BRIX (Wicket and Jackrabbit)

Posted by Nayak Vishal <Vi...@nsb.no>.
Could you please give me some clue or some way what changes i need to do
for alfresco.

Is it a lot of code changes which are required ? Or is it a small piece
of code which needs changes. 


Regards
Vishal Nayak



-----Opprinnelig melding-----
Fra: Igor Vaynberg [mailto:igor.vaynberg@gmail.com] 
Sendt: 16. oktober 2008 17:52
Til: users@wicket.apache.org
Emne: Re: BRIX (Wicket and Jackrabbit)

currently brix only runs with jackrabbit, some extra work will be needed
to get it to work with alfresco. brix uses jcr workspaces extensively
and until jcr2.0 there is no standard method for doing this. so brix
uses jackrabbit-specific code to accomplish this. if you want to use it
with alfresco you will have to implement your own WorksapceManager that
is specific to alfresco's workspace management api.

anyways, this is better taken to the brix google discussion.

-igor

On Thu, Oct 16, 2008 at 12:20 AM, Nayak Vishal <Vi...@nsb.no> wrote:

>
>
> I am trying to run the brix demo.
>
> i have configured alfresco in my local system(which will me moved to 
> some central repository later).
>
> I have also installed RMI extension to it. So that i can access via
rmi.
>
>
> I am facing problems configuring it with alfresco in the 
> application.properties.
>
> Does any one have any idea what should go in 
> brixdemo.workspaceManagerUrl of application.properties.
>
> What should this workspace manager url contain ???
>
>
>
>
> application.properties
>
> brixdemo.jcr.defaultWorkspace = brix-demo-site 
> brixdemo.jcr.login=admin brixdemo.jcr.password=admin 
> brixdemo.jcr.url=rmi://localhost:1099/javaContentRepository
>
> # url pointing to workspace manager implementation # leave empty for 
> filesystem repositories, # for rmi backed repositories provide the rmi

> url 
> brixdemo.workspaceManagerUrl=rmi://localhost:1099/javaContentRepositor
> y
>
> brixdemo.httpPort=8082
> brixdemo.httpsPort=8443
>
> Regards
> Vishal Nayak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: BRIX (Wicket and Jackrabbit)

Posted by Igor Vaynberg <ig...@gmail.com>.
currently brix only runs with jackrabbit, some extra work will be needed to
get it to work with alfresco. brix uses jcr workspaces extensively and until
jcr2.0 there is no standard method for doing this. so brix uses
jackrabbit-specific code to accomplish this. if you want to use it with
alfresco you will have to implement your own WorksapceManager that is
specific to alfresco's workspace management api.

anyways, this is better taken to the brix google discussion.

-igor

On Thu, Oct 16, 2008 at 12:20 AM, Nayak Vishal <Vi...@nsb.no> wrote:

>
>
> I am trying to run the brix demo.
>
> i have configured alfresco in my local system(which will me moved to
> some central repository later).
>
> I have also installed RMI extension to it. So that i can access via rmi.
>
>
> I am facing problems configuring it with alfresco in the
> application.properties.
>
> Does any one have any idea what should go in
> brixdemo.workspaceManagerUrl of application.properties.
>
> What should this workspace manager url contain ???
>
>
>
>
> application.properties
>
> brixdemo.jcr.defaultWorkspace = brix-demo-site
> brixdemo.jcr.login=admin
> brixdemo.jcr.password=admin
> brixdemo.jcr.url=rmi://localhost:1099/javaContentRepository
>
> # url pointing to workspace manager implementation
> # leave empty for filesystem repositories,
> # for rmi backed repositories provide the rmi url
> brixdemo.workspaceManagerUrl=rmi://localhost:1099/javaContentRepository
>
> brixdemo.httpPort=8082
> brixdemo.httpsPort=8443
>
> Regards
> Vishal Nayak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

BRIX (Wicket and Jackrabbit)

Posted by Nayak Vishal <Vi...@nsb.no>.

I am trying to run the brix demo. 

i have configured alfresco in my local system(which will me moved to
some central repository later). 

I have also installed RMI extension to it. So that i can access via rmi.


I am facing problems configuring it with alfresco in the
application.properties.

Does any one have any idea what should go in
brixdemo.workspaceManagerUrl of application.properties.

What should this workspace manager url contain ???




application.properties

brixdemo.jcr.defaultWorkspace = brix-demo-site
brixdemo.jcr.login=admin
brixdemo.jcr.password=admin 
brixdemo.jcr.url=rmi://localhost:1099/javaContentRepository

# url pointing to workspace manager implementation
# leave empty for filesystem repositories,
# for rmi backed repositories provide the rmi url
brixdemo.workspaceManagerUrl=rmi://localhost:1099/javaContentRepository

brixdemo.httpPort=8082
brixdemo.httpsPort=8443

Regards
Vishal Nayak

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there a way to get stateless DDC with onchange notification?

Posted by Johan Compagner <jc...@gmail.com>.
It is statefull then because it has a callback to that page instance
and component. What do you want do do in the onchange method?

On 10/15/08, Ritesh Trivedi <ri...@gmail.com> wrote:
>
> Hi,
>
> Is there a way to get stateless DDC with onchange notifications? Also would
> be helpful if someone could explain why the wantOnChangeNotification makes
> DDC stateful even if its enclosed within stateless form and in the stateless
> bookmarkable page?
> --
> View this message in context:
> http://www.nabble.com/Is-there-a-way-to-get-stateless-DDC-with-onchange-notification--tp19985764p19985764.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org