CSS contest

2010-06-07 Thread Josh Kamau
Hi guys;

What became of the css contest?

regards.
Josh


Re: Central feedback-panel?

2010-06-07 Thread Martin Grigorov
On Mon, 2010-06-07 at 00:33 -0500, Jeremy Thomerson wrote:
 On Sun, Jun 6, 2010 at 11:05 PM, shox vishapxtr...@googlemail.com wrote:
 
  Hi,
 
  I have a Base-Layout and a changing content in a wicket:child-component.
 
  Can I have a central Dialog, like a jQuery UI-Dialog  (
  http://jqueryui.com/demos/dialog/ ) or better like the messages from
  stackoverflow (little bar  that gets the Feedback-Messages and pops up at
  the top of the page, stacking and cancel-able) that my child-page can call
  and that pops up then?
 
 
  Following use-case:
 
  Baseclass  Login-Form:
  Login-Form processes user-input, seems correct, the AjaxBehavior is called.
  But in the backend there is a error with the database.
 
  So I now want to write there or in the Behavior error(i.e. Sorry, a DB
  error occurred) and either the bar pops up itself or I can make it appear
  without re-rendering the whole page? Best case would be if the function to
  call or the Element to use would be located in the Base-page.
 
  Is that possible?
  I am sorry if this is a simple task, but I couldn't figure it out.
 
  Thanks
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 Sure, use the built-in feedback mechanism, but write your own custom
 renderer.  In other words, when there is a validation error, etc,
 Component#error (or #info, #warn, etc.) are called.  Typically, you add a
 FeedbackPanel to the page and this displays the messages as ullimessage
 1/lilimessage 2/li/ul
 
 Instead of using the built in FeedbackPanel, just write your own (look at
 FeedbackPanel for help on how to get / clear the messages, etc).  It can
 render them into a dialog, toaster, etc.
Use
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/jgrowl
as an inspiration.
 
 



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



Re: Central feedback-panel?

2010-06-07 Thread ViShap
That looks sweet, I will have a closer look later this week.

Thanks!

On Mon, Jun 7, 2010 at 3:15 AM, Martin Grigorov mcgreg...@e-card.bg wrote:

 On Mon, 2010-06-07 at 00:33 -0500, Jeremy Thomerson wrote:
  On Sun, Jun 6, 2010 at 11:05 PM, shox vishapxtr...@googlemail.com
 wrote:
 
   Hi,
  
   I have a Base-Layout and a changing content in a
 wicket:child-component.
  
   Can I have a central Dialog, like a jQuery UI-Dialog  (
   http://jqueryui.com/demos/dialog/ ) or better like the messages from
   stackoverflow (little bar  that gets the Feedback-Messages and pops up
 at
   the top of the page, stacking and cancel-able) that my child-page can
 call
   and that pops up then?
  
  
   Following use-case:
  
   Baseclass  Login-Form:
   Login-Form processes user-input, seems correct, the AjaxBehavior is
 called.
   But in the backend there is a error with the database.
  
   So I now want to write there or in the Behavior error(i.e. Sorry, a DB
   error occurred) and either the bar pops up itself or I can make it
 appear
   without re-rendering the whole page? Best case would be if the function
 to
   call or the Element to use would be located in the Base-page.
  
   Is that possible?
   I am sorry if this is a simple task, but I couldn't figure it out.
  
   Thanks
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  Sure, use the built-in feedback mechanism, but write your own custom
  renderer.  In other words, when there is a validation error, etc,
  Component#error (or #info, #warn, etc.) are called.  Typically, you add a
  FeedbackPanel to the page and this displays the messages as
 ullimessage
  1/lilimessage 2/li/ul
 
  Instead of using the built in FeedbackPanel, just write your own (look at
  FeedbackPanel for help on how to get / clear the messages, etc).  It can
  render them into a dialog, toaster, etc.
 Use

 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/jgrowl
 as an inspiration.
 
 



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




RE: drag and drop

2010-06-07 Thread DerBernd

Hi,
another question of mine:
Is there any implementation of an Sortable where I can change order of
li items within an ul by dragging and dropping. Or what would even be
better: change order of Components in an RepeatingView.


I found the org.wicketstuff.jquery.dnd.DnDSortableHandler. But do not really
know how to make it work, cause I found no examples on the web.

Thanks a lot
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2245708.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: Image Upload Using TinyMCE Within Wicket Framework

2010-06-07 Thread danisevsky
Hi, I checkout
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicketstuff-core-1.4.9/and
build tinymce-mce and get the same result (upload example doesn't work
-
screenshot is in my previous email)

When I checkout only tinymce-parent - build failed: Reason: Cannot find
parent: org.wicketstuff:wicketstuff-core for project: null:t
inymce-parent:pom:null for project null:tinymce-parent:pom:null

Could you please tell me what I am doing wrong?

Thanks.

2010/6/2 danisevsky danisev...@gmail.com

 thanks, this is that problem, I checkout wicketstuff-core from
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/and
  there is version 1.4.10-SNAPSHOT

 I will try to find 1.4.9


 2010/6/2 Michał Letyński mletyn...@consol.pl

 Hi.
 I just checkout tinymce-parent with version 1.4.9 and everythink works
 both in FF3.5 and ie8

 W dniu 2010-06-01 20:17, danisevsky pisze:

 Hello, I checkout wicket-stuff core, install and run tinymce-examples,
 every examples works fine except image upload. Firebug do not show any
 javascript error. Could you please tell me what is wrong. What I get is on
 the attachment picture.



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





Re: Dialog involving multiple pages and a VO: some best practices?

2010-06-07 Thread Joseph Pachod

Igor Vaynberg wrote:

obviously you have to know what you are passing around. you shouldnt
pass around objects that link to page instances, such as anonymous
classes of models.

-igor
  

if that's all, then all fine for me

quite different from what I had in mind about different references to 
the logically same object being potentially used in the different pages.


thanks a lot

++
joseph

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



Re: drag and drop

2010-06-07 Thread Istvan Jozsa
You can implement by adding DraggableBehavior *and* DroppableBehavior to
each item,
something like this:

add(new DraggableBehavior() {
{
setName(someName);
setRevert(DraggableBehavior.DragRevertMode.ALWAYS);
setRevertDuration(0);
setHelper(DragHelperMode.CLONE);
setOpacity(Opacity.LOW);
}
});
add(new DroppableBehavior() {
{//{
setHoverClass(resequencerHover);
setTolerance(DropTolerance.POINTER);
setDraggablesAcceptedByDroppable(new
DraggablesAcceptedByDroppable(someName));
}//}
@Override
protected void onDrop(AjaxRequestTarget target, final Component
component, final SpecialKeys keys) {
// get seqnum (sequence number)
// if source and target seqnum are the same then ignore
// update data (maybe even in persistent store, AKA database)
// refresh container containing your list
(target.addComponent(listContainer);)
}
});
add(new AttributeAppender(class, true, new AbstractReadOnlyModelString()
{
@Override
public String getObject() {
return resequencer;
}
},  ));

CSS:
.resequencer {
border-top: 3px solid transparent;
}
.resequencerHover {
border-top: 3px solid #00;
}

This is just the rough idea (my case is more complicated).

Istvan (aka Stefan)


On Mon, Jun 7, 2010 at 12:26 PM, DerBernd beha...@web.de wrote:


 Hi,
 another question of mine:
 Is there any implementation of an Sortable where I can change order of
 li items within an ul by dragging and dropping. Or what would even be
 better: change order of Components in an RepeatingView.


 I found the org.wicketstuff.jquery.dnd.DnDSortableHandler. But do not
 really
 know how to make it work, cause I found no examples on the web.

 Thanks a lot
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2245708.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

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




Re: drag and drop

2010-06-07 Thread DerBernd

Ok,
I think I understood, but how do you get the seqnum?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2245847.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-07 Thread Charles Deal
Excellent.  sf username: cdeal

First things first then.  If I get some patches put into scm other people
will see that it is still a viable project.  Then as I get time, I'll
extract some of my code into some kind of example.

What are the requirements for building with core and who do I contact to get
this included in the core build process?

On Thu, Jun 3, 2010 at 5:24 PM, nino martinez wael 
nino.martinez.w...@gmail.com wrote:

 go for commit rights. And for requirements it would be good to have an
 example project other than that it should just be working :)



 2010/6/3 Charles Deal chuckdea...@gmail.com:
  Is anyone out there maintaining/using this library?
 
  I am using it and I have a handful of modifications that I'd like to push
  back into the source tree.  Should I prepare a patch and JIRA issue or
 shall
  I pursue commit access for this library?
 
  I would also like to get it hooked into the build process.  It seems like
 I
  only need to add the wicketstuff-core reference to this pom and have the
  wicketstuff-core pom updated to include this  module.  What else needs to
 be
  done?  Are there specific requirements for a library to be part of the
  wicketstuff-core build?
 

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




Use wicketstuff-push and still have proper session timeout?

2010-06-07 Thread Early Morning
Hi All,

We're currently using the wicketstuff-push project for notifications and the
like. I added a TimerChannelService to our main Application class, and added
a ChannelListener in our BasePage (using the user's username as the
channel).

However, the problem now is that the session never times out since the
Channel Listener polls the server and makes a request every time. Is there a
way to work around this, or some other way I can implement this? Thanks!


Regards,

Ces


Closing modalWindow outside the dialog window by mouse click

2010-06-07 Thread rawe

Maybe a solution was already posted, I didn't find an answer !

I want to close a modal window just by mouse click outside the modal window
(dialog).

I tried some javascript code:

var win = window.Wicket.Window;

if (typeof(win.current) != undefined) {
win.current.close();
}

Problem is:
1.) The modal window just opens one time. - I can 't open the modal window
anymore with:
btnModalDlg = new AjaxButton(btnModalDlg) {
@Override
public void onSubmit(AjaxRequestTarget target, Form? form) {
   modalWin.show(target);
}
};

2.)And the modal window also closes when cklicking on it.
But I need the close behaviour just when clicking outside the dialog.

Is there any solution ?

Thanks for any help!

Ralph
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Closing-modalWindow-outside-the-dialog-window-by-mouse-click-tp2245910p2245910.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-07 Thread Decebal Suiu

When I switch to other tab I received a PageExpiredException:
org.apache.wicket.protocol.http.PageExpiredException: No behavior listener
found with behaviorId 0; Component: [MarkupContainer [Component id = panel]]

Any idea how can I remove/stop the AjaxSelfUpdatingTimerBehavior? 
I created a visitor (in TabbedPanel.newLink) that visit all children
components and for each component if I found that a behavior is an instance
of AjaxSelfUpdatingTimerBehavior call stop method and remove the behavior
but the exception appears again on tab switch.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TabbedPanel-with-AjaxSelfUpdatingTimerBehavior-tp2243691p2245915.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: drag and drop

2010-06-07 Thread Istvan Jozsa
My seqnums are persistently stored,
when items are retrieved so the seqnum.
I used models to pass and get item data:

@Override
public void populateItem(final ItemItemData item) {
final ItemData itemData = item.getModelObject();
item.add(new MyLink(title, new DraggableModelItemData(itemData) {
@Override
public String getObject() {
return itemData.getTitle();
}
@Override
public DraggableModel? onDrop(AjaxRequestTarget target,
DroppableModel? droppableModel) {
// check where the item was dropped (my items can be dropped in
more containers)
if (droppableModel.getType() == Droppable.RESEQUENCER) {
// clip DD-ed into clip seqnum updater
Integer newSeqnum = (Integer) (droppableModel.getMobject());
if (newSeqnum.equals(itemData.getSeqnum())) {
return null;
}
// update your data in persistent store
return null;
} // else (if any)
}
}
add(new DraggableBehavior() {
{
setName(Draggable.PRODUCT.name());
setRevert(DraggableBehavior.DragRevertMode.ALWAYS);
setRevertDuration(0);
setHelper(DragHelperMode.CLONE);
setOpacity(Opacity.LOW);
}
});
add(new DroppableBehavior() {
{
setHoverClass(resequencerHover);
setTolerance(DropTolerance.POINTER);
setDraggablesAcceptedByDroppable(new
DraggablesAcceptedByDroppable(Draggable.PRODUCT.name()));
}
@Override
protected void onDrop(AjaxRequestTarget target, final Component
component, final SpecialKeys keys) {
DraggableModelItemData model = (DraggableModelItemData)
component.getDefaultModel();
// the container invokes the onDrop() callback of item, passing
container's data, so that
// the item can figure out where was dropped
model.onDrop(target, new
DroppableModelInteger(Droppable.RESEQUENCER, itemData.getSeqnum()));
}
});
add(new AttributeAppender(class, true, new
AbstractReadOnlyModelString() {
@Override
public String getObject() {
return resequencer;
}
},  ));
}
public abstract class DraggableModelT extends
AbstractReadOnlyModelString {
protected Draggable type;
protected T mobject;
public DraggableModel(Draggable type) {
this.type = type;
}
public DraggableModel(T object) {
this.mobject = object;
}
public DraggableModel(Draggable type, T object) {
this.type = type;
this.mobject = object;
}
public final T getMobject() {
return mobject;
}
public Draggable getType() {
return type;
}
@Override
public String getObject() {
return null;
}
/**
 * Callback, invoked by 'droppable' when it accepts this draggable.
 * Implementers should call droppable's onDrop() if droppable is not
null.
 * @param target
 * @param droppableModel
 * @return
 */
public abstract DraggableModel? onDrop(AjaxRequestTarget target,
DroppableModel? droppableModel);
}
public class DroppableModelT extends AbstractReadOnlyModelString {
protected Droppable type;
protected T mobject;
public DroppableModel(Droppable type) {
this.type = type;
}
public DroppableModel(T object) {
this.mobject = object;
}
public DroppableModel(Droppable type, T object) {
this.type = type;
this.mobject = object;
}
public DroppableModel() {
throw new UnsupportedOperationException(Type required);
}
public final T getMobject() {
return mobject;
}
public Droppable getType() {
return type;
}
@Override
public String getObject() {
return null;
}
/**
 * Callback, invoked by 'draggable' after this droppable invoked
draggable's onDrop().
 * Implementers should call draggable's onDrop() if draggable is not
null.
 * @param target
 * @param draggableModel
 * @return
 */
public DroppableModel? onDrop(AjaxRequestTarget target,
DraggableModel? draggableModel) {
return null;
}
}
public enum Droppable {
TRASH, RESEQUENCER /* etc */;
}
public enum Draggable {
PRODUCT, USER /* etc */;
}

Hoping that copypasteadjustments are OK,

Istvan

On Mon, Jun 7, 2010 at 3:02 PM, DerBernd beha...@web.de wrote:


 Ok,
 I think I understood, but how do you get the seqnum?
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/drag-and-drop-tp1881857p2245847.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

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




Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-07 Thread Ernesto Reinaldo Barreiro
Why not put the behavior outside the tab and just do something if
you are on the wight tab?

Ernesto

On Mon, Jun 7, 2010 at 3:07 PM, Decebal Suiu decebal.s...@asf.ro wrote:

 When I switch to other tab I received a PageExpiredException:
 org.apache.wicket.protocol.http.PageExpiredException: No behavior listener
 found with behaviorId 0; Component: [MarkupContainer [Component id = panel]]

 Any idea how can I remove/stop the AjaxSelfUpdatingTimerBehavior?
 I created a visitor (in TabbedPanel.newLink) that visit all children
 components and for each component if I found that a behavior is an instance
 of AjaxSelfUpdatingTimerBehavior call stop method and remove the behavior
 but the exception appears again on tab switch.
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/TabbedPanel-with-AjaxSelfUpdatingTimerBehavior-tp2243691p2245915.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 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



Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-07 Thread Ernesto Reinaldo Barreiro
I meant right tab

On Mon, Jun 7, 2010 at 3:54 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
 Why not put the behavior outside the tab and just do something if
 you are on the wight tab?

 Ernesto

 On Mon, Jun 7, 2010 at 3:07 PM, Decebal Suiu decebal.s...@asf.ro wrote:

 When I switch to other tab I received a PageExpiredException:
 org.apache.wicket.protocol.http.PageExpiredException: No behavior listener
 found with behaviorId 0; Component: [MarkupContainer [Component id = panel]]

 Any idea how can I remove/stop the AjaxSelfUpdatingTimerBehavior?
 I created a visitor (in TabbedPanel.newLink) that visit all children
 components and for each component if I found that a behavior is an instance
 of AjaxSelfUpdatingTimerBehavior call stop method and remove the behavior
 but the exception appears again on tab switch.
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/TabbedPanel-with-AjaxSelfUpdatingTimerBehavior-tp2243691p2245915.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 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



Re: Guice Wicket Guice Proxy

2010-06-07 Thread yaniv kessler
Nino, can you show the ClassWithDao code before the so called ugliness was
introduced?

On Sun, Jun 6, 2010 at 1:44 PM, nino martinez wael 
nino.martinez.w...@gmail.com wrote:

 im still working on the quickstart.. So far I've been unable to
 replicate.. I'll continue tomorrow

 2010/6/5 nino martinez wael nino.martinez.w...@gmail.com:
  I was too quick to say it worked, as it appears it does not. I'll try
  to make a quickstart based on legup, where should I put it? Just on
  jira?
 
  -Nino
 
  2010/6/4 nino martinez wael nino.martinez.w...@gmail.com:
  yeah me too, what Igor said worked so must be true or a bug.. I don't
  think it's a bug..
 
  2010/6/3 James Carman ja...@carmanconsulting.com:
  I thought the filters were executed in the order of their
  filter-mappings, not their filter definitions.
 
  On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or
 Coke?
 
  I spend a tremendous time trying to figure out what was wrong. I even
  considered going back to spring..
 
  regards Nino
 
  2010/6/3 Igor Vaynberg igor.vaynb...@gmail.com:
  noep, the filters are processed in the order they are defined in
  web.xml, move the wicket filter decl below the warp persist stuff.
 
  -igor
 
  On Thu, Jun 3, 2010 at 1:05 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  yes, i think so:
 
  ?xml version=1.0 encoding=ISO-8859-1?
  web-app xmlns=http://java.sun.com/xml/ns/j2ee;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
 version=2.4
 
 display-nameIVR Web frontend/display-name
 
 filter
 filter-namewicket.WicketWarp/filter-name
 
  filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
 init-param
 param-nameapplicationClassName/param-name
 
  param-valuecom.netdesign.codan.webadmin.WicketApplication/param-value
 /init-param
 
 init-param
 param-nameconfiguration/param-name
 param-valuedeployment/param-value
 /init-param
 /filter
 
 filter
 filter-namewarpPersistFilter/filter-name
 
  filter-classcom.wideplay.warp.persist.PersistenceFilter/filter-class
 /filter
 
 filter-mapping
 filter-namewarpPersistFilter/filter-name
 url-pattern/*/url-pattern
 /filter-mapping
 
 
 
 
 filter-mapping
 filter-namewicket.WicketWarp/filter-name
 url-pattern/*/url-pattern
 /filter-mapping
 
 
  /web-app
 
 
  2010/6/2 Igor Vaynberg igor.vaynb...@gmail.com:
  did you install warp's open entity manager in view filter *before*
  wicket's filter?
 
  -igor
 
  On Wed, Jun 2, 2010 at 5:46 AM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  Hi I somehow think theres something wrong with the Wicket Guice
 proxy
  (probably only if you are using guice 2  possibly warp persist)
 
  Anyhow I have had to change my LDM's to this code, notice the
 injector
  holder in the getter method really really bad. But if not I get an
  entity manager is closed:
 
  public class ClassWithDao {
 
 public ClassWithDao() {
 InjectorHolder.getInjector().inject(this);
 }
 
 @Inject
 private transient PhoneDao phoneDao;
 
 /**
  * This method contains a fix, should ordinary be avoided!
 There
  should be no need for calling the extra InjectorHolder method!
  * @return
  */
   public PhoneDao getPhoneDao() {
   InjectorHolder.getInjector().inject(this);
   return phoneDao;
   }
 
 public void setPhoneDao(PhoneDao phoneDao) {
 this.phoneDao = phoneDao;
 }
 
  Am I doing anything wrong I wonder, however the first requests are
  always working it's after something has been trough the session
 store
  it goes wrong..
 
  -regards Nino
 
 
 -
  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
 
 
 
 
 -
  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
 
 
 
  

Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-07 Thread Rodolfo Hansen
I think I have a couple of lines of code I can submit,

And I can help you out in case you need any help.

On Mon, Jun 7, 2010 at 8:16 AM, Charles Deal chuckdea...@gmail.com wrote:

 Excellent.  sf username: cdeal

 First things first then.  If I get some patches put into scm other people
 will see that it is still a viable project.  Then as I get time, I'll
 extract some of my code into some kind of example.

 What are the requirements for building with core and who do I contact to
 get
 this included in the core build process?

 On Thu, Jun 3, 2010 at 5:24 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

  go for commit rights. And for requirements it would be good to have an
  example project other than that it should just be working :)
 
 
 
  2010/6/3 Charles Deal chuckdea...@gmail.com:
   Is anyone out there maintaining/using this library?
  
   I am using it and I have a handful of modifications that I'd like to
 push
   back into the source tree.  Should I prepare a patch and JIRA issue or
  shall
   I pursue commit access for this library?
  
   I would also like to get it hooked into the build process.  It seems
 like
  I
   only need to add the wicketstuff-core reference to this pom and have
 the
   wicketstuff-core pom updated to include this  module.  What else needs
 to
  be
   done?  Are there specific requirements for a library to be part of the
   wicketstuff-core build?
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 




-- 
Rodolfo Hansen
CTO, KindleIT Software Development
Email: rhan...@kitsd.com
Mobile: +1 (809) 860-6669


strange error

2010-06-07 Thread Douglas Ferguson
Does anybody know what might cause this?

org.apache.wicket.WicketRuntimeException:submitted http post value 
[radio-32719] for RadioGroup component [1:subPanel:linkForm:siteWide] 
is illegal because it does not contain relative path to a Radio componnet. 
Due to this the RadioGroup component cannot resolve the selected 
Radio component pointed to by the illegal value. 
A possible reason is that componment hierarchy changed between rendering and 
form submission.  



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



Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-07 Thread Charles Deal
The first set of code I wanted to push back was just some housekeeping
stuff.  Use slf4j, reference wicketstuff-core, minor html changes.

After that, I will look at anything that I did in my own code to customize
it and see if i can push any of that back.

What kind of changes did you have in mind for the project?


On Mon, Jun 7, 2010 at 10:44 AM, Rodolfo Hansen rhan...@kitsd.com wrote:

 I think I have a couple of lines of code I can submit,

 And I can help you out in case you need any help.

 On Mon, Jun 7, 2010 at 8:16 AM, Charles Deal chuckdea...@gmail.com
 wrote:

  Excellent.  sf username: cdeal
 
  First things first then.  If I get some patches put into scm other people
  will see that it is still a viable project.  Then as I get time, I'll
  extract some of my code into some kind of example.
 
  What are the requirements for building with core and who do I contact to
  get
  this included in the core build process?
 
  On Thu, Jun 3, 2010 at 5:24 PM, nino martinez wael 
  nino.martinez.w...@gmail.com wrote:
 
   go for commit rights. And for requirements it would be good to have an
   example project other than that it should just be working :)
  
  
  
   2010/6/3 Charles Deal chuckdea...@gmail.com:
