RE: ERROR: exceded the 65,535 byte limit Please Help me!

2010-11-26 Thread Vadim Tesis

you cannot call cheeses.add() where you do. do it in the constructor of 
MainApplication or some other method before cheeses is being used.

 
> From: irresistible...@gmail.com
> To: users@wicket.apache.org
> Subject: Re: ERROR: exceded the 65,535 byte limit Please Help me!
> Date: Sun, 14 Nov 2010 17:49:23 +0100
> 
> Alle domenica 14 novembre 2010, Jonathan Locke ha scritto:
> > 
> > Yes. Learning Java better would certainly help, but to me there's an even
> > deeper problem because what we're looking at is result-oriented coding...
> > and result-oriented coding is what gets you into this sort of mess. The way
> > out of that trap in general is to start working on and thinking about
> > *process*.
> > 
> > http://www.amazon.com/Coding-Software-Design-Process-ebook/dp/B0042X99SA
> > 
> > Jon
> It is all right.
> I have very small know about java bases.
> I don't know differents between Array.AsList and ArrayList.
> 
> However, please help me about this error, or what I have to study or check:
> Multiple markers at this line
> - Syntax error on token "add", = expected after this token
> - Syntax error on token(s), misplaced construct(s)
> 
> On thi part of code:
> 
> public class MainApplication extends WebApplication {
> private List cheeses = new ArrayList();
> cheeses.add (new 
> C("BBTAA","001","","","","","","","","","","Portafotografia 
> argento","","","","","","","","","19.00","","","1000","ard","verif","","","","","","0"));
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
  

RE: problem with RestartResponseException in 1.4.6

2010-02-16 Thread Vadim Tesis

it works

 

thanks
 
> From: igor.vaynb...@gmail.com
> Date: Sun, 14 Feb 2010 21:04:41 -0800
> Subject: Re: problem with RestartResponseException in 1.4.6
> To: users@wicket.apache.org
> 
> try with latest snapshot
> 
> -igor
> 
> On Sun, Feb 14, 2010 at 5:02 PM, Vadim Tesis  wrote:
> >
> > all,
> >
> >
> >
> > i moved from 1.4.5 to 1.4.6 and started getting a problem with 
> > RestartResponseException.
> >
> > on a page that displays an item and has url something like 
> > http://localhost/item/38 there's an AjaxFallbackLink for a user to take an 
> > action.  when the link gets clicked, if the user is not logged in it yet, 
> > it throws new RestartResponseException(SignInPage.class, params_) but 
> > SignInPage never loads.
> >
> > looks like the problem is that url generated in this case is 
> > http://localhost/item/signin/... instead of http://localhost/signin/... (as 
> > it was in 1.4.5)
> >
> > both item and signin pages are bookmarkable with 
> > MixedParamHybridUrlCodingStrategy
> >
> >
> >
> > can it be related to changes done to fix 
> > http://issues.apache.org/jira/browse/WICKET-2312?  is there a workaround?
> >
> >
> >
> > Thanks,
> >
> > Vadim
> >
> > _
> > Hotmail: Free, trusted and rich email service.
> > http://clk.atdmt.com/GBL/go/201469228/direct/01/
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/

problem with RestartResponseException in 1.4.6

2010-02-14 Thread Vadim Tesis

all,

 

i moved from 1.4.5 to 1.4.6 and started getting a problem with 
RestartResponseException.

on a page that displays an item and has url something like 
http://localhost/item/38 there's an AjaxFallbackLink for a user to take an 
action.  when the link gets clicked, if the user is not logged in it yet, it 
throws new RestartResponseException(SignInPage.class, params_) but SignInPage 
never loads.

looks like the problem is that url generated in this case is 
http://localhost/item/signin/... instead of http://localhost/signin/... (as it 
was in 1.4.5)

both item and signin pages are bookmarkable with 
MixedParamHybridUrlCodingStrategy

 

can it be related to changes done to fix 
http://issues.apache.org/jira/browse/WICKET-2312?  is there a workaround?

 

Thanks,

Vadim
  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/201469228/direct/01/

RE: root context, IE, home page is not found

2010-01-18 Thread Vadim Tesis

looks like BookmarkablePageRequestTarget.respond(RequestCycle requestCycle) has 
code to strip "./" if url starts with it.

can it be changed to strip "." as well?  will it be the right fix?
 
> From: vad...@hotmail.com
> To: users@wicket.apache.org
> Subject: root context, IE, home page is not found
> Date: Mon, 18 Jan 2010 20:36:55 +
> 
> 
> all,
> 
> 
> 
> my wicket 1.4.5 application is configured to run in root context. for some 
> reason, when it sets response page to the home page (which is not mounted), 
> the webserver produces error: The requested resource () is not available.
> 
> 
> 
> here's the code:
> 
> formFooter.add(new Link(ID_LINK_HOME)
> {
> private static final long serialVersionUID = 1L;
> @Override
> public void onClick()
> {
> setResponsePage(getApplication().getHomePage());
> }
> });
> 
> 
> 
> 
> it happens only with IE (6, 7), only with root context, with Tomcat 6 and 
> Sun's Glassfish servers. looks like URL generated in that case has '.' 
> appended to it: "http://localhost/.";.
> 
> if i simply hit F5 in the browser after the error shows up, it opens home 
> page just fine.
> 
> if i use bookmarkable link, it works fine: formFooter.add(new 
> BookmarkablePageLink(ID_LINK_HOME, 
> getApplication().getHomePage()).setAutoEnable(true));
> 
> 
> 
> the issue looks very similar to 
> http://issues.apache.org/jira/browse/WICKET-1449
> 
> 
> 
> is there a workaround?
> 
> 
> 
> Thanks,
> 
> Vadim
> 
> _
> Hotmail: Trusted email with powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/196390707/direct/01/
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390707/direct/01/

root context, IE, home page is not found

2010-01-18 Thread Vadim Tesis

all,

 

my wicket 1.4.5 application is configured to run in root context.  for some 
reason, when it sets response page to the home page (which is not mounted), the 
webserver produces error: The requested resource () is not available.

 

here's the code:

  formFooter.add(new Link(ID_LINK_HOME)
  {
   private static final long serialVersionUID = 1L;
   @Override
   public void onClick()
   {
setResponsePage(getApplication().getHomePage());
   }
  });


 

it happens only with IE (6, 7), only with root context, with Tomcat 6 and Sun's 
Glassfish servers.  looks like URL generated in that case has '.' appended to 
it: "http://localhost/.";.

if i simply hit F5 in the browser after the error shows up, it opens home page 
just fine.

if i use bookmarkable link, it works fine: formFooter.add(new 
BookmarkablePageLink(ID_LINK_HOME, 
getApplication().getHomePage()).setAutoEnable(true));

 

the issue looks very similar to http://issues.apache.org/jira/browse/WICKET-1449

 

is there a workaround?

 

Thanks,

Vadim
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390707/direct/01/

wicket session vs tomcat session

2010-01-14 Thread Vadim Tesis

hi,

 

i'm trying to customize Tomcat 6 configuration and i came accross Manager 
element in server.xml. it allows one to configure where to store sessions 
(memory, disk, ...), for how long to keep the session before discarding it, ... 
 so i was wondering how (if at all) wicket (1.4.5) session is related to tomcat 
session and whether that tomcat configuration will affect wicket session in any 
way.

by the way in my wicket app among other things i store a user object in wicket 
session when the user signs in.

 

Thanks,

Vadim
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/196390709/direct/01/

enclosure changes in 1.4.4

2009-12-12 Thread Vadim Tesis

all,

 

i just migrated to 1.4.4 from 1.4.3 and looks like enclosure functionality 
changed.  if enclosure doesn't have child element in it, it throws exception.

for example following code works in 1.4.3

 

...

   
   ...
   
   ...

...

 

but in 1.4.4 it throws exception (see below).

is 1.4.4 functionality correct or 1.4.3?

 

Thanks,

Vadim

 

[#|2009-12-12T12:54:04.546-0500|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-80-0;|12:54:04,546
 ERROR org.apache.wicket.RequestCycle - Exception in rendering component: 
[MarkupContainer [Component id = enclosure-205]]
org.apache.wicket.WicketRuntimeException: Exception in rendering component: 
[MarkupContainer [Component id = enclosure-205]]
 at org.apache.wicket.Component.renderComponent(Component.java:2656)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)
 at org.apache.wicket.Component.render(Component.java:2448)
 at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
 at 
org.apache.wicket.markup.resolver.EnclosureResolver.resolve(EnclosureResolver.java:61)
 at 
org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)
 at org.apache.wicket.Component.renderComponent(Component.java:2617)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)
 at org.apache.wicket.Component.render(Component.java:2448)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1414)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)
 at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1936)
 at org.apache.wicket.Component.renderComponent(Component.java:2617)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)
 at org.apache.wicket.markup.html.form.Form.onRender(Form.java:2007)
 at org.apache.wicket.Component.render(Component.java:2448)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1414)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)
 at org.apache.wicket.Component.renderComponent(Component.java:2617)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)
 at org.apache.wicket.Component.render(Component.java:2448)
 at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
 at 
org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:66)
 at 
org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)
 at org.apache.wicket.Component.renderComponent(Component.java:2617)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)
 at org.apache.wicket.Component.render(Component.java:2448)
 at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
 at 
org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:73)
 at 
org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)
 at org.apache.wicket.Component.renderComponent(Component.java:2617)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)
 at org.apache.wicket.Component.render(Component.java:2448)
 at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
 at 
org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:66)
 at 
org.apache.wicket.markup.resolver.ComponentResolvers.resolve(ComponentResolvers.java:81)
 at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1418)
 at 
org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1577)
 at 
org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1501)
 at org.apache.wicket.Component.renderComponent(Component.java:2617)
 at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1512)
 at org.apache.wicket.Component.render(Component.java:2448)
 at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229)
 at 

RE: post a form to external website

2009-10-09 Thread Vadim Tesis

thanks, let me try that and see what happens
 
> Date: Sat, 19 Sep 2009 20:55:07 -0500
> Subject: Re: post a form to external website
> From: jer...@wickettraining.com
> To: users@wicket.apache.org; mcgreg...@e-card.bg
> 
> If you actually want to redirect them to the other site (with a post, and
> not just a get), you will just need to render a form and rely on javascript
> to auto-submit it for you (likely with a "click here if not redirected"
> link). The hidden fields could be rendered with attribute modifiers on
> webmarkupcontainers for example. Or you could use an actual form and
> override the action URL, but that's probably a little heavy-handed for this.
> 
> --
> Jeremy Thomerson
> http://www.wickettraining.com
> 
> 
> 
> On Fri, Sep 18, 2009 at 7:21 AM, Martin Grigorov wrote:
> 
> > El vie, 18-09-2009 a las 10:51 +, Vadim Tesis escribió:
> > > all,
> > >
> > >
> > >
> > > i have a form with some input fields. after the user populates the form
> > and hits submit button, i'd like to do some processing on my website and
> > then redirect the user to external website by posting another form with
> > dynamically generated hidden fields.
> > >
> > > what's the best way to do it in wicket 1.4?
> > There is no automatic Wicket way to do this.
> > You could forward the data with UrlConnection or apache-httpclient in
> > your onSubmit() callback method.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vadim
> > >
> > > _
> > > Hotmail: Powerful Free email with security by Microsoft.
> > > http://clk.atdmt.com/GBL/go/171222986/direct/01/
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

post a form to external website

2009-09-18 Thread Vadim Tesis

all,

 

i have a form with some input fields.  after the user populates the form and 
hits submit button, i'd like to do some processing on my website and then 
redirect the user to external website by posting another form with dynamically 
generated hidden fields.

what's the best way to do it in wicket 1.4?

 

Thanks,

Vadim

_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

RE: problem with DateTextField in wicket 1.3

2008-04-19 Thread Vadim Tesis

i tried to modify the quick start and it works fine there.
 
it looks like it's conflicting with wicketstuff-yui-1.3.0 which is using yui 
2.2.2.  i did some searching and it looked that someone was working on porting 
wicketstuff-yui to 2.3.0.  was it completed, if yes, where can i get the 
source?  i'm using wicketstuff-yui for dropdown menus, is there anything else i 
could use to work around the issue?
 
Thanks,
Vadim
> From: [EMAIL PROTECTED]> To: users@wicket.apache.org> Subject: RE: problem 
> with DateTextField in wicket 1.3> Date: Sat, 19 Apr 2008 18:34:10 +> > > 
> i've tried that, didn't help. the issue occurs with at least 2 browsers: IE 7 
> and Firefox 2.0> Date: Sat, 19 Apr 2008 10:20:57 +0200> From: [EMAIL 
> PROTECTED]> To: users@wicket.apache.org> Subject: Re: problem with 
> DateTextField in wicket 1.3> > Try to clear your browser caches, maybe there 
> is an old js lib still used> > On 4/18/08, Vadim Tesis <[EMAIL PROTECTED]> 
> wrote:> >> > all,> >> > i'm trying to move from wicket-1.3.0-rc2 to 
> wicket-1.3.3. for some reason i> > started having problems with 
> DateTextField. it's displaying an error in> > java script:> > Line: 
> 2072Error: Object doesn't support this property or method> >> > it looks like 
> the error comes from file: yuiloader-beta.js> > line:2072: this.moduleInfo = 
> lang.merge(YUI.info.moduleInfo);> >> > which gets called from the script 
> generated in my page:> > if (typeof wicketYuiLoader == 'undefined') { 
> wicketYuiLoader = new> > YAHOO.util.YUILoader({ base:> > 
> "resources/org.apache.wicket.extensions.yui.YuiLib/", filter: "RAW",> > 
> allowRollup: false, require: ["wicket-date"], onSuccess: function() {> > 
> wicketCalendarInitFinished = true; while (wicketCalendarInits.length > 0)> > 
> { wicketCalendarInits.pop()(); } } });> >> > if i switch back to 
> wicket-1.3.0-rc2, the error goes away.> > below is my markup and java code. 
> does anyone have any suggestions on how> > to fix the issue?> >> > Thanks,> > 
> Vadim> >> >> > here's the markup:> >  name="textStart"> > wicket:id="textStart"/>> >> > here's java code:> > 
> final DateField df = new DateField("textStart", new PropertyModel(this,> > 
> PROP_START))> > {> > private static final long serialVersionUID = 1L;> > 
> @Override> > protected DateTextField newDateTextField(final String id_, 
> final> > PropertyModel model_)> > {> > return (new DateTextField(id_, model_, 
> new StyleDateConverter("S-",> > true)));> > }> > };> > getForm().add(df);> >> 
> > _> > Pack 
> up or back up–use SkyDrive to transfer files or keep extra copies.> > Learn 
> how.> > 
> http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008>
>  > -> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> > 
> _> Use video 
> conversation to talk face-to-face with Windows Live Messenger.> 
> http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008
_
More immediate than e-mail? Get instant access with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008

RE: problem with DateTextField in wicket 1.3

2008-04-19 Thread Vadim Tesis

i've tried that, didn't help.  the issue occurs with at least 2 browsers: IE 7 
and Firefox 2.0> Date: Sat, 19 Apr 2008 10:20:57 +0200> From: [EMAIL 
PROTECTED]> To: users@wicket.apache.org> Subject: Re: problem with 
DateTextField in wicket 1.3> > Try to clear your browser caches, maybe there is 
an old js lib still used> > On 4/18/08, Vadim Tesis <[EMAIL PROTECTED]> wrote:> 
>> > all,> >> > i'm trying to move from wicket-1.3.0-rc2 to wicket-1.3.3. for 
some reason i> > started having problems with DateTextField. it's displaying an 
error in> > java script:> > Line: 2072Error: Object doesn't support this 
property or method> >> > it looks like the error comes from file: 
yuiloader-beta.js> > line:2072: this.moduleInfo = 
lang.merge(YUI.info.moduleInfo);> >> > which gets called from the script 
generated in my page:> > if (typeof wicketYuiLoader == 'undefined') { 
wicketYuiLoader = new> > YAHOO.util.YUILoader({ base:> > 
"resources/org.apache.wicket.extensions.yui.YuiLib/", filter: "RAW",> > 
allowRollup: false, require: ["wicket-date"], onSuccess: function() {> > 
wicketCalendarInitFinished = true; while (wicketCalendarInits.length > 0)> > { 
wicketCalendarInits.pop()(); } } });> >> > if i switch back to 
wicket-1.3.0-rc2, the error goes away.> > below is my markup and java code. 
does anyone have any suggestions on how> > to fix the issue?> >> > Thanks,> > 
Vadim> >> >> > here's the markup:> >  > wicket:id="textStart"/>> >> > here's java code:> > 
final DateField df = new DateField("textStart", new PropertyModel(this,> > 
PROP_START))> > {> > private static final long serialVersionUID = 1L;> > 
@Override> > protected DateTextField newDateTextField(final String id_, final> 
> PropertyModel model_)> > {> > return (new DateTextField(id_, model_, new 
StyleDateConverter("S-",> > true)));> > }> > };> > getForm().add(df);> >> > 
_> > Pack up or 
back up–use SkyDrive to transfer files or keep extra copies.> > Learn how.> > 
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008>
 > -> To 
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL 
PROTECTED]> 
_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008

problem with DateTextField in wicket 1.3

2008-04-17 Thread Vadim Tesis

all,
 
i'm trying to move from wicket-1.3.0-rc2 to wicket-1.3.3.  for some reason i 
started having problems with DateTextField.  it's displaying an error in java 
script:
Line: 2072Error: Object doesn't support this property or method
 
it looks like the error comes from file: yuiloader-beta.js
line:2072:  this.moduleInfo = lang.merge(YUI.info.moduleInfo);
 
which gets called from the script generated in my page:
if (typeof wicketYuiLoader == 'undefined') { wicketYuiLoader = new 
YAHOO.util.YUILoader({  base: 
"resources/org.apache.wicket.extensions.yui.YuiLib/",   filter: "RAW",  
allowRollup: false,  require: ["wicket-date"],onSuccess: function() {   
wicketCalendarInitFinished = true;while (wicketCalendarInits.length > 0) {  
  wicketCalendarInits.pop()();   }} });
 
if i switch back to wicket-1.3.0-rc2, the error goes away.
below is my markup and java code.  does anyone have any suggestions on how to 
fix the issue?
 
Thanks,
Vadim
 
 
here's the markup:

 
here's java code:
final DateField df = new DateField("textStart", new PropertyModel(this, 
PROP_START))
{
private static final long serialVersionUID = 1L;
@Override
protected DateTextField newDateTextField(final String id_, final 
PropertyModel model_)
{
return (new DateTextField(id_, model_, new StyleDateConverter("S-", 
true)));
 }
};
getForm().add(df);
 
_
Pack up or back up–use SkyDrive to transfer files or keep extra copies. Learn 
how.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008

body tag attributes

2007-10-14 Thread Vadim Tesis

all,

is there a way to dynamically add attributes to the body tag in wicket 
1.3.0?


i'm using templates to create the pages.  so there's a base page which uses 
wicket:child tag to display contents of child pages.  i'd like to be able to 
dynamically modify 'id' attribute of body tag on the base page depending on 
which child page gets instantiated, sort of like replacing the title of the 
base page with wicket:head tag.
i've tried to use BodyTagAttributeModifier, but for some reason it didn't 
add id attribute to body tag.
i saw a thread on replacing HtmlBodyContainer with a custom one in 
onAttach() method of a page. but when i did that, i got an exception saying 
that component hierarchy cannot be modified.  and i cannot override 
internalOnAttach() method since it's final.


Thanks,
Vadim

_
i'm making a difference. Make every IM count for the cause of your choice. 
Join Now. http://im.live.com/messenger/im/home/?source=TAGHM



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]