Re: fragment

2022-03-19 Thread Martin Terra
t; > martin.te...@koodaripalvelut.com> wrote: >> > > >> > > > If it's a css/js issue, stackoveflow.com might lead to faster >> > solution. >> > > > >> > > > to 17. maalisk. 2022 klo 8.49 vahid ghasemi ( >> vahidghasemi...@gmai

Re: fragment

2022-03-19 Thread Martin Terra
gt; > > > > > If it's a css/js issue, stackoveflow.com might lead to faster > > solution. > > > > > > > > to 17. maalisk. 2022 klo 8.49 vahid ghasemi ( > vahidghasemi...@gmail.com > > ) > > > > kirjoitti: > > > > > > &

Re: fragment

2022-03-19 Thread vahid ghasemi
f it's a css/js issue, stackoveflow.com might lead to faster > solution. > > > > > > to 17. maalisk. 2022 klo 8.49 vahid ghasemi (vahidghasemi...@gmail.com > ) > > > kirjoitti: > > > > > > > Hello, > > > > I'm using wicket-fragment in my pag

Re: fragment

2022-03-17 Thread Martin Terra
a < > martin.te...@koodaripalvelut.com> wrote: > > > If it's a css/js issue, stackoveflow.com might lead to faster solution. > > > > to 17. maalisk. 2022 klo 8.49 vahid ghasemi (vahidghasemi...@gmail.com) > > kirjoitti: > > > > > Hello, > &

Re: fragment

2022-03-17 Thread vahid ghasemi
klo 8.49 vahid ghasemi (vahidghasemi...@gmail.com) > kirjoitti: > > > Hello, > > I'm using wicket-fragment in my page, my page has a primitive form, and > > after submit decide to create and show one of the fragments below of my > > primitive form. > > I'm using t

Re: fragment

2022-03-17 Thread Martin Terra
If it's a css/js issue, stackoveflow.com might lead to faster solution. to 17. maalisk. 2022 klo 8.49 vahid ghasemi (vahidghasemi...@gmail.com) kirjoitti: > Hello, > I'm using wicket-fragment in my page, my page has a primitive form, and > after submit decide to create and

fragment

2022-03-17 Thread vahid ghasemi
Hello, I'm using wicket-fragment in my page, my page has a primitive form, and after submit decide to create and show one of the fragments below of my primitive form. I'm using the bootstrap panel. After creating the fragment the height of the panel-heading in my fragment contains my primitive

Re: Kendo UI - ToolbarButton renders href="#" which removes existing URL fragment

2017-03-13 Thread Manfred Bergmann
I'll try that. Thanks guys. Have opened issue on GitHub. Manfred -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Kendo-UI-ToolbarButton-renders-href-which-removes-existing-URL-fragment-tp4677304p4677312.html Sent from the Users forum mailing list archive

Re: Kendo UI - ToolbarButton renders href="#" which removes existing URL fragment

2017-03-13 Thread Sebastien
Hi Manfred, Hi Martin, Unfortunately this part does not rely on the integration but on kendo-ui itself, so I'm afraid we have to hack a bit :( Changing the href attribute should be done when data are loaded, the idea is to identify buttons with a special css class and update the href on

Re: Kendo UI - ToolbarButton renders href="#" which removes existing URL fragment

2017-03-13 Thread Martin Grigorov
s message in context: http://apache-wicket.1842946. > n4.nabble.com/Kendo-UI-ToolbarButton-renders-href- > which-removes-existing-URL-fragment-tp4677304p4677308.html > Sent from the Users forum mailing list archive at Nabble.com. > > --

Re: Kendo UI - ToolbarButton renders href="#" which removes existing URL fragment

2017-03-13 Thread Manfred Bergmann
buteModifier? Because it doesn't seem to be rendered during the component render phase. Manfred -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Kendo-UI-ToolbarButton-renders-href-which-removes-existing-URL-fragment-tp4677304p4677308.html Sent fro

Re: Kendo UI - ToolbarButton renders href="#" which removes existing URL fragment