Is anyone out there maintaining/using this library?
   
I am using it and I have a handful of modifications that I'd like to
  push
back into the source tree.  Should I prepare a patch and JIRA issue
 or
   shall
I pursue commit access for this library?
   
I would also like to get it hooked into the build process.  It seems
  like
   I
only need to add the wicketstuff-core reference to this pom and have
  the
wicketstuff-core pom updated to include this  module.  What else
 needs
  to
   be
done?  Are there specific requirements for a library to be part of
 the
wicketstuff-core build?
   
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
 



 --
 Rodolfo Hansen
 CTO, KindleIT Software Development
 Email: rhan...@kitsd.com
 Mobile: +1 (809) 860-6669



Re: Frustrating behavior ... same browser, same war, same tomcat version - different behavior!!!

2010-06-07 Thread Bryan Montgomery
Thanks - this is still puzzling me. This is a virtual machine. I did just
try the war on another virtual machine and it worked as expected. I think
I'm about to rebuild the server.

I don't have any clustering, and not using apache, just hitting tomcat
directly. One thing I noticed from the profiling on IE8 is that on the
servers that worked normally, the postbacks had the jsessionid appended to
the url. The non-working server is missing that so I'm doing a little bit of
digging to see if I can find a reason why that may be happening.

Cheers - Bryan.

On Fri, Jun 4, 2010 at 7:33 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 right, sounds like the session is being lost and the page is being
 rerendered fresh.

 -igor

 On Fri, Jun 4, 2010 at 1:46 PM, Scott Swank scott.sw...@gmail.com wrote:
  Do you have apache or a load balancer or anything else in the network?
   Is there maybe a simple difference in your httpd.conf pertaining to
  sessions?
 
  On Fri, Jun 4, 2010 at 1:32 PM, Bryan Montgomery mo...@english.net
 wrote:
  Thanks for the ideas. Still no joy.
 
  The behavior is consistent between three different clients, all running
  different versions of IE (6,7 and 8).
  I was able to use the debugging feature built in to IE 8 to see that the
  wicket ajax javascript was gettting called. At some point in that
 process it
  lost the value of the field and it got set to an empty field.
 
  I have the feeling that there is something different with the
 environment on
  this particular server - but I have no idea what at this point.
 
  On Fri, Jun 4, 2010 at 1:32 PM, gnul nullc...@gmail.com wrote:
 
  
   Essentially, part of the process generates dynamic web forms based on
 xml
   configuration files. We noticed that on one of our servers when we
  deployed
   the war file that the fields would not hold their values, and as soon
 as
  you
   tabbed out, the entry would disappear. Taking the same war file and
   deploying it to another server the form acts as expected.
  
 
  If it works on one server, but not the other, and they are configured
  the same (meaning same appserver/tomcat version, same jvm, same
  user/group/perms, etc.), the first thing I do is clean the appserver
  and do a fresh deploy.
 
  For example, say you are deploying to /var/lib/tomcat/webapps/, I
  would shutdown both tomcats, remove the exploded directories (e.g.
  myapp.war = myapp/ ) and re-deploy the war files to each server.  I
  would also clean out tomcat's temp directory (e.g.
  /var/cache/tomcat5/temp), then restart them both.
 
   -gnul
 
  -
  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
 
 

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




Wicketstuff Jira

2010-06-07 Thread Charles Deal
I know that that Wicketstuff Jira was taken down and an email was sent in
April saying it was temporary.  Is there a timeline for its return?  What
shall we do in the meantime?

I have a number of patches to submit for the inmethod-grid.  I hesitate to
commit them without review by someone else.  I will probably compose an
email to this list so that someone else can review the patches and discuss
them.


[Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread Charles Deal
We've been using the grid for quite some time now and have accumulated a few
changes to the codebase.  I'd like to submit them for other users to review
and discuss, in the hopes that they will make it into the wicketstuff
codebase in the future.  The following are brief descriptions of the
attached files.

inmethodgrid-script.patch
This patch simply adds a resize event to the grid.  We noticed that when the
browser was resized, the grid wouldn't resize until the user attempted to
scroll.

inmethodgrid-columns.patch
Some small changes to facilitate more code reuse.

inmethodgrid-form.patch
Move the header and toolbars into the form.  This allows the header to
determine the form automatically so that, for example, when sorting a grid,
the behavior can submit the form to retain any transient changes to the
grid.

inmethodgrid-gridbehavior.patch
Refactor the AjaxFormSubmitBahvior implementation into its own class to be
used by custom behaviors.  Altered the code to use the new class.

inmethodgrid-insert.patch
Add support for adding rows to the grid.

As I said, my team have been successfully using (almost all of) these
patches since at least June 2008.  The script patch is the only one that is
a recent change.  I'd appreciate some feedback and if no objections are
made, I'd like to get these patches into the scm.

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

Re: Frustrating behavior ... same browser, same war, same tomcat version - different behavior!!!

2010-06-07 Thread Edward Zarecor
So it seems that Tomcat is unable to set a cookie to store the session id
for the problematic domain as it will append it to the URL when all else
fails -- you may also be able to configure this as the default behavior.

Look at the differences between the hostname configurations comparing a
working server and a non-working server.

Ed.


On Mon, Jun 7, 2010 at 11:22 AM, Bryan Montgomery mo...@english.net wrote:

 Thanks - this is still puzzling me. This is a virtual machine. I did just
 try the war on another virtual machine and it worked as expected. I think
 I'm about to rebuild the server.

 I don't have any clustering, and not using apache, just hitting tomcat
 directly. One thing I noticed from the profiling on IE8 is that on the
 servers that worked normally, the postbacks had the jsessionid appended to
 the url. The non-working server is missing that so I'm doing a little bit
 of
 digging to see if I can find a reason why that may be happening.

 Cheers - Bryan.

 On Fri, Jun 4, 2010 at 7:33 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:

  right, sounds like the session is being lost and the page is being
  rerendered fresh.
 
  -igor
 
  On Fri, Jun 4, 2010 at 1:46 PM, Scott Swank scott.sw...@gmail.com
 wrote:
   Do you have apache or a load balancer or anything else in the network?
Is there maybe a simple difference in your httpd.conf pertaining to
   sessions?
  
   On Fri, Jun 4, 2010 at 1:32 PM, Bryan Montgomery mo...@english.net
  wrote:
   Thanks for the ideas. Still no joy.
  
   The behavior is consistent between three different clients, all
 running
   different versions of IE (6,7 and 8).
   I was able to use the debugging feature built in to IE 8 to see that
 the
   wicket ajax javascript was gettting called. At some point in that
  process it
   lost the value of the field and it got set to an empty field.
  
   I have the feeling that there is something different with the
  environment on
   this particular server - but I have no idea what at this point.
  
   On Fri, Jun 4, 2010 at 1:32 PM, gnul nullc...@gmail.com wrote:
  
   
Essentially, part of the process generates dynamic web forms based
 on
  xml
configuration files. We noticed that on one of our servers when we
   deployed
the war file that the fields would not hold their values, and as
 soon
  as
   you
tabbed out, the entry would disappear. Taking the same war file and
deploying it to another server the form acts as expected.
   
  
   If it works on one server, but not the other, and they are configured
   the same (meaning same appserver/tomcat version, same jvm, same
   user/group/perms, etc.), the first thing I do is clean the
 appserver
   and do a fresh deploy.
  
   For example, say you are deploying to /var/lib/tomcat/webapps/, I
   would shutdown both tomcats, remove the exploded directories (e.g.
   myapp.war = myapp/ ) and re-deploy the war files to each server.  I
   would also clean out tomcat's temp directory (e.g.
   /var/cache/tomcat5/temp), then restart them both.
  
-gnul
  
   -
   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
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 



Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread Matej Knopp
Hi,

I'm too busy to review the patches now, also they didn't get through
as the mailing list doesn't allow attachments.

Perhaps when JIRA works on wicket stuff again you can create issues in
grid project and attache the patches there.

-Matej


On Mon, Jun 7, 2010 at 5:48 PM, Charles Deal chuckdea...@gmail.com wrote:
 We've been using the grid for quite some time now and have accumulated a few
 changes to the codebase.  I'd like to submit them for other users to review
 and discuss, in the hopes that they will make it into the wicketstuff
 codebase in the future.  The following are brief descriptions of the
 attached files.

 inmethodgrid-script.patch
 This patch simply adds a resize event to the grid.  We noticed that when the
 browser was resized, the grid wouldn't resize until the user attempted to
 scroll.

 inmethodgrid-columns.patch
 Some small changes to facilitate more code reuse.

 inmethodgrid-form.patch
 Move the header and toolbars into the form.  This allows the header to
 determine the form automatically so that, for example, when sorting a grid,
 the behavior can submit the form to retain any transient changes to the
 grid.

 inmethodgrid-gridbehavior.patch
 Refactor the AjaxFormSubmitBahvior implementation into its own class to be
 used by custom behaviors.  Altered the code to use the new class.

 inmethodgrid-insert.patch
 Add support for adding rows to the grid.

 As I said, my team have been successfully using (almost all of) these
 patches since at least June 2008.  The script patch is the only one that is
 a recent change.  I'd appreciate some feedback and if no objections are
 made, I'd like to get these patches into the scm.


 -
 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



Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread Martin Grigorov
It seems the attachments are lost.
Maybe you can paste them in some pastebin or something similar with a
longer lifetime.

On Mon, 2010-06-07 at 11:48 -0400, Charles Deal wrote:
 We've been using the grid for quite some time now and have accumulated
 a few changes to the codebase.  I'd like to submit them for other
 users to review and discuss, in the hopes that they will make it into
 the wicketstuff codebase in the future.  The following are brief
 descriptions of the attached files.
 
 inmethodgrid-script.patch 
 This patch simply adds a resize event to the grid.  We noticed that
 when the browser was resized, the grid wouldn't resize until the user
 attempted to scroll.
 
 inmethodgrid-columns.patch
 Some small changes to facilitate more code reuse.
 
 inmethodgrid-form.patch
 Move the header and toolbars into the form.  This allows the header to
 determine the form automatically so that, for example, when sorting a
 grid, the behavior can submit the form to retain any transient changes
 to the grid.
 
 inmethodgrid-gridbehavior.patch
 Refactor the AjaxFormSubmitBahvior implementation into its own class
 to be used by custom behaviors.  Altered the code to use the new
 class.
 
 inmethodgrid-insert.patch
 Add support for adding rows to the grid.
 
 As I said, my team have been successfully using (almost all of) these
 patches since at least June 2008.  The script patch is the only one
 that is a recent change.  I'd appreciate some feedback and if no
 objections are made, I'd like to get these patches into the scm.
 -
 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



Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread Charles Deal
Hopefully, this will be acceptable.  If anyone has a better suggestion for
filesharing, I'd love to hear it as I haven't done too much in this arena
and didn't know what the best choice would be.  I'll gladly put them in a
more accessible location.

http://www.mediafire.com/?sharekey=f4d5eaacac458520aaca48175a79d1c39375f9d008c7b5db3e34c0a955f98962

On Mon, Jun 7, 2010 at 12:08 PM, Martin Grigorov mcgreg...@e-card.bgwrote:

 It seems the attachments are lost.
 Maybe you can paste them in some pastebin or something similar with a
 longer lifetime.

 On Mon, 2010-06-07 at 11:48 -0400, Charles Deal wrote:
  We've been using the grid for quite some time now and have accumulated
  a few changes to the codebase.  I'd like to submit them for other
  users to review and discuss, in the hopes that they will make it into
  the wicketstuff codebase in the future.  The following are brief
  descriptions of the attached files.
 
  inmethodgrid-script.patch
  This patch simply adds a resize event to the grid.  We noticed that
  when the browser was resized, the grid wouldn't resize until the user
  attempted to scroll.
 
  inmethodgrid-columns.patch
  Some small changes to facilitate more code reuse.
 
  inmethodgrid-form.patch
  Move the header and toolbars into the form.  This allows the header to
  determine the form automatically so that, for example, when sorting a
  grid, the behavior can submit the form to retain any transient changes
  to the grid.
 
  inmethodgrid-gridbehavior.patch
  Refactor the AjaxFormSubmitBahvior implementation into its own class
  to be used by custom behaviors.  Altered the code to use the new
  class.
 
  inmethodgrid-insert.patch
  Add support for adding rows to the grid.
 
  As I said, my team have been successfully using (almost all of) these
  patches since at least June 2008.  The script patch is the only one
  that is a recent change.  I'd appreciate some feedback and if no
  objections are made, I'd like to get these patches into the scm.
  -
  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




Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread nino martinez wael
Hi Matej

I have a couple of patches too (adding the delete column and
dropdownproperty column).. And one or two bug reports as well..

2010/6/7 Matej Knopp matej.kn...@gmail.com:
 Hi,

 I'm too busy to review the patches now, also they didn't get through
 as the mailing list doesn't allow attachments.

 Perhaps when JIRA works on wicket stuff again you can create issues in
 grid project and attache the patches there.

 -Matej


 On Mon, Jun 7, 2010 at 5:48 PM, Charles Deal chuckdea...@gmail.com wrote:
 We've been using the grid for quite some time now and have accumulated a few
 changes to the codebase.  I'd like to submit them for other users to review
 and discuss, in the hopes that they will make it into the wicketstuff
 codebase in the future.  The following are brief descriptions of the
 attached files.

 inmethodgrid-script.patch
 This patch simply adds a resize event to the grid.  We noticed that when the
 browser was resized, the grid wouldn't resize until the user attempted to
 scroll.

 inmethodgrid-columns.patch
 Some small changes to facilitate more code reuse.

 inmethodgrid-form.patch
 Move the header and toolbars into the form.  This allows the header to
 determine the form automatically so that, for example, when sorting a grid,
 the behavior can submit the form to retain any transient changes to the
 grid.

 inmethodgrid-gridbehavior.patch
 Refactor the AjaxFormSubmitBahvior implementation into its own class to be
 used by custom behaviors.  Altered the code to use the new class.

 inmethodgrid-insert.patch
 Add support for adding rows to the grid.

 As I said, my team have been successfully using (almost all of) these
 patches since at least June 2008.  The script patch is the only one that is
 a recent change.  I'd appreciate some feedback and if no objections are
 made, I'd like to get these patches into the scm.


 -
 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



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



Re: Frustrating behavior ... same browser, same war, same tomcat version - different behavior!!!

2010-06-07 Thread fastone

Hi Recently,

I have seen a similar issue, on one server apache was forcing compatibility
view and on other its not doing that. So some js screwed up.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Frustrating-behavior-same-browser-same-war-same-tomcat-version-different-behavior-tp2243432p2246307.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: Guice Wicket Guice Proxy

2010-06-07 Thread nino martinez wael
sure:

public class ClassWithDao {

   public ClassWithDao() {
   InjectorHolder.getInjector().inject(this);
   }

   @Inject
   private transient PhoneDao phoneDao;

  public PhoneDao getPhoneDao() {
  return phoneDao;
 }

   public void setPhoneDao(PhoneDao phoneDao) {
   this.phoneDao = phoneDao;
   }

That's where I get the failure... And the working version you have seen..

2010/6/7 yaniv kessler yan...@gmail.com:
 Nino, can you show the ClassWithDao code before the so called ugliness was
 introduced?

 On Sun, Jun 6, 2010 at 1:44 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 im still working on the quickstart.. So far I've been unable to
 replicate.. I'll continue tomorrow

 2010/6/5 nino martinez wael nino.martinez.w...@gmail.com:
  I was too quick to say it worked, as it appears it does not. I'll try
  to make a quickstart based on legup, where should I put it? Just on
  jira?
 
  -Nino
 
  2010/6/4 nino martinez wael nino.martinez.w...@gmail.com:
  yeah me too, what Igor said worked so must be true or a bug.. I don't
  think it's a bug..
 
  2010/6/3 James Carman ja...@carmanconsulting.com:
  I thought the filters were executed in the order of their
  filter-mappings, not their filter definitions.
 
  On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or
 Coke?
 
  I spend a tremendous time trying to figure out what was wrong. I even
  considered going back to spring..
 
  regards Nino
 
  2010/6/3 Igor Vaynberg igor.vaynb...@gmail.com:
  noep, the filters are processed in the order they are defined in
  web.xml, move the wicket filter decl below the warp persist stuff.
 
  -igor
 
  On Thu, Jun 3, 2010 at 1:05 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  yes, i think so:
 
  ?xml version=1.0 encoding=ISO-8859-1?
  web-app xmlns=http://java.sun.com/xml/ns/j2ee;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
         xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
         version=2.4
 
         display-nameIVR Web frontend/display-name
 
         filter
                 filter-namewicket.WicketWarp/filter-name
 
  filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
                 init-param
                         param-nameapplicationClassName/param-name
 
  param-valuecom.netdesign.codan.webadmin.WicketApplication/param-value
                 /init-param
 
                 init-param
                         param-nameconfiguration/param-name
                         param-valuedeployment/param-value
                 /init-param
         /filter
 
         filter
                 filter-namewarpPersistFilter/filter-name
 
  filter-classcom.wideplay.warp.persist.PersistenceFilter/filter-class
         /filter
 
         filter-mapping
                 filter-namewarpPersistFilter/filter-name
                 url-pattern/*/url-pattern
         /filter-mapping
 
 
 
 
         filter-mapping
                 filter-namewicket.WicketWarp/filter-name
                 url-pattern/*/url-pattern
         /filter-mapping
 
 
  /web-app
 
 
  2010/6/2 Igor Vaynberg igor.vaynb...@gmail.com:
  did you install warp's open entity manager in view filter *before*
  wicket's filter?
 
  -igor
 
  On Wed, Jun 2, 2010 at 5:46 AM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
  Hi I somehow think theres something wrong with the Wicket Guice
 proxy
  (probably only if you are using guice 2  possibly warp persist)
 
  Anyhow I have had to change my LDM's to this code, notice the
 injector
  holder in the getter method really really bad. But if not I get an
  entity manager is closed:
 
  public class ClassWithDao {
 
         public ClassWithDao() {
                 InjectorHolder.getInjector().inject(this);
         }
 
        �...@inject
         private transient PhoneDao phoneDao;
 
         /**
          * This method contains a fix, should ordinary be avoided!
 There
  should be no need for calling the extra InjectorHolder method!
          * @return
          */
       public PhoneDao getPhoneDao() {
               InjectorHolder.getInjector().inject(this);
               return phoneDao;
       }
 
         public void setPhoneDao(PhoneDao phoneDao) {
                 this.phoneDao = phoneDao;
         }
 
  Am I doing anything wrong I wonder, however the first requests are
  always working it's after something has been trough the session
 store
  it goes wrong..
 
  -regards Nino
 
 
 -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 -
  To unsubscribe, e-mail: 

Re: CSS contest

2010-06-07 Thread nino martinez wael
Good question.. So of any of the contestees are looking, have you
completed your styling and CSS?

If so please put them up somewhere acessible, and if not please tell
that too.. I will then try make time to host them (on running wicket
examples), so we can vote...


[1]=can't remember Josh of you were one of them

regards Nino


2010/6/7 Josh Kamau joshnet2...@gmail.com:
 Hi guys;

 What became of the css contest?

 regards.
 Josh


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



Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-07 Thread Edward Zarecor
I'm pretty familiar with Jira and have upgraded a couple of instances
because of the same vulnerability.  If I could be of help getting Jira back
on-line, let me know.

Thanks.

Ed.


On Mon, Jun 7, 2010 at 1:22 PM, nino martinez wael 
nino.martinez.w...@gmail.com wrote:

 Hi Matej

 I have a couple of patches too (adding the delete column and
 dropdownproperty column).. And one or two bug reports as well..

 2010/6/7 Matej Knopp matej.kn...@gmail.com:
  Hi,
 
  I'm too busy to review the patches now, also they didn't get through
  as the mailing list doesn't allow attachments.
 
  Perhaps when JIRA works on wicket stuff again you can create issues in
  grid project and attache the patches there.
 
  -Matej
 
 
  On Mon, Jun 7, 2010 at 5:48 PM, Charles Deal chuckdea...@gmail.com
 wrote:
  We've been using the grid for quite some time now and have accumulated a
 few
  changes to the codebase.  I'd like to submit them for other users to
 review
  and discuss, in the hopes that they will make it into the wicketstuff
  codebase in the future.  The following are brief descriptions of the
  attached files.
 
  inmethodgrid-script.patch
  This patch simply adds a resize event to the grid.  We noticed that when
 the
  browser was resized, the grid wouldn't resize until the user attempted
 to
  scroll.
 
  inmethodgrid-columns.patch
  Some small changes to facilitate more code reuse.
 
  inmethodgrid-form.patch
  Move the header and toolbars into the form.  This allows the header to
  determine the form automatically so that, for example, when sorting a
 grid,
  the behavior can submit the form to retain any transient changes to the
  grid.
 
  inmethodgrid-gridbehavior.patch
  Refactor the AjaxFormSubmitBahvior implementation into its own class to
 be
  used by custom behaviors.  Altered the code to use the new class.
 
  inmethodgrid-insert.patch
  Add support for adding rows to the grid.
 
  As I said, my team have been successfully using (almost all of) these
  patches since at least June 2008.  The script patch is the only one that
 is
  a recent change.  I'd appreciate some feedback and if no objections are
  made, I'd like to get these patches into the scm.
 
 
  -
  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
 
 

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




Validation Messages

2010-06-07 Thread Brian Mulholland
This is probably a stupid question, but when I set up a validation
like required or a custom validator, I want the label in the message
to reflect a value other than the Id of the component.  How can I set
that to a value I'd prefer?

Brian Mulholland

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



Re: Validation Messages

2010-06-07 Thread Igor Vaynberg
first call setlabel on your formcomponent with the value that you want
to show up, then in the error message template use ${label} variable.

-igor

On Mon, Jun 7, 2010 at 10:54 AM, Brian Mulholland
blmulholl...@gmail.com wrote:
 This is probably a stupid question, but when I set up a validation
 like required or a custom validator, I want the label in the message
 to reflect a value other than the Id of the component.  How can I set
 that to a value I'd prefer?

 Brian Mulholland

 -
 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



Re: Guice Wicket Guice Proxy

2010-06-07 Thread Jorge Rodrigez
Why phoneDao is transient ?
Wicket-Guice injects a Serializable proxy and thus after deserialization the
field will be non-null.

On Mon, Jun 7, 2010 at 7:31 PM, nino martinez wael 
nino.martinez.w...@gmail.com wrote:

 sure:

 public class ClassWithDao {

   public ClassWithDao() {
   InjectorHolder.getInjector().inject(this);
   }

   @Inject
   private transient PhoneDao phoneDao;

   public PhoneDao getPhoneDao() {
   return phoneDao;
 }

   public void setPhoneDao(PhoneDao phoneDao) {
   this.phoneDao = phoneDao;
   }

 That's where I get the failure... And the working version you have seen..

 2010/6/7 yaniv kessler yan...@gmail.com:
  Nino, can you show the ClassWithDao code before the so called ugliness
 was
  introduced?
 
  On Sun, Jun 6, 2010 at 1:44 PM, nino martinez wael 
  nino.martinez.w...@gmail.com wrote:
 
  im still working on the quickstart.. So far I've been unable to
  replicate.. I'll continue tomorrow
 
  2010/6/5 nino martinez wael nino.martinez.w...@gmail.com:
   I was too quick to say it worked, as it appears it does not. I'll try
   to make a quickstart based on legup, where should I put it? Just on
   jira?
  
   -Nino
  
   2010/6/4 nino martinez wael nino.martinez.w...@gmail.com:
   yeah me too, what Igor said worked so must be true or a bug.. I don't
   think it's a bug..
  
   2010/6/3 James Carman ja...@carmanconsulting.com:
   I thought the filters were executed in the order of their
   filter-mappings, not their filter definitions.
  
   On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
   nino.martinez.w...@gmail.com wrote:
   Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or
  Coke?
  
   I spend a tremendous time trying to figure out what was wrong. I
 even
   considered going back to spring..
  
   regards Nino
  
   2010/6/3 Igor Vaynberg igor.vaynb...@gmail.com:
   noep, the filters are processed in the order they are defined in
   web.xml, move the wicket filter decl below the warp persist stuff.
  
   -igor
  
   On Thu, Jun 3, 2010 at 1:05 PM, nino martinez wael
   nino.martinez.w...@gmail.com wrote:
   yes, i think so:
  
   ?xml version=1.0 encoding=ISO-8859-1?
   web-app xmlns=http://java.sun.com/xml/ns/j2ee;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
  version=2.4
  
  display-nameIVR Web frontend/display-name
  
  filter
  filter-namewicket.WicketWarp/filter-name
  
 
  filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
  init-param
  
  param-nameapplicationClassName/param-name
  
 
  param-valuecom.netdesign.codan.webadmin.WicketApplication/param-value
  /init-param
  
  init-param
  param-nameconfiguration/param-name
  param-valuedeployment/param-value
  /init-param
  /filter
  
  filter
  filter-namewarpPersistFilter/filter-name
  
 
  filter-classcom.wideplay.warp.persist.PersistenceFilter/filter-class
  /filter
  
  filter-mapping
  filter-namewarpPersistFilter/filter-name
  url-pattern/*/url-pattern
  /filter-mapping
  
  
  
  
  filter-mapping
  filter-namewicket.WicketWarp/filter-name
  url-pattern/*/url-pattern
  /filter-mapping
  
  
   /web-app
  
  
   2010/6/2 Igor Vaynberg igor.vaynb...@gmail.com:
   did you install warp's open entity manager in view filter
 *before*
   wicket's filter?
  
   -igor
  
   On Wed, Jun 2, 2010 at 5:46 AM, nino martinez wael
   nino.martinez.w...@gmail.com wrote:
   Hi I somehow think theres something wrong with the Wicket Guice
  proxy
   (probably only if you are using guice 2  possibly warp
 persist)
  
   Anyhow I have had to change my LDM's to this code, notice the
  injector
   holder in the getter method really really bad. But if not I get
 an
   entity manager is closed:
  
   public class ClassWithDao {
  
  public ClassWithDao() {
  InjectorHolder.getInjector().inject(this);
  }
  
  @Inject
  private transient PhoneDao phoneDao;
  
  /**
   * This method contains a fix, should ordinary be
 avoided!
  There
   should be no need for calling the extra InjectorHolder method!
   * @return
   */
public PhoneDao getPhoneDao() {
InjectorHolder.getInjector().inject(this);
return phoneDao;
}
  
  public void setPhoneDao(PhoneDao phoneDao) {
  this.phoneDao = phoneDao;
  }
  
   Am I doing anything wrong I wonder, however the first requests
 are
   always working it's after something has been trough the session
  store
   it goes wrong..
  
   

Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-07 Thread Decebal Suiu

Thanks, I will try. The problem with your approach is that in our application
each tab is a section that can be added using spring framework (modular
architecture). For example the dashboards tab has many widget panels, each
widget panel is auto refreshable (different time for different widget). Also
each tab supports contributors (you can add panels, fragments that can be
auto refreshable). I think that will be better to stop/remove behaviors
automatically on tab switch and not to force each contributor to do it.
What's mean for you outside the tab?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TabbedPanel-with-AjaxSelfUpdatingTimerBehavior-tp2243691p2246419.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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



Re: TabbedPanel with AjaxSelfUpdatingTimerBehavior

2010-06-07 Thread Ernesto Reinaldo Barreiro
I mean to have the timer attached to a component that is a sibling of
the tab. You could register component as listener of this behavior and
have the timer ask the components if the have changes to repaint.

I´m not sure but the problem you have might happen as follows:

1-When you switch tabs you stop the behavior at server side.
2-On client side there is a queued AJAX request (timer) asking to
refresh a component.
3-When tab is switched the component the timer is trying to address
is no longer on the path  specified by the request.

If timer is on a sibling f the tab this will not happen.

Ernesto

On Mon, Jun 7, 2010 at 9:16 PM, Decebal Suiu decebal.s...@asf.ro wrote:

 Thanks, I will try. The problem with your approach is that in our application
 each tab is a section that can be added using spring framework (modular
 architecture). For example the dashboards tab has many widget panels, each
 widget panel is auto refreshable (different time for different widget). Also
 each tab supports contributors (you can add panels, fragments that can be
 auto refreshable). I think that will be better to stop/remove behaviors
 automatically on tab switch and not to force each contributor to do it.
 What's mean for you outside the tab?
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/TabbedPanel-with-AjaxSelfUpdatingTimerBehavior-tp2243691p2246419.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 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



AjaxSelfUpdatingTimerBehavior refreshing Entire Page

2010-06-07 Thread Ayodeji Aladejebi
Hi,
I placed AjaxSelfUpdatingTimerBehavior on a component of an Application and
rather than refresh the component only, its refreshing the entire page.
its acting like i clicked on browser refresh button
 Pls what did I do wrong

projectPostCont.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));


Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-07 Thread Rodolfo Hansen
Changes I made on my own code I could push-back. 

Some helper code; auto-caching of compiled jrxml; and support for
accepting PDF Form submitions...

On Mon, 2010-06-07 at 11:07 -0400, Charles Deal wrote:

 The first set of code I wanted to push back was just some housekeeping
 stuff.  Use slf4j, reference wicketstuff-core, minor html changes.
 
 After that, I will look at anything that I did in my own code to customize
 it and see if i can push any of that back.
 
 What kind of changes did you have in mind for the project?
 
 
 On Mon, Jun 7, 2010 at 10:44 AM, Rodolfo Hansen rhan...@kitsd.com wrote:
 
  I think I have a couple of lines of code I can submit,
 
  And I can help you out in case you need any help.
 
  On Mon, Jun 7, 2010 at 8:16 AM, Charles Deal chuckdea...@gmail.com
  wrote:
 
   Excellent.  sf username: cdeal
  
   First things first then.  If I get some patches put into scm other people
   will see that it is still a viable project.  Then as I get time, I'll
   extract some of my code into some kind of example.
  
   What are the requirements for building with core and who do I contact to
   get
   this included in the core build process?
  
   On Thu, Jun 3, 2010 at 5:24 PM, nino martinez wael 
   nino.martinez.w...@gmail.com wrote:
  
go for commit rights. And for requirements it would be good to have an
example project other than that it should just be working :)
   
   
   
2010/6/3 Charles Deal chuckdea...@gmail.com:
 Is anyone out there maintaining/using this library?

 I am using it and I have a handful of modifications that I'd like to
   push
 back into the source tree.  Should I prepare a patch and JIRA issue
  or
shall
 I pursue commit access for this library?

 I would also like to get it hooked into the build process.  It seems
   like
I
 only need to add the wicketstuff-core reference to this pom and have
   the
 wicketstuff-core pom updated to include this  module.  What else
  needs
   to
be
 done?  Are there specific requirements for a library to be part of
  the
 wicketstuff-core build?

   
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
   
   
  
 
 
 
  --
  Rodolfo Hansen
  CTO, KindleIT Software Development
  Email: rhan...@kitsd.com
  Mobile: +1 (809) 860-6669
 




devolpment environment and externalizables html in a different server (url)

2010-06-07 Thread Fernando Wermus
Hi all,
We would like to set up a deveolpment environment for some developers
who are not in the same office. We think that externalizing the html in a
different server could improve the independence between different free
lancers and we don't need to set up the server for this case, just to have a
ftp to upload html files, etc. What do you think about? Could this be done
with wicket? Any help would be appreciate it.

thanks in advance



-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus


Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?

2010-06-07 Thread nino martinez wael
youve been added.

As for the requirement with core, I think you just need to add the
project to the pom on core, I'd suggest looking at one of the projects
thats already in there (so you can copy and paste)..

regards Nino

2010/6/7 Charles Deal chuckdea...@gmail.com:
 Excellent.  sf username: cdeal

 First things first then.  If I get some patches put into scm other people
 will see that it is still a viable project.  Then as I get time, I'll
 extract some of my code into some kind of example.

 What are the requirements for building with core and who do I contact to get
 this included in the core build process?

 On Thu, Jun 3, 2010 at 5:24 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 go for commit rights. And for requirements it would be good to have an
 example project other than that it should just be working :)



 2010/6/3 Charles Deal chuckdea...@gmail.com:
  Is anyone out there maintaining/using this library?
 
  I am using it and I have a handful of modifications that I'd like to push
  back into the source tree.  Should I prepare a patch and JIRA issue or
 shall
  I pursue commit access for this library?
 
  I would also like to get it hooked into the build process.  It seems like
 I
  only need to add the wicketstuff-core reference to this pom and have the
  wicketstuff-core pom updated to include this  module.  What else needs to
 be
  done?  Are there specific requirements for a library to be part of the
  wicketstuff-core build?
 

 -
 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



Re: Guice Wicket Guice Proxy

2010-06-07 Thread yaniv kessler
I agree with Jorge here and additionally, would like to ask what is the
motivation to use InjectorHolder directly?

Are you simply doing new ClassWithDao() somewhere in your code ?

