Re: Possible bug in ListView [Cannot change attributes in ListView div]

2013-02-23 Thread Ernesto Reinaldo Barreiro
Try






On Sun, Feb 24, 2013 at 2:40 AM, Gonzalo Aguilar Delgado <
gagui...@aguilardelgado.com> wrote:

> Hello,
>
> I think I found something that may not be working right.
>
> I have an html that looks like:
>
> 
> 
> 
>
>
> regionOne will be a listview and regionWidget will be one panel
> populated on populateItem.
>
>
> This is how it looks the class that will go to regionOne (listview)
>
> public class RegionWidgetContainer extends ListView {
> /**
>  *
>  */
> private static final long serialVersionUID = 1L;
> final static Logger logger =
> LoggerFactory.getLogger(RegionWidgetContainer.class);
> private static int regionCounter = 1;
>
> private int regionIdx=0;
>
> public RegionWidgetContainer(String id, final Region region,
> PageUser
> pageUser) {
> super(id, new IModel>(){
>
> /**
>  *
>  */
> private static final long serialVersionUID = 1L;
>
> @Override
> public void detach() {
> // TODO Auto-generated method stub
> }
>
> @Override
> public List getObject() {
> return region.getRegionWidgets();
> }
>
> @Override
> public void setObject(List object) {
> }
>
> });
> regionIdx = RegionWidgetContainer.nextCounter();
> buildCssClassAttributes(region,pageUser);
> this.setMarkupId("region-" + region.getId() + "-id");
> this.setOutputMarkupId(true);
> }
>
> protected void buildCssClassAttributes(Region region, PageUser
> pageUser)
> {
> String cssClass = "region";
> if(region.isLocked() || !pageUser.isEditor())
> {
> cssClass += " region-locked";
> }
>
> cssClass += " " +
> region.getPage().getPageLayout().getCode() + "_" +
> String.valueOf(regionIdx);
> cssClass += " regionNonDragging";
>
>
> this.add(new AttributeAppender("class", cssClass));
> }
> ...
> }
>
>
>
> As you can see it will add the class via AttributeAppender and will set
> the markup id.
>
>
> But it does not work. Any of two. The div is rendered like this...
>
> 
> ...
> 
>
>
> So, is this a bug or a feature?
>
>


-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ 


Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
No..actually that was causing some issues. So I followed your suggestions
like I posted. One thing I would like to ask is in Scribe, how to get
specific Facebook information like name or first name. getBody gives entire
information. Do I need to parse that or there is any shortcut?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656726.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
Thank you very much for the approach. With your suggestions and
http://javajing.com/2012/12/12/scribe-facebook-oauth.html, I am able to make
out facebook login :)



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656725.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Possible bug in ListView [Cannot change attributes in ListView div]

2013-02-23 Thread Gonzalo Aguilar Delgado
Hello, 

I think I found something that may not be working right. 

I have an html that looks like:






regionOne will be a listview and regionWidget will be one panel
populated on populateItem.


This is how it looks the class that will go to regionOne (listview)

public class RegionWidgetContainer extends ListView {
/**
 * 
 */
private static final long serialVersionUID = 1L;
final static Logger logger =
LoggerFactory.getLogger(RegionWidgetContainer.class);
private static int regionCounter = 1;

private int regionIdx=0;

public RegionWidgetContainer(String id, final Region region, PageUser
pageUser) {
super(id, new IModel>(){

/**
 * 
 */
private static final long serialVersionUID = 1L;

@Override
public void detach() {
// TODO Auto-generated method stub
}

@Override
public List getObject() {
return region.getRegionWidgets();
}

@Override
public void setObject(List object) {
}

});
regionIdx = RegionWidgetContainer.nextCounter();
buildCssClassAttributes(region,pageUser);
this.setMarkupId("region-" + region.getId() + "-id");   
this.setOutputMarkupId(true);
}

protected void buildCssClassAttributes(Region region, PageUser
pageUser)
{
String cssClass = "region";
if(region.isLocked() || !pageUser.isEditor())
{
cssClass += " region-locked";
}

cssClass += " " + region.getPage().getPageLayout().getCode() + 
"_" +
String.valueOf(regionIdx);
cssClass += " regionNonDragging";


this.add(new AttributeAppender("class", cssClass));
}
...
}



As you can see it will add the class via AttributeAppender and will set
the markup id. 


