confirmation component

2009-10-19 Thread Md. Jahid Shohel
Hi,

Is there any confirmation component in wicket/wicket-stuff? As an
example, when user want to delete something, a popup window will come up
and ask user whether they are sure what they are doing or not (as like
JOptionPane in swing).


thanks!

//Jahid


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



Re: confirmation component

2009-10-19 Thread Md. Jahid Shohel
Martijn,

thanks, but i was looking for component, but not javascript, otherwise i
could use that alert right away, without asking. even more intellijent
way, i could use wicket-stuffs modal window to make my own confirmation
window. but my question more about is there any already?



but thanks anyway :)



On Mon, 2009-10-19 at 14:59 +0200, Thies Edeling wrote:
 Martijn


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



Re: Wizard newOverviewBar, creating some king of overview

2009-10-16 Thread Md. Jahid Shohel
extend the base Wizard, and  your implementation override
newOverviewBar and return you overview bar

On Fri, 2009-10-16 at 08:24 +0200, Frank Prins wrote:
 Hey Wicketeers!
 
  
 
 I just started to include a Wizard in our project, just the simple and
 clean non-dynamic implementation. All seems to work fine, amazing you
 can include such a lot of functionality with just a few lines of code.
 
  
 
 But here it comes: I now want to create a kind of overview on wizard
 level, a panel indicating which step is the current, which ones has been
 done, and the ones coming next.
 
 In the apidocs there is already a hook created called newOverviewBar,
 to be overwritten. Now I run into trouble...
 
 How is this supposed to be overwritten in my Wizard implementation, and
 in what way should I implement it in the constructor?
 
  
 
 Maybe someone can give me a hint to help me on the way, maybe there is
 even some sample inplementation code, I guess this has been done be
 several people?
 
  
 
 thanks for the help, best regards,
 
 Frank Prins
 


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



Re: Null Model Error

2009-10-16 Thread Md. Jahid Shohel
you need to set the model for the list.

On Fri, 2009-10-16 at 07:33 +, Peter Arnulf Lustig wrote:
 choices,


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



Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote:
 http://jweekend.com/dev/LegUp

is that really working? coz , when i clicked on Generate Maven Command
button, it took me to http://jweekend.com/dev/HomePageBody


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



Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
seems like its working now. really cool!


On Tue, 2009-10-06 at 16:01 +0200, Md. Jahid Shohel wrote:
 On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote:
  http://jweekend.com/dev/LegUp
 
 is that really working? coz , when i clicked on Generate Maven Command
 button, it took me to http://jweekend.com/dev/HomePageBody
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 


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



server push

2009-10-05 Thread Md. Jahid Shohel
Hi,

We need server push for one of our web application. Is there something
that you can suggest? The requirement is, it should work on any server
(Tomcat, jetty, jboss,). is there any wicket component that does
this?

I have heard about wicketstuff-push, but i also heard that it only works
with jetty. any kind of suggestion is welcome.

thanks in advance.


//jahid


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



Dynamic links

2009-04-22 Thread Md. Jahid Shohel
Hi,

I have a use case like below -


- There will be two frames, more like the left frame will have menus. On
click on left menu items, on right side the page will be displayed. Now
on left side, how many items will be in menus is not static. They come
from a service, so its dynamic.


I have tried below given way -

- I have used repeater (the data view with a table and td) to put
dynamic links. The links are added fine on left menu. But when I click
on those links, each click creates a new frame on right side (on first
click its 2 frames, on second click its 3 frames, on third click its 4
frames.). The sample code is like -

table cellspacing=0
tr
thAvailable Services.../th
/tr
tr wicket:id=listServices
td
span wicket:id=service
span
wicket:id=serviceName[ServiceName]/span
/span
/td
/tr
/table






private ListClass? extends AbstractServiceWebPage classes = new
ArrayListClass? extends AbstractServiceWebPage();

classes.add(RoleService.class);
final IDataProvider dataProvider = new DataProviderClass?
extends AbstractServiceWebPage(classes);

add(new DataView(listServices, dataProvider) {

@Override
protected void populateItem(Item item) {
final Class? extends AbstractServiceWebPage clazz =
(Class? extends AbstractServiceWebPage) item.getModelObject();
String serviceName = null;
try {
serviceName = ((AbstractServiceWebPage)
clazz.newInstance()).getServiceName();
} catch (InstantiationException ex) {
throw new RuntimeException(ex);
} catch (IllegalAccessException ex) {
throw new RuntimeException(ex);
}

if (serviceName == null) {
throw new IllegalStateException(Service name can
not be null);
}
item.add(new ChangeFramePageLink(service, bodyFrame,
clazz).add(new Label(serviceName, serviceName)));
}
});



- But If I create a link normal way then it works fine, but on that
situation the links and their labels will not be dynamic, but hard
coded. Which is -

 div
ul
lia href=# wicket:id=linkToPage1
target=_parentRole Service/a/li
/ul
 /div


And in code its like --

add(new ChangeFramePageLink(linkToPage1, bodyFrame,
RoleService.class));









Any suggestion will be highly appreciated.


Regards,


//Jahid