On Mon, Jun 7, 2010 at 9:21 PM, Jorge Rodrigez mg.mli...@gmail.com wrote:

 Why phoneDao is transient ?
 Wicket-Guice injects a Serializable proxy and thus after deserialization
 the
 field will be non-null.

 On Mon, Jun 7, 2010 at 7:31 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

  sure:
 
  public class ClassWithDao {
 
public ClassWithDao() {
InjectorHolder.getInjector().inject(this);
}
 
@Inject
private transient PhoneDao phoneDao;
 
public PhoneDao getPhoneDao() {
return phoneDao;
  }
 
public void setPhoneDao(PhoneDao phoneDao) {
this.phoneDao = phoneDao;
}
 
  That's where I get the failure... And the working version you have seen..
 
  2010/6/7 yaniv kessler yan...@gmail.com:
   Nino, can you show the ClassWithDao code before the so called
 ugliness
  was
   introduced?
  
   On Sun, Jun 6, 2010 at 1:44 PM, nino martinez wael 
   nino.martinez.w...@gmail.com wrote:
  
   im still working on the quickstart.. So far I've been unable to
   replicate.. I'll continue tomorrow
  
   2010/6/5 nino martinez wael nino.martinez.w...@gmail.com:
I was too quick to say it worked, as it appears it does not. I'll
 try
to make a quickstart based on legup, where should I put it? Just on
jira?
   
-Nino
   
2010/6/4 nino martinez wael nino.martinez.w...@gmail.com:
yeah me too, what Igor said worked so must be true or a bug.. I
 don't
think it's a bug..
   
2010/6/3 James Carman ja...@carmanconsulting.com:
I thought the filters were executed in the order of their
filter-mappings, not their filter definitions.
   
On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or
   Coke?
   
I spend a tremendous time trying to figure out what was wrong. I
  even
considered going back to spring..
   
regards Nino
   
2010/6/3 Igor Vaynberg igor.vaynb...@gmail.com:
noep, the filters are processed in the order they are defined in
web.xml, move the wicket filter decl below the warp persist
 stuff.
   
-igor
   
On Thu, Jun 3, 2010 at 1:05 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
yes, i think so:
   
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
   version=2.4
   
   display-nameIVR Web frontend/display-name
   
   filter
   filter-namewicket.WicketWarp/filter-name
   
  
 
  filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
   init-param
   
   param-nameapplicationClassName/param-name
   
  
 
  param-valuecom.netdesign.codan.webadmin.WicketApplication/param-value
   /init-param
   
   init-param
   param-nameconfiguration/param-name
   param-valuedeployment/param-value
   /init-param
   /filter
   
   filter
   filter-namewarpPersistFilter/filter-name
   
  
   filter-classcom.wideplay.warp.persist.PersistenceFilter/filter-class
   /filter
   
   filter-mapping
   filter-namewarpPersistFilter/filter-name
   url-pattern/*/url-pattern
   /filter-mapping
   
   
   
   
   filter-mapping
   filter-namewicket.WicketWarp/filter-name
   url-pattern/*/url-pattern
   /filter-mapping
   
   
/web-app
   
   
2010/6/2 Igor Vaynberg igor.vaynb...@gmail.com:
did you install warp's open entity manager in view filter
  *before*
wicket's filter?
   
-igor
   
On Wed, Jun 2, 2010 at 5:46 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Hi I somehow think theres something wrong with the Wicket
 Guice
   proxy
(probably only if you are using guice 2  possibly warp
  persist)
   
Anyhow I have had to change my LDM's to this code, notice the
   injector
holder in the getter method really really bad. But if not I
 get
  an
entity manager is closed:
   
public class ClassWithDao {
   
   public ClassWithDao() {
   InjectorHolder.getInjector().inject(this);
   }
   
   @Inject
   private transient PhoneDao phoneDao;
   
   /**
* This method contains a fix, should ordinary be
  avoided!
   There
should be no need for calling the extra InjectorHolder
 method!
* @return
*/
 

Open Wicket project

2010-06-07 Thread Meaders, Jason (04210)
Good afternoon,
 I am looking for a senior developer with extremely strong wicket skills to 
assist a client of ours with a large implementation.  The position will require 
working on site in Utah for 3-6 months.  It could be a contract to hire 
position if someone were interested in that.  Do you happen to know anyone who 
might be available, interested, and qualified?
Thanks in advance for your response.

Cordially,

Jason Meaders
Robert Half Technology
Salt Lake City, UT
Office: 801-364-5490
Direct: 801-401-2395 ext 27815
Cell: 801-647-8222
http://www.rht.comhttp://www.rht.com/
jason.mead...@rht.commailto:jason.mead...@rht.com

[cid:image001.gif@01CB065E.3A0EEBE0]http://www.linkedin.com/in/jasonmeaders



Re: Guice Wicket Guice Proxy

2010-06-07 Thread nino martinez wael
in my trying to fix the problem, I read about a bug regarding this.
However it is probably fixed now (was an old thread)..

2010/6/7 Jorge Rodrigez mg.mli...@gmail.com:
 Why phoneDao is transient ?
 Wicket-Guice injects a Serializable proxy and thus after deserialization the
 field will be non-null.

 On Mon, Jun 7, 2010 at 7:31 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 sure:

 public class ClassWithDao {

       public ClassWithDao() {
               InjectorHolder.getInjector().inject(this);
       }

       @Inject
       private transient PhoneDao phoneDao;

       public PhoneDao getPhoneDao() {
               return phoneDao;
     }

       public void setPhoneDao(PhoneDao phoneDao) {
               this.phoneDao = phoneDao;
       }

 That's where I get the failure... And the working version you have seen..

 2010/6/7 yaniv kessler yan...@gmail.com:
  Nino, can you show the ClassWithDao code before the so called ugliness
 was
  introduced?
 
  On Sun, Jun 6, 2010 at 1:44 PM, nino martinez wael 
  nino.martinez.w...@gmail.com wrote:
 
  im still working on the quickstart.. So far I've been unable to
  replicate.. I'll continue tomorrow
 
  2010/6/5 nino martinez wael nino.martinez.w...@gmail.com:
   I was too quick to say it worked, as it appears it does not. I'll try
   to make a quickstart based on legup, where should I put it? Just on
   jira?
  
   -Nino
  
   2010/6/4 nino martinez wael nino.martinez.w...@gmail.com:
   yeah me too, what Igor said worked so must be true or a bug.. I don't
   think it's a bug..
  
   2010/6/3 James Carman ja...@carmanconsulting.com:
   I thought the filters were executed in the order of their
   filter-mappings, not their filter definitions.
  
   On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
   nino.martinez.w...@gmail.com wrote:
   Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or
  Coke?
  
   I spend a tremendous time trying to figure out what was wrong. I
 even
   considered going back to spring..
  
   regards Nino
  
   2010/6/3 Igor Vaynberg igor.vaynb...@gmail.com:
   noep, the filters are processed in the order they are defined in
   web.xml, move the wicket filter decl below the warp persist stuff.
  
   -igor
  
   On Thu, Jun 3, 2010 at 1:05 PM, nino martinez wael
   nino.martinez.w...@gmail.com wrote:
   yes, i think so:
  
   ?xml version=1.0 encoding=ISO-8859-1?
   web-app xmlns=http://java.sun.com/xml/ns/j2ee;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
          xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
          version=2.4
  
          display-nameIVR Web frontend/display-name
  
          filter
                  filter-namewicket.WicketWarp/filter-name
  
 
  filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
                  init-param
  
  param-nameapplicationClassName/param-name
  
 
  param-valuecom.netdesign.codan.webadmin.WicketApplication/param-value
                  /init-param
  
                  init-param
                          param-nameconfiguration/param-name
                          param-valuedeployment/param-value
                  /init-param
          /filter
  
          filter
                  filter-namewarpPersistFilter/filter-name
  
 
  filter-classcom.wideplay.warp.persist.PersistenceFilter/filter-class
          /filter
  
          filter-mapping
                  filter-namewarpPersistFilter/filter-name
                  url-pattern/*/url-pattern
          /filter-mapping
  
  
  
  
          filter-mapping
                  filter-namewicket.WicketWarp/filter-name
                  url-pattern/*/url-pattern
          /filter-mapping
  
  
   /web-app
  
  
   2010/6/2 Igor Vaynberg igor.vaynb...@gmail.com:
   did you install warp's open entity manager in view filter
 *before*
   wicket's filter?
  
   -igor
  
   On Wed, Jun 2, 2010 at 5:46 AM, nino martinez wael
   nino.martinez.w...@gmail.com wrote:
   Hi I somehow think theres something wrong with the Wicket Guice
  proxy
   (probably only if you are using guice 2  possibly warp
 persist)
  
   Anyhow I have had to change my LDM's to this code, notice the
  injector
   holder in the getter method really really bad. But if not I get
 an
   entity manager is closed:
  
   public class ClassWithDao {
  
          public ClassWithDao() {
                  InjectorHolder.getInjector().inject(this);
          }
  
         �...@inject
          private transient PhoneDao phoneDao;
  
          /**
           * This method contains a fix, should ordinary be
 avoided!
  There
   should be no need for calling the extra InjectorHolder method!
           * @return
           */
        public PhoneDao getPhoneDao() {
                InjectorHolder.getInjector().inject(this);
                return phoneDao;
        }
  
          public void setPhoneDao(PhoneDao phoneDao) {
                  this.phoneDao = phoneDao;
          }

Re: Guice Wicket Guice Proxy

2010-06-07 Thread nino martinez wael
Well as I manually create the the loadabledetachmodel which extends
the ClassWithDao, it has to call injectorholder. I am not aware of any
other method that can solve this..

2010/6/8 yaniv kessler yan...@gmail.com:
 I agree with Jorge here and additionally, would like to ask what is the
 motivation to use InjectorHolder directly?

 Are you simply doing new ClassWithDao() somewhere in your code ?

 On Mon, Jun 7, 2010 at 9:21 PM, Jorge Rodrigez mg.mli...@gmail.com wrote:

 Why phoneDao is transient ?
 Wicket-Guice injects a Serializable proxy and thus after deserialization
 the
 field will be non-null.

 On Mon, Jun 7, 2010 at 7:31 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

  sure:
 
  public class ClassWithDao {
 
        public ClassWithDao() {
                InjectorHolder.getInjector().inject(this);
        }
 
        @Inject
        private transient PhoneDao phoneDao;
 
        public PhoneDao getPhoneDao() {
                return phoneDao;
      }
 
        public void setPhoneDao(PhoneDao phoneDao) {
                this.phoneDao = phoneDao;
        }
 
  That's where I get the failure... And the working version you have seen..
 
  2010/6/7 yaniv kessler yan...@gmail.com:
   Nino, can you show the ClassWithDao code before the so called
 ugliness
  was
   introduced?
  
   On Sun, Jun 6, 2010 at 1:44 PM, nino martinez wael 
   nino.martinez.w...@gmail.com wrote:
  
   im still working on the quickstart.. So far I've been unable to
   replicate.. I'll continue tomorrow
  
   2010/6/5 nino martinez wael nino.martinez.w...@gmail.com:
I was too quick to say it worked, as it appears it does not. I'll
 try
to make a quickstart based on legup, where should I put it? Just on
jira?
   
-Nino
   
2010/6/4 nino martinez wael nino.martinez.w...@gmail.com:
yeah me too, what Igor said worked so must be true or a bug.. I
 don't
think it's a bug..
   
2010/6/3 James Carman ja...@carmanconsulting.com:
I thought the filters were executed in the order of their
filter-mappings, not their filter definitions.
   
On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or
   Coke?
   
I spend a tremendous time trying to figure out what was wrong. I
  even
considered going back to spring..
   
regards Nino
   
2010/6/3 Igor Vaynberg igor.vaynb...@gmail.com:
noep, the filters are processed in the order they are defined in
web.xml, move the wicket filter decl below the warp persist
 stuff.
   
-igor
   
On Thu, Jun 3, 2010 at 1:05 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
yes, i think so:
   
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
       xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
       version=2.4
   
       display-nameIVR Web frontend/display-name
   
       filter
               filter-namewicket.WicketWarp/filter-name
   
  
 
  filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
               init-param
   
   param-nameapplicationClassName/param-name
   
  
 
  param-valuecom.netdesign.codan.webadmin.WicketApplication/param-value
               /init-param
   
               init-param
                       param-nameconfiguration/param-name
                       param-valuedeployment/param-value
               /init-param
       /filter
   
       filter
               filter-namewarpPersistFilter/filter-name
   
  
   filter-classcom.wideplay.warp.persist.PersistenceFilter/filter-class
       /filter
   
       filter-mapping
               filter-namewarpPersistFilter/filter-name
               url-pattern/*/url-pattern
       /filter-mapping
   
   
   
   
       filter-mapping
               filter-namewicket.WicketWarp/filter-name
               url-pattern/*/url-pattern
       /filter-mapping
   
   
/web-app
   
   
2010/6/2 Igor Vaynberg igor.vaynb...@gmail.com:
did you install warp's open entity manager in view filter
  *before*
wicket's filter?
   
-igor
   
On Wed, Jun 2, 2010 at 5:46 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Hi I somehow think theres something wrong with the Wicket
 Guice
   proxy
(probably only if you are using guice 2  possibly warp
  persist)
   
Anyhow I have had to change my LDM's to this code, notice the
   injector
holder in the getter method really really bad. But if not I
 get
  an
entity manager is closed:
   
public class ClassWithDao {
   
       public ClassWithDao() {
               InjectorHolder.getInjector().inject(this);
       }
   
      �...@inject
       private transient 

Re: AjaxSelfUpdatingTimerBehavior refreshing Entire Page

2010-06-07 Thread nino martinez wael
hmm why use ajax for that? Is it something you add during the
interaction with the page or is it something that are always happing
on the page?

-Nino

2010/6/7 Ayodeji Aladejebi aladej...@gmail.com:
 Hi,
 I placed AjaxSelfUpdatingTimerBehavior on a component of an Application and
 rather than refresh the component only, its refreshing the entire page.
 its acting like i clicked on browser refresh button
  Pls what did I do wrong

 projectPostCont.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));


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



Re: strange error

2010-06-07 Thread nino martinez wael
well the submitted value does not match any of the id's for any of the
radio components in that hierarchy. Or at least thats what I deduct..
Are you using ajax?

2010/6/7 Douglas Ferguson doug...@douglasferguson.us:
 Does anybody know what might cause this?

 org.apache.wicket.WicketRuntimeException:submitted http post value 
 [radio-32719] for RadioGroup component [1:subPanel:linkForm:siteWide]
 is illegal because it does not contain relative path to a Radio componnet.
 Due to this the RadioGroup component cannot resolve the selected
 Radio component pointed to by the illegal value.
 A possible reason is that componment hierarchy changed between rendering and 
 form submission.



 -
 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