2017-03-13 Thread Martin Grigorov
problem because once the button is clicked it deletes > the existing URL fragment which must be kept intact. > > What could be done to remove the href="#", since it seems to be rendered > after onDomReady or so? > If Wicket-JQuery-UI adds this "#" then I'd re

Kendo UI - ToolbarButton renders href="#" which removes existing URL fragment

2017-03-13 Thread Manfred Bergmann
Hi. The DataTable component has Toolbar-/CommandButtons which seem to be rendered (by JavaScript) like this: Button name <#> The href="#" causes a problem because once the button is clicked it deletes the existing URL fragment which must be kept intact. What could be done to

Re: (Customizable) Fragment as String

2016-11-01 Thread Maxim Solodovnik
I was able to find workaround :) In case of following modification: https://github.com/solomax/fragment-as-string/commit/c6d5e8a692242fa2754a39b9cbe964d24c84a97e Everything works as expected The only issue is: fragment is wrapped with DEFAULT_MARKUP: "" Is there any option to remove it

Re: (Customizable) Fragment as String

2016-10-17 Thread Martin Grigorov
e > > WBR, Maxim > (from mobile, sorry for the typos) > > On Oct 16, 2016 04:44, "Martin Grigorov" <mgrigo...@apache.org> wrote: > > > Sorry, but I don't find a way to make it work. > > It will need more thinking and debugging and I have no that much time >

Re: (Customizable) Fragment as String

2016-10-17 Thread Maxim Solodovnik
WBR, Maxim (from mobile, sorry for the typos) On Oct 16, 2016 04:44, "Martin Grigorov" <mgrigo...@apache.org> wrote: > Sorry, but I don't find a way to make it work. > It will need more thinking and debugging and I have no that much time right > now. > Just use Pan

Re: (Customizable) Fragment as String

2016-10-16 Thread Maxim Solodovnik
ill need more thinking and debugging and I have no that much time right > now. > Just use Panel instead of Fragment. > I'll add a comment to ComponentRenderer's javadoc that Fragments are not > supported. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/

Re: (Customizable) Fragment as String

2016-10-15 Thread Martin Grigorov
Sorry, but I don't find a way to make it work. It will need more thinking and debugging and I have no that much time right now. Just use Panel instead of Fragment. I'll add a comment to ComponentRenderer's javadoc that Fragments are not supported. Martin Grigorov Wicket Training and Consulting

Re: (Customizable) Fragment as String

2016-10-14 Thread Maxim Solodovnik
ovnik <solomax...@gmail.com> > wrote: > > > Yes, the changes were local :( > > Here is the quickstart: https://github.com/solomax/fragment-as-string > > > > In case following line is uncommented > > https://github.com/solomax/fragment-as-string/blob/ > > mas

Re: (Customizable) Fragment as String

2016-10-14 Thread Martin Grigorov
I'll take a look at the weekend. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 14, 2016 at 5:26 AM, Maxim Solodovnik <solomax...@gmail.com> wrote: > Yes, the changes were local :( > Here is the quickstart: https://github.com/solomax/fragme

Re: (Customizable) Fragment as String

2016-10-13 Thread Maxim Solodovnik
Yes, the changes were local :( Here is the quickstart: https://github.com/solomax/fragment-as-string In case following line is uncommented https://github.com/solomax/fragment-as-string/blob/master/src/main/java/org/apache/solomax/HomePage.java#L16 (next one should be commented) Tests are fails

Re: (Customizable) Fragment as String

2016-10-13 Thread Martin Grigorov
; On Thu, Oct 13, 2016 at 6:10 PM, Maxim Solodovnik <solomax...@gmail.com> > > wrote: > > > > > Hello All, > > > > > > I'm successfully using following code [1] to get Panel as String > > > Unfortunately It is not possible to get Fragment as Stri

Re: (Customizable) Fragment as String

2016-10-13 Thread Maxim Solodovnik
> I'm successfully using following code [1] to get Panel as String > > Unfortunately It is not possible to get Fragment as String this way :( > > > > You can replace your util with ComponentRenderer#renderComponent() > https://github.com/apache/wicket/blob/70606d73e9165d37c1d8b7c782

Re: (Customizable) Fragment as String

2016-10-13 Thread Martin Grigorov
Hi Maxim, On Thu, Oct 13, 2016 at 6:10 PM, Maxim Solodovnik <solomax...@gmail.com> wrote: > Hello All, > > I'm successfully using following code [1] to get Panel as String > Unfortunately It is not possible to get Fragment as String this way :( > You can replace your util w

(Customizable) Fragment as String

2016-10-13 Thread Maxim Solodovnik
Hello All, I'm successfully using following code [1] to get Panel as String Unfortunately It is not possible to get Fragment as String this way :( The goal I'm trying to achieve is: store email subject as wicket:fragment Another question is: is it possible to edit markup like

Re: Cannot place a fragment inside a form element

2014-03-07 Thread chathuraka.waas
Hi Martin, Thanks for your guidance on how to post a question. My scenario is like this. i'm having a webpage where i have a panel inside it and then inside the panel i have a form where i'm placing a fragment conditionally. This the code for adding the panel to the page. div id

Re: Cannot place a fragment inside a form element

2014-03-07 Thread Martin Grigorov
have a form where i'm placing a fragment conditionally. This the code for adding the panel to the page. div id=MenuFirstPanel wicket:id=MenuFirstPanel /div This is the code for adding the fragment. wicket:panel form wicket:id=form div wicket:id=MenuPanel/div

Re: Cannot place a fragment inside a form element

2014-03-07 Thread chathuraka.waas
Thank Martin. it works fine now :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Cannot-place-a-fragment-inside-a-form-element-tp4664841p4664847.html Sent from the Users forum mailing list archive at Nabble.com

Cannot place a fragment inside a form element

2014-03-06 Thread chathuraka.waas
-place-a-fragment-inside-a-form-element-tp4664841.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Cannot place a fragment inside a form element

2014-03-06 Thread Martin Grigorov
in context: http://apache-wicket.1842946.n4.nabble.com/Cannot-place-a-fragment-inside-a-form-element-tp4664841.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Sven Meier
Hi, I don't know why it did work in 1.4.x, but the following doesn't make sense: final Fragment fragmentTwo = new Fragment(myList.newChildId(), fragmentTwo, myList); myList is not the provider of the fragment's markup, the ListView doesn't contain it. It's the page which contains

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Rakesh A
Hi, Will it be the same [dialog instance as markup provider instead of page instance] if the fragment is part of wicket modal dialog? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/markup-not-found-exception-for-fragment-which-is-part-of-wicket

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Sven Meier
Should be. Sven On 07/04/2013 12:10 PM, Rakesh A wrote: Hi, Will it be the same [dialog instance as markup provider instead of page instance] if the fragment is part of wicket modal dialog? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com

markup not found exception for fragment which is part of wicket:extend

2013-07-03 Thread Rakesh A
Hi, I am using Wicket v6.5.0, I've code where wicket fragments are part of 'wicket:extend/' tag and I get exception that Markup is not found for the fragment, same piece of code works in Wicket v1.4.21. I created attached a quick start with code similar to my case. fragmentTest.zip http

Re: URL fragment parsing

2013-02-26 Thread Maxim Solodovnik
in the URL fragment within the Wicket API or am I restricted to using JavaScript for that? For example, if I have a URI of http://mydomain.com/my/path#token=key= is there a Wicket solution for reading those values or am I stuck with JavaScript? Mike Chandler -- WBR Maxim aka solomax

Re: URL fragment parsing

2013-02-26 Thread Martin Grigorov
in the URL fragment within the Wicket API or am I restricted to using JavaScript for that? For example, if I have a URI of http://mydomain.com/my/path#token=key= is there a Wicket solution for reading those values or am I stuck with JavaScript? Mike Chandler -- WBR Maxim

Re: update webmarkupcontainer from fragment , container onBeforeRender() method is not being called

2012-11-20 Thread fachhoch
found the issue , its becasue of not using onConfigure or callOnBeforeRenderIfNotVisible -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-webmarkupcontainer-from-fragment-container-onBeforeRender-method-is-not-being-called-tp4653960p4654030.html Sent

update webmarkupcontainer from fragment , container onBeforeRender() method is not being called

2012-11-16 Thread fachhoch
I have a fragment with a link inside, onclick of this link I want to update a webmarkupcontainer in my page for which I add this container to the target. surprisingly its not calling onBeforeRender() method of this container, in ajaxdebug window I see the container mark in the response ? I

Re: Wicket fragment is not working inside wicket extend in wicket 1.5.3

2012-08-20 Thread Thomas Matthijs
On Mon, Aug 20, 2012 at 11:57 AM, bala ji balaji@gmail.com wrote: I've added a scenario where i need to use wicket:fragments. wicket:extend ... span wicket:id=myPanelExample input (will be removed)/span ... wicket:fragment wicket:id=frag1panel 1/wicket:fragment

Re: Wicket fragment is not working inside wicket extend in wicket 1.5.3

2012-08-20 Thread bala ji
hi, Can u give me the exact solution whether the fragments inside wicket:extend are working in wicket 1.5.3 or not. On Mon, Aug 20, 2012 at 3:41 PM, Thomas Matthijs li...@selckin.be wrote: On Mon, Aug 20, 2012 at 11:57 AM, bala ji balaji@gmail.com wrote: I've added a scenario where i need

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Alex66955
TestParent.java TestParent.html TestChild.java TestChild.html Output: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ComponentNotFoundException-when-replace-a-fragment-with-ajax-tp4650898p4650909.html Sent from the Users forum mailing list archive

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Bertrand Guay-Paquet
= Logger.getLogger(HomePage.class); private static final String TIMER_COMPONENT_ID = fragments; public HomePage() { Component fragment = new WebMarkupContainer(TIMER_COMPONENT_ID); fragment.add(new AbstractAjaxTimerBehavior(Duration.seconds(2)) { @Override

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Martin Grigorov
= Logger.getLogger(HomePage.class); private static final String TIMER_COMPONENT_ID = fragments; public HomePage() { Component fragment = new WebMarkupContainer(TIMER_COMPONENT_ID); fragment.add(new AbstractAjaxTimerBehavior(Duration.seconds(2)) { @Override

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Bertrand Guay-Paquet
On 01/08/2012 9:58 AM, Martin Grigorov wrote: No. The timer is fired but the precondition prevents the Ajax call. The precondition checks that the component (html element) on which is attached the timer behavior is still in the DOM document. Hmm... I don't quite know what to say! In my tests,

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Martin Grigorov
Do you use -beta3 ? There was a bug which is fixed in -SNAPSHOT. That's why I know how it works ;-) On Wed, Aug 1, 2012 at 5:12 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: On 01/08/2012 9:58 AM, Martin Grigorov wrote: No. The timer is fired but the precondition prevents the Ajax

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Bertrand Guay-Paquet
Yes I was using -beta3 since this is what Alex used. I just tried it with -SNAPSHOT (commit b89909c1fa99ae6973c3fb0738a966eb23c27e73) and I get the same exception. You say that: The precondition checks that the component (html element) on which is attached the timer behavior is still in the

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Martin Grigorov
I see. I'm not sure how Wicket can detect this situation ... A workaround would require some coding from the developer - when he replaces the component he has to call additionally: timerBehavior.stop(target). This will clear the scheduled timeout in the browser. On Wed, Aug 1, 2012 at 5:31 PM,

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Bertrand Guay-Paquet
Would this work if done on the client? New code when ajax response is received : replacedDOMElement = ...; $replacedDOMElement = $(replacedDOMElement); for each js timers: $component = $(timer.component); if( $replacedDOMElement.is($component) ||

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Martin Grigorov
Yes. Wicket sends a message on topic '/dom/node/removed' for each removed element. Using its id we can stop the timer. Please file the ticket :-) On Wed, Aug 1, 2012 at 6:20 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Would this work if done on the client? New code when ajax

Re: ComponentNotFoundException when replace a fragment

2012-08-01 Thread Bertrand Guay-Paquet
Filed WICKET-4689. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

ComponentNotFoundException when replace a fragment

2012-07-31 Thread Alex66955
Hey, I have some issues when I replace a fragment in an ajax calback function. There is a parent class and a child class. The parent create an AbstractAjaxTimerBehavior and call in it the fragment with the child class. In the child class there is also an AbstractAjaxTimerBehavior to process some

Re: ComponentNotFoundException when replace a fragment

2012-07-31 Thread Bertrand Guay-Paquet
Hi Alex, Your stack trace did not show up on the mailing list. Please also show a snippet showing what throws the exception. Bertrand On 31/07/2012 10:44 AM, Alex66955 wrote: Hey, I have some issues when I replace a fragment in an ajax calback function. There is a parent class and a child

Re: ComponentNotFoundException when replace a fragment

2012-07-31 Thread Alex66955
-wicket.1842946.n4.nabble.com/ComponentNotFoundException-when-replace-a-fragment-with-ajax-tp4650898p4650902.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: ComponentNotFoundException when replace a fragment

2012-07-31 Thread Bertrand Guay-Paquet
) at java.lang.Thread.run(Thread.java:722) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ComponentNotFoundException-when-replace-a-fragment-with-ajax-tp4650898p4650902.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket 1.6 - strange behavior with Fragment, ModalWindow and resources

2012-07-24 Thread Dan Simko
PackageResourceReference(MyFragment.class, jquery.jcarousel.js))); //response.render(CssHeaderItem.forReference(new PackageResourceReference(MyFragment.class, skin.css))); //} private static class MyFragment extends Fragment{ public MyFragment(String id, MarkupContainer container

Prevent a fragment from rendering the outer tag

2012-05-12 Thread Thomas Singer
I have following markup: ... div wicket:id=page h1.../h2 p.../p div wicket:id=info /div h2Foo/h2 /div div wicket:id=fragment-1 h2Bar/h2 ul.../ul /div ... When adding fragment-1 (instance of Fragment) to page, it renders using Wicket 1.4.* as: ... div h1

Re: Prevent a fragment from rendering the outer tag

2012-05-12 Thread Andrea Del Bene
Hi, fragment.setRenderBodyOnly(true) I have following markup: ... div wicket:id=page h1.../h2 p.../p div wicket:id=info /div h2Foo/h2 /div div wicket:id=fragment-1 h2Bar/h2 ul.../ul /div ... When adding fragment-1 (instance of Fragment) to page, it renders using Wicket 1.4

MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

2012-05-09 Thread Dirk Forchel
Hello, I've a question regarding Fragements inside a TransparentWebMarkupContainer. I've a base WebPage with a TransparentWebMarkupContainer to allow subclasses register CSS classes on the body tag. If I add a Fragment to one of these subsclasses, the markup of the Fragment is not found

Re: MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

2012-05-09 Thread Martin Grigorov
Hi, Create a ticket with a quickstart please. As a workaround you can put the fragment in the base page's html. On Wed, May 9, 2012 at 1:18 PM, Dirk Forchel dirk.forc...@exedio.com wrote: Hello, I've a question regarding Fragements inside a TransparentWebMarkupContainer. I've a base WebPage

Re: MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

2012-05-09 Thread Thomas Heigl
I had the same problem. I solved it by using the transparent container as markup provider for the fragment: add(new MyFragment(fragmentId, getTransparentBodyContainer())) It works, but is kind of awkward, as subclasses shouldn't really know about transparent containers in the base class. Thomas

Re: MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

2012-05-09 Thread Dirk Forchel
JIRA Issue https://issues.apache.org/jira/browse/WICKET-4545 with quickstart created. Thanks for the awkward hint and for the quick hack. I'll use a Panel instead. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MarkupNotFoundException-for-Fragment

Fragment caching???

2011-08-06 Thread Joe Fawzy
Hi is there something equivelant to fragment caching in wicket? I mean , is there any way to cache the generated markup of a component, and on subsequent requests it just render this markup string? if so, how one can store these fragments in external store? how that can be configured or plugged

Re: Fragment caching???

2011-08-06 Thread Bruno Borges
I'm just curious about this: are you having performance issues? *Bruno Borges* www.brunoborges.com.br +55 21 76727099 On Sat, Aug 6, 2011 at 9:01 PM, Joe Fawzy joewic...@gmail.com wrote: Hi is there something equivelant to fragment caching in wicket? I mean , is there any way to cache

Re: Fragment caching???

2011-08-06 Thread Martin Makundi
https://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html 2011/8/7 Joe Fawzy joewic...@gmail.com: Hi is there something equivelant to fragment caching in wicket? I mean , is there any way to cache the generated markup of a  component, and on subsequent requests it just render

Can i include an external html fragment?

2011-07-14 Thread Mike Mander
Hi, i would like to provide a way for our designer to change the homepage layout outside of the web-app. But i'm not sure how to do it. Usecase: Wicket homepage contains a div-placeholder for the main-content. Designer uploads a html fragment with divbla/div to a file-server. In the HomePage

Re: Can i include an external html fragment?

2011-07-14 Thread Andrea Del Bene
how to do it. Usecase: Wicket homepage contains a div-placeholder for the main-content. Designer uploads a html fragment with divbla/div to a file-server. In the HomePage class i add a component loading the file content from the server by a constant url. Is this possible? Thanks Mike

Re: Can i include an external html fragment?

2011-07-14 Thread Martin Grigorov
server. Hi, i would like to provide a way for our designer to change the homepage layout outside of the web-app. But i'm not sure how to do it. Usecase: Wicket homepage contains a div-placeholder for the main-content. Designer uploads a html fragment with divbla/div to a file-server

Replacement of a markup container with nested components by a panel / fragment

2011-06-20 Thread pasto
components by a panel / fragment? I think, that the definition of alternative panels (e.g. lazy load panels) would be easier. Just being curious... Peter. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Replacement-of-a-markup-container-with-nested-components-by-a-panel

Re: Replacement of a markup container with nested components by a panel / fragment

2011-06-20 Thread Igor Vaynberg
it to: if (markupStream.getPreviousTag().isOpen()) {        markupStream.skipToMatchingCloseTag(markupStream.getPreviousTag()); } seems to work fine. Is there a reason to not allow replacement of a markup container with nested components by a panel / fragment? I think, that the definition of alternative panels (e.g. lazy

Re: Replacement of a markup container with nested components by a panel / fragment

2011-06-20 Thread pasto
it to: if (markupStream.getPreviousTag().isOpen()) {        markupStream.skipToMatchingCloseTag(markupStream.getPreviousTag()); } seems to work fine. Is there a reason to not allow replacement of a markup container with nested components by a panel / fragment? I think, that the definition of alternative panels (e.g

Re: Replacement of a markup container with nested components by a panel / fragment

2011-06-20 Thread Igor Vaynberg
(markupStream.getPreviousTag()); } seems to work fine. Is there a reason to not allow replacement of a markup container with nested components by a panel / fragment? I think, that the definition of alternative panels (e.g. lazy load panels) would be easier. Just being curious... Peter. -- View

Re: repaint a fragment

2010-10-12 Thread fachhoch
I am confused , I have an Item with a fragment . to repaint this fragment I should just add this item to target and no need of calling item.replaceWith(new Freagment()) ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2991715.html

Re: repaint a fragment

2010-10-12 Thread Jeremy Thomerson
item.replaceWith(new Fragment()) will replace the *item* with the *fragment*, which is definitely not what you want. On Tue, Oct 12, 2010 at 6:57 AM, fachhoch fachh...@gmail.com wrote: I am confused , I have an Item with a fragment . to repaint this fragment I should just add this item

repaint a fragment

2010-10-11 Thread fachhoch
I have a fragment I want to repaint when user click on ajax link here is my fragment private class ProgramFragment extends Fragment { Long sysAuditProgId; public ProgramFragment( final ProgramStatusDTO programStatusDTO

Re: repaint a fragment

2010-10-11 Thread Scott Swank
No html is rendered to represent a fragment. You will have to wrap it with a div and then refresh the div. Scott On Mon, Oct 11, 2010 at 5:06 PM, fachhoch fachh...@gmail.com wrote: I have a fragment I want to  repaint when user click on ajax link here is my fragment        private class

Re: repaint a fragment

2010-10-11 Thread fachhoch
you mean If I put this fragment inside a webmarkupcontainer and add this webmarkupcontainer to target this will repaint my fragmnet ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2991045.html Sent from the Users forum mailing list

Re: repaint a fragment

2010-10-11 Thread Scott Swank
Exactly. On Mon, Oct 11, 2010 at 7:24 PM, fachhoch fachh...@gmail.com wrote: you mean If I put this fragment inside a webmarkupcontainer and add this webmarkupcontainer to target this will repaint my fragmnet ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com

Re: repaint a fragment

2010-10-11 Thread fachhoch
my fragment is inside a listitem ,on click I added this listitem to taget nothing happened but if I call listitem.replace with new fragment it was adding an additional div is ths the right way to repaint fragment ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com

Re: repaint a fragment

2010-10-11 Thread Jeremy Thomerson
On Mon, Oct 11, 2010 at 10:59 PM, fachhoch fachh...@gmail.com wrote: my fragment is inside a listitem ,on click I added this listitem to taget nothing happened but if I call listitem.replace with new fragment it was adding an additional div is ths the right way to repaint fragment ? You can

Re: refreshing fragment

2010-08-05 Thread jsinai
I have the same problem with refreshing fragments via ajax. The problem does not exist in 1.4.0 and earlier. It started in 1.4.1+, I believe. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/refreshing-fragment-tp2286189p2315381.html Sent from the Wicket - User

Re: refreshing fragment

2010-08-05 Thread jsinai
)) // { respondComponent(response, markupId, component); // } } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/refreshing-fragment-tp2286189p2315451.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: refreshing fragment

2010-08-05 Thread jsinai
I have filed https://issues.apache.org/jira/browse/WICKET-2973 with a patch, which fixes the issue for me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/refreshing-fragment-tp2286189p2315477.html Sent from the Wicket - User mailing list archive at Nabble.com

refreshing fragment

2010-07-12 Thread Anna Simbirtsev
Hi, I have a listview inside a fragment. Listview has a text field comment. Fragment f = new Fragment(fragment, fragmentid, form2); f.setOutputMarkupId(true); form.add(f); final ListViewLoan lv = new ListViewLoan(loans, data .getLoans()) { private

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
what is your fragment about ? container div does it have markupid? 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: Hi, I have a listview inside a fragment. Listview has a text field comment. Fragment f = new Fragment(fragment, fragmentid, form2);        f.setOutputMarkupId(true

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
span wicket:id=fragment class=results-tablefragments contents come here/span wicket:fragment wicket:id=fragmentid wicket:enclosure child=loans table id=results-table thead tr th scope

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
Is your component visible in browser source when your refresh it ?? Ajax cannot referesh invisible components ** Martin 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: span wicket:id=fragment class=results-tablefragments contents come here/span             wicket:fragment wicket:id

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
visible in browser source when your refresh it ?? Ajax cannot referesh invisible components ** Martin 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: span wicket:id=fragment class=results-tablefragments contents come here/span wicket:fragment wicket:id=fragmentid

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
:01 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Is your component visible in browser source when your refresh it ?? Ajax cannot referesh invisible components ** Martin 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: span wicket:id=fragment class=results

Re: refreshing fragment

2010-07-12 Thread Anna Simbirtsev
components ** Martin 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: span wicket:id=fragment class=results-tablefragments contents come here/span wicket:fragment wicket:id=fragmentid wicket:enclosure child=loans table id

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
** Martin 2010/7/12 Anna Simbirtsev asimbirt...@gmail.com: span wicket:id=fragment class=results-tablefragments contents come here/span             wicket:fragment wicket:id=fragmentid                  wicket:enclosure child=loans                  table id=results-table

Can't use form inside fragment

2010-06-01 Thread Todd Nine
Hi all, I'm new to Wicket, so if I've done something obviously wrong, please point it out. I have 2 ways the user could log in to our site. One if via the full page login form, the other is via quick login in the header. Since I'll need to gather the same form data in multiple places, I've

Re: Can't use form inside fragment

2010-06-01 Thread Jeremy Thomerson
what version of wicket? On Tue, Jun 1, 2010 at 3:37 AM, Todd Nine t...@spidertracks.co.nz wrote: Hi all, I'm new to Wicket, so if I've done something obviously wrong, please point it out. I have 2 ways the user could log in to our site. One if via the full page login form, the other is

Re: Can't use form inside fragment

2010-06-01 Thread Todd Nine
Sorry, forgot that. 1.4.9 On 2 June 2010 03:03, Jeremy Thomerson jer...@wickettraining.com wrote: what version of wicket? On Tue, Jun 1, 2010 at 3:37 AM, Todd Nine t...@spidertracks.co.nz wrote: Hi all, I'm new to Wicket, so if I've done something obviously wrong, please point it

Re: Can't use form inside fragment

2010-06-01 Thread Todd Nine
Ok, I solved the initial problem. I didn't specify a container for the fragment, I missed that in the examples. I changes my template to contain this extra div. div wicket:id=session/div Then I specify my panels with if(session.isSignedIn()){ add(new LogoutFragment(session, logout

Re: Can't use form inside fragment

2010-06-01 Thread Igor Vaynberg
headerPanel:session:session:loginForm:email this textfield? has a null model, so wicket cannot push the submitted value. -igor On Tue, Jun 1, 2010 at 11:04 AM, Todd Nine t...@spidertracks.co.nz wrote: Ok, I solved the initial problem.  I didn't specify a container for the fragment, I missed

Re: Can't use form inside fragment

2010-06-01 Thread Todd Nine
: headerPanel:session:session:loginForm:email this textfield? has a null model, so wicket cannot push the submitted value. -igor On Tue, Jun 1, 2010 at 11:04 AM, Todd Nine t...@spidertracks.co.nz wrote: Ok, I solved the initial problem. I didn't specify a container for the fragment, I missed

Re: Ajax Repeater Fragment Update

2010-05-18 Thread Dr. Wolf Blecher
= item.getModelObject(); DetailFragment dataView = new DetailFragment(extendingRow,rowView,user); dataView.setOutputMarkupId(true); item.add(dataView); } }; add(userTable); } } class DetailFragment extends Fragment { private boolean compressed = true

Re: Ajax Repeater Fragment Update

2010-05-18 Thread Jeremy Thomerson
additional data a panel that is setVisible(false).setOutputMarkupPlaceholder(true) by default, and then making your link simply setVisible(true) on the panel and add it to the ajax request target? It may be easier than a fragment. I've used that pattern quite a few times. -- Jeremy Thomerson

Ajax Repeater Fragment Update

2010-05-17 Thread Dr. Wolf Blecher
with additional information. What I tried is to add a Fragment to my table row, where the information I additionally want to display is encapsulated by a WebMarkupContainer whose isVisible method depends on the compressed state of the detail information. On the Fragment I have a AjaxLink and three labels

Re: Ajax Repeater Fragment Update

2010-05-17 Thread Jeremy Thomerson
as a tree-table but I don't want to show additional table rows, but extend the current table row with additional information. What I tried is to add a Fragment to my table row, where the information I additionally want to display is encapsulated by a WebMarkupContainer whose isVisible method

  1   2   >