But it does not work. Any of two. The div is rendered like this...


...



So, is this a bug or a feature?



RE: Dropdown choice value being set to default

2013-02-23 Thread Paul Bors
The magic of matching values with your objects is in the ChoiceRenderer as
that's the one that matches between your domain objects and the HTML's
Display Value in your drop down.

It might be that you're using the default ChoiceRenderer and maybe is not
mapping right to your domain object (setObject as you called it should have
worked).

~ Thank you,
  Paul Bors

-Original Message-
From: venkat [mailto:venkatesh.b...@gmail.com] 
Sent: Saturday, February 23, 2013 3:29 AM
To: users@wicket.apache.org
Subject: Re: Dropdown choice value being set to default

Makes Sense. Let me try working wiht Model rather than Model object, however
still one doubt itches on my mind, how come when the selected option is not
equal to defaultModelObject it is able to Change that. Thanks for your
time!!!

Thanks
Venkat

On Sat, Feb 23, 2013 at 12:32 AM, Paul Bors [via Apache Wicket] <
ml-node+s1842946n4656699...@n4.nabble.com> wrote:

> TabbedPanel is a Panel so I don't think that might affect you negative.
>
> And since your drop down changes, you know for sure it is refreshed.
> Since it goes back to the default value rather than the one you 
> expected after you changed the model object you know that something is
wrong there.
> Maybe the object you set it to is not one of the options?
>
> That's why I was suggesting not using setDefaultModelObject() since 
> that's not type safe right?
> Try grabbing the type safe model, and see if setting its object to one 
> of the options in the list (pay attention to the choice renderer 
> you're using too).
>
> ~ Thank you,
>Paul Bors
>
> On Fri, Feb 22, 2013 at 12:33 PM, venkat <[hidden 
> email]>
> wrote:
>
> > Hi Pal,
> >
> > Thanks for your quick response, Have the same, on popup submit have 
> > done
> as
> > below
> >
> > sourceComponent.setDefaultModelObject(newSelection);
> >
> > some how post render it is setting it to default for the case when 
> > newly selected value and the already selected value is same. One 
> > doubt i have
> is
> > , my drop down is resided in a panel under a tabbed panel . Is not 
> > it
> some
> > thing wong with Tabbed Panel ?
> >
> > Thanks
> >
> > Venkat
> >
> >
> >
> >
> >
> >
> > On Fri, Feb 22, 2013 at 10:57 PM, Paul Bors [via Apache Wicket] < 
> > [hidden email] 
> > >
> wrote:
> >
> > > I think your question is too vauge for a quick response but...
> > >
> > > Why not hold on to a reference of the model for the component 
> > > you're trying to change (the drop-down) and update it directly 
> > > from the pop-up
> rather
> > > than setting the default module object? Use Ajax and add the 
> > > drop-down
> to
> > > your target when you click the submit button on the pop-up.
> > >
> > > ~ Thank you,
> > >Paul Bors
> > >
> > > On Fri, Feb 22, 2013 at 8:45 AM, venkat <[hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4656695&i=0>>
> > > wrote:
> > >
> > > > Hi ,
> > > >
> > > > I have a scenario, where from a Page link have to render a popup
> window
> > > and
> > > > on submit of the popup window have to set the drop down selected
> value
> > > >  from
> > > > popup window.
> > > >
> > > > My dropdown bix is inside a panel of Tab.
> > > >
> > > > It works fine when the already selected value of drop down and 
> > > > new
> > value
> > > > being set from doprdown are different. however when both the 
> > > > values
> are
> > > > same
> > > > it sets the selected value to default choice.
> > > >
> > > > Am using this code in Wicket Modal Window OnClose() event
> > > >
> > > > sourceComponent.setDefaultModelObject(newlyselectedValue);
> > > >
> > > > I would appreciate a quick response.
> > > >
> > > > Thanks in advance!
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/Dropdown-choice-value-being
> -set-to-default-tp4656684.html
> > > > Sent from the Users forum mailing list archive at Nabble.com.
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4656695&i=1>
> > > > For additional commands, e-mail: [hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4656695&i=2>
> > > >
> > > >
> > > ~ Thank you,
> > > [hidden 
> > > email]
> > >
> > >
> > > --
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/Dropdown-choice-value-being
> -set-to-default-tp4656684p4656695.html
> > > To unsubscribe from Dropdown choice value being set to default, 
> > > click
> > here<
> >
> >
> > > .
> > > NAML<
> >
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?ma
> cro=macro_viewer&id=instant_html%21nabble%3Aemail.

Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread Stephen Walsh
Good.  Hope that works out for you.

___
Stephen Walsh | http://connectwithawalsh.com


On Sat, Feb 23, 2013 at 1:00 PM, kshitiz  wrote:

> Yes...actually there is something that I
> found...
> https://cwiki.apache.org/WICKET/adding-facebook-connect-via-javascript-sdk.html
> .
> It is using restFB.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656718.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
Yes...actually there is something that I
found...https://cwiki.apache.org/WICKET/adding-facebook-connect-via-javascript-sdk.html.
It is using restFB.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656718.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: get rid of LazyLoadException

2013-02-23 Thread Cedric Gatay
I think you need to carefully understand how the Hibernate Session works.
This exception usually occurs when you try to access an object that has not
been loaded from your database in your components but the session is
already closed.

Regards,

__
Cedric Gatay
http://www.bloggure.info | http://cedric.gatay.fr |
@Cedric_Gatay


On Sat, Feb 23, 2013 at 5:48 PM, Evgheni Emelianov wrote:

> Hi there, i am looking for a got way to get rid of my LazyLoadException in
> my Project, I'm using javaee 6 with hibernate 4.1.1 and
> wicketstuff-javaee-inject and don't know which is the best way to solve it?
> some good links or examples would help.
>
>
> Evgheni
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


get rid of LazyLoadException

2013-02-23 Thread Evgheni Emelianov
Hi there, i am looking for a got way to get rid of my LazyLoadException in my 
Project, I'm using javaee 6 with hibernate 4.1.1 and wicketstuff-javaee-inject 
and don't know which is the best way to solve it? some good links or examples 
would help.


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



Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread Stephen Walsh
I am currently using these maven dependencies:

• restfb
• scribe oauth

I used Facebook's server side authentication method from here:
https://developers.facebook.com/docs/howtos/login/server-side-login/
The example is in PHP but it's very easy to translate to java.

1). create an app with Facebook.
2). authorize it with Scribe using the Facebook API that is implemented in
his code.
3). Send user to authorization URL, get a code back as a page parameter.
4). Request the permissions that the user authorized your app for from the
authorization URL. Using restfb.
5). Display or manipulate user as needed.

Restfb is the newer version of the original code that you were using.

On Saturday, February 23, 2013, kshitiz wrote:

> I was looking for more approaches for Facebook login and someone told me
> about this https://github.com/wicketstuff/core/wiki/Facebook. Has anyone
> tried out that API? I am really looking for a good solution for integrating
> wicket app with Facebook. Please tell me the available approaches.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656714.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org 
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-- 
___
Stephen Walsh | http://connectwithawalsh.com


Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
I was looking for more approaches for Facebook login and someone told me
about this https://github.com/wicketstuff/core/wiki/Facebook. Has anyone
tried out that API? I am really looking for a good solution for integrating
wicket app with Facebook. Please tell me the available approaches.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656714.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: shared models - rules

2013-02-23 Thread grazia
Made it, CompoundPropertyModels, used correctly, made things work.

On Fri, Feb 22, 2013 at 6:49 PM, Grazia Russo Lassner <
grazia.russolass...@gmail.com> wrote:

> THank you for the suggestion. It prints the MyClass object but nothing has
> ben set. Not even the converter of the AUtoCompleteTextFiled is being
> called ... I cannot figure out why ...
>
>
> On Fri, Feb 22, 2013 at 5:08 PM, duesenklipper [via Apache Wicket] <
> ml-node+s1842946n4656705...@n4.nabble.com> wrote:
>
>> > form.add(new Button("appointButton") {
>> >
>> > public void onSubmit() {
>> > System.out.println("HERE = " + getModelObject() );
>> > <-- whatever it is the choice in the autocomplete which is within
>> > the MyPersonnelPanel this is always null
>> >
>> > }
>> >
>>
>> I didn't look at the rest of the code yet since it's pretty late here,
>> but this definitely won't work. You're calling the Button's
>> getModelObject(), not the Form's, since at this point you're in the
>> Button's onSubmit(), so "this" would be the Button. You don't give the
>> button a model, so you're getting null. If you want to use it in there,
>> you can for example call form.getModelObject().
>>
>> Carl-Eric
>>
>> -
>> To unsubscribe, e-mail: [hidden 
>> email]
>> For additional commands, e-mail: [hidden 
>> email]
>>
>>
>>
>> --
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://apache-wicket.1842946.n4.nabble.com/shared-models-rules-tp4656700p4656705.html
>>  To unsubscribe from shared models - rules, click 
>> here
>> .
>> NAML
>>
>
>




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/shared-models-rules-tp4656700p4656713.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: 404 error in nested ModalWindow IE 7

2013-02-23 Thread Martin Grigorov
Hi,

There was such issue before but as far as I remember it was fixed.
Look in Jira. There is also a special code for IE7/8 in ModalWindow.java


On Sat, Feb 23, 2013 at 2:40 AM, Jered Myers
wrote:

> The same problem happens in IE 8.  Using development mode (F12) in IE9+ to
> lower the browser version will not replicate the problem.
>
>
> On 02/22/2013 03:23 PM, Jered Myers wrote:
>
>> Wicket 6.5
>>
>> I am getting a 404 error in IE 7 when I open a ModalWindow in a
>> ModalWindow.  Both windows use page creators.  Has anybody run into this
>> before?  The code works fine in Firefox, Chrome, and lE9+. This replicates
>> in the Wicket examples if you use the "Show modal dialog with a page" and
>> then "Open another modal dialog" @ http://www.wicket-library.com/**
>> wicket-examples/ajax/modal-**window
>>
>>
>
> --**--**-
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


Re: Redirect to relative URL

2013-02-23 Thread Martin Grigorov
Hi,

For Wicket the url is either internal or external.
Since you want to escape from the application scope then you need an
external url.

You can also use "../../../../../../../../../", i.e. something that will go
up than the context(+filter) path where your app runs.


On Sat, Feb 23, 2013 at 12:50 PM, Sebastian Gaul wrote:

> This is exactely what I tried. The problem is, that RedirectRequestTarget
> handles the URL as context-specific (but it is domain-specific). Using
> external links (as mentioned on the website) is not an option, because the
> redirect is based on internal settings rather than user interaction.
>
> Any other idea?
>
> 2013/2/22 Bernard 
>
> > You will find solutions under these subjects:
> >
> > redirect to an external non-Wicket page
> > redirect to an external URL
> >
> > e.g.
> >
> >
> https://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html
> >
> > Regards,
> >
> > Bernard
> >
> > On Fri, 22 Feb 2013 17:06:09 +0100, you wrote:
> >
> > >Hello,
> > >
> > >I have a server-relative URL like /target/index (starting with a slash)
> > and
> > >I'm looking for a way to redirect to http://mydomain.com
> */target/index*.
> > >
> > >In Wicket (unfortunately still 1.4) I tried the following:
> > >
> > >RequestCycle.get().setRequestTarget(
> > >new RedirectRequestTarget("/target/index")
> > >);
> > >
> > >Unfortunately Wicket thinks that the root slash refers to the Wicket
> > >application rather than the server's root. Therefore the redirect ends
> up
> > >here:
> > >
> > >http://mydomain.com/*wicketapp*/target/index
> > >*
> > >*
> > >I don't want Wicket to change my URL, so the Servlet should redirect to
> > >http://mydomain.com/target/index.  Any ideas how to achieve that?
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


Re: Redirect to relative URL

2013-02-23 Thread Sebastian Gaul
This is exactely what I tried. The problem is, that RedirectRequestTarget
handles the URL as context-specific (but it is domain-specific). Using
external links (as mentioned on the website) is not an option, because the
redirect is based on internal settings rather than user interaction.

Any other idea?

2013/2/22 Bernard 

> You will find solutions under these subjects:
>
> redirect to an external non-Wicket page
> redirect to an external URL
>
> e.g.
>
> https://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html
>
> Regards,
>
> Bernard
>
> On Fri, 22 Feb 2013 17:06:09 +0100, you wrote:
>
> >Hello,
> >
> >I have a server-relative URL like /target/index (starting with a slash)
> and
> >I'm looking for a way to redirect to http://mydomain.com*/target/index*.
> >
> >In Wicket (unfortunately still 1.4) I tried the following:
> >
> >RequestCycle.get().setRequestTarget(
> >new RedirectRequestTarget("/target/index")
> >);
> >
> >Unfortunately Wicket thinks that the root slash refers to the Wicket
> >application rather than the server's root. Therefore the redirect ends up
> >here:
> >
> >http://mydomain.com/*wicketapp*/target/index
> >*
> >*
> >I don't want Wicket to change my URL, so the Servlet should redirect to
> >http://mydomain.com/target/index.  Any ideas how to achieve that?
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Dropdown choice value being set to default

2013-02-23 Thread venkat
Makes Sense. Let me try working wiht Model rather than Model object,
however still one doubt itches on my mind, how come when the selected
option is not equal to defaultModelObject it is able to Change that. Thanks
for your time!!!

Thanks
Venkat

On Sat, Feb 23, 2013 at 12:32 AM, Paul Bors [via Apache Wicket] <
ml-node+s1842946n4656699...@n4.nabble.com> wrote:

> TabbedPanel is a Panel so I don't think that might affect you negative.
>
> And since your drop down changes, you know for sure it is refreshed.
> Since it goes back to the default value rather than the one you expected
> after you changed the model object you know that something is wrong there.
> Maybe the object you set it to is not one of the options?
>
> That's why I was suggesting not using setDefaultModelObject() since that's
> not type safe right?
> Try grabbing the type safe model, and see if setting its object to one of
> the options in the list (pay attention to the choice renderer you're using
> too).
>
> ~ Thank you,
>Paul Bors
>
> On Fri, Feb 22, 2013 at 12:33 PM, venkat <[hidden 
> email]>
> wrote:
>
> > Hi Pal,
> >
> > Thanks for your quick response, Have the same, on popup submit have done
> as
> > below
> >
> > sourceComponent.setDefaultModelObject(newSelection);
> >
> > some how post render it is setting it to default for the case when newly
> > selected value and the already selected value is same. One doubt i have
> is
> > , my drop down is resided in a panel under a tabbed panel . Is not it
> some
> > thing wong with Tabbed Panel ?
> >
> > Thanks
> >
> > Venkat
> >
> >
> >
> >
> >
> >
> > On Fri, Feb 22, 2013 at 10:57 PM, Paul Bors [via Apache Wicket] <
> > [hidden email] >
> wrote:
> >
> > > I think your question is too vauge for a quick response but...
> > >
> > > Why not hold on to a reference of the model for the component you're
> > > trying
> > > to change (the drop-down) and update it directly from the pop-up
> rather
> > > than setting the default module object? Use Ajax and add the drop-down
> to
> > > your target when you click the submit button on the pop-up.
> > >
> > > ~ Thank you,
> > >Paul Bors
> > >
> > > On Fri, Feb 22, 2013 at 8:45 AM, venkat <[hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4656695&i=0>>
> > > wrote:
> > >
> > > > Hi ,
> > > >
> > > > I have a scenario, where from a Page link have to render a popup
> window
> > > and
> > > > on submit of the popup window have to set the drop down selected
> value
> > > >  from
> > > > popup window.
> > > >
> > > > My dropdown bix is inside a panel of Tab.
> > > >
> > > > It works fine when the already selected value of drop down and new
> > value
> > > > being set from doprdown are different. however when both the values
> are
> > > > same
> > > > it sets the selected value to default choice.
> > > >
> > > > Am using this code in Wicket Modal Window OnClose() event
> > > >
> > > > sourceComponent.setDefaultModelObject(newlyselectedValue);
> > > >
> > > > I would appreciate a quick response.
> > > >
> > > > Thanks in advance!
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/Dropdown-choice-value-being-set-to-default-tp4656684.html
> > > > Sent from the Users forum mailing list archive at Nabble.com.
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4656695&i=1>
> > > > For additional commands, e-mail: [hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4656695&i=2>
> > > >
> > > >
> > > ~ Thank you,
> > > [hidden email]
> > >
> > >
> > > --
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/Dropdown-choice-value-being-set-to-default-tp4656684p4656695.html
> > > To unsubscribe from Dropdown choice value being set to default, click
> > here<
> >
> >
> > > .
> > > NAML<
> >
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> > >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Dropdown-choice-value-being-set-to-default-tp4656684p4656697.html
>
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: [hidden 
> > email]