Re: [Wicket-user] How do I do this - several similar links to another page

2007-05-09 Thread Shams Mahmood

To help reduce some code, why not extend the BookmarkablePageLink class to
form your JavascriptConfirmLink and then no need to write the onclick().

also try
new JavascriptConfirmLink(id, cls, new PageParameters(method=method1),
msg)

and the id will be used here:
span wicket:id=listViewId
  a wicket:id=theLinkId href=anotherPage?method=method1method1/a
/span
You can ignore the href, as wicket will insert it for u.

I'm trying to make a page with several similar links to another page:


a href=anotherPage?method=method1method1/a
a href=anotherPage?method=method2method2/a
a href=anotherPage?method=method3method3/a

This would be really easy to put into my html code, but then it
becomes fragile to whether or not I'm mounting my urls. I suppose I
could just make sure to always mount them and make sure to keep these
links in sync with that mapping. But let's for some reason suppose
that I want to inject these from my java code. I'm not sure how to do
this exactly. I was thinking I could do something like I outline
below. Actually, my links are a bit more complicated than displayed
above, since I would like to make sure to have a javascript
confirmation for each click. So I think that for each link what I
would need would be the class of the page they link to, and a map of
the parameters. So I think the code might be something like:

class JavascriptConfirmLink extends Link {
 JavascriptConfirmLink(id, pageClass, params, confirmationMessage) {
   super(id);
   _pageClass = pageClass;
   _params = params;
   add(new SimpleAttributeModifier(onclick, return
confirm+confirmationMessage+););
 }

 onClick() {
   setResponsePage(_pageClass, _params);
 }
}

Then I'd populate my page with several of these links using this code:

add(new ListView(theLinks, theLinks) {
   @Override protected void populateItem(ListItem item)
   {
   Link link = (Link) item.getModelObject();
   item.add(link);
   }
   });

Does this look correct?

Now I have gotten myself a little confused about a couple of things:
- what is the purpose of the id? Since I will be populating the page
with my links using a ListView, I don't see where the id of each link
will ever be referred to.

Finally, creating these links is quite verbose. PageParameters is
final, so I can't create my links like:

new JavascriptConfirmLink(id, cls, new PageParameters() {{
add(method, method1); }}, msg)


like I'd like so I end up having to new a PageParameters for each link

and add to it before creating the JavascriptConfirmLink, which is
seeming quite verbose.

There may be some holes in my approach. Is there a better way to do this?

Thanks,
Lowell



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How do I do this - several similar links to another page

2007-05-09 Thread Shams Mahmood

Why not just add a label to the link.

span wicket:id=listViewId
   a wicket:id=theLinkId  href=anotherPage?method=method1
label wicket:id=theLabelIdmethod1/label
   /a
/span

add(new ListView(theLinks, theLinks) {
   @Override protected void populateItem(ListItem item)
   {
   Link link = (Link) item.getModelObject();
   Label label = new Label( theLabelId, Method-xxx );
   // label.setRenderBodyOnly( true );
   link.add( label );
   item.add(link);
   }
   });


Shams

That looks pretty reasonable to me (though my code is not in front of

me right now). I like how you can pass a String to 'new
PageParameters()'. A little unexpected but nice (I should have read
the javadoc more thoroughly).

So I have another question: How to you set the link's title? That is,
how do you set the text between the a and the /a?

Thanks

On 5/9/07, Shams Mahmood [EMAIL PROTECTED] wrote:
 To help reduce some code, why not extend the BookmarkablePageLink class
to
 form your JavascriptConfirmLink and then no need to write the onclick().

 also try
 new JavascriptConfirmLink(id, cls, new
 PageParameters(method=method1), msg)

 and the id will be used here:
 span wicket:id=listViewId
a wicket:id=theLinkId
 href=anotherPage?method=method1method1/a
 /span
 You can ignore the href, as wicket will insert it for u.



  I'm trying to make a page with several similar links to another page:
 
  a href=anotherPage?method=method1method1/a
  a href=anotherPage?method=method2method2/a
  a href=anotherPage?method=method3method3/a
 
  This would be really easy to put into my html code, but then it
  becomes fragile to whether or not I'm mounting my urls. I suppose I
  could just make sure to always mount them and make sure to keep these
  links in sync with that mapping. But let's for some reason suppose
  that I want to inject these from my java code. I'm not sure how to do
  this exactly. I was thinking I could do something like I outline
  below. Actually, my links are a bit more complicated than displayed
  above, since I would like to make sure to have a javascript
  confirmation for each click. So I think that for each link what I
  would need would be the class of the page they link to, and a map of
  the parameters. So I think the code might be something like:
 
  class JavascriptConfirmLink extends Link {
   JavascriptConfirmLink(id, pageClass, params, confirmationMessage) {
 super(id);
 _pageClass = pageClass;
 _params = params;
 add(new SimpleAttributeModifier(onclick, return
  confirm+confirmationMessage+););
   }
 
   onClick() {
 setResponsePage(_pageClass, _params);
   }
  }
 
  Then I'd populate my page with several of these links using this code:
 
  add(new ListView(theLinks, theLinks) {
 @Override protected void populateItem(ListItem item)
 {
 Link link = (Link) item.getModelObject();
 item.add(link);
 }
 });
 
  Does this look correct?
 
  Now I have gotten myself a little confused about a couple of things:
  - what is the purpose of the id? Since I will be populating the page
  with my links using a ListView, I don't see where the id of each link
  will ever be referred to.
 
  Finally, creating these links is quite verbose. PageParameters is
  final, so I can't create my links like:
 
  new JavascriptConfirmLink(id, cls, new PageParameters() {{
  add(method, method1); }}, msg)
  like I'd like so I end up having to new a PageParameters for each link
  and add to it before creating the JavascriptConfirmLink, which is
  seeming quite verbose.
 
  There may be some holes in my approach. Is there a better way to do
this?
 
  Thanks,
  Lowell
 
 
 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How do I do this - several similar links to another page

2007-05-09 Thread Shams Mahmood

You may choose to use almost any html tag for labels.
It's just that the wicket examples all use spans :)


D'oh! Of course. And I assume you mean span instead of label.


On 5/9/07, Shams Mahmood [EMAIL PROTECTED] wrote:
 Why not just add a label to the link.

 span wicket:id=listViewId
 a wicket:id=theLinkId
 href=anotherPage?method=method1
  label wicket:id=theLabelIdmethod1/label
 /a
 /span

 add(new ListView(theLinks, theLinks) {



Shams
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Map clarification

2007-04-29 Thread Shams Mahmood

I found the problem.
It turned out to be a very silly deployment error.

We had the same application running at two different
contexts.
Inside our code we had some static url mappings to one of the
contexts. This lead the the user being switched between the urls,
and hence different sessions. This was causing the page expired problem.
:)

Shams


-- Forwarded message --

From: Shams Mahmood [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Date: Fri, 27 Apr 2007 22:42:40 +0600
Subject: Re: [Wicket-user] Page Map clarification

are they really using the same pagemap? that means they all share a single
session?

pagemaps are stored in the user's sessions.

-igor

Thanks I seemed to missed that point altogether.

I saw that the page map names were the same and arrived
at my incorrect conclusion :(.

I'll check up on that and see what happens.

Shams.



On 4/27/07, Shams Mahmood [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I have a web site for mobiles that has around 3-4 thousand users.
 
  Now some particular mobile models get page expired error.
  I fopund that increasing page map size didn't help.
  I figured that all the users are using the same Page Map.
  ( they all have '' as their page map name)
 
  Is there some limit to how many pages a Page Map can store.
 
  Can anyone help with what the problem could be.
 
  Thanx in advance.]
 
  Shams
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Page Map clarification

2007-04-27 Thread Shams Mahmood

Hi,

I have a web site for mobiles that has around 3-4 thousand users.

Now some particular mobile models get page expired error.
I fopund that increasing page map size didn't help.
I figured that all the users are using the same Page Map.
( they all have '' as their page map name)

Is there some limit to how many pages a Page Map can store.

Can anyone help with what the problem could be.

Thanx in advance.]

Shams
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Map clarification

2007-04-27 Thread Shams Mahmood

are they really using the same pagemap? that means they all share a single
session?

pagemaps are stored in the user's sessions.

-igor

Thanks I seemed to missed that point altogether.

I saw that the page map names were the same and arrived
at my incorrect conclusion :(.

I'll check up on that and see what happens.

Shams.



On 4/27/07, Shams Mahmood [EMAIL PROTECTED] wrote:


 Hi,

 I have a web site for mobiles that has around 3-4 thousand users.

 Now some particular mobile models get page expired error.
 I fopund that increasing page map size didn't help.
 I figured that all the users are using the same Page Map.
 ( they all have '' as their page map name)

 Is there some limit to how many pages a Page Map can store.

 Can anyone help with what the problem could be.

 Thanx in advance.]

 Shams


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Error messages

2007-03-22 Thread Shams Mahmood

I think you can have a look at equal input validator which use two
text-fields.

Using that code a san example you should be able to generate the
type of Validator you need that will generate only one message.

Hope it helps.

Shams


Hello Guys,

We have the following problem: based on client requirements we have to
break the ssn fields into 3 separate text fields. But even if all 3 of
them
are incorrect we should see just one error message and to have all 3 of
them highlighted, since for a client logically it is one field. How can we
do it using wicket. What we have seen until now, was that for every field
that failed  validation there was an error message appearing. In our case
while we have to highlight a group of fields, we also have to show only
one
error message for the group.

The other question is how do we make the error messages dynamic.. For
example I have 2 address components on the page and both of the components
have address 1 and address 2 fields. Still one address shows the address
of
the person, while the other address shows the address of the person's
child. When I have the error message I would have liked to see something
like Member address 1 us missing, not just address 1 is missing. In
other words my messages need to be parameterized based not only on the
field name, but also on some property that is stored in Model for the
panel
that holds other elements.


Thank you
Gennadiy





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-09 Thread Shams Mahmood

Regarding the constructor change in 2.0,
in some of my components (in wicket 1.2) I used wicket 2.0 type constructor
where i could pass null as the parent.
In such a scenario I would have to add the child components explicitly.

When i passed a non-null value to the constructor the component would
be auto added by the parent.


In addition regarding the use for generics in IModels, I liked that idea a
lot. That helps simplify coding a lot, removing unnecessary type
casts for model Object all the time.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] No type attribute in the html of Button results in TextField

2007-03-08 Thread Shams Mahmood

Hi,

I'm using wicket1.2.jar

Recently I noticed that giving no type attribute inside input tag of a
Wicket Button
results in the Button being displayed as textfield.
The same is true for textfields, but it doesnt really matter in that case
:).

I guess this could be corrected in java code so that if type is not found
for certain input tag components, the correct type attribute is inserted by
the Java code.
components could include buttons, radios, checkboxes, etc.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How to submit a form using a LINK and NO JAVASCRIPT

2007-03-03 Thread Shams Mahmood

Hi,

I an caught up in a problem where I cannot use javascript,
but i need a Link to submit my Form.

Basically my problem is I have pagination in my page where
the user can select items using checkboxes in a check group.
When he uses the pagination links i am required to update and hold the
values in my model for his previous choices.
Finally after browsing through the various pages he may interact with
the form's Submit Button.
The problem I am facing because I cannot use AjaxBehavior on the onUpdate
method of the checkboxes. hence i require to get my form submitted when the
link
is clicked to update my check grouyp's model.

Shams
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Right-click context menu

2007-01-31 Thread Shams Mahmood
See the following site :

http://www.dhtmlgoodies.com/index.html?whichScript=context_menu
 demo : http://www.dhtmlgoodies.com/scripts/context-menu/context-menu.html

I think the html can be easily generated by using a ListView and
Adding Links inisde and handling the onclick of the links.

Hope u find it useful.


Shams

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] little changes in markup - only via componentinheritance?

2006-11-02 Thread Shams Mahmood

I haven't used AjaxDefaultDataTable though I have used other 
Similar components.

Why not use css ids and attribute modifiers to set the ids 
of the columns or rows you want.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Klochkov
Sent: Thursday, November 02, 2006 2:42 PM
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] little changes in markup - only via
componentinheritance?

Greetings!

I't a beginner's question I think, but I didn't find any answers on the 
site.
So I use AjaxFallbackDefaultDataTable component from wicket-extensions, 
it's a cool thing but I want to make little changes in markup - for 
example to make values of some columns centered while others right 
aligned etc. How can I do it? I doubt I should write my own 
AjaxFallbackDefaultDataTable class, which creates it's own toolbars 
(which inherit from AjaxFallbackDefaultDataTable and 
AjaxFallbackHeadersToolbar). Is there an easier way?

-- 
Andrew Klochkov


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
Say I have something like this :

font color=red Red /font
span wicket:id=Label[Wicket Contents]/span
a wicket:id=wicketLink Click here /a

I want to chane this to:

font color=blue Blue /font
a wicket:id=wicketLink Click here /a
span wicket:id=wicketVariable[Wicket Contents]/span


Dynamically.

Anyone have idea how this can be done programmatically.

I guess it has something to do with updating the markup cache of the
application.

But I am not sure how I can update it.

Thanx in advance.


Shams




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
Well I guess the main challenge lies here :

 span wicket:id=Label[Wicket Contents]/span
 a wicket:id=wicketLink Click here /a

 I want to change this to:

 a wicket:id=wicketLink Click here /a
 span wicket:id=wicketVariable[Wicket Contents]/span



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik van
Oosten
Sent: Thursday, November 02, 2006 4:13 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html

Oops, too quick.

font wicket:id=colorcomp Red /font


Label l = new Label(colorcomp, Blue)
add(l);
l.add(new SimpleAttribyteModifier(color, blue));

 Erik.

Shams Mahmood schreef:
 Say I have something like this :

 font color=red Red /font
 span wicket:id=Label[Wicket Contents]/span
 a wicket:id=wicketLink Click here /a

 I want to chane this to:

 font color=blue Blue /font
 a wicket:id=wicketLink Click here /a
 span wicket:id=wicketVariable[Wicket Contents]/span


 Dynamically.

 Anyone have idea how this can be done programmatically.

 I guess it has something to do with updating the markup cache of the
 application.

 But I am not sure how I can update it.

 Thanx in advance.


 Shams
 
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
I actually wanted to change the html source dynamically
Rather than writing different panel which would limit all my variations

:)

Shams


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik van
Oosten
Sent: Thursday, November 02, 2006 4:24 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html

Ah, I see.

I think you'll have to create a panel (or a fragment) for each variation 
and then add the appropriate panel (fragment).
Does that make sense?

 Erik.

Shams Mahmood schreef:
 Well I guess the main challenge lies here :

   
 span wicket:id=Label[Wicket Contents]/span
 a wicket:id=wicketLink Click here /a

 I want to change this to:

 a wicket:id=wicketLink Click here /a
 span wicket:id=wicketVariable[Wicket Contents]/span
 



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Erik van
 Oosten
 Sent: Thursday, November 02, 2006 4:13 PM
 To: wicket-user@lists.sourceforge.net
 Subject: Re: [Wicket-user] Programmatically/Dynamically change html

 Oops, too quick.

 font wicket:id=colorcomp Red /font


 Label l = new Label(colorcomp, Blue)
 add(l);
 l.add(new SimpleAttribyteModifier(color, blue));

  Erik.

 Shams Mahmood schreef:
   
 Say I have something like this :

 font color=red Red /font
 span wicket:id=Label[Wicket Contents]/span
 a wicket:id=wicketLink Click here /a

 I want to chane this to:

 font color=blue Blue /font
 a wicket:id=wicketLink Click here /a
 span wicket:id=wicketVariable[Wicket Contents]/span


 Dynamically.

 Anyone have idea how this can be done programmatically.

 I guess it has something to do with updating the markup cache of the
 application.

 But I am not sure how I can update it.

 Thanx in advance.


 Shams
 
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 
 easier
   
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

   
 

   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
Thanx

I check it out and post here if I get any ideas.

Shams

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik van
Oosten
Sent: Thursday, November 02, 2006 4:43 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html

Hmm. I remember that more people asked for generated templates. Don't 
remember an answer though.

Perhaps you can investigate the class 
WebMarkupContainerWithAssociatedMarkup or its super classes to see how 
Wicket loads the templates.

Good luck,
  Erik.


Shams Mahmood schreef:
 I actually wanted to change the html source dynamically
 Rather than writing different panel which would limit all my variations

 :)

 Shams
   


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user