I realised a project with very similar settings: geoserver, JSF2,
primefaces and ol4jsf.
This is what I'm using too Stefan! How did you pass that URL to GS?
Did use ol4jsf param? Can you give me a example?
See:
<m:wmsLayer name="prop_am"
url="#{facesContext.externalContext.requestContextPath}/OL4JSFProxy/wms"
params="{layers:'cite:prop_am', transparent: 'true',
CQL_FILTER: '#{mapBean.consulta}'}" />
This URL should be a file or can be a java String? Because if it can be a
java String I'll do something like this:
JSF Managed Bean:
public class MyBean.....{
............
public String getSDL(){
return this.SDL;
}
}
and mybe I can do something like this in the view:
<m:wmsLayer.......params="{SDL: #{myBean.SDL}}" />
There is such a param like this? Is possible to do like above?
thanks very much,
filipea.
2011/6/9 Stefan Tzeggai <[email protected]>
> Hi Harikumar
>
> I realised a project with very similar settings: geoserver, JSF2,
> primefaces and ol4jsf.
>
> I do pass GS a URL where to get the SLD. The SLD is then generated by a
> Servlet based on the AtlasStyler Core library (ascore).
>
> You can investigate how the WMS requests are build at
> www.keck-atlas.de/indikatoren,
> use this permalink if you can handle the German UI ;-)
> *http://tinyurl.com/67r4rov
>
> Greetings,
> Steve
>
> *Am 09.06.2011 08:35, schrieb Harikumar Reddy:
> > Hi,
> >
> > Here more users are not experts in geoserver side. please explain your
> > problem with sufficient details and requirement., then you may get
> > fast replies.
> >
> > Regards
> > Hari.
> >
> > On Thu, Jun 9, 2011 at 12:54 AM, Filipe Aguilar Santana
> > <[email protected] <mailto:[email protected]>> wrote:
> >
> > Hi,
> >
> > How I do dynamic SDL for a specif layer in geoserver.
> >
> > I have an jsf app so maybe I can build a large string wich will be
> > my SDL in my MB, but where I will put this string to set my SDL?
> >
> > I'm using OL4JSF, but examples with openlayers will be fine too!
> >
> >
> > Thanks,
> > filipea.
> >
> >
> ------------------------------------------------------------------------------
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > _______________________________________________
> > Geoserver-users mailing list
> > [email protected]
> > <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> >
> >
> > _______________________________________________
> > Geoserver-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> --
> wikisquare Softwareentwicklung
> Stefan Tzeggai
> Straßburger Weg 26
> 53113 Bonn
>
> email [email protected]
> webpage wikisquare.de
> skype alfonx
> phone 0228 24 000 528
> mobile 0176 40 38 9559
>
> reclaim your net - http://tor.eff.org
> enforce privacy - http://www.pgpi.org
> pgp key id: 51B576FD - http://pgp.mit.edu
>
> Please note that according to the German law on data retention,
> information on every electronic information exchange with me is
> retained for a period of six months.
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users