logo       

Re: Problem with setHref() encoding: msg#00030

java.enhydra.xmlc

Subject: Re: Problem with setHref() encoding

Christian Cryder wrote:
Hey Mark, are you using Barracuda components? If so, a BLink makes it pretty
easy to add params like you are talking about, and all the separators are
taken care of for you.

Well, I tested it out, but unfortunely it does not fit my needs, because (as BAction), the actionURL is not parsed when constructed the object. To be clear, let me explain:

Let's say my action url is:
http://www.server.com/anEvent.event?param1=val1

Now, I create a BLink:
BLink link = new BLink("text", url);

My problem is that link.getParams() well, returns... null :-(
I would expect (an d hoped) that the passed url would be parsed, and thus that getParams() would return a Map with one key/value pair: key:param1; value:val1

In my code, I need to know if a parameter already exists, but BLink due to its behaviour of not parsing action URL can not help me.

However, this is a XMLC list, but this was certainly a Barracuda posting ;-)

Anyway, thanks for the answers,

Regards

--
Mark van Leeuwen
Virgil B.V.
Amsterdam


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise