You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Major Péter <ma...@sch.bme.hu> on 2010/06/24 23:04:00 UTC
[announce]JavaEE Inject updates
Hi all,
Some info about the project:
JavaEE Inject basically allows you to use @EJB, @Resource and
@PersistenceUnit annotations in your Wicket applications, without the
need of doing lookups and other nasty stuff. :)
The official announcement of the new version can be found at:
https://kir-dev.sch.bme.hu/2010/06/javaee-inject-updates/
Best Regards,
Peter Major
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: Programmatically set CSS 'id' in an tag
Posted by Chris Colman <ch...@stepaheadsoftware.com>.
Arh, ok, that explains it.
>-----Original Message-----
>From: Wilhelmsen Tor Iver [mailto:TorIverW@arrive.no]
>Sent: Friday, 25 June 2010 8:55 PM
>To: users@wicket.apache.org
>Subject: SV: Programmatically set CSS 'id' in an <a href..> tag
>
>> For some reason the first method worked fine but the second method
>> didn't.
>
>setMarkupId() needs to be combined with setOutputMarkupId(true);
>
>- Tor Iver
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
SV: Programmatically set CSS 'id' in an tag
Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> For some reason the first method worked fine but the second method
> didn't.
setMarkupId() needs to be combined with setOutputMarkupId(true);
- Tor Iver
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: Programmatically set CSS 'id' in an tag
Posted by Chris Colman <ch...@stepaheadsoftware.com>.
>If the link elements are wicket component then you could do:
>
> add(new SimpleAttributeModifier("id", "menu1"));
>or
> setMarkupId("menu1");
For some reason the first method worked fine but the second method
didn't.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: RE: Programmatically set CSS 'id' in an tag
Posted by Jeremy Thomerson <je...@wickettraining.com>.
Right. The wicket id is set in the constructor.
Jeremy Thomerson
-- sent from my smartphone - please excuse formatting and spelling errors
On Jun 24, 2010 8:58 PM, "Chris Colman" <ch...@stepaheadsoftware.com>
wrote:
Cool! I'll try those.
Thanks.
So setMarkupId sets the 'id' (as in reference to a CSS element) not the
'wicket:id' right?
Chris
>-----Original Message-----
>From: Bilgin Ibryam [mailto:bibryam@gmail.com]
>Sent: Friday, 25 June ...
RE: Programmatically set CSS 'id' in an tag
Posted by Chris Colman <ch...@stepaheadsoftware.com>.
Cool! I'll try those.
Thanks.
So setMarkupId sets the 'id' (as in reference to a CSS element) not the
'wicket:id' right?
Chris
>-----Original Message-----
>From: Bilgin Ibryam [mailto:bibryam@gmail.com]
>Sent: Friday, 25 June 2010 9:30 AM
>To: users@wicket.apache.org
>Subject: Re: Programmatically set CSS 'id' in an <a href..> tag
>
>If the link elements are wicket component then you could do:
>
> add(new SimpleAttributeModifier("id", "menu1"));
>or
> setMarkupId("menu1");
>
>
>Bilgin Ibryam
>
>
>
>On Thu, Jun 24, 2010 at 10:43 PM, Chris Colman
><chrisc@stepaheadsoftware.com
>> wrote:
>
>> I am using a CSS stylesheet that requires each <a> tag link in a menu
to
>> specify a differently numbered id value:
>>
>> Eg.,
>>
>> The output needs to be something like this where each <a> tag has a
>> sequentially numbered id: menu1, menu2, menu3 etc.,
>>
>> <div id="menu">
>> <ul>
>> <li><a id="menu1" href="#" title="Home">Home</a></li>
>> <li><a id="menu2" href="#" title="Info">Info</a></li>
>> <li><a id="menu3" href="#" title="About">About</a></li>
>> </ul>
>> </div>
>>
>>
>> Is it possible to get wicket to inject an id tag into the links
markup?
>> If so, how ?
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Programmatically set CSS 'id' in an tag
Posted by Bilgin Ibryam <bi...@gmail.com>.
If the link elements are wicket component then you could do:
add(new SimpleAttributeModifier("id", "menu1"));
or
setMarkupId("menu1");
Bilgin Ibryam
On Thu, Jun 24, 2010 at 10:43 PM, Chris Colman <chrisc@stepaheadsoftware.com
> wrote:
> I am using a CSS stylesheet that requires each <a> tag link in a menu to
> specify a differently numbered id value:
>
> Eg.,
>
> The output needs to be something like this where each <a> tag has a
> sequentially numbered id: menu1, menu2, menu3 etc.,
>
> <div id="menu">
> <ul>
> <li><a id="menu1" href="#" title="Home">Home</a></li>
> <li><a id="menu2" href="#" title="Info">Info</a></li>
> <li><a id="menu3" href="#" title="About">About</a></li>
> </ul>
> </div>
>
>
> Is it possible to get wicket to inject an id tag into the links markup?
> If so, how ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Programmatically set CSS 'id' in an tag
Posted by Jeremy Thomerson <je...@wickettraining.com>.
If your links are Wicket components, call setMarkupID on them.
Jeremy Thomerson
-- sent from my smartphone - please excuse formatting and spelling errors
On Jun 24, 2010 5:43 PM, "Chris Colman" <ch...@stepaheadsoftware.com>
wrote:
I am using a CSS stylesheet that requires each <a> tag link in a menu to
specify a differently numbered id value:
Eg.,
The output needs to be something like this where each <a> tag has a
sequentially numbered id: menu1, menu2, menu3 etc.,
<div id="menu">
<ul>
<li><a id="menu1" href="#" title="Home">Home</a></li>
<li><a id="menu2" href="#" title="Info">Info</a></li>
<li><a id="menu3" href="#" title="About">About</a></li>
</ul>
</div>
Is it possible to get wicket to inject an id tag into the links markup?
If so, how ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Programmatically set CSS 'id' in an tag
Posted by Chris Colman <ch...@stepaheadsoftware.com>.
I am using a CSS stylesheet that requires each <a> tag link in a menu to
specify a differently numbered id value:
Eg.,
The output needs to be something like this where each <a> tag has a
sequentially numbered id: menu1, menu2, menu3 etc.,
<div id="menu">
<ul>
<li><a id="menu1" href="#" title="Home">Home</a></li>
<li><a id="menu2" href="#" title="Info">Info</a></li>
<li><a id="menu3" href="#" title="About">About</a></li>
</ul>
</div>
Is it possible to get wicket to inject an id tag into the links markup?
If so, how